[FFmpeg-devel] [PATCH] filters/metadata: add CSV output support

Werner Robitza werner.robitza at gmail.com
Thu Feb 25 10:28:24 EET 2021


On Thu, Feb 25, 2021 at 1:32 AM Paul B Mahol <onemda at gmail.com> wrote:
> On Wed, Feb 24, 2021 at 9:48 PM Werner Robitza <werner.robitza at gmail.com> wrote:
>> Could please show an example on how to achieve this with ffprobe?
> See same thread where I replied or use search.

If you are referring to:

-vf your_filter,metadata=mode=print

That does not work in ffprobe.

For instance, using the patch I submitted, I can get easy to parse output like:

$ ffmpeg -f lavfi -i testsrc -frames:v 1 -filter:v
signalstats,metadata=mode=print:format=csv -f null /dev/null
frame,pts,pts_time,key,value
0,0,0,lavfi.signalstats.YMIN,4
…

How would I get the same with ffprobe?


More information about the ffmpeg-devel mailing list