[FFmpeg-devel] trying to pass a command to an input filter

JULIAN GARDNER joolzg at btinternet.com
Mon Sep 9 19:03:15 CEST 2013

My command line is 

ffmpeg -f lavfi -i color=s=720x576:c=green -c:v libx264 -b:v 1500k -y -f mpegts test.ts

Im having a play around with the 'c' command line way of passing commands to filters and I cannot work out something.

in vsrc_testsrc.c the "color" command has a .process_command setup in its structure, but when i press 'c' and then

all -1 color black

The command does not get to the vsrc_testsrc, now debugging this it looks like the commands are not passed to the vsrc_testsrc.c:color_process_command as it is not in the filtergraphs.

So my question is how do i get this working, or is it not possible to pass commands to input sources


More information about the ffmpeg-devel mailing list