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

Fu, Linjie linjie.fu at intel.com
Tue Mar 10 15:30:20 EET 2020


> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Hendrik Leppkes
> Sent: Tuesday, March 10, 2020 19:34
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH] pthread_frame: attempt to get frame
> to reduce latency
> 
> On Tue, Mar 10, 2020 at 10:37 AM Jianhui Dai <jianhui.j.dai at intel.com> wrote:
> >
> > Avoid constant N frames latency in video streaming.
> >
> 
> Personally, I'm off the opinion that a predictable constant delay in
> this case is better then a variable ever-changing delay.
> 
Would it be better to make it optional for user instead of totally constant or
variable, and won't break the default behavior.

(like "-flags low_delay" which add AV_CODEC_FLAG_LOW_DELAY for user context,
and disables frame_threading_supported )

In this case, maybe a new flag (not sure whether identical flag has existed) which allows
frame threading but with no constant N frame cached.

Thanks,

- Linjie



More information about the ffmpeg-devel mailing list