[Help] .jpg >>.bat >> vlc player

Discuss your Lua playlist, album art and interface scripts.
hasomaso
New Cone
New Cone
Posts: 3
Joined: 12 Aug 2012 02:54

[Help] .jpg >>.bat >> vlc player

Postby hasomaso » 12 Aug 2012 03:54

Hello Forum,

i am new here and need help.
my english is not perfect sorry

i've created a .bat file with this parameter

Code: Select all

@echo off start c:\progra~1\videolan\vlc\vlc "http://ns223506.ovh.net/rozne/90619bfec3a59f7a961c0de0a383d083/wallpaper-2120515.jpg" --meta-title=blablabla --height=400 --width=760
This parameter allows me to conjure up a picture on vlc
Unfortunately, the image is displayed only 2 seconds

I want the image to last longer!

I tried using this parameter --run-time=20,
unfortunately without success

can someone please help me




thanks
hasomaso

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: [Help] .jpg >>.bat >> vlc player

Postby mederi » 12 Aug 2012 12:28

--image-duration=<float> Duration in seconds
Duration in seconds before simulating an end of file. A negative
value means an unlimited play time.

hasomaso
New Cone
New Cone
Posts: 3
Joined: 12 Aug 2012 02:54

Re: [Help] .jpg >>.bat >> vlc player

Postby hasomaso » 12 Aug 2012 14:39

thank you for your answer
can you show one example with the parameter




thanks
hasomaso

hasomaso
New Cone
New Cone
Posts: 3
Joined: 12 Aug 2012 02:54

Re: [Help] .jpg >>.bat >> vlc player

Postby hasomaso » 23 Aug 2012 05:52

no one can help ?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: [Help] .jpg >>.bat >> vlc player

Postby mederi » 23 Aug 2012 16:42

--image-duration parameter is available only in VLC2, not in VLC1!
Here is an example:

Code: Select all

"C:\Program Files\VideoLAN\vlc-2.0.1\vlc.exe" http://www.funny.sk/images/o/o41106.jpg --image-duration=20
Or a bit more complex if you use start command and would like to quit VLC when finished:

Code: Select all

start "" "C:\Program Files\VideoLAN\vlc-2.0.1\vlc.exe" http://www.funny.sk/images/o/o41106.jpg --image-duration=20 vlc://quit
By the way, this is wrong forum section for your topic :!:


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 5 guests