Jack+ VLC

*nix specific usage questions
00l0
New Cone
New Cone
Posts: 7
Joined: 05 Jul 2007 22:04

Jack+ VLC

Postby 00l0 » 05 Jul 2007 22:15

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Jack+ VLC

Postby Jean-Baptiste Kempf » 06 Jul 2007 00:16

To recompile VLC for ubuntu, you can take inspiration from my blog... But this is not so easy.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

00l0
New Cone
New Cone
Posts: 7
Joined: 05 Jul 2007 22:04

Re: Jack+ VLC

Postby 00l0 » 07 Jul 2007 00:13

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Jack+ VLC

Postby Jean-Baptiste Kempf » 09 Jul 2007 12:07

apt-get install libjack-dev
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

00l0
New Cone
New Cone
Posts: 7
Joined: 05 Jul 2007 22:04

Re: Jack+ VLC

Postby 00l0 » 09 Jul 2007 15:14

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.

linkx
New Cone
New Cone
Posts: 2
Joined: 02 Aug 2007 19:54

Re: Jack+ VLC

Postby linkx » 02 Aug 2007 20:05

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Jack+ VLC

Postby Jean-Baptiste Kempf » 02 Aug 2007 20:28

jack support has been improved for next version !
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

linkx
New Cone
New Cone
Posts: 2
Joined: 02 Aug 2007 19:54

Re: Jack+ VLC

Postby linkx » 02 Aug 2007 20:43

Great! When can I expect this version to be available for Ubuntu?

c_cinq
New Cone
New Cone
Posts: 8
Joined: 25 Jul 2005 06:31
VLC version: 1.1.3
Operating System: win7/debian
Location: miami, Florida
Contact:

Re: Jack+ VLC

Postby c_cinq » 19 Aug 2007 00:33

jack support has been improved for next version !
which version, 0.90 or debian svn?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Jack+ VLC

Postby Jean-Baptiste Kempf » 19 Aug 2007 12:28

0.9.0-svn
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Susan
New Cone
New Cone
Posts: 1
Joined: 03 Sep 2007 01:50

Re: Jack+ VLC

Postby Susan » 03 Sep 2007 15:00

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

amrs
New Cone
New Cone
Posts: 1
Joined: 09 Oct 2007 23:20

Re: Jack+ VLC

Postby amrs » 09 Oct 2007 23:51

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.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests

cron