libVLC 1.1 conversion problems

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 conversion problems

Postby Beardless2 » 22 Jun 2010 16:08

Hi,

I am converting my project from v1.0.5 to v1.1.0 and have hit a couple of issues..

1) The events no longer appear to fire? libvlc_MediaPlayerOpening, libvlc_MediaPlayerBuffering etc?

2) libvlc_video_get_size gives me an access violation, so no worries i reverted back to libvlc_video_get_height and libvlc_video_get_width, but they appear to be backwards?! height gives the width and width gives the height?

3) Mouse double clicking on the video no longer toggles the video to fullscreen?

Chris

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
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 conversion problems

Postby Jean-Baptiste Kempf » 22 Jun 2010 17:47

Hi,

I am converting my project from v1.0.5 to v1.1.0 and have hit a couple of issues..

1) The events no longer appear to fire? libvlc_MediaPlayerOpening, libvlc_MediaPlayerBuffering etc?

2) libvlc_video_get_size gives me an access violation, so no worries i reverted back to libvlc_video_get_height and libvlc_video_get_width, but they appear to be backwards?! height gives the width and width gives the height?

3) Mouse double clicking on the video no longer toggles the video to fullscreen?

Chris
2) F**K F**K, fixing it right now

3) weird. Smaple application?
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.

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

Re: libVLC 1.1 conversion problems

Postby Beardless2 » 22 Jun 2010 18:53

ok the events was my fault for not changing the enum integer values (libvlc_MediaPlayerMediaChanged is now 256 etc), Athough the buffering event does not seem to be called anymore (for a udp stream anyway)

are you going to post a new exe or wait till 1.1.0a is released for the other fixes?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
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 conversion problems

Postby Jean-Baptiste Kempf » 22 Jun 2010 19:21

1.1.1 I would say.
Although, you shouldn't have an access violation. How are you triggering it?
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.

AEtH
Blank Cone
Blank Cone
Posts: 37
Joined: 23 Jun 2010 01:17

Re: libVLC 1.1 conversion problems

Postby AEtH » 23 Jun 2010 02:22

3) Mouse double clicking on the video no longer toggles the video to fullscreen?
Chris
I have the same behavior on my project, no fullscren when double clicking on the video surface.

Rémi Denis-Courmont
Developer
Developer
Posts: 15148
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libVLC 1.1 conversion problems

Postby Rémi Denis-Courmont » 23 Jun 2010 02:49

Make sure you do NOT call set_hwnd or set_xid. VLC cannot control fullscreen mode when embedded.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

AEtH
Blank Cone
Blank Cone
Posts: 37
Joined: 23 Jun 2010 01:17

Re: libVLC 1.1 conversion problems

Postby AEtH » 23 Jun 2010 03:06

VLC cannot control fullscreen mode when embedded.
Is this a new behavior since 1.1?? Just because with 1.0.6 that's not true, VLC controls fullscreen mode even when embedded.

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

Re: libVLC 1.1 conversion problems

Postby Beardless2 » 23 Jun 2010 09:54

Make sure you do NOT call set_hwnd or set_xid. VLC cannot control fullscreen mode when embedded.
ok.....so how do i display the video on my form then if i dont make this call?

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

Re: libVLC 1.1 conversion problems

Postby Beardless2 » 23 Jun 2010 09:55

1.1.1 I would say.
Although, you shouldn't have an access violation. How are you triggering it?
j.b.

I just make the call to libvlc_video_get_size(FMediaPlayer.Instance,0,px,py) when a video is playing to get the access violation

Rémi Denis-Courmont
Developer
Developer
Posts: 15148
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libVLC 1.1 conversion problems

Postby Rémi Denis-Courmont » 24 Jun 2010 02:45

Make sure you do NOT call set_hwnd or set_xid. VLC cannot control fullscreen mode when embedded.
ok.....so how do i display the video on my form then if i dont make this call?
You don't. What do you expect? That LibVLC will fullscreen your form? That would seem like an awful hack to me. In fact, that wouldlikely interfere with the UI programming framework.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

fkahhaleh
New Cone
New Cone
Posts: 5
Joined: 29 Aug 2011 22:21

Re: libVLC 1.1 conversion problems

Postby fkahhaleh » 24 Sep 2011 07:25

Guys Just wondering if the lack of Buffering event is still an issue for 1.1.x?
I am trying to figure out if this is a bug in Vlcdotnet project VLC Wrapper or not.
After I installed 1.2.0 it worked, while in 1.1.11 it was not firing!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 5 guests