Page 1 of 1

Streaming a playlist to lan. m3u vs xspf

Posted: 12 Jul 2017 20:35
by berkely
Hi,

I'm using VLC to stream a directory with movies to multicast addresses, this all works fine except for the -random which doesn't seem to be exactly random but rather a fixed random.

Anyway, I thought I would stream an m3u playlist which I can randomly build via another script and stream that, but that doesn't seem to work.
When I stream the m3u playlist it just plays locally and doesn't get streamed. But if I save the m3u playlist as a xspf and run the exact same command, then the playlist is just properly streamed to the clients on the LAN?
I don't get this, why is VLC treating these 2 playlist differently?

Code: Select all

This plays local: "D:\Playlists\Channel1.m3u" --sub-autodetect-fuzzy=4 --sout-keep :sout=#transcode{vcodec=mp2v,vb=4096,fps=25,scale=1,acodec=mpga,ab=366,channels=2,samplerate=44100,scodec=dvbs,soverlay}:std{access=udp,mux=ts,dst=239.x.x.x:1234} This gets streamed: "D:\Playlists\Channel1.xspf" --sub-autodetect-fuzzy=4 --sout-keep :sout=#transcode{vcodec=mp2v,vb=4096,fps=25,scale=1,acodec=mpga,ab=366,channels=2,samplerate=44100,scodec=dvbs,soverlay}:std{access=udp,mux=ts,dst=239.x.x.x:1234}
Any ideas?

Thanks
Berk.