[FFmpeg-devel] [PATCH 4/5] lavfi/graphparser: reimplement avfilter_graph_parse* using new API

Paul B Mahol onemda at gmail.com
Wed May 31 17:39:39 EEST 2023


On Tue, May 30, 2023 at 11:10 PM Marton Balint <cus at passwd.hu> wrote:

>
>
> On Fri, 20 Jan 2023, Anton Khirnov wrote:
>
> > ---
> > libavfilter/graphparser.c | 537 +++++++++-----------------------------
> > 1 file changed, 126 insertions(+), 411 deletions(-)
>
> This change makes error messages for parse failures less useful or
> completely missing. E.g.:
>
> ffmpeg -f lavfi -i testsrc -vf yadif,scale=dummy=boo -f null none
>
> Before:
>
> [Parsed_scale_0 @ 0x555c19335b00] Option 'dummy' not found
> [AVFilterGraph @ 0x555c19333e00] Error initializing filter 'scale' with
> args 'dummy=boo:flags=bicubic'
> Error reinitializing filters!
>
> After:
>
> [AVFilterGraph @ 0x3c5a100] Error applying filter options
> Error reinitializing filters!
>
>
> ffplay -f lavfi -i testsrc -vf yadif,scale=dummy=boo
>
> Before:
>
> [Parsed_scale_1 @ 0x55fa2b935080] Option 'dummy' not found
> Error initializing filter 'scale' with args 'dummy=boo:flags=bicubic'
>
> After:
>
> (no error message)
>

Yes, I was hit by this bug, multiple times recently.
It makes my pain bigger.


> Regards,
> Marton
> _______________________________________________
> 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