[FFmpeg-devel] [PATCH] libavformat/matroska: Write stream durations in metadata, in the format of mkvmerge.
isasi at google.com
Wed Aug 5 19:21:02 CEST 2015
yes. it computes duration as max ( packet-timestamp + packet-duration)
On Wed, Aug 5, 2015 at 10:08 AM, wm4 <nfxjfg at googlemail.com> wrote:
> On Wed, 5 Aug 2015 10:00:45 -0700
> Sasi Inguva <isasi at google.com> wrote:
> > yes. it does .
> > http://stackoverflow.com/questions/18688971/c-char-array-initialization
> > and from an example in Initialization from strings in
> > http://en.cppreference.com/w/c/language/array_initialization .
> Looks ok to me then.
> Have you checked whether your patch includes the last frame duration? I
> think mkvmerge does. It's particularly interesting for subtitles, where
> the durations are essentially arbitrary.
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel