Page 1 of 1

JVLC for music playing

Posted: 22 Apr 2010 12:40
by lec-chr
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.

Re: JVLC for music playing

Posted: 22 Apr 2010 20:43
by sherington
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.

Re: JVLC for music playing

Posted: 23 Apr 2010 14:38
by lec-chr
Hi,

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