[FFmpeg-devel] [PATCH 2/2] fftools: add -lavfi_dump option

Soft Works softworkz at hotmail.com
Tue Aug 24 00:04:12 EEST 2021



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Nicolas
> George
> Sent: Monday, 23 August 2021 11:45
> To: ffmpeg-devel at ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH 2/2] fftools: add -lavfi_dump option
> 
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
>  doc/ffmpeg.texi         |  4 ++++
>  fftools/ffmpeg.h        |  1 +
>  fftools/ffmpeg_filter.c | 14 ++++++++++++++
>  fftools/ffmpeg_opt.c    |  3 +++
>  4 files changed, 22 insertions(+)
> 
> 
> This will be useful for tests covering suble cases of the format
> negotiation. I do not like to depend on libavdevice's lavfi, it is
> clumsy.

Hi Nicolas,

being able to output the actually negotiated formats between all
filter connections is extremely useful and has helped me quite
a number of times to solve issues in filtering.

I had implemented something very similar few years ago already
and last year, I had offered to post it:

http://ffmpeg.org/pipermail/ffmpeg-devel/2020-May/263187.html

..but there wasn't too much interest, so I didn't submit the code.

I'm outputting some more details, output can be formatted as
JSON and optionally saved as separate file (instead of stdout).

Would you mind me posting my code for comparison and discussion?

PS: I've been short on time but I'll reply on the subtitle 
filtering subject shortly.

Kind regards,
softworkz








More information about the ffmpeg-devel mailing list