Hi,

I am trying since days to convert video by playing the source file to a named pipe with mPlayer and encode it with FFMPEG.

I am under a Windows OS and I have a small application to create a named pipe.
The sample here is just a try, I need to do this that way for a larger application purpose (mPlayer -> FFMPEG).


Here is how I proceed :

1. Create a named pipe with my application.

2. Start playing the source video with mPlayer with this command line :

mplayer.exe -quiet -slave -vo yuvpipe \\.\pipe\myNamedPipe -nosound D:\temp\big_buck_bunny_480p_h264.mov
(my application return me that the pipe is correctly joined and mPlayer show "Currently playing on \\.\pipe\myNamedPipe ...")

3. I try start FFMPEG with the named pipe as input and here comes the problem :

ffmpeg.exe -r 24/1 -s 854x480 -f yuv4mpegpipe -i pipe:\\.\pipe\myNamedPipe -f avi -vcodec libxvid -me_method epzs -me_range 16 -mbd 1 -qns 0 -g 250 -bf 0 -b 768000 -r 24 -aspect 16:9 -an -threads 3 -y D:\Temp\big_buck_bunny_480p_h264.avi

FFMPEG tell me that an error occured when trying to open \\.\pipe\myNamedPipe.

I also tryed -i \\.\pipe\myNamedPipe syntax but I got the same error.

Thank a lot if someone can help me, I desperate