[FFmpeg-user] How do I open stdin from a filter graph?

Felix phoenixclank at magenta.de
Sat Apr 6 23:47:46 EEST 2024


Hello,

To read from stdin, I can use the filename "-", as in

`other-program | ffplay -`

But when I use a filter graph, that doesn't work:

`other-program | ffplay -f lavfi "amovie=-, asplit=2[out0][tmp], 
[tmp]avectorscope[out1]"`

[Parsed_amovie_0 @ 0x73cf08003b00] Failed to avformat_open_input '-'
[AVFilterGraph @ 0x73cf080012c0] Error processing filtergraph: No such 
file or directory
amovie=-: No such file or directory

Neither does using the "pipe:" protocol.

I can't find any other way to read from stdin in a filter graph.

Kind regards,
Felix


More information about the ffmpeg-user mailing list