I am setting up a bat file that will run on start up to record a UDP stream but I only want to record 1 minute to 1 minute and 30 seconds of video. (this is for legal reasons at a television station)
The command line as I have it now w/o the time limit is:
Code: Select all
Start C:\Program Files\VideoLAN\VLC\vlc.exe udp://@:1254 :sout=#transcode{vcodec=WMV1,vb=768,scale=1,acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="c:\legal_id.mpg"}}
Other things I have tried were different combination of
--stop-time="90" infront of ":stout" with "vnc:quit" at the end
[my guess is since on the stream the time always stays a 0:00 there is no time code for it to count off of?]
I also tried a bat file that went
Code: Select all
at 12:00:00 Start C:\Program Files\VideoLAN\VLC\vlc.exe udp://@:1254 :sout=#transcode{vcodec=WMV1,vb=768,scale=1,acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="c:\legal_id.mpg"}}
at 12:01:30 Start C:\Program Files\VideoLAN\VLC\vlc.exe vnc:quit
Any one think of anything else to try?
Many thanks!
--Scott--