Displaying pictures and text with a player based on libvlc
Posted: 04 Jun 2009 20:45
Hello!
I am currently developing a video player using the libvlc API (0.99).
I have used the sample code (VLC on Qt) on the wiki, but I need some advanced functions that are not in the libvlc : I want to display text and pictures on my video. I have searched in the doxygen doc on the wiki, and I think that the functions of OSD Menu could help me.
But I don't see how to use these functions. For example, osd_ShowTextAbsolute needs a spu_t structure, and I don't understand how to initialize it, and how to "connect" it with my libvlc structures (libvlc_instance_t, libvlc_media_player_t, libvlc_media_t ...).
Is there a mean to connect the libvlc library with the other libraries of VLC ? In this case is there a tutorial somewhere? And if it’s not the case, how could I display text and subpictures?
I know I ask a lot of questions, but I have been thinking about this problem for several days, without any idea to solve it.
Thank you by advance for any answers!
I am currently developing a video player using the libvlc API (0.99).
I have used the sample code (VLC on Qt) on the wiki, but I need some advanced functions that are not in the libvlc : I want to display text and pictures on my video. I have searched in the doxygen doc on the wiki, and I think that the functions of OSD Menu could help me.
But I don't see how to use these functions. For example, osd_ShowTextAbsolute needs a spu_t structure, and I don't understand how to initialize it, and how to "connect" it with my libvlc structures (libvlc_instance_t, libvlc_media_player_t, libvlc_media_t ...).
Is there a mean to connect the libvlc library with the other libraries of VLC ? In this case is there a tutorial somewhere? And if it’s not the case, how could I display text and subpictures?
I know I ask a lot of questions, but I have been thinking about this problem for several days, without any idea to solve it.
Thank you by advance for any answers!