[FFmpeg-devel] Format of decoded subtitles (was: matroska: Identify S_TEXT/UTF-8 tracks as SRT and not TEXT.)
nicolas.george at normalesup.org
Thu Jun 7 23:13:21 CEST 2012
Le tridi 13 prairial, an CCXX, Michael Niedermayer a écrit :
> in mpeg-ps/ts many frames (up to 0.5 seconds) can be in a single
> piece of bytestream without any headers between at the muxer level.
> the timing in this case is clearly in the video stream
> we split things up in frames, decode the timing and put it in
> AVPackets.* but we do not remove anything from AVPacket.data.
> simply concatenating the AVPacket.data would restore the complete
> elementary video stream with duration information on the frames/fields
Thanks for the hindsight. Is there any way for these subtitles in MPEG-PS
ans MPEG-TS, or is it limited to DVB and DVD subtitles?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel