Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to use netcat on Linux server to stream video to my windows client using VLC

I started running netcat on Linux:

 cat /media/HD1/myMovie.mkv | nc -l 8668

In VLC Windows Client I tried to:

Open VLC > Open network stream vlc > rtp://@serverIP:8668

Without success.

share|improve this question
VLC has a server mode that you can use in Linux do this. Using cat to netcat won't make it speak the RTP protocol. – jordanm Jun 12 '13 at 5:12
Someone told me that VLC server is heavy and i could try to use mplayer instead. Do you agree? (i'm using Raspberry pi) – Makah Jun 13 '13 at 22:02
nc -l -p 5001 | mplayer -fps 31 -cache 1024 - on the receiving side. – ppumkin Nov 14 '13 at 9:27

vlc has a stream feature to redirect video by network. You need execute this command on server: vlc -vvv zzx.rmvb --sout '#std{access=mmsh,mux=asfh,dst=:8080}'

And then,you can execute this command on client: mms://server_ip_address:8080

As the above,I use mms/mmsh to redirect video by network. Vlc support other stream methods.For example:http,udp,rtp/rtsp and so on. Please take a look at the document of vlc.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.