Page 1 of 1

How to set stoptime of recording in VLC

Posted: 17 May 2007 15:15
by PavelUK
Hi mates,

Ive got big problem with VLC. Please tell me where can I set time when I want to finish recording of stream ? Best way will be some parametr for command line. I am running VLC on Windows. I hope there is some paramter, because if not then I thing that developers should make some more work on it.


Thx....

Posted: 18 May 2007 11:58
by mhavo
I would like to know this also. Now I'm using external program to kill VLC at right time, but that's only a sad hack...

Posted: 18 May 2007 12:03
by DJ
This is the second time today I answered this. Try using search! :P

--stop-time <integer> Stop time
The stream will stop at this position (in
seconds).

--

Posted: 19 May 2007 19:00
by PavelUK
i tried this parametrer, but it doesnt work on multicast from where i am recording, so no solution for me...any other idea?

Posted: 19 May 2007 23:06
by MikeQBF
Hoping to be sternly corrected, but after poking at this quite a bit AND doing a lot of searches here, timed recording of live streams apparently isn't a feature. I, too, have been reduced to some fairly clumsy hacks to get this function, hacks which are still too cranky to deploy beyond "proof of concept" testing.

I do hope that this omission is corrected sometime soon... hint, hint. :wink:

Posted: 19 May 2007 23:47
by PavelUK
Well I found solution in using Mencoder instead of VLC.

Simple script

Code: Select all

start mencoder -cache 4096 rtp://@239.194.10.13:1234 -vf scale=640:480 -o title2.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4 -endpos 10
Make everything what i want :lol:

Anyway, if there is some solution for VLC i preffer it!

Posted: 20 May 2007 08:29
by DJ
viewtopic.php?t=28447
Free PVR and support for VLC