Page 1 of 1
Does VLC have a command option for partial extract?
Posted: 18 May 2007 14:16
by cardi
I want to set a stream starting from the middle part of a file (e.g. start form 20th minute from a movie), by using a command line(since in GUI, the wizard has a function like that).
But I have checked almost all the related document, cannot find one. Does anybody meet this problem before? Thanks a lot if you could provide some suggestions.
Re: Does VLC have a command option for partial extract?
Posted: 01 Jan 2008 15:30
by gamboz
try --start-time and --stop-time. Times are in seconds
Re: Does VLC have a command option for partial extract?
Posted: 02 Jan 2008 09:05
by Clafoutis
try --start-time and --stop-time. Times are in seconds
Hello!
Would you post a full example command line, as correct syntax in VLC is always a mystery for me ?
Thanks!
Re: Does VLC have a command option for partial extract?
Posted: 02 Jan 2008 12:20
by revolunet
you should read
http://wiki.videolan.org/VLC_command-line_help
Code: Select all
vlc.exe --start-time 1200 --stop-time 1260 input.avi vlc:quit
plays one minute from the 20th then quits
Re: Does VLC have a command option for partial extract?
Posted: 03 Jan 2008 12:23
by Clafoutis
Thanks for yur help!
I do read it, but it is quite elliptic...
Code: Select all
vlc.exe --start-time 1200 --stop-time 1260 input.avi vlc:quit
OK, but sometimes the syntax seams to be --start-time 1200, sometimes --start-time=1200, and sometimes --start-time="1200"
Could you explain clearly which is correct, or if several are corrrect, what are the differences ? Thanks again.
Re: Does VLC have a command option for partial extract?
Posted: 03 Jan 2008 13:06
by fkuehne
Both 3 ways of writing the flags are correct. Preferably, don't use quotes here as they might be mistreated on some setups.
For more, have a look at the other thread.