[FFmpeg-devel] [PATCH] ffmpeg: Set duration on encoded subtitle packets.

Clément Bœsch ubitux at gmail.com
Sun Jun 3 21:08:40 CEST 2012


On Sun, Jun 03, 2012 at 07:33:58AM -0700, Philip Langdale wrote:
> On Sun, 3 Jun 2012 04:00:24 +0200
> Michael Niedermayer <michaelni at gmx.at> wrote:
> 
> > On Wed, May 30, 2012 at 09:08:01PM -0700, Philip Langdale wrote:
> > > Currently, we don't set the duration on the packet of a newly
> > > encoded subtitle. This information may be required by the
> > > muxer.
> > 
> > if there are no other comments then ill apply this in a few days
> > it does look reasonable.
> > Does it fix some testable case ?
> 
> I'm not aware of any existing subtitle scenario where this is required,
> but it will be required for muxing mpeg4 timed text, which I have
> been testing extensively locally.
> 

MicroDVD demuxer is making use of that duration field; are you sure it
doesn't break anything to override it?

(Common scenario: ffmpeg -i microdvd.sub out.ass, see 2d52ee8a for more
information)

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120603/b3cca3d0/attachment.asc>


More information about the ffmpeg-devel mailing list