Does VLC have a command option for partial extract?

About encoding, codec settings, muxers and filter usage
cardi
New Cone
New Cone
Posts: 1
Joined: 12 May 2007 14:55

Does VLC have a command option for partial extract?

Postby cardi » 18 May 2007 14:16

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.

gamboz
New Cone
New Cone
Posts: 1
Joined: 01 Jan 2008 15:25

Re: Does VLC have a command option for partial extract?

Postby gamboz » 01 Jan 2008 15:30

try --start-time and --stop-time. Times are in seconds

Clafoutis
Blank Cone
Blank Cone
Posts: 28
Joined: 06 Oct 2007 18:16

Re: Does VLC have a command option for partial extract?

Postby Clafoutis » 02 Jan 2008 09:05

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!

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Does VLC have a command option for partial extract?

Postby revolunet » 02 Jan 2008 12:20

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
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

Clafoutis
Blank Cone
Blank Cone
Posts: 28
Joined: 06 Oct 2007 18:16

Re: Does VLC have a command option for partial extract?

Postby Clafoutis » 03 Jan 2008 12:23

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.

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Does VLC have a command option for partial extract?

Postby fkuehne » 03 Jan 2008 13:06

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.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: Google [Bot] and 21 guests