Displaying Logo at specific times (like in subtitles)

This forum is about all development around libVLC.
maitrepiet
Blank Cone
Blank Cone
Posts: 69
Joined: 27 Oct 2009 14:44

Displaying Logo at specific times (like in subtitles)

Postby maitrepiet » 17 Mar 2010 20:30

Hi,
I would need a clue on how to implement the following feature:
the current logo feature in which I can display a list of different logo's for a given interval, is almost what I need.
However, it seems the intervals are calculated w.r.t. the start of the program. E.g. the command vlc.exe --sub-filter=logo logo-file=logo1.png,3000;logo2.png,8000 video.mpg
will display the logo1 for seconds after the start of the program and logo2 after 2 seconds since the start and for 8 seconds, and then the whole cycle restarts.
These times seem to be independent of e.g. playback speed

What I need is that I can display a list of logo's at specific times of the video file, regardless of the playback speed, jumps, etc. Like you have in subtitles.

Could someone give me a hint on how to do this?

I'm willing to give up the existing Logo functionality, and get this one. So, what should I change in Logo.c to get something like this?

vlc.exe vlc.exe --sub-filter=logo logo-file=logo1.png,time1;logo2.png,time2 video.mpg
where time1 is the relative video decoding time of the given file?

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: Displaying Logo at specific times (like in subtitles)

Postby Jean-Baptiste Kempf » 17 Mar 2010 20:36

Why don't you encode your icon inside a subtitle that supports image?
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.

maitrepiet
Blank Cone
Blank Cone
Posts: 69
Joined: 27 Oct 2009 14:44

Re: Displaying Logo at specific times (like in subtitles)

Postby maitrepiet » 17 Mar 2010 21:29

I'd love to, but how would I do this? Is there a specific format for this, and where can I find some documentation?
Also, can I change the position of the Icon?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests