Page 1 of 2

wxVLC - a wxWidgets VLC Media Player

Posted: Mon Jun 04, 2018 6:53 am
by tomay3000
wxVLC is a Media Player sample that uses the libVLC library as its main audio/video backend.
Actually, I compiled it only under wxGTK (2 and 3).
You may try compiling it under wxMSW and wxOSX, if you get any problem please contact me.
This code also bundles with an extended version of the wxImagePanel which I will post in a separate thread.

wxVLC Screenshot:
Screenshot from 2018-06-04 07-28-17.png
wxVLC Source Code:
wxVLC.7z
(94.86 KiB) Downloaded 537 times
GitHub:
https://github.com/tomay3000/wxVLC

Thank you.

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Thu Jun 07, 2018 9:45 am
by evstevemd
Well done. I remember that project died at some time back.
Can you organize the project as a library and host it on github?
Am sure you are going to get interested people there.

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Sun Jun 10, 2018 3:51 am
by tomay3000
Good idea, I just found that the wxMSW port has one bug: VLC will prevent event propagation (e.g double click is not working on the video panel).
And I just found a solution and I am fixing it.
When everything is OK I will do it :wink:

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Sun Jun 10, 2018 11:59 am
by evstevemd
tomay3000 wrote:Good idea, I just found that the wxMSW port has one bug: VLC will prevent event propagation (e.g double click is not working on the video panel).
And I just found a solution and I am fixing it.
When everything is OK I will do it :wink:
That'll be great

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Tue Jun 19, 2018 4:19 pm
by tomay3000
I have uploaded the new stable release.
All is working fine now.
Tested under wxMSW and wxGTK.
wxOSX Testers needed.

Thank you.

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Tue Jun 19, 2018 7:49 pm
by evstevemd
tomay3000 wrote:I have uploaded the new stable release.
All is working fine now.
Tested under wxMSW and wxGTK.
wxOSX Testers needed.

Thank you.
Where's the Link?

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Tue Jun 19, 2018 8:15 pm
by tomay3000
in the first post I updated the previous link

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Tue Jun 19, 2018 8:57 pm
by evstevemd
tomay3000 wrote:in the first post I updated the previous link
Oh! I see. Thanks

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Mon Aug 28, 2023 3:58 am
by newbierajk
Hi Tomay3000,

Need your help, I am trying to use your video player you created using VLC and wxwidgets. I am trying to run in code blocks. I am stuck in vlc/vlc.h file not found. how to download the vlc header file. please help.

Regards,
rajk.

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Mon Aug 28, 2023 5:14 am
by doublemax
newbierajk wrote: Mon Aug 28, 2023 3:58 am Need your help, I am trying to use your video player you created using VLC and wxwidgets. I am trying to run in code blocks. I am stuck in vlc/vlc.h file not found. how to download the vlc header file. please help.
You need the vlc sdk. If you download an archive version of VLC (e.g. vlc-3.0.18-win32.7z), it'll be in the /sdk directory.

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Tue Aug 29, 2023 2:13 am
by newbierajk
thank you @Doublemax I downloaded. It was able to resolve the vlc.h file error. This is what I have done so far in building the video player.

I installed code blocks, since it mentioned that the code blocks project is created for building this code. I opened the project and when I build it, it gives unresolved reference to libvlc_new. I googled and added the link libraries, search directories to the vlc sdk include files and then when I build it , it says cannot find libvlc.lib file. I copied the entire sdk folder with include and lib folder into the project folder but still it says the same.

I am newbie in building it in code blocks. I know I am missing something but not sure what. For building this code, these are instructions mentioned in Readme file:

Building
--------

Code::Blocks project is provided to build it.

TODO: Add CMake build system.

I opened the code block project file in codeblocks ide, what needs to be done in "Add cmake build system". I really want to try this video player that Tomay created for one of my requirement. if you or him can help me that would be great.

Thanks a lot in advance.

regards,
rajk

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Tue Aug 29, 2023 5:19 am
by doublemax
newbierajk wrote: Tue Aug 29, 2023 2:13 am and added the link libraries, search directories to the vlc sdk include files and then when I build it , it says cannot find libvlc.lib file. I copied the entire sdk folder with include and lib folder into the project folder but still it says the same.
Do not copy the files. Just add them to the linker settings in your project and set a search path so that the linker finds them.
You also need to add a search path to the header files in the compiler settings.

As i don't use CB, i can't tell you where and how exactly, but you can probably find some information in PB's guide:
viewtopic.php?f=19&t=47231

Additionally, at runtime, some files from the VLC sdk must be copied to where the executable is:
/plugins
libvlc.dll
libvlccore.dll

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Tue Aug 29, 2023 3:52 pm
by newbierajk
Thank you for all the response. I will check the PB guide. I also tried linking the directory for the libraries and also passing the path for the header files in the compiler search directories, still faced the issue. Is the user Tomay3000 available to answer my query? may be he can shed more light on it.

Regards,
Bobin.

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Tue Aug 29, 2023 6:22 pm
by doublemax
After some more research: I think the provided .lib files only work with Visual C++, not with MinGW.

Check if any of these links help:
https://packages.msys2.org/package/ming ... po=mingw64
https://sourceware.org/binutils/docs/bi ... ltool.html
https://code.google.com/archive/p/lib2a/

As i don't use MinGW and have never used any of these, i can't help with them.

Re: wxVLC - a wxWidgets VLC Media Player

Posted: Wed Aug 30, 2023 8:13 am
by evstevemd
newbierajk wrote: Tue Aug 29, 2023 3:52 pm Thank you for all the response. I will check the PB guide. I also tried linking the directory for the libraries and also passing the path for the header files in the compiler search directories, still faced the issue. Is the user Tomay3000 available to answer my query? may be he can shed more light on it.

Regards,
Bobin.
Can you post full trace of what you are getting right now?