Commit Graph

10 Commits

Author SHA1 Message Date
Karl Blomster 893ff2f78a Major rewrite of the video providing system. Hilights:
- It is now the responsibility of each video provider to provide a list of keyframe positions and (if it can) timecodes.
- The ffmpeg video provider now indexes files before opening them and does no longer rely on stream->duration to determine the number of frames. Fixes opening of MKV files, but it does not (currently) open timecodes automatically and reported keyframe positions seem way off. Status of frame-accuracy with MKV files unknown but it may very well work.
- Modified the way the ffmpeg video provider seeks (inspired by code from Myrsloik's ffmpegsource). Should no longer lose the first frame and should also no longer be frame-inaccurate, at least not with AVI.
- DirectShow video provider may or may not be completely broken, not tested.

Originally committed to SVN as r2252.
2008-07-15 00:08:05 +00:00
Karl Blomster 11f316c180 cosmetics and minor adjustments to ffmpeg keyframe reader
Originally committed to SVN as r2249.
2008-07-14 00:07:21 +00:00
Karl Blomster 32f7a53a68 vastly improved keyframe reading with ffmpeg, should be much faster and more reliable.
Originally committed to SVN as r2248.
2008-07-13 23:45:42 +00:00
Niels Martin Hansen 49d7b55755 Possible fix for crash in LAVCKeyframes constructor
Originally committed to SVN as r1986.
2008-03-09 00:04:30 +00:00
Rodrigo Braz Monteiro 79b82b9167 Possible fix to lavc crash.
Originally committed to SVN as r1984.
2008-03-08 23:41:24 +00:00
Amar Takhar 6246c3998d s/wxString/Aegisub::String/ in many places.
Originally committed to SVN as r1967.
2008-03-08 04:27:41 +00:00
Rodrigo Braz Monteiro 3ce6d62f4e Hopefully made Aegisub compile on Linux without WITH_FFMPEG.
Originally committed to SVN as r1723.
2008-01-15 00:54:54 +00:00
Rodrigo Braz Monteiro 76da71cef4 Applied perchr's patch for a progress bar while loading keyframes on posix.
Originally committed to SVN as r1646.
2007-11-01 18:14:56 +00:00
Rodrigo Braz Monteiro 1142b17362 I'm an idiot. Fixed last commit.
Originally committed to SVN as r1641.
2007-10-29 18:50:49 +00:00
Rodrigo Braz Monteiro a8fa4b49ae Applied 2points' patch for keyframe support in AVI files in Unix systems
Originally committed to SVN as r1640.
2007-10-29 18:48:02 +00:00