wxVLCBackend - libvlc integration into wx / c++ apps

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
basos
Blank Cone
Blank Cone
Posts: 24
Joined: 17 Jul 2008 14:19

wxVLCBackend - libvlc integration into wx / c++ apps

Postby basos » 28 Oct 2008 12:59

Although vlc is moving away from wxwidgets this is an attemp to move wxwidgets towards vlc (libvlc to be more precise)..
The libvlc API is fairly new and VERY promissing.. It exports ALL the functionality of vlc into a nice c API .
On the other hand wxWidgets is a very rich ( and also community based ) growing X platform library. It covers the 3 basic platforms (MSW, LINUX, MAC) and more..

So wxVLCBackendv2 is a wxMediaCtrl backend. The last is a stub media player in wxWidgets and provides an interface for various kinds of backends (gssteamer, wmp,...) . wxVLCBackend maybe integrated in the official wxwidgets code..

The code is not mature enough yet, so i'll start this topic with a wx-vlc (PoC) glue app (that shares code with the backend) for testing. The backend itself will be puiblished when it'll be mature enough..
wxvlc_test is a simple app. In the textbox you give a filename and the with play it starts the vlc engines. In my tests wxvlc_test crashes when starting playing ( somewhere inside libavcodec library with no other dubuging symbols ) *some* avis.. On the other hand vlc plays these same files smoothly.

***Tests were done on vlc-0.9.5 ***

My intentions for this publication are :
a) to test the glue code on other systems ( my tests are on linux ONLY so dont ask me, but windows could be tested too )
b) to check the glue code correctness by a vlc internalls well-knower (maybe i miss something,
cause i cant explain that libavcodec crashes)

Information for wxvlc_test is provided in the README as well

The glue code provides a guide to integrade libvlc in other c/c++ gui frameworks as well. In fact the only TRICKY part was to get a low-level hadle for the drawable surface.

I'll mark it again : This is a PoC *testing* code. See it as a free playground. The real thing will come later on the way when it'll be its time. Also please post any feedback.

basos

EDITED::
I provided the source in easy to read patch format in the wiki page

Also it would be nice to give a git place for it
Last edited by basos on 08 Nov 2008 19:22, edited 1 time in total.

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: wxVLCBackend - libvlc integration into wx / c++ apps

Postby ivoire » 28 Oct 2008 13:27

A patch is good too to be able to test this.

basos
Blank Cone
Blank Cone
Posts: 24
Joined: 17 Jul 2008 14:19

Re: wxVLCBackend - libvlc integration into wx / c++ apps

Postby basos » 28 Oct 2008 18:25

This is a new test application .. Patch against what ?

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: wxVLCBackend - libvlc integration into wx / c++ apps

Postby Jean-Baptiste Kempf » 28 Oct 2008 19:25

Create a wiki page. And why not provide the code on our git/svn ?
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.

basos
Blank Cone
Blank Cone
Posts: 24
Joined: 17 Jul 2008 14:19

Re: wxVLCBackend - libvlc integration into wx / c++ apps

Postby basos » 29 Oct 2008 01:26

I agree to both ...
Wiki page can be found here ....
Also it would be nice to add to the main developers corner page (where editing is not allowed !) in the bindings section..

About git. I'll maintain wxVLCbackend there until it is integrated into wxWidgets (if it is). So i could write there (how??) and maybe delete or deprecate that repository.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 30 guests