[FFmpeg-user] Piping from FFmpeg to FFplay

Reino Wijnsma rwijnsma at xs4all.nl
Sun Nov 13 22:57:58 EET 2022


Hello Michael,

On 2022-11-13T20:45:42+0100, Michael Koch <astroelectronic at t-online.de> wrote:
> ffmpeg -f lavfi -i testsrc2 -f nut | ffplay -
>
> This command line works fine and I have used it many times.

It shouldn't, because you forgot a "-" after "-f nut".

> But I don't know what's the meaning of the - character after ffplay.

Input or output. An url or a file-path. And in this case; stdout and stdin. FFmpeg's stdout is piped to FFplay's stdin.
I'm surprised you didn't know.

-- 
Reino



More information about the ffmpeg-user mailing list