Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.