[FFmpeg-devel] [PATCH] lavc/libx264: enable x4->params.analyse.b_fast_pskip if mb_info is set

Carotti, Elias eliascrt at amazon.it
Tue Sep 5 15:43:35 EEST 2023



-----Original Message-----
From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Stefano Sabatini
Sent: Saturday, September 2, 2023 5:45 PM
To: ffmpeg-devel at ffmpeg.org
Cc: kierank at obe.tv; Carotti, Elias <eliascrt at amazon.it>
Subject: RE: [EXTERNAL] [FFmpeg-devel] [PATCH] lavc/libx264: enable x4->params.analyse.b_fast_pskip if mb_info is set

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



On date Saturday 2023-09-02 09:20:08 +0000, Carotti, Elias wrote:
> On Thu, 2023-08-31 at 19:09 +0200, Stefano Sabatini wrote:
> >
> <snip>
> >
> > > In particular why are you turning on fast_pskip silently based on 
> > > a completely different setting?
> >
> > The patch is fixing the regression introduced by the unconditional 
> > setting of b_fast_pskip.
> >
> > Now the question is if it makes sense to set mb_info without 
> > b_fast_pskip (in both case this should be probably documented).
> >
> > @Elias can you comment about the mb_info/b_fast_pskip use case?
>
> Sorry again for the delay in responding.
> We can safely remove it altogether. It's true we don't need to set it 
> along with mb_info.
> However, it doesn't do any harm, since fast_pskip is by default set to 
> true by libx264 and only turned off either explicitly by the user, or 
> when using the placebo preset, or when doing lossless encoding 
> (constant QP == 0.) So, I agree, let's remove these three lines.

Thanks, updated.

Ok for me
Elias



NICE SRL, viale Monte Grappa 3/5, 20124 Milano, Italia, Registro delle Imprese di Milano Monza Brianza Lodi REA n. 2096882, Capitale Sociale: 10.329,14 EUR i.v., Cod. Fisc. e P.IVA 01133050052, Societa con Socio Unico





More information about the ffmpeg-devel mailing list