[FFmpeg-user] Possible to use named pipe between ffmpeg and ffplay on Windows?

Paul Goins general at vultaire.net
Sat Jun 1 07:40:12 CEST 2013

On 5/31/2013 3:18 AM, Maxim Kozlov wrote:
> Try this command:
> ffmpeg -f dshow -rtbufsize 1000000k -s 1280x720 -r 30 -i video="Logicool HD
> Webcam C310" -an -c:v libx264 -q 0 -f h264 - | ffmpeg -f h264 -i - -c copy
> -f mp4 c:\file.mp4 -f copy pipe:play | ffplay -i pipe:play

Doesn't work for me.  It runs for awhile, all 3 processes are launched, but then it gives an error.

   (other output excluded)
   c:\file.mp4: Permission denied

I changed c:\file.mp4 to file.mp4, then I get:

   Input #0, h264, from 'pipe:':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (High 4:4:4 Predictive), yuv444p, 1280x720, 30 fps, 30 tbr, 1200k 
tbn, 60 tbc
   [NULL @ 0000000002e44500] Requested output format 'copy' is not a suitable output format
   pipe:play: Invalid argument
   pipe:play: Invalid data found when processing input

   av_interleaved_write_frame(): Invalid argument

I think this example won't work for me.

More information about the ffmpeg-user mailing list