#579938 vlc disconnects JACK between tracks/songs

Package:
vlc-plugin-jack
Source:
vlc
Description:
JACK audio plugins for VLC
Submitter:
David Baron
Date:
2021-12-23 11:39:02 UTC
Severity:
normal
Tags:
#579938#5
Date:
2010-05-02 12:34:23 UTC
From:
To:
--- Please enter the report below this line. ---
I need to "connect" vlc###->system in the qjackctl connection pane to hear
music. At each track playing an audio-CD, for example, it disconnects and I
need to reconnect to hear music. Not a desirable behavior!

Debian Release: squeeze/sid
  990 unstable        www.debian-multimedia.org
  990 unstable        ftp.fr.debian.org
  990 unstable        debian.tagancha.org
  990 unstable        debian.scribus.net
  990 unstable        debian.pengutronix.de
  990 unstable        debian.co.il
  650 testing         security.debian.org
  650 testing         debian.co.il
  500 stable          security.debian.org
  500 stable          dl.google.com
  500 stable          debian.co.il
  500 stable          deb.opera.com
  500 oldstable       debian.systs.org
  500 kernel-dists-trunk kernel-archive.buildserver.net
  500 karmic          ppa.launchpad.net
  500 intrepid        ppa.launchpad.net
  500 experimental    ansani.it
  101 experimental-snapshots qt-kde.debian.net
    1 experimental    ftp.debian.org
--- Package information. ---
Depends                                (Version) | Installed
================================================-+-=======================
vlc-nox                              (= 1.0.6-1) | 1.0.6-1
libc6                                 (>= 2.3.4) | 2.10.2-6
libjack0                      (>= 0.118+svn3796) | 1.9.5~dfsg-3
libvlccore2                       (>= 1.0.0~rc1) | 1.0.6-1
vlc-nox                              (= 1.0.6-1) | 1.0.6-1
libaa1                                (>= 1.4p5) | 1.4p5-38
libc6                                   (>= 2.8) | 2.10.2-6
libdbus-1-3                           (>= 1.0.2) | 1.2.24-1
libfreetype6                          (>= 2.2.1) | 2.3.11-1
libfribidi0                          (>= 0.19.2) | 0.19.2-1
libgcc1                             (>= 1:4.1.1) | 1:4.4.3-9
libgl1-mesa-glx                                  | 7.7.1-1
 OR libgl1                                       |
libglib2.0-0                         (>= 2.12.0) | 2.24.0-1
libgtk2.0-0                           (>= 2.8.0) | 2.20.0-3
libnotify1                            (>= 0.4.5) | 0.4.5-1
libnotify1-gtk2.10                               |
libqtcore4                          (>= 4:4.6.1) | 4:4.6.2-4
libqtgui4                           (>= 4:4.6.1) | 4:4.6.2-4
libsdl-image1.2                      (>= 1.2.10) | 1.2.10-2+b1
libsdl1.2debian                    (>= 1.2.10-1) | 1.2.14-6
libstdc++6                            (>= 4.2.1) | 4.4.3-9
libtar                                           | 1.2.11-6
libvlccore2                       (>= 1.0.0~rc1) | 1.0.6-1
libx11-6                                  (>= 0) | 2:1.3.3-3
libxcb-keysyms1                       (>= 0.3.6) | 0.3.6-1
libxcb1                                   (>= 0) | 1.6-1
libxext6                                  (>= 0) | 2:1.1.1-3
libxinerama1                                     | 2:1.1-3
libxv1                                           | 2:1.0.5-1
libxxf86vm1                                      | 1:1.1.0-2
zlib1g                       (>= 1:1.2.3.3.dfsg) | 1:1.2.3.4.dfsg-3
ttf-dejavu-core                                  | 2.30-2
liba52-0.7.4                                     | 0.7.4-14
libasound2                           (>> 1.0.18) | 1.0.22-2
libass4                               (>= 0.9.7) | 0.9.9-1
libavahi-client3                     (>= 0.6.16) | 0.6.25-3
libavahi-common3                     (>= 0.6.16) | 0.6.25-3
libavc1394-0                          (>= 0.5.3) | 0.5.3-1+b2
libavcodec52                     (>= 4:0.5.1-1)  | 5:0.5.1+svn20100427-0.0
 OR libavcodec-extra-52           (>= 4:0.5.1-1) |
libavformat52                    (>= 4:0.5.1-1)  | 5:0.5.1+svn20100427-0.0
 OR libavformat-extra-52          (>= 4:0.5.1-1) |
libavutil49                      (>= 4:0.5.1-1)  | 4:0.5.1-3
 OR libavutil-extra-49            (>= 4:0.5.1-1) |
libc6                                   (>= 2.8) | 2.10.2-6
libcaca0                      (>= 0.99.beta17-1) | 0.99.beta17-1
libcddb2                                         | 1.2.1-1
libcdio10                                        | 0.81-4
libdbus-1-3                           (>= 1.0.2) | 1.2.24-1
libdca0                                          | 0.0.5-3
libdvbpsi5                                       | 0.1.6-1
libdvdnav4                                       | 4.1.3-7
libdvdread4                                      | 4.1.3-9
libebml0                                         | 0.7.7-3.1
libfaad2                                         | 2.7-4
libflac8                              (>= 1.2.1) | 1.2.1-2+b1
libfontconfig1                        (>= 2.8.0) | 2.8.0-2.1
libfreetype6                          (>= 2.2.1) | 2.3.11-1
libfribidi0                          (>= 0.19.2) | 0.19.2-1
libgcc1                             (>= 1:4.1.1) | 1:4.4.3-9
libgcrypt11                           (>= 1.4.2) | 1.4.5-2
libgnutls26                        (>= 2.7.14-0) | 2.8.6-1
libgpg-error0                         (>= 1.6-1) | 1.6-1
libhal1                             (>= 0.5.8.1) | 0.5.14-2
liblircclient0                                   | 0.8.3-5
liblua5.1-0                                      | 5.1.4-5
libmad0                           (>= 0.15.1b-3) | 0.15.1b-5
libmatroska0                                     | 0.8.1-1.1
libmodplug0c2                     (>= 1:0.7-4.1) | 1:0.8.7-1
libmpcdec6                       (>= 1:0.1~r435) | 2:0.1~r453-1
libmpeg2-4                                       | 0.4.1-3
libncursesw5                   (>= 5.7+20100313) | 5.7+20100313-2
libogg0                               (>= 1.1.0) | 1.2.0~dfsg-1
libpng12-0                         (>= 1.2.13-4) | 1.2.43-1
libpostproc51                    (>= 4:0.5.1-1)  | 5:0.5.1+svn20100427-0.0
 OR libpostproc-extra-51          (>= 4:0.5.1-1) |
libraw1394-11                                    | 2.0.5-1
libschroedinger-1.0-0                 (>= 1.0.7) | 1.0.9-2
libshout3                                        | 2.2.2-5+b1
libsmbclient                         (>= 3.0.24) | 2:3.4.7~dfsg-2
libspeex1                       (>= 1.2~beta3-1) | 1.2~rc1-1
libstdc++6                            (>= 4.1.1) | 4.4.3-9
libswscale0                      (>= 4:0.5.1-1)  | 5:0.5.1+svn20100427-0.0
 OR libswscale-extra-0            (>= 4:0.5.1-1) |
libsysfs2                                        | 2.1.0-6
libtag1c2a                              (>= 1.5) | 1.6.2-1
libtheora0                (>= 0.0.0.alpha7.dfsg) | 1.1.1+dfsg.1-3
libtwolame0                                      | 0.3.12-1
libudev0                                (>= 146) | 153-1
libupnp3                              (>= 1.4.3) | 1:1.6.6-4
libv4l-0                              (>= 0.5.0) | 0.6.4-1
libvcdinfo0                          (>> 0.7.23) | 0.7.23-4+b2
libvlc2                            (>= 1.0.0~rc) | 1.0.6-1
libvlccore2                           (>= 1.0.2) | 1.0.6-1
libvorbis0a                           (>= 1.1.2) | 1.3.1-1
libvorbisenc2                         (>= 1.1.2) | 1.3.1-1
libxml2                               (>= 2.7.4) | 2.7.7.dfsg-2
zlib1g                            (>= 1:1.2.0.2) | 1:1.2.3.4.dfsg-3
libc6                                   (>= 2.8) | 2.10.2-6
libvlccore2                       (>= 1.0.0~rc1) | 1.0.6-1
vlc-data                                         | 1.0.6-1
libc6                                   (>= 2.8) | 2.10.2-6
libdbus-1-3                           (>= 1.0.2) | 1.2.24-1
libhal1                             (>= 0.5.8.1) | 0.5.14-2


Package Status      (Version) | Installed
=============================-+-===========
libavutil50                   | 5:0.5.1+svn20100427-0.0


Recommends             (Version) | Installed
================================-+-============
vlc-plugin-pulse     (= 1.0.6-1) | 1.0.6-1


Suggests                (Version) | Installed
=================================-+-===========
mozilla-plugin-vlc                |
videolan-doc                      |

#579938#10
Date:
2010-05-02 12:50:31 UTC
From:
To:
all settings", then choose Audio/Output modules/JACK and say "connect to
clients matching" with or without "automatically connect to writable
clients"?

Haven't tried it, but if you enter something like "system:play*", it
might do the trick.


BTW: Unless you really need to separate the vlc outputs from all other
system outputs, I recommend using the pulseaudio audio plugin instead
and then use pulseaudio-module-jack to bridge to jackd. This way, your
connections are always on, no need to mess with qjackctl at all. ;)

HTH

#579938#15
Date:
2010-05-02 15:01:09 UTC
From:
To:
This, once found, works just fine! No need to touch qjackctl at all.

Question is: what should be the default mode when jackd is found running on
program start (which would busy up alsa)? I think it should simply play.

At worst, auto-connect should be in the simple options and default checked.
I wish pulse was up to snuff but it is just too troublesome. Someday.

#579938#20
Date:
2010-05-02 19:17:40 UTC
From:
To:
Glad it worked. ;)
not a tool for ordinary desktop users but targeted at professional music
production. Jack is not supposed to run as a desktop sound server, this
is what pulseaudio is for.

Consequently, there is no sensible default where to connect. Physical
outs? Or some FX-chain in advance? Or no connection at all, because the
output will be fed to a streaming server?


And BTW: a running jackd doesn't imply that ALSA is busy. Normally,
there is a dedicated (separate) professional audio card in a jackd setup
that's connected to the studio. And if you run jackd in dummy mode, no
soundcard at all would be occupied.

You think so? I claim that's FUD. If something isn't working, file a bug
report against pulseaudio or the application in question. To me, it
works like a charm, vlc, skype, flash, mplayer and the lot all
outputting to pulseaudio which then feeds everything to jackd. Way more
stable than the libasound2-jackd-alsa bridge.

And make sure to try the DBUS interface support in current qjackctl.
(setup/Misc-tab). This might be especially useful in your single card
setup: with DBUS support, jackd2 (then jackdbus) talks to pulseaudio,
and pulseaudio will release the soundcard, so jackd can be started.

In other words, pulseaudio and jackd hand over the card to each other.
No need to look for and shutdown all the apps that prevent jackd from
starting.

You should really give it a whirl. I never want to go back.

#579938#25
Date:
2010-05-03 12:41:24 UTC
From:
To:
OK, fair enough. However, if there is no jack running, the option should have
no effect so so what?

For pulseaudio FUD, it seems that a good part of the linux audio community
dislikes pulse and is circulating this message. One probably can live without
jack and pulse simply to listen to mp3s and streams.

#579938#42
Date:
2020-05-29 08:19:20 UTC
From:
To:
שלחתי לך דוא"ל אך אין תגובה, אנא התשובה דחופה
#579938#47
Date:
2021-12-23 11:35:27 UTC
From:
To:
שלום צהריים טובים, אנא התקשר אליי עכשיו או השב למייל ששלחתי לך מאתמול