LibVLC + rawvideo, imem and subjective tests gui

This forum is about all development around libVLC.
isando
New Cone
New Cone
Posts: 2
Joined: 03 Apr 2017 21:37

LibVLC + rawvideo, imem and subjective tests gui

Postby isando » 04 Apr 2017 01:10

Hello! (Sorry for my English)

I`ve made a rawvideo player based on imem callbacks. My player is really nice for my purpose but... I need to make a subjective testing GUI for my University project. The problem is that i tried to use Qt, VLC+Qt examples and they don`t work for my player. They simply provide an segfault error.

Because of the fact that im using the imem based player - I need to use libvlc_media_player_t class which i don`t know how to cast to VLCQTcore/mediaplayer, is it even possible? (using method core() on VLCPlayer gives me libvlc_media_player_t, How can I make it other way?)

What i basically need to get is a sort of sequence (Gui with play button -> rawvideo played by my player -> rating Gui ->...) i would prefer that all of it will be in one window/widget but for now it can be in other windows. Is it possible in some way? By using QT? or do i need to find another solution?


I have seen thats its very easy in this lecture of Jean-Baptiste Kempf https://www.youtube.com/watch?v=QRvlLoXg7Ms but i have no idea how to make it work.

I tried to add my media player to the simplePlayer (example project) window by using libvlc_media_player_set_hwnd( my player, ui->video) but my player is still running in its own window.

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: LibVLC + rawvideo, imem and subjective tests gui

Postby Jean-Baptiste Kempf » 14 Apr 2017 14:11

Did you look at vlc-qt?
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.

isando
New Cone
New Cone
Posts: 2
Joined: 03 Apr 2017 21:37

Re: LibVLC + rawvideo, imem and subjective tests gui

Postby isando » 19 Apr 2017 01:44

Yeah i did... I`ve managed to find whats wrong, it was graphic card driver which accidentally disapeard from my OS. Now it works fine. I could easily connect Imem based media-player with QT using libvlc_media_player_set_xwindow (media_player, windid). Thanks for your attention :)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests