[FFmpeg-user] Adding custom keys/val pairs to -progress

Moritz Barsnick barsnick at gmx.net
Wed Nov 30 16:16:07 EET 2016


On Wed, Nov 30, 2016 at 14:03:54 +0900, PSPunch wrote:
> Is there a way to add custom key/val pairs to the info sent when using  
> the "-progress" option?

Not at all, unless you modify ffmpeg.

> .. I would like to add
> program=ch01
> at the end.
> For my purpose, this can be hard written in arguments at startup.

You could put the progress output through an easy filter (written e.g.
in Perl, Python, AWK, ...) before handing it to your UDP stream.

Moritz


More information about the ffmpeg-user mailing list