[FFmpeg-devel] [PATCH] pthread_frame: attempt to get frame to reduce latency

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Mar 10 16:40:03 EET 2020


On 10/03/2020 09:36, Jianhui Dai wrote:
> Avoid constant N frames latency in video streaming.
> 
> Signed-off-by: Jianhui Dai <jianhui.j.dai at intel.com>
> ---
>  libavcodec/pthread_frame.c | 17 ++---------------
>  1 file changed, 2 insertions(+), 15 deletions(-)

In addition to the points already raised (and which I agree with) about
calculable N frames delay vs unknowable delay (which affects frame accurate
seeking), I have one other point/question:

Does this not make the delay non-deterministic depending on which threads finish first?

- Derek


More information about the ffmpeg-devel mailing list