[FFmpeg-devel] [PATCH 2/3] textdec: Rename all generic parts from srt to text.

Nicolas George nicolas.george at normalesup.org
Thu Aug 2 17:48:25 CEST 2012

Le sextidi 16 thermidor, an CCXX, Michael Niedermayer a écrit :
> MPEG-PS and TS require demuxer timestamps only to be periodically
> stored not on every frame and there is no requirement for frames to
> have equal or predictable durations beyond what the codec syntax
> allows. So yes one has to use either them or nothing in these cases


(The more I learn about these formats the less I admire them...)

> hmm, my concern was with removial not about adding vs not adding.

Ok. May I assume that you are ok with not adding the timestamps in the

> no, i mean that if you scale times in mpeg2 its frame rate field upon
> which various fields are based would be wrong, this would break
> playback-ability in some cases and still be "just wrong" in the rest
> so scaling times of many videos requires changing the codec bitstream
> mpeg1/2/4 and h264 fall in this category at least so iam not sure
> how much is gained by avoiding this need for subtitles.
> In reality scaling times and ignoring the inconsistency may of course
> just happen to workout with some containers and players but this
> doesnt mean one can do it without creating inconsistencies in the
> files. That is this is not a subtitle specific issue ...

Ok too. I believe this is less relevant for subtitles as a decode+encode
cycle is much cheaper and should not have quality loss.


  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/20120802/94258709/attachment.asc>

More information about the ffmpeg-devel mailing list