VLC Tricks

VLC Scheduled Recording

  1. vlc_start.bat
    • Contains the command line to start the player & play a url stream & also records it to a file.
    • You can even name the file saved dynamically based on date if u plan to record it daily use the snippet below
  2. vlc_end.bat
    • Contains snippet below, that closes down VLC
  3. Now schedule these 2 bat files using windows scheduler by creating 2 different start & end schedules for these files.

vlc_start.bat

@echo off
"c:\Program Files\VideoLAN\VLC\vlc.exe" "http://someurl" --sout="#duplicate{dst=std{access=file,mux=asf,dst='C:\stream-%date:~7,2%_%date:~4,2%_%date:~10,4%.asf'},dst=nodisplay}"

vlc_end.bat

@echo off
taskkill /IM vlc.exe

VLC Stream Record to MP3

vlc.exe <stream> --sout "#transcode{acodec=mp3,ab=192}:duplicate{dst=nodisplay,dst=std{access=file,mux=raw,dst=c:\something.mp3}}
 
 vlctricks.txt · Last modified: 2012/09/26 20:42 by bpienig
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Driven by DokuWiki