[vlc-devel] libvlc_media_player_stop

David Hoyt dhoyt at llnl.gov
Mon Oct 27 21:14:56 CET 2008


Hi Tony,

Thanks for the update. Which version are you using? I'd love to be able to
use a newer version w/ security fixes/patches, but if I must, I must. 

-----Original Message-----
From: Tony Anecito [mailto:adanecito at yahoo.com] 
Sent: Friday, October 24, 2008 11:27 PM
To: Mailing list for VLC media player developers
Cc: dhoyt at llnl.gov
Subject: Re: [vlc-devel] libvlc_media_player_stop

Hi David,

I have stayed away from using mediaplayer since it seemed to have quite a
few issues. I believe it is not a jvlc issue but inside the vlc code.

Can you use playlist instead? It has it's own issues of freezing up under
different conditions.

I have heard the JVLC developer(s) are working on more JVLC updates but not
sure if they are going to get fixed the issues in the mediaplayer and the
mediaplaylist objects taht they use from the vlc code.

I am staying with an older version of jvlc and vlc that uses playlist and
really hoping some day I can use mediaplayer and mediaplaylist if the issues
are fixed within vlc for those objects. For me and others playlist seemed to
support more video formats than mediaplayer for some reason. I download the
dlls (I use windows only for now) and retry my video tests every so often
but have not upgraded yet.


Best Regards,
Tony Anecito
Founder,
MyUniPortal
http:// www. myuniportal.com

P.S. I used to live in Tracy and had quite a few friends at the labs. I hope
things are going well there.


--- On Fri, 10/24/08, David Hoyt <dhoyt at llnl.gov> wrote:

> From: David Hoyt <dhoyt at llnl.gov>
> Subject: [vlc-devel] libvlc_media_player_stop
> To: vlc-devel at videolan.org
> Date: Friday, October 24, 2008, 5:43 PM I've got an interesting error 
> that I've tried everything I know how to resolve it. Ultimately, it 
> comes down to the fact that I'm just not that familiar w/ the VLC 
> internals.
>  
> I'm trying to use vlc in java through the java bindings (JVLC). The 
> app freezes on me, however, in libvlc_media_player_stop and sometimes 
> in libvlc_media_player_release on Windows XP SP2.
>  
> I can't release any example code without going through an exhaustive 
> review and release process. So I'm stuck explaining the problem.
> 
> Here are some others with the same problem:
> http:// forum.videolan.org/viewtopic.php?f=2
> <http:// forum.videolan.org/viewtopic.php?f=2&t=51509>
> &t=51509
> http:// forum.videolan.org/viewtopic.php?f=14
> <http:// 
> forum.videolan.org/viewtopic.php?f=14&t=47385&st=0&sk=t&sd=a&start=6
> 0> &t=47385&st=0&sk=t&sd=a&start=60
> 
> I've got 12+ videos going on a single dialog using SWT.
> I start them out all
> playing the same video. They then reach the end of the 3-second long 
> clip and all stop. I then tell one panel to play a video. It plays 
> just fine.
> Then I tell it to switch and play another video while it's still 
> playing (my code asks it to stop first and then play) and it freezes.
> Java tells me it's
> stuck on the call to libvlc_media_player_stop(). This freezes up my 
> app.
> 
> I've tried running all the commands on the GUI thread and then also on 
> separate threads and no luck. My guess is that it's stuck on line 689 
> of https:// trac.videolan.org/vlc/browser/src/control/media_player.c
> 
> I've also run into another error if you try and call
> libvlc_media_player_stop() from the endReached event handler. It 
> freezes there as well. That's not a tough one to get around, but it 
> shouldn't lock up on you.
> 
> I would appreciate anyone's help if they can provide it.
> 
> Thanks!
>  
>  
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http:// mailman.videolan.org/listinfo/vlc-devel


      




More information about the vlc-devel mailing list