Create VLC Batch File

About encoding, codec settings, muxers and filter usage
xtonys
New Cone
New Cone
Posts: 2
Joined: 08 Sep 2012 19:05

Re: Create VLC Batch File

Postby xtonys » 08 Sep 2012 19:11

Hi guys

Im new to this site. I searched around and have almost achieved what I need...
I want to create a batch file that will launch vlc and have it start streaming from an http camera stream to a TS file

This is what I managed so far, by copying the text from vlc when I manually setup a new stream....

cd C:\Program Files (x86)\VideoLAN\VLC\
vlc :sout=#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=file{dst="D:\Recorded TV\camera1.ts"},dst=display} :sout-all :sout-keep
PAUSE

vlc loads and I dont get any errors, but dont get a stream or I get some strange red/pink colour on the screen....

Would appreciate any help with this...

Thanks

Tony

vel_tins
Blank Cone
Blank Cone
Posts: 81
Joined: 22 Nov 2007 08:51

Re: Create VLC Batch File

Postby vel_tins » 09 Sep 2012 02:10

cd C:\Program Files (x86)\VideoLAN\VLC\
vlc :sout=#transcode.........
I cannot see your "input" line
Your command line should start somehow like this:

cd C:\Program Files (x86)\VideoLAN\VLC\
vlc "http://ip.of.your.cam" --sout=#transcode.....

I agree.
Vlc needs the same function as Handbrake, which can create a batch file with the complete commandline including all options

xtonys
New Cone
New Cone
Posts: 2
Joined: 08 Sep 2012 19:05

Re: Create VLC Batch File

Postby xtonys » 09 Sep 2012 11:07

Thanks for quick reply!

All working
Wife-friendly batch file now in win7 startup :)

Tony


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests