Page 1 of 1

Create a script to run VLC and Transcode

Posted: 17 Aug 2007 16:58
by SideshowMel
I want to create a script to run an instance of VLC to start Transcode / Save to File for a specific stream. I'm planning to use the Windows Task Scheduler to start it at the appropriate time.

One thing I need to do to start is: how can I see what the command-line entry for all the choices would be after I make the selections in the GUI? That would help at least get me closer to my goal. Basically, I can Transcode the stream I want if I go through the wizard, so there must be a CLI equivalent.

Any help on this is appreciated. thanks.

Re: Create a script to run VLC and Transcode

Posted: 17 Aug 2007 17:41
by SideshowMel
Nevermind.
If anybody else wants the solution, I just created a new Task, and in the "Run:" field, I put:

"C:\Program Files\VideoLAN\VLC\vlc.exe" http://[the stream I want to record] :sout=#transcode{acodec=mp4a,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="[the path to the local file I want to save]"}}

I scheduled it to start at the webcast's start, and to end shortly after its scheduled completion.