.bat file
Posted: 26 Jul 2008 12:13
I'm streaming 2 videos, on a loop, to the Internet. Everything's working fine.
My question is how to have the stream start more quickly. I couldn't find a good way to save the settings, so I figured a .bat file might be a good way. I set up the streaming as usual and copied the parameters that were showing.
Here's what I came up with by copying some code I found elsewhere on the forums:
This gives me this error:
The playlist has this as the first track:
The video plays, but it plays locally too, which I don't need. I don't want to see the picture, I just need it to stream to the Internet.
I hope this is clear and I hope someone can point out what my problem is.
Thanks for any help.
My question is how to have the stream start more quickly. I couldn't find a good way to save the settings, so I figured a .bat file might be a good way. I set up the streaming as usual and copied the parameters that were showing.
Here's what I came up with by copying some code I found elsewhere on the forums:
Code: Select all
cd C:\Program Files\VideoLAN\VLC
vlc [:sout=#transcode{vcodec=WMV1,vb=96,scale=1,acodec=mp3,ab=96,channels=1}:duplicate{dst=std{access=http,mux=asf,dst=:1234}}:sout-all] "C:\streams\big_vid_a.mpg" "C:\streams\big_vid_b.mpg"
Code: Select all
Unable to open '[:sout=#transcode{vcodec=WMV1,vb=96,scale=1,acodec=mp3,ab=96,channels=1}:duplicate{dst=std{access=http,mux=asf,dst=:1234}}'
Code: Select all
[:sout=#transcode{vcodec=WMV1,vb=96,scale=1,acodec=mp3,ab=96,channels=1}:duplicate{dst=std{access=http,mux=asf,dst=:1234}}
I hope this is clear and I hope someone can point out what my problem is.
Thanks for any help.