Page 1 of 1

How to stream onto named pipe?

Posted: 15 Jun 2010 15:25
by OleJak
So I create something like

Code: Select all

-vvv -I rc dshow:// vdev adev size="640x480" --sout="#transcode{vcodec=FLV1,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{flv},dst=:8080/stream.flv}}"


to stream onto localhost. How to stream onto named pipe? (so other programms would be able to read from that pipe) (on Lin Mac and Windows)

Re: How to stream onto named pipe?

Posted: 16 Jun 2010 03:11
by RĂ©mi Denis-Courmont
Uh?? You're using HTTP there.

If you want to use a named pipe, just use the file output and use the path to the named pipe as the destination.

Re: How to stream onto named pipe?

Posted: 18 Jun 2010 02:24
by OleJak
like

Code: Select all

-vvv -I rc dshow:// vdev adev size="640x480" --sout="#transcode{vcodec=FLV1,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=ffmpeg{flv},dst=\\.\pipe\TestChannel}}"
or

Code: Select all

-vvv -I rc dshow:// vdev adev size="640x480" --sout="#transcode{vcodec=FLV1,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=stream,mux=ffmpeg{flv},dst=\\.\pipe\TestChannel}}"
or I should write some thing else?

Re: How to stream onto named pipe?

Posted: 02 Jul 2012 10:34
by pv123
Hii,

i also want to do the same thing...Did you succeed in streaming on named pipe?
My video is coming from rtp and i want to stream it onto named pipe and then use that named pipe in opencv for some image processing.

Please suggest me something.

Thanks