how to make vlc receive video stream from stdin

*nix specific usage questions
pengyou54
Blank Cone
Blank Cone
Posts: 14
Joined: 26 Apr 2006 17:32

how to make vlc receive video stream from stdin

Postby pengyou54 » 19 Apr 2007 00:41

I tried to use the following command to make vlc display h.264 video.

cat test.mp4 | vlc

Then I tried fifo, it didn't work either. The commands I used are as follows:

mkfifo fifo.mp4
vlc fifo.mp4&
cat test.mp4 > fifo.mp4

vlc didn't work as expected. my vlc is 0.8.4. Could any expert tell me how to do it correctly? 

Thank you!

hisoka
Blank Cone
Blank Cone
Posts: 13
Joined: 12 Apr 2007 09:27

Postby hisoka » 19 Apr 2007 09:11

Hello,

first of all, you have to create an instance of VLC by the following command line :

Code: Select all

vlc -
Then you can create your pipe with your command line :

Code: Select all

cat file_name.xyz | vlc -
Jeff


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests