Commit Graph

1150 Commits

Author SHA1 Message Date
Karl Blomster fabcd033b0 ffms2 providers: better error messages
Originally committed to SVN as r2382.
2008-09-23 21:06:11 +00:00
Karl Blomster 4a94fa334d use wxConvFile for filenames in the ffms providers
Originally committed to SVN as r2380.
2008-09-23 20:28:57 +00:00
Karl Blomster 8107d0c1a9 Add new ffms2 audio provider. Only works with matroska so far, also probably buggy.
Originally committed to SVN as r2379.
2008-09-23 20:02:21 +00:00
Karl Blomster eab0784d77 A few bugfixes to the FFMS2 video provider, also moved some common functions to ffmpegsource_common.cpp/.h in preparation for the FFMS2 audio provider.
Originally committed to SVN as r2378.
2008-09-23 20:01:11 +00:00
Karl Blomster 9b4f389fb2 ffmpegsource video provider now cleans up after itself properly even if loading the video file failed
Originally committed to SVN as r2373.
2008-09-23 01:19:31 +00:00
Karl Blomster 743527eeb8 fix a bug in the OpenAL audio player where it would crash if you tried to stop playback by moving the line end marker to before the playback cursor. credits to jfs.
Originally committed to SVN as r2364.
2008-09-18 23:14:12 +00:00
Rodrigo Braz Monteiro 14037b8a64 Fixed last patch and updated project.
Originally committed to SVN as r2353.
2008-09-14 15:20:15 +00:00
Rodrigo Braz Monteiro d8c5da67d8 Added support for drawing of \iclip on visual tools, but no button to invert it yet.
Originally committed to SVN as r2352.
2008-09-14 15:17:14 +00:00
Niels Martin Hansen e7ed19e55a Add some basic support for Sony's Wave64 format.
Originally committed to SVN as r2342.
2008-09-10 23:02:40 +00:00
Rodrigo Braz Monteiro df3a25129e Fixed project and other stuff for ffmpegsource support.
Originally committed to SVN as r2341.
2008-09-10 22:01:35 +00:00
Karl Blomster 0026ba38ec Fix ffmpegsource video provider to no longer depend on ffmpeg directly, everything is now done by API calls to the ffmpegsource DLL.
Originally committed to SVN as r2340.
2008-09-10 21:05:54 +00:00
Niels Martin Hansen d92efd1f54 Work around bug #772, v1 timecodes files with overlapping or out of order ranges caused weird behaviour. Now those files are simply rejected.
Originally committed to SVN as r2339.
2008-09-10 20:52:51 +00:00
Niels Martin Hansen e737471043 Implement aegisub.video_size() function in Automation 4 Lua. Returns nil if no video is loaded, otherwise returns xres,yres,ar,artype.
Originally committed to SVN as r2337.
2008-09-10 16:53:23 +00:00
Niels Martin Hansen 30a0b7e82b Add support for new override tags: \iclip \fax \fay \xshad \yshad \xbord \ybord \blur
Support redefined override tags: \move (float-pos) \pos (float-pos) \be (variable)
Make visual typesetting understand inverse clips and edit them correctly.
Make vector clip visual tool able to convert a rectangular clip to a vector clip.
What's missing: Proper rendering of inverse vector clips in visual tool overlay.

Originally committed to SVN as r2336.
2008-09-10 16:13:54 +00:00
Niels Martin Hansen aca234ebcc Fix bugs #775 and #776, missing initialisation of controls in Auto4 Lua dialogues. (Untested.)
Originally committed to SVN as r2335.
2008-09-10 14:56:29 +00:00
Niels Martin Hansen f89b9d6c43 Fix incorrect type for Windows x64 builds.
Originally committed to SVN as r2334.
2008-09-10 14:45:46 +00:00
Karl Blomster e702d9edca fixed the ffmpegsource indexing progress dialog to work with files larger than 4gb.
Originally committed to SVN as r2330.
2008-09-07 19:15:12 +00:00
Karl Blomster ff6876b412 Fix a crash when using detached video and pressing the up/down arrows with the video slider selected. Patch by ai-chan.
Originally committed to SVN as r2329.
2008-09-07 03:22:35 +00:00
Karl Blomster 91e1fb7f06 Fix a crash when importing styles with names identical to ones existing on the script but with different case (they are now overwritten properly). Special thanks to ai-chan.
Originally committed to SVN as r2327.
2008-09-06 11:35:36 +00:00
Karl Blomster dafc9dfe73 fix a crash when saving screenshots with a non-english locale set. patch by Manta.
Originally committed to SVN as r2326.
2008-09-06 09:33:14 +00:00
Karl Blomster 02ce1e72df missed one line when removing the useless stuff
Originally committed to SVN as r2325.
2008-09-06 02:57:09 +00:00
Karl Blomster c72cb5f505 kill another useless cast
Originally committed to SVN as r2324.
2008-09-06 02:54:22 +00:00
Karl Blomster 0add56bfa0 remove some useless casts
Originally committed to SVN as r2323.
2008-09-06 02:50:20 +00:00
Karl Blomster 728b0d0a93 cleanup of unused and useless code in video_provider_lavc.cpp
Originally committed to SVN as r2322.
2008-09-06 02:49:58 +00:00
Karl Blomster df3512e8eb add video_provider_ffmpegsource.cpp to Makefile.am
Originally committed to SVN as r2321.
2008-09-05 19:07:31 +00:00
Karl Blomster 82059cbfe2 add some support for sample formats other than 16-bit int to the lavc audio provider. untested and will probably break spectacularly.
Originally committed to SVN as r2320.
2008-09-05 12:55:45 +00:00
Karl Blomster c28b96b502 add decoding threads option for the ffmpegsource video provider
Originally committed to SVN as r2319.
2008-09-05 12:53:57 +00:00
Karl Blomster 1655f97a59 add a progress dialog to the ffmpegsource video provider's indexing process
Originally committed to SVN as r2318.
2008-09-04 22:17:34 +00:00
Karl Blomster 5acd3b2534 revert back to including ffmpeg/libav*.h
Originally committed to SVN as r2316.
2008-09-04 18:26:15 +00:00
Karl Blomster b2153dd6cf add option for ffmpegsource thread count and seek mode
Originally committed to SVN as r2314.
2008-09-03 21:22:33 +00:00
Karl Blomster 3e13ef206f fix vfr handling for the ffmpegsource video provider, entire thing should be considered working now
Originally committed to SVN as r2313.
2008-09-03 21:03:18 +00:00
Karl Blomster 98341f62be add vfr handling (broken) and keyframe reading (works) to the ffmpegsource video provider
Originally committed to SVN as r2312.
2008-09-03 20:27:50 +00:00
Karl Blomster d8c8d47e4c new video provider: ffmpegsource
Originally committed to SVN as r2310.
2008-09-03 17:03:20 +00:00
Karl Blomster bf931df635 fix retarded breakage in previous commit.
Originally committed to SVN as r2304.
2008-08-14 23:49:11 +00:00
Karl Blomster d1c62c1324 Fix crash on playing video without audio loaded when using the ffmpeg providers. Patch by Manta with minor modifications by me.
Originally committed to SVN as r2303.
2008-08-14 16:10:31 +00:00
Karl Blomster 620cf44c46 sourced some error messages in the lavc video provider
Originally committed to SVN as r2302.
2008-08-14 16:06:04 +00:00
Niels Martin Hansen 8129285630 Fix #759, correctly merge lines with identical text when exporting to simple subtitle formats.
Originally committed to SVN as r2301.
2008-08-11 00:02:36 +00:00
Karl Blomster 5b38a17529 replace a bunch of magic numbers (2) with bytes_per_sample
Originally committed to SVN as r2297.
2008-08-04 08:17:35 +00:00
Karl Blomster 217c228738 misc small fixes in the ffmpeg audio provider, preparation for support of other sample formats than just 16-bit int
Originally committed to SVN as r2296.
2008-08-04 07:13:41 +00:00
Karl Blomster bc675ea7dd explicitly tell swscaler which scaling method to use (required by newer ffmpeg versions; no actual scaling is done, only colorspace conversion)
Originally committed to SVN as r2294.
2008-08-03 16:52:54 +00:00
Niels Martin Hansen 7342c2b617 Fix search/replace deleting part of line following the last match on that line. Also a minor optimisation.
Originally committed to SVN as r2280.
2008-07-23 16:09:27 +00:00
Niels Martin Hansen c3c29518d4 Untested patch: Remove all traces of the update checker from non-Windows builds, since it causes more problems than it solves on those.
Originally committed to SVN as r2277.
2008-07-22 20:55:24 +00:00
Niels Martin Hansen 741476c96d Correct spelling error
Originally committed to SVN as r2274.
2008-07-22 00:33:25 +00:00
Niels Martin Hansen 7b110725d1 Oops, r2270 broke the build, missing a backslash in a string.
Originally committed to SVN as r2271.
2008-07-20 13:45:10 +00:00
Niels Martin Hansen 30a9bdc17c Implement/fix #751 and update changelog a bit.
Originally committed to SVN as r2270.
2008-07-20 13:34:42 +00:00
Niels Martin Hansen eb5e8ea8a1 Corrections for TranStation export support. Format written was incorrect (a space placed on the wrong side of a bracket). Also added full support for alignments, and subtracting one frame from end times to avoid overlaps
Originally committed to SVN as r2269.
2008-07-18 21:10:48 +00:00
Niels Martin Hansen 94011adf93 Fix SMPTE timecode formatting, never round frame up to avoid things like frame 30 in a second in a 30 fps movie, where frame numbers go from 0 to 29.
Originally committed to SVN as r2268.
2008-07-18 20:43:07 +00:00
Niels Martin Hansen 270ca4f876 Rewrite recombining of overlapping lines for export to simple subtitle formats, and reorganisation of other functions also used in those exports
Originally committed to SVN as r2267.
2008-07-18 15:39:34 +00:00
Rodrigo Braz Monteiro 2d7b2527a7 OMFG AMZ IS ALIVE! Partial TranStation export support (SMPTE drop-frames seem to be broken, and line merging isn't working)
Originally committed to SVN as r2266.
2008-07-18 01:36:20 +00:00
Karl Blomster 0badb4059f Restructured audio providing a bit. If a provider cannot provide 16-bit mono audio with a sample rate higher than 32kHz, an intermediate converting provider will be inserted to fix it. Made the lavc audio provider rely on this for downmixing instead of doing it with libavcodec (used to fail on audio with >2 channels).
Originally committed to SVN as r2265.
2008-07-16 13:22:06 +00:00