libvlc 1.1

This forum is about all development around libVLC.
Beardless2
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 02 Feb 2007 09:53

libvlc 1.1

Postby Beardless2 » 21 Apr 2010 14:56

Hey guys,

I am trying to convert my libvlc app from 1.05 to 1.1 pre release 1, but having some issues. Basically the video i try to play just has a black screen.

What i have done is to convert my code

1) Remove all the exceptions from all methods/functions passing to the libvlc.dll
2) Changed the libvlc_media_new method to the libvlc_media_new_location
3) libvlc_media_player_set_hwnd/libvlc_media_player_get_hwnd instead of player libvlc_media_player_set_drawable/libvlc_media_player_get_drawable

Any ideas? can any post some sample C++/C#/Delphi 1.1 code i can compare my app against?

Basically i use

libvlc_instance_p = libvlc_new("with some arguments")

libvlc_media_p = libvlc_media_new_location(libvlc_instance_p; "some udp address")
libvlc_media_add_option(libvlc_media_p) // add some standard options

libvlc_media_player_p = libvlc_media_player_new(libvlc_instance_p)
libvlc_media_player_set_hwnd(libvlc_media_player_p,FormHandle)
libvlc_media_player_set_media(libvlc_media_player_p,libvlc_media_p)
libvlc_media_player_play(libvlc_media_player_p)

libvlc_media_release(libvlc_media_p)

Beardless2
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 02 Feb 2007 09:53

Re: libvlc 1.1

Postby Beardless2 » 27 Apr 2010 09:47

anyone?

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 1.1

Postby Jean-Baptiste Kempf » 27 Apr 2010 14:38

Please, give the messages...
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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests