Image Duration

This forum is about all development around libVLC.
Kendema
New Cone
New Cone
Posts: 2
Joined: 06 Apr 2019 00:49

Image Duration

Postby Kendema » 07 Apr 2019 07:49

Hi, I can't seem to find this in the documentation or on the web. My apologies if it's there and I'm just not looking in the right place.

Does anyone know how to set the Image duration when opening a picture in libVLC? I basically want to set this for the media player I open in libVLC : Menu -> Tools -> Preferences -> All -> Input Codecs -> Demuxer -> Image -> Duration in seconds

Any help or pointers would be greatly appreciated.

best,
Kendema

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: Image Duration

Postby Jean-Baptiste Kempf » 07 Apr 2019 11:42

add the option :image-duration to the value you want (float, in second)
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.

Kendema
New Cone
New Cone
Posts: 2
Joined: 06 Apr 2019 00:49

Re: Image Duration

Postby Kendema » 08 Apr 2019 22:07

Thanks a bunch!! Really appreciate your support.
Best,
kendema

miyou995
New Cone
New Cone
Posts: 4
Joined: 13 Dec 2020 16:19

Re: Image Duration

Postby miyou995 » 14 Dec 2020 16:00

how to do it in python-vlc ?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 14 guests