Recording a stream for a given time

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
MadBison

Recording a stream for a given time

Postby MadBison » 24 Jan 2005 14:02

Hello

I am using VLC 0.8.1 for Windows.

I use the command line

"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv udp://@239.193.0.9:8208 --sout c:\Video.mpg

to record shows. I would like to record for a given time, and possibly record starting from a given time.

Is there any way to do this in VLC? I tried


"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv udp://@239.193.0.9:8208 --sout c:\Video.mpg --ttl 10

"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv udp://@239.193.0.9:8208 --sout c:\Video.mpg --start-time 10

"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv udp://@239.193.0.9:8208 --sout c:\Video.mpg --stop-time 10:

Thanks
David

markfm
Big Cone-huna
Big Cone-huna
Posts: 1535
Joined: 22 Feb 2004 17:42

Postby markfm » 24 Jan 2005 16:08

If you want to work against external time, the simplest thing is probably to use batch files and Windows' AT command, which accesses the Windows Scheduler service.

Note that --stop-time is in seconds.

Try a little batch file:
myfile.bat
"c:\program files\videolan\vlc\vlc.exe" udp........ --stop-time 600 vlc:quit

(make sure you have a carriage return after the "600", a blank line)

Then, at a command prompt (Dos window):
at 10:00 myfile.bat

See if it does what you want/expect -- launch vlc at 10, listening to the UDP for 10 minutes, then closing itself.

cat6man

Postby cat6man » 07 Feb 2006 04:47

i'm confused by this as well.....

i've used the --stop-time option and it works perfectly at work on my
win2k machine but doesn't work at all on my home xp machine...both running the same version of vlc.

any ideas?
anyone else see this?

clbgld
Blank Cone
Blank Cone
Posts: 16
Joined: 14 Mar 2006 20:23

Postby clbgld » 22 Apr 2006 08:03

I have been trying to time DV capture to the length of the recording - stop time doesn't work on my XP machine either...

CG
i'm confused by this as well.....

i've used the --stop-time option and it works perfectly at work on my
win2k machine but doesn't work at all on my home xp machine...both running the same version of vlc.

any ideas?
anyone else see this?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests