Possible to force a jpg to display >10 secs from a playlist?

Discuss your Lua playlist, album art and interface scripts.
NoMoreNicksLeft
Blank Cone
Blank Cone
Posts: 21
Joined: 06 Aug 2012 19:39

Possible to force a jpg to display >10 secs from a playlist?

Postby NoMoreNicksLeft » 10 Aug 2012 01:27

I'm loading the old RCA test pattern image before I load other videos on the page, but it defaults to 10 seconds. I can't get access to the config object to change it, but even if I could... I wouldn't have a chance to clean up after myself so until the user went in and manually fixed it it'd be stuck at whatever I set it to.

Are there any tricks here that I can't figure out?

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

Re: Possible to force a jpg to display >10 secs from a playl

Postby Jean-Baptiste Kempf » 10 Aug 2012 11:38

There is a preference for that.
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.

NoMoreNicksLeft
Blank Cone
Blank Cone
Posts: 21
Joined: 06 Aug 2012 19:39

Re: Possible to force a jpg to display >10 secs from a playl

Postby NoMoreNicksLeft » 11 Aug 2012 06:55

Jean-Baptiste,

I have the php page I'm pointing VLC at continue to tell it to load the image for however long I want it displayed... and it doesn't even seem to stop playing, loading it again instantly. Do you know whether it caches the image, or is it doing a http get every time? Other than the possibility that it's transferring the same 130kbyte image every 10 seconds, I like this solution best, I think.

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

Re: Possible to force a jpg to display >10 secs from a playl

Postby Jean-Baptiste Kempf » 11 Aug 2012 19:54

VLC caches the image. You can set the duration, per item, 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.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 21 guests