JVLC for music playing

This forum is about all development around libVLC.
lec-chr
New Cone
New Cone
Posts: 7
Joined: 03 Feb 2010 15:53

JVLC for music playing

Postby lec-chr » 22 Apr 2010 12:40

Hi,

I'm trying to use JVLC only to play Music. However, it looks like even if I'm not going to display anything, I still need to provide a valid display (a Canvas), else nothing works.

Is there a way to play a media without providing a display ?

Thanks.

sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

Re: JVLC for music playing

Postby sherington » 22 Apr 2010 20:43

Hi,

I'm trying to use JVLC only to play Music. However, it looks like even if I'm not going to display anything, I still need to provide a valid display (a Canvas), else nothing works.

Is there a way to play a media without providing a display ?

Thanks.
Hi,

If it's not too much hassle for you to switch from JVLC, you might like to check out my alternate bindings from here http://code.google.com/p/vlcj/ .

I just hacked the UI out of my test player class and was able to successfully play an mp3 through my bindings without any UI at all.

lec-chr
New Cone
New Cone
Posts: 7
Joined: 03 Feb 2010 15:53

Re: JVLC for music playing

Postby lec-chr » 23 Apr 2010 14:38

Hi,

Thanks for the tip. I have actually found a way by passing --no-video parameter to JVLC.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 17 guests