[FFmpeg-devel] Format of decoded subtitles (was: matroska: Identify S_TEXT/UTF-8 tracks as SRT and not TEXT.)

Nicolas George 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?


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120607/2d565a92/attachment.asc>

More information about the ffmpeg-devel mailing list