stop-time parameter and Windows CLI

About encoding, codec settings, muxers and filter usage
markfm
Big Cone-huna
Big Cone-huna
Posts: 1535
Joined: 22 Feb 2004 17:42

stop-time parameter and Windows CLI

Postby markfm » 08 Nov 2012 18:08

On both 2.0.3 and 2.0.4 I don't seem to get stop-time to work on Win7, from a command line. Start-time seems to work fine, no problem clipping the front part of a video.

The application is pretty simple, just:
vlc c:\temp\_out.mp4 :start-time=5 :stop-time=326 :sout=#file{dst=c:\\temp\\_out2.mp4} :sout-keep.

I've tried both --stop-time= and :stop-time=, and also tried leaving out the :start-time= and :sout-keep.

Start-time is perfect, but my output file consistently runs to the end of the input file, ignores stop-time.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: stop-time parameter and Windows CLI

Postby Jean-Baptiste Kempf » 09 Nov 2012 13:02

try run-time
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

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

Re: stop-time parameter and Windows CLI

Postby markfm » 09 Nov 2012 16:03

Same result, unfortunately:
vlc c:\temp\_out.mp4 :run-time=4 :sout=#file{dst=c:\\temp\\_out11.mp4}
Spools the entire file out to out11.
Workaround is that I can watch the file live while having it spool to a new file, then stop the view where I need to truncate, but working :stop-time would be stellar.

I may have to set up an environment again to play :) (I know mingw is preferred, but I still have nightmares about it from years ago -- time to give it another try.)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: stop-time parameter and Windows CLI

Postby Jean-Baptiste Kempf » 10 Nov 2012 18:27

It should be way simpler those days...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

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

Re: stop-time parameter and Windows CLI

Postby markfm » 20 Nov 2012 16:36

Trying the msys environment.

Fetching the contribs, doing "make prebuilt", it looks like caca, cucul, png, openjpeg aren't coming through. Maybe something getting blocked at work?

Also, I noticed that following the MSys environment writeup, liblua ends up being installed in MSys under local, but the path for MSys/1.0/local doesn't get seen during a configure -- I was lazy, ended up just copying lua files up to MinGW, which worked for that part. Is there some other edit needed in MSys.bat to have it check local?

Trying a build, I get a complaint about old/missing livemedia/live55 -- possibly something else blocked by work?

(I'll switch to the vlc-devel list going forward, just signed up again on it.)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: stop-time parameter and Windows CLI

Postby Jean-Baptiste Kempf » 20 Nov 2012 17:58

Trying the msys environment.

Fetching the contribs, doing "make prebuilt", it looks like caca, cucul, png, openjpeg aren't coming through. Maybe something getting blocked at work?

Also, I noticed that following the MSys environment writeup, liblua ends up being installed in MSys under local, but the path for MSys/1.0/local doesn't get seen during a configure -- I was lazy, ended up just copying lua files up to MinGW, which worked for that part. Is there some other edit needed in MSys.bat to have it check local?

Trying a build, I get a complaint about old/missing livemedia/live55 -- possibly something else blocked by work?

(I'll switch to the vlc-devel list going forward, just signed up again on it.)
Did you try 2.1.0-git?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

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

Re: stop-time parameter and Windows CLI

Postby markfm » 21 Nov 2012 18:37

Better results at home, where I have a cleaner build environment and working git (I dropped msysgit files right into my Ming folder, so I now have a pretty normal command-line git from MSys).

Location of the current built Windows contribs? Even at home I see the complaints of missing contribs, like live555.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: stop-time parameter and Windows CLI

Postby Jean-Baptiste Kempf » 22 Nov 2012 16:26

Look at the wiki, it is specified. And there is a msys complete setup on the wiki too...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

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

Re: stop-time parameter and Windows CLI

Postby markfm » 23 Nov 2012 00:08

I followed the wiki, several times.

I do the make prebuilt, but apparently it is not getting caca, cucul, openjpeg, live555 stuff.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: stop-time parameter and Windows CLI

Postby Jean-Baptiste Kempf » 02 Dec 2012 14:04

logs?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests