Page 1 of 1

Jack+ VLC

Posted: 05 Jul 2007 22:15
by 00l0
hello,
finally my firewiire interface does its job in my ubuntu, through jackd+freebob. I can listen to my music and do my audio arrangements with Ardour but the last thing missing is my VLC.
I just cannot find the way to set VLC so it sends the audio out of my video file containers(avi) through my jackd server(running with freebob), i read something about having to compile VLC again with --enable-jack support but i don't think i'll be capable of doing so without previous recommendations or instructions.Can anyone help me out?
I use this firefox extension called MediaPlayerConnectivity which allow me to choose which of my multimedia players will be the selected ones to play specific media files(mp3, swf, avi...) I have VLC as my default player for video media files, so i guess once i can set up VLC, the videos i watch while i'm surfing won't have any problem with the audio.
I know it's "offtopic", but the same thing happens to me with Flash Player, i cannot set the configuration up so it sends the audio through jackd, any ideas?


thank you very much

Re: Jack+ VLC

Posted: 06 Jul 2007 00:16
by Jean-Baptiste Kempf
To recompile VLC for ubuntu, you can take inspiration from my blog... But this is not so easy.

Re: Jack+ VLC

Posted: 07 Jul 2007 00:13
by 00l0
it sure is not so easy....i tried but failed.
I posted a comment including the error the compilation shows me...:

checking for alsa/asoundlib.h... yes
checking for main in -lasound... yes
checking deschutes/libraries/hdmachinex225/PCMAudioPlayer.h usability... no
checking deschutes/libraries/hdmachinex225/PCMAudioPlayer.h presence... no
checking for deschutes/libraries/hdmachinex225/PCMAudioPlayer.h... no
checking jack/jack.h usability... no
checking jack/jack.h presence... no
checking for jack/jack.h... no
configure: error: cannot find JACK headers


merci

Re: Jack+ VLC

Posted: 09 Jul 2007 12:07
by Jean-Baptiste Kempf
apt-get install libjack-dev

Re: Jack+ VLC

Posted: 09 Jul 2007 15:14
by 00l0
thank you very much, really, it is finally working, im happy now.
the only thin missing now is being able to play *.divx files with vlc(example stage6.divx.com) but i think those videos are intended to be played with its own downloadable player.
Also i heard some crackling when i play audio files in vlc but i don't think it's videolan's problem... :]

merci beaucoup encore!


ps. btw you don't know how to do the same with adobe flash player(i don't know how to configure the settings) so i can listen youtube likes through my interface.

Re: Jack+ VLC

Posted: 02 Aug 2007 20:05
by linkx
Man I am having the EXACT same issues. I've been posting on forums galore trying to find out how to get FLASH to play through freebob. Any luck since this post?

Also, did you end up compiling VLC from scratch in order to get jack support?

Re: Jack+ VLC

Posted: 02 Aug 2007 20:28
by Jean-Baptiste Kempf
jack support has been improved for next version !

Re: Jack+ VLC

Posted: 02 Aug 2007 20:43
by linkx
Great! When can I expect this version to be available for Ubuntu?

Re: Jack+ VLC

Posted: 19 Aug 2007 00:33
by c_cinq
jack support has been improved for next version !
which version, 0.90 or debian svn?

Re: Jack+ VLC

Posted: 19 Aug 2007 12:28
by Jean-Baptiste Kempf
0.9.0-svn

Re: Jack+ VLC

Posted: 03 Sep 2007 15:00
by Susan
Hi All,

Some very kind people were trying to help me compile VLC with --enable-jack on the VLC listserv. But I'm afraid it didn't work for me. J-B - you mentioned that you had instructions on how to do this in your blog, but I looked and could not find them. Though maybe that was just for Ubuntu anyway.

I'm using 64 Studio, which is a remix of Debian and I got VLC from Debian Etch - AMD64 architecture.

Like 0010, I have a Presonus Firepod firewire audio device which uses the freebob libraries, which only work with Jack - they do not have Alsa support yet. So, without Jack, I cannot use VLC, which I like better than other media players I've tried on Linux.

Also, I asked elsewhere and one of the FFADO (formerly freebob) developers answered my question about Flash. Since there is no support for Alsa yet, you can't use a firewire device for Flash.

And since the people behind Flash haven't even developed anything for 64 bit Linux, I have a feeling that they are not going to support Jack, although I haven't asked them. I hear people don't get answers from Adobe anyway.

The solution is to use onboard sound for Flash and anything else that doesn't work with Jack. Uggh, I know.

Meanwhile, if anyone could help me get VLC working with Jack enabled, that would be awesome! Otherwise, I'm going to have to use Totem, which does not support as many codecs as VLC and is missing other features I like, but it does work with Jack.

Any idea when the debian developers are going to enable Jack in the unstable (sid) distribution? I see there was a ticket to do so last year, but it's still not done. Or maybe I should just ask them?

Thanks!

-Susan

Re: Jack+ VLC

Posted: 09 Oct 2007 23:51
by amrs
Also, I asked elsewhere and one of the FFADO (formerly freebob) developers answered my question about Flash. Since there is no support for Alsa yet, you can't use a firewire device for Flash.
If I may comment on this oldish thread, the above is not true exactly. ALSA itself includes a plugin module for jack, so that with a little .asoundrc magic, applications talking ALSA are rerouted to jackd.

That's the good news. The bad news is that the module doesn't work worth a damn. From the Flash player I got no sound, but plenty of errors from jackd and Firefox hangs after a while. XMMS with ALSA output (xmms-jack is almost, but not quite decent here) didn't even start playing. Mplayer with -ao alsa plays for a while then stops and prints a bunch of error messages... aplay seemed to work fine. It was said somewhere that Xine also works with this, but haven't tried.

My FW box is a Terratec Aureon Firewire.

Some other web forum mentioned PulseAudio as a possible solution, but I haven't figured it out. The ALSA/Jack thing took some work too... But it should be possible to config PulseAudio server to look like an ALSA device and then have PulseAudio talk to jackd.