Create a script to run VLC and Transcode

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
SideshowMel
Blank Cone
Blank Cone
Posts: 17
Joined: 12 Nov 2006 20:26

Create a script to run VLC and Transcode

Postby SideshowMel » 17 Aug 2007 16:58

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.

SideshowMel
Blank Cone
Blank Cone
Posts: 17
Joined: 12 Nov 2006 20:26

Re: Create a script to run VLC and Transcode

Postby SideshowMel » 17 Aug 2007 17:41

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.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 15 guests