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

Michael Niedermayer michaelni at gmx.at
Tue Sep 10 15:01:20 CEST 2013


On Tue, Sep 10, 2013 at 12:04:54PM +0200, Stefano Sabatini wrote:
> On date Monday 2013-09-09 18:03:15 +0100, JULIAN GARDNER encoded:
> > 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
> 
> Last time I tried I used the sendcmd and zmq filters. Don't know if
> the (undocumented) ffmpeg command is still working.

it is working

and is documented if you press '?' from ffmpeg
where else would the documentation fit ? / where should i add more docs
?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130910/c3624038/attachment.asc>


More information about the ffmpeg-devel mailing list