Jump to content

VLC Streaming/Downoading ?


Mr_Mischif
 Share

Recommended Posts

  • 5 months later...

It is very possible to have VLC download a stream while you're out. First you set up a batch file to start VLC and have it automatically open and start transcoding/streaming/dumping the stream you want to your hard drive. Next you set up an AT job to run the batch you just created file at the specified time. Finally you add a second AT job to kill the VLC process at a specified time.

batch file

start <path to vlc>vlc.exe -vvv <input stream> <transcoding options> <output file>

at command 1

at hh:mm /interactive [/next:?| /every:?] <path to batch file>batchfile.bat

at command 2

at hh:mm [/next:? | /every:?] taskkill /f /im vlc.exe

For more information about the AT command look here

http://ss64.com/nt/at.html

For more information about the TASKKILL command look here

http://www.microsoft.com/resources/documen...l.mspx?mfr=true

For more information on VLC's command line options for use in streaming/transcoding look here.

http://wiki.videolan.org/Documentation:Str...d_Line_Examples

I've been doing this for a late night radio show for years because staying up from midnight to 4am five nights a week is neither healthy nor feasible. For radio streams I would say you can safely transcode to whatever format you want, because real time audio compression won't max out the average pc. For video streams, in the interest of having a watchable result, I would only recommend dumping the stream to a file without transcoding. Even still, in order for that to work you need to match the output container specified to VLC to be the same as the format the stream is in or you end up with a file that you can't get to play back.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...