Code: Select all
set day=%Date:~0,2%
set month=%Date:~3,2%
set year=%Date:~6,4%
set D=%year%-%month%-%day%
vlc http://62.196.56.141:8080 --sout=#std{access=file,mux=raw,dst="C:\temp\streaming\%D%-RSMorn.mp3"}
Code: Select all
set day=%Date:~0,2%
set month=%Date:~3,2%
set year=%Date:~6,4%
set D=%year%-%month%-%day%
vlc http://62.196.56.141:8080 --sout=#std{access=file,mux=raw,dst="C:\temp\streaming\%D%-RSMorn.mp3"}
I was asking because of this article, however I couldn't sort it out to make it work...no.
http://tips.navas.us/2013/02/record-internet-radio.htmlThe record parameters above assume the stream is in the most universal MP3 format. Where a source has multiple stream formats available, choose MP3 to avoid problems; to try recording some other format, use the appropriate file extension (instead of .mp3). You can of course change the file name from Recording to whatever you might prefer. To create unique file names with date and time, see Play HowTo/Format String; e.g., Recording_%Y%m%d_%H%M
Code: Select all
vlc http://62.196.56.141:8080 --sout=#std{access=file,mux=raw,dst="C:\temp\streaming\%%Y-%%m-%%d %%Hh%%Mm%%Ss RSMorn.mp3"}
It is not a batch file, the command is being run from Windows Task Scheduler...You need to use "%%" within batch file:Code: Select all
vlc http://62.196.56.141:8080 --sout=#std{access=file,mux=raw,dst="C:\temp\streaming\%%Y-%%m-%%d %%Hh%%Mm%%Ss RSMorn.mp3"}
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" http://62.196.56.141:8080 --sout=#std{access=file,mux=raw,dst="C:\temp\streaming\%Y-%m-%d-RSMorning.mp3"}
I am using VLC 2.1.3 and none of above work!For me the final format was:
vlc rtsp://192.168.1.128:554/12 --sout=file,dst="C:\temp\%y-%m-%d-%Hh -%Mm DrivewayClip.mpg"
and that created a file name of "2014-07-16-08h-20m DrivewayClip"
I am not worried about seconds as each of my video clips is at least 1 min long and has the time/date in the stream.
It does work in 2.1.3 -- follow the recipe exactly.I am using VLC 2.1.3 and none of above work!
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: No registered users and 47 guests