- 08 Apr, 2015 1 commit
-
-
wm4 authored
MicroDVD has a "hack" for specifying the video framerate the subtitle was authored against. The demuxer reads this hint correctly, but didn't skip it correctly. This was not noticed, because the exported packet has its duration set to 0, making it invisible (depending on the API user's rendering logic). Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 07 Aug, 2014 1 commit
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 03 Mar, 2014 2 commits
-
-
wm4 authored
MicroDVD files are normally frame-based (i.e. there are no absolute timestamps), but can have an optional frame rate header. If this header is missing, the timestamps depend on the frame rate of the video they were created for. The demuxer will use a fallback frame rate if it's missing from the header. Currently, applications using libavformat can't know whether the time base is based on the fallback value, or if a frame rate header was present. This commit introduces a subfps AVOption for MicroDVD, and the demuxer sets it if and only if a frame rate header was present. Signed-off-by:
Clément Bœsch <u@pkh.me>
-
wm4 authored
The BOM is already skipped in the probe function, but not the header read function. This could cause the header to be misparsed, such as not interpreting the FPS line.
-
- 08 Sep, 2013 1 commit
-
-
Clément Bœsch authored
This fixes a bunch of possible overread in avformat with the idiom p += strcspn(p, "\n") + 1 (strcspn() can focus on the trailing '\0' if no '\n' is found, so the +1 leads to an overread). Note on lavf/matroskaenc: no extra subtitles.o Makefile dependency is added because only the header is required for ff_subtitles_next_line(). Note on lavf/mpsubdec: code gets slightly complex to avoid an infinite loop in the probing since there is no more forced increment.
-
- 03 Sep, 2013 1 commit
-
-
Clément Bœsch authored
-
- 02 Jan, 2013 1 commit
-
-
Clément Bœsch authored
This flag is not necessary.
-
- 30 Dec, 2012 1 commit
-
-
Clément Bœsch authored
Current MicroDVD AVPackets contain timing information and trailing line breaks. The data is now only composed of the markup data. Doing this consistently between text subtitles decoders allows to use different codec for various formats. For instance, MicroDVD markup is sometimes found in some VPlayer files. Also, generally speaking, the subtitles text decoders have no use of these timings (and they must not use them since it would break any user timing adjustment). Technically, this is a major ABI break. In practice, a mismatching lavf/lavc will now error out for MicroDVD decoding. Supporting both formats requires unnecessary complex and fragile code. FATE needs update because line breaks in the ASS file were "\n" (because that's what is used in the original file). ASS format expect "\r\n" line breaks; this commit fixes this issue. Also note that this "\r\n" trailing need to be moved at some point from the decoders to the ASS muxer.
-
- 25 Dec, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 01 Dec, 2012 1 commit
-
-
Clément Bœsch authored
-
- 29 Jun, 2012 1 commit
-
-
Clément Bœsch authored
-
- 15 Jun, 2012 1 commit
-
-
Clément Bœsch authored
-
- 29 May, 2012 1 commit
-
-
Clément Bœsch authored
Example: {3350}{}this subtitle... {3390}{}...continues up to... {4000}{4500}this one. {4600}{}and now... {4800}{}...to the end of the presentation
-
- 27 Apr, 2012 1 commit
-
-
Clément Bœsch authored
-
- 03 Dec, 2011 1 commit
-
-
Clément Bœsch authored
-
- 05 Nov, 2011 1 commit
-
-
Clément Bœsch authored
-
- 03 Apr, 2011 1 commit
-
-
Aurelien Jacobs authored
Signed-off-by:
Aurelien Jacobs <aurel@gnuage.org>
-