this is my procedure for multicasting videos using VLC:
1. In my clients, run "vlc rtp://@239.255.100.100" (replace 239.255.100.100 with any suitable address for multicasting, if you want it). Use option -f for fullscreen. I don't remember now why is that @ needed.
2. In my server, run "vlc <video-path-or-MRL> ':file-caching=300' '<VLC-multicast-options>' ':sout-keep'
Replace <VLC-multicast-options> with any of the following:
a) No live transcoding, no local playback
:sout=#rtp{dst=239.255.100.100,port=5004,mux=ts}
b) No live transcoding, local playback
:sout=#duplicate{dst=rtp{dst=239.255.100.100,port=5004,mux=ts},dst=display}
c) Live transcoding, no local playback
:sout=#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{dst=239.255.100.100,port=5004,mux=ts}
d) Live transcoding, local playback
:sout=#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=rtp{dst=239.255.100.100,port=5004,mux=ts},dst=display}
It works pretty fine for local files, but for some Youtube streams I need to enable live transcoding, which may slow down the multicast if original video resolution is high (720p and higher).
With these options, I can only multicast a single video. I still can't make it multicast an entire playlist.
Hi Fotis,
this is my procedure for multicasting videos using VLC:
1. In my clients, run "vlc rtp://@ 239.255. 100.100" (replace 239.255.100.100 with any suitable address for multicasting, if you want it). Use option -f for fullscreen. I don't remember now why is that @ needed.
2. In my server, run "vlc <video-path-or-MRL> ':file-caching=300' '<VLC-multicast -options> ' ':sout-keep'
Replace <VLC-multicast- options> with any of the following:
a) No live transcoding, no local playback rtp{dst= 239.255. 100.100, port=5004, mux=ts}
:sout=#
b) No live transcoding, local playback duplicate{ dst=rtp{ dst=239. 255.100. 100,port= 5004,mux= ts},dst= display}
:sout=#
c) Live transcoding, no local playback transcode{ vcodec= h264,acodec= mpga,ab= 128,channels= 2,samplerate= 44100}: rtp{dst= 239.255. 100.100, port=5004, mux=ts}
:sout=#
d) Live transcoding, local playback transcode{ vcodec= h264,acodec= mpga,ab= 128,channels= 2,samplerate= 44100}: duplicate{ dst=rtp{ dst=239. 255.100. 100,port= 5004,mux= ts},dst= display}
:sout=#
It works pretty fine for local files, but for some Youtube streams I need to enable live transcoding, which may slow down the multicast if original video resolution is high (720p and higher).
With these options, I can only multicast a single video. I still can't make it multicast an entire playlist.