[FFmpeg-devel] [PATCH] AVPacket.display_duration

Måns Rullgård mans
Mon Sep 8 22:19:08 CEST 2008


Michael Niedermayer <michaelni at gmx.at> writes:

> On Fri, Sep 05, 2008 at 05:35:13PM +0200, Aurelien Jacobs wrote:
>> Hi,
>> 
>> For some subtitles track, each AVPacket must carry the display duration
>> of the contained subtitle.
>> The attached patch adds a dedicated AVPacket.display_duration field.
>
> Iam not against this, but i would like to understand better for which cases
> it is needed.
>
> plain UTF-8 and ASCII ?
> If so does mov, avi, asf, ... support plain UTF-8 and ASCII ?
> if yes how do they know the display_duration ?

DVD subtitle frames contain start and end times (relative to the PTS
of the PES packet containing the subtitle frame).

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list