Batch File Streaming
Posted: 28 Jul 2013 16:24
I found a tutorial that works, that allows me to stream several files and have the client not stop when the new file is loaded, finally... lol... but this uses RTP and streams in MPEG... which means I would have to transcode... I am hoping that I can stream in HTTP and not transcode as 90% of my files are MP4 already, so I was hoping that the transcoding could be skipped... can someone help me figure out how to re-write this to work? Actually, I would be ok with keeping the RTP, but I guess since my network equipment is a little old, it just about bottles up my entire network in RTP... so I'd rather go the http route for now...
My hope is to have 4 or 5 streams going to VLC clients on some tvs around the house and have my own custom channels...
the link below contains the sample I found that worked...
http://luuk1983.tweakblogs.net/blog/906 ... -sync.html
If you follow their instructions, you get a batch file like this.
c:
cd\program files (x86)\videolan\vlc
vlc "file:///s:/music/clips/" --random --loop --sout-keep --sout="#transcode{vcodec=mp2v,vb=1200,scale=1,width=1280,height=720,acodec=mpga,ab=256,channels=2,samplerate=44100}:gather:rtp{dst=239.255.100.100,port=5004,mux=ts}"
My hope is to have 4 or 5 streams going to VLC clients on some tvs around the house and have my own custom channels...
the link below contains the sample I found that worked...
http://luuk1983.tweakblogs.net/blog/906 ... -sync.html
If you follow their instructions, you get a batch file like this.
c:
cd\program files (x86)\videolan\vlc
vlc "file:///s:/music/clips/" --random --loop --sout-keep --sout="#transcode{vcodec=mp2v,vb=1200,scale=1,width=1280,height=720,acodec=mpga,ab=256,channels=2,samplerate=44100}:gather:rtp{dst=239.255.100.100,port=5004,mux=ts}"