How to stream onto named pipe?

About encoding, codec settings, muxers and filter usage
OleJak
Blank Cone
Blank Cone
Posts: 32
Joined: 26 Apr 2010 01:52

How to stream onto named pipe?

Postby OleJak » 15 Jun 2010 15:25

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)

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to stream onto named pipe?

Postby Rémi Denis-Courmont » 16 Jun 2010 03:11

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

OleJak
Blank Cone
Blank Cone
Posts: 32
Joined: 26 Apr 2010 01:52

Re: How to stream onto named pipe?

Postby OleJak » 18 Jun 2010 02:24

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?

pv123
New Cone
New Cone
Posts: 2
Joined: 01 Jul 2012 16:17

Re: How to stream onto named pipe?

Postby pv123 » 02 Jul 2012 10:34

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 8 guests