Page 1 of 1

30 minutes chunk of a network stream

Posted: 24 Apr 2008 16:02
by iasion
Hi,

I have this project where i need a method of recording 30 minutes chunks out of a rtp stream. The recordings are saved for later use.

My question is how VLC can assist me with that? I have used VLC to save network streams to disk, but some automated way would be nice. I tried the stop-time option, but that doesn't seem to work when a netwok stream is used as source. My intention was to use the stop-time option in conjunction with a script to produce the chunks automatically without having someone by the computer.

So how can i make VLC stop transcoding a network stream after a certain time has passed?

Re: 30 minutes chunk of a network stream

Posted: 24 Apr 2008 18:08
by dionoea
You could use --run-time 1800 in the development version. In other versions you're stuck :)

Re: 30 minutes chunk of a network stream

Posted: 24 Apr 2008 18:36
by revolunet
you can use Cron to start/stop streams every 30mins, it could control VLC (or VLM) via http for example or simply kill/restart vlc

i do this to create 1 hour videos from webcams.