[FFmpeg-devel] [PATCH] av_get_delay

Mike Scheutzow mike.scheutzow at alcatel-lucent.com
Thu Jun 30 15:22:04 CEST 2011


Michael Niedermayer wrote:
>>> This doesnt seem to work very well for example when you have:
>>> a slideshow with commentary, the delay from the video stream could
>>> make quite big jumps an be constant between them. It might be
>>> better to add the remaining duration of the currently displayed frame
>>> in there or something

This is a very different use case than the original proposal was meant 
to solve, which I understood as pre-skewing uncompressed output samples 
to improve lip sync.

It's clever to re-use the mux api for libavdevices, but I don't see much 
muxing going on there.

Maybe a more specific function name would reduce this confusion e.g. 
estimate_presentation_delay().

>> ...
> 
> hmm, iam unsure
> does anyone else have an oppinion?

I think it's reasonable to pretend that the "mux" interleave delay is 0 
for now.


Mike Scheutzow


More information about the ffmpeg-devel mailing list