Start-time and Stop-time WORKING examples
The following worked for me, using VLC 0.8.6a on Win98SE
I am trying to work out the corrrect syntax to do the following:
(windows VLC 0.8.6)
VLC starts
goes fullscreen
plays a playlist
In the playlist:
a video (avi, mpg etc) plays for 1 minute
then VLC switches to webcam feed for 1 minute
then the video keeps playing, or another video starts
Using this post as an example:
--------------------------------- clip -----------------------------
Post by dionoea on Tue Jul 24, 2007 12:35 pm
This should work:
vlc file.avi :start-time=<t1> :stop-time=<t2> file.avi :start-time=<t3> :stop-time=<t4> file.avi :start-time=<t5> :stop-time=<t6> vlc:quit
Antoine Cellerier
dionoea
--------------------------------- end ----------------------------------------------
I made the following batch file, stuffed 3 test avi's into the VLC directory
with it and executed it
vlc cat.avi :start-time=0 :stop-time=10 Flying.avi :start-time=0 :stop-time=12 khyber.avi :start-time=40 :stop-time=60 Flying.avi :start-time=20 :stop-time=80
THIS WORKED GREAT!
As a bonus, because I had set VLC prefs to REPEAT ALL, it continued to run in a loop.
When I turned off REPEAT ALL and turned on SINGLE INSTANCE in the settings,
I could preview all AVI's in a folder with a batch file containing this:
for %%r in (*.avi) do vlc %%r :stop-time=5
(use %r instead of %%r if from the command line, not in a batch file)
Depending on the avi's it either worked or stalled.
OK, that was neat...
But how about playlists?
After much effort, I got vlc looping then stopped it, saved the playlist,
renamed it to a text file and found something that could be adapted to
THIS: ( I call it works.m3u)
#EXTM3U
#EXTVLCOPT:start-time=15
#EXTVLCOPT:stop-time=25
FLYING.AVI
#EXTVLCOPT:start-time=15
#EXTVLCOPT:stop-time=25
KHYBER.AVI
#EXTVLCOPT:stop-time=10
FLYING.AVI
#EXTVLCOPT:stop-time=8
KHYBER.AVI
#EXTVLCOPT:start-time=65
FLYING.AVI
#EXTVLCOPT:start-time=75
KHYBER.AVI
Note that the playlist will obey VLC PREFERENCES, so play forever, stay on top, fullscreen, etc can be set beforehand.
Note also that this M3U file is IN the VLC directory and so are the AVIs.
I can start the whole process with a batch file from the VLC directory
that has this in it:
VLC works.m3u
If the pref are not set for FULLSCREEN, I can force it with a batch file that has this in it:
VLC -f works.m3u
(Note that I am running this from the VLC directory. Other usage may involve setting the PATH
environment variable so that VLC can be run from anywhere.)
Now what I really really want to do is stuff some webcam feed into the PLAYLIST
with a stop-time
But I dont have a direct show web-cam hooked up yet.
When I do, I will post the results
Or some nice person could perhaps????????
This is a re-occurrant VIDEO ART INSTALLATION problem..
Everyone and their brother-in-law wants to stuff a surveilance camera's live feed
into a video.
In the past i have made horrible kludge mechanical switch-boxes that used a motion detector and or audio line input through an isolation xformer to motion detector circuits to throw DPDT relays switching compossite feed from a DVD and a live cam...
BLEH!
If a DSHOW webcam or composite video in from a capture card, can work with stop-time, this would give a nice juicy VGA output for higher resolution stuff..
Mad scientist laugh time: MWAAAHHHHH HAAHHH HAAHHH !
Cheers..
KBRB