Page 1 of 1

libVLC 1.1 conversion problems

Posted: 22 Jun 2010 16:08
by Beardless2
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

Re: libVLC 1.1 conversion problems

Posted: 22 Jun 2010 17:47
by Jean-Baptiste Kempf
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?

Re: libVLC 1.1 conversion problems

Posted: 22 Jun 2010 18:53
by Beardless2
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?

Re: libVLC 1.1 conversion problems

Posted: 22 Jun 2010 19:21
by Jean-Baptiste Kempf
1.1.1 I would say.
Although, you shouldn't have an access violation. How are you triggering it?

Re: libVLC 1.1 conversion problems

Posted: 23 Jun 2010 02:22
by AEtH
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.

Re: libVLC 1.1 conversion problems

Posted: 23 Jun 2010 02:49
by Rémi Denis-Courmont
Make sure you do NOT call set_hwnd or set_xid. VLC cannot control fullscreen mode when embedded.

Re: libVLC 1.1 conversion problems

Posted: 23 Jun 2010 03:06
by AEtH
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.

Re: libVLC 1.1 conversion problems

Posted: 23 Jun 2010 09:54
by Beardless2
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?

Re: libVLC 1.1 conversion problems

Posted: 23 Jun 2010 09:55
by Beardless2
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

Re: libVLC 1.1 conversion problems

Posted: 24 Jun 2010 02:45
by Rémi Denis-Courmont
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.

Re: libVLC 1.1 conversion problems

Posted: 24 Sep 2011 07:25
by fkahhaleh
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!