[FFmpeg-devel] [PATCH v6 12/12] avfilter/vf_scale: switch to new swscale API

Niklas Haas ffmpeg at haasn.xyz
Fri Nov 15 01:11:34 EET 2024


On Fri, 15 Nov 2024 00:00:10 +0100 Michael Niedermayer <michael at niedermayer.cc> wrote:
> On Tue, Nov 12, 2024 at 10:50:46AM +0100, Niklas Haas wrote:
> > From: Niklas Haas <git at haasn.dev>
> > 
> > Most logic from this filter has been co-opted into swscale itself,
> > allowing the resulting filter to be substantially simpler as it no
> > longer has to worry about context initialization, interlacing, etc.
> > 
> > Sponsored-by: Sovereign Tech Fund
> > Signed-off-by: Niklas Haas <git at haasn.dev>
> > ---
> >  libavfilter/vf_scale.c | 354 +++++++++--------------------------------
> >  1 file changed, 72 insertions(+), 282 deletions(-)
> 
> ./ffmpeg -i foreman_cif.y4m  -vf scale=out_v_chr_pos=0:out_h_chr_pos=0 -f null -
> 
> [fc#-1 @ 0x55eec4ea3300] Error applying option 'out_v_chr_pos' to filter 'scale': Option not found
> Error opening output file -.
> Error opening output files: Option not found

I mean, this change is basically intentional. But I suppose I should add
backwards compatibility code to at least round it to the nearest similar value.

> 
> thx
> 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> Nations do behave wisely once they have exhausted all other alternatives. 
> -- Abba Eban
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list