Page 1 of 1

stop-time parameter and Windows CLI

Posted: 08 Nov 2012 18:08
by markfm
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.

Re: stop-time parameter and Windows CLI

Posted: 09 Nov 2012 13:02
by Jean-Baptiste Kempf
try run-time

Re: stop-time parameter and Windows CLI

Posted: 09 Nov 2012 16:03
by markfm
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.)

Re: stop-time parameter and Windows CLI

Posted: 10 Nov 2012 18:27
by Jean-Baptiste Kempf
It should be way simpler those days...

Re: stop-time parameter and Windows CLI

Posted: 20 Nov 2012 16:36
by markfm
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.)

Re: stop-time parameter and Windows CLI

Posted: 20 Nov 2012 17:58
by Jean-Baptiste Kempf
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?

Re: stop-time parameter and Windows CLI

Posted: 21 Nov 2012 18:37
by markfm
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.

Re: stop-time parameter and Windows CLI

Posted: 22 Nov 2012 16:26
by Jean-Baptiste Kempf
Look at the wiki, it is specified. And there is a msys complete setup on the wiki too...

Re: stop-time parameter and Windows CLI

Posted: 23 Nov 2012 00:08
by markfm
I followed the wiki, several times.

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

Re: stop-time parameter and Windows CLI

Posted: 02 Dec 2012 14:04
by Jean-Baptiste Kempf
logs?