wxVLC - a wxWidgets VLC Media Player
wxVLC - a wxWidgets VLC Media Player
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: wxVLC Source Code: GitHub:
https://github.com/tomay3000/wxVLC
Thank you.
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: wxVLC Source Code: GitHub:
https://github.com/tomay3000/wxVLC
Thank you.
Last edited by tomay3000 on Tue Jun 19, 2018 4:59 pm, edited 2 times in total.
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxVLC - a wxWidgets VLC Media Player
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.
Can you organize the project as a library and host it on github?
Am sure you are going to get interested people there.
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Re: wxVLC - a wxWidgets VLC Media Player
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
And I just found a solution and I am fixing it.
When everything is OK I will do it
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxVLC - a wxWidgets VLC Media Player
That'll be greattomay3000 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
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Re: wxVLC - a wxWidgets VLC Media Player
I have uploaded the new stable release.
All is working fine now.
Tested under wxMSW and wxGTK.
wxOSX Testers needed.
Thank you.
All is working fine now.
Tested under wxMSW and wxGTK.
wxOSX Testers needed.
Thank you.
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxVLC - a wxWidgets VLC Media Player
Where's the Link?tomay3000 wrote:I have uploaded the new stable release.
All is working fine now.
Tested under wxMSW and wxGTK.
wxOSX Testers needed.
Thank you.
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Re: wxVLC - a wxWidgets VLC Media Player
in the first post I updated the previous link
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxVLC - a wxWidgets VLC Media Player
Oh! I see. Thankstomay3000 wrote:in the first post I updated the previous link
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
-
- In need of some credit
- Posts: 7
- Joined: Mon Aug 28, 2023 1:07 am
Re: wxVLC - a wxWidgets VLC Media Player
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.
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
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.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.
Use the source, Luke!
-
- In need of some credit
- Posts: 7
- Joined: Mon Aug 28, 2023 1:07 am
Re: wxVLC - a wxWidgets VLC Media Player
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
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
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.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.
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
Use the source, Luke!
-
- In need of some credit
- Posts: 7
- Joined: Mon Aug 28, 2023 1:07 am
Re: wxVLC - a wxWidgets VLC Media Player
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.
Regards,
Bobin.
Re: wxVLC - a wxWidgets VLC Media Player
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.
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.
Use the source, Luke!
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxVLC - a wxWidgets VLC Media Player
Can you post full trace of what you are getting right now?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.
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?