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

PSPunch shima at pspunch.com
Thu Dec 1 04:12:09 EET 2016


Hi Moritz, thank you for helping.

On 2016/11/30 23:16, Moritz Barsnick wrote:
> 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.

I see.

Just to note on this topic,
I've got a working prototype where the activity monitor has multiple 
ports open, each listening for separate FFmpeg instances. Not sure if I 
like leaving 10s of ports open, but is working..

-- 
David Shimamoto



More information about the ffmpeg-user mailing list