DOS batch file to save streaming video
Posted: 18 Apr 2009 22:35
I am trying to run a DOS batch file to run vlc to save an MMS stream to an avi file once per day. The file type is not important.
I am useless at DOS programming, so am getting in a real pickle.
My batch file works when it has this line.
My batch file doesn't work when I try to make it stop automatically
It just creates an empty AVI file and never stops.
When I add the dummy interface like this:
I get the following error messages:
I'm sure I'm doing something really stupid. Can someone please point out what it is?
-----------------------------------
vlc 0.9.9 under Windows XP
I am useless at DOS programming, so am getting in a real pickle.
My batch file works when it has this line.
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" mms://172.20.0.172:1755/ :sout=file/avi:C:\data\video\MVO\%date%.avi
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" --stop-time=60 mms://172.20.0.172:1755/ :sout=file/avi:C:\data\video\MVO\%date%.avi
When I add the dummy interface like this:
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --stop-time=60 mms://172.20.0.172:1755/ :sout=file/avi:C:\data\video\MVO\%date%.avi
Code: Select all
[00000397] dummy interface: VLC media player - version 0.9.
6-2009 the VideoLAN team
[00000397] dummy interface:
Warning: if you can't access the GUI anymore, open a command
the directory where you installed VLC and run "vlc -I qt"
[00000397] dummy interface: using the dummy interface module
[00000415] access_mms access error: no data received
[00000415] access_mms access error: no data received
[00000415] access_mms access error: cannot connect to server
[00000415] access_mms access error: cannot read data 2
-----------------------------------
vlc 0.9.9 under Windows XP