Bug#664279: [vlc-plugin-jack] Resampling to JACK's sample rate doesn't work

Alex Volkov alex at bootes.telenet.ru
Sat Mar 17 11:00:18 UTC 2012


Package: vlc-plugin-jack
Version: 2.0.0-6
Severity: normal

--- Please enter the report below this line. ---

Sound gets distorted when playing movies with audio sample rate different from 
the one set with JACK (e.g. movie audio = 48000 vs. jack = 96000). Setting 
jack's rate according to the movie fixes the problem. Setting output module to ALSA
just makes card's sample rate match the movie.

Looks like upsampling doesn't work at all.

Stable version (1.1.3) seemed to work OK with different rates.

Sample from vlc log:

[0x7ff5e5367408] jack audio output debug: JACK audio output initialized (2 channels, rate=96000)
[0x7ff5e5367408] main audio output debug: using audio output module "jack"
[0x7ff5e5367408] main audio output debug: TIMER module_need() : 36.482 ms - Total 36.482 ms / 1 intvls (Avg 36.482 ms)
[0x7ff5e5367408] main audio output debug: output 'f32l' 96000 Hz Stereo frame=1 samples/8 bytes
[0x7ff5e5367408] main audio output debug: mixer 'f32l' 96000 Hz Stereo frame=1 samples/8 bytes
[0x7ff5e5367408] main audio output debug: filter(s) 'f32l'->'f32l' 96000 Hz->96000 Hz Stereo->Stereo
[0x7ff5e5367408] main audio output debug: conversion pipeline completed
[0x29464c8] main mixer debug: looking for audio mixer module: 2 candidates
[0x29464c8] main mixer debug: using audio mixer module "float32_mixer"
[0x29464c8] main mixer debug: TIMER module_need() : 0.221 ms - Total 0.221 ms / 1 intvls (Avg 0.221 ms)
[0x7ff5e5367408] main audio output debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
[0x7ff5e5367408] main audio output debug: filter(s) 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
[0x7ff5e5367408] main audio output debug: conversion pipeline completed
[0x7ff5e5367408] main audio output debug: filter(s) 'f32l'->'f32l' 105600 Hz->96000 Hz Stereo->Stereo
[0x2af3ce8] main audio filter debug: looking for audio filter module: 14 candidates
[0x2af3ce8] main audio filter debug: using audio filter module "samplerate"
[0x2af3ce8] main audio filter debug: TIMER module_need() : 0.553 ms - Total 0.553 ms / 1 intvls (Avg 0.553 ms)
[0x7ff5e5367408] main audio output debug: conversion pipeline completed
[0x2c19718] main decoder debug: End of audio preroll


--- System information. ---
Architecture: amd64
Kernel:       Linux 3.2.6-custom1b-rt-amd64

Debian Release: wheezy/sid
  990 stable          security.debian.org 
  990 stable          mirror.yandex.ru 
  990 stable          ftp.fi.debian.org 
  990 stable          dl.google.com 
  990 stable          deb.torproject.org 
  500 testing         mirror.yandex.ru 
  500 testing         ftp.fi.debian.org 
  500 testing         deb.opera.com 
  500 stable-updates  mirror.yandex.ru 
  500 oldstable       deb.torproject.org 
  500 natty           ppa.launchpad.net 

--- Package information. ---
Depends                             (Version) | Installed
=============================================-+-====================
vlc-nox                           (= 2.0.0-6) | 2.0.0-6
libc6                                (>= 2.4) | 2.13-27
libjack-jackd2-0          (>= 1.9.5~dfsg-14)  | 1.9.8~dfsg.2-1
 OR libjack-0.116                             | 
libvlccore5                        (>= 2.0.0) | 2.0.0-6
ttf-freefont                                  | 20100919-1
vlc-nox                           (= 2.0.0-6) | 2.0.0-6
libaa1                             (>= 1.4p5) | 1.4p5-39
libavcodec53                   (>= 4:0.8-1~)  | 4:0.8-2
 OR libavcodec-extra-53         (>= 4:0.8-1~) | 
libavutil51                    (>= 4:0.8-1~)  | 4:0.8-2
 OR libavutil-extra-51          (>= 4:0.8-1~) | 
libc6                                (>= 2.8) | 2.13-27
libfreetype6                       (>= 2.2.1) | 2.4.8-1
libfribidi0                       (>= 0.19.2) | 0.19.2-2
libgcc1                          (>= 1:4.1.1) | 1:4.6.3-1
libgl1-mesa-glx                               | 7.11.2-1
 OR libgl1                                    | 
libice6                          (>= 1:1.0.0) | 2:1.0.7-2
libqtcore4                 (>= 4:4.7.0~beta1) | 4:4.7.4-2
libqtgui4                  (>= 4:4.7.0~beta1) | 4:4.7.4-2
libsdl-image1.2                   (>= 1.2.10) | 1.2.12-1
libsdl1.2debian                   (>= 1.2.11) | 1.2.15-2
libsm6                                        | 2:1.2.0-2
libstdc++6                           (>= 4.6) | 4.6.3-1
libtar0                                       | 1.2.11-8
libva-x11-1                      (>> 1.0.14~) | 1.0.14-1
libva1                           (>> 1.0.14~) | 1.0.14-1
libvlccore5                        (>= 2.0.0) | 2.0.0-6
libx11-6                                      | 2:1.4.4-4
libxcb-composite0                             | 1.8-2
libxcb-keysyms1                    (>= 0.3.8) | 0.3.8-1
libxcb-randr0                        (>= 1.1) | 1.8-2
libxcb-render0                                | 1.8-2
libxcb-shape0                                 | 1.8-2
libxcb-shm0                                   | 1.8-2
libxcb-xfixes0                                | 1.8-2
libxcb-xv0                           (>= 1.2) | 1.8-2
libxcb1                              (>= 1.6) | 1.8-2
libxext6                                      | 2:1.3.0-3
libxinerama1                                  | 2:1.1.1-3
libxpm4                                       | 1:3.5.9-4
zlib1g                         (>= 1:1.2.3.3) | 1:1.2.6.dfsg-2
liba52-0.7.4                                  | 0.7.4-16
libasound2                        (>= 1.0.16) | 1.0.25-2
libass4                            (>= 0.9.7) | 0.10.0-3
libavahi-client3                  (>= 0.6.16) | 0.6.31-1
libavahi-common3                  (>= 0.6.16) | 0.6.31-1
libavc1394-0                       (>= 0.5.3) | 0.5.4-1
libavcodec53                   (>= 4:0.8-1~)  | 4:0.8-2
 OR libavcodec-extra-53         (>= 4:0.8-1~) | 
libavformat53                  (>= 4:0.8-1~)  | 4:0.8-2
 OR libavformat-extra-53        (>= 4:0.8-1~) | 
libavutil51                    (>= 4:0.8-1~)  | 4:0.8-2
 OR libavutil-extra-51          (>= 4:0.8-1~) | 
libbluray1                                    | 1:0.2.1+git20111208.63e308d-3
libc6                                (>= 2.8) | 2.13-27
libcaca0                   (>= 0.99.beta17-1) | 0.99.beta17-2.1
libcddb2                                      | 1.3.2-3
libcdio10                                     | 0.81-5
libdbus-1-3                       (>= 1.2.16) | 1.4.18-1
libdc1394-22                                  | 2.1.3-4
libdca0                                       | 0.0.5-5
libdirac-decoder0                             | 1.0.2-6
libdirac-encoder0                             | 1.0.2-6
libdvbpsi7                         (>= 0.2.0) | 0.2.2-1
libdvdnav4                                    | 4.2.0-1
libdvdread4                                   | 4.2.0-1
libebml3                                      | 1.2.2-2
libfaad2                                      | 2.7-7
libflac8                           (>= 1.2.1) | 1.2.1-6
libfontconfig1                     (>= 2.8.0) | 2.8.0-3.1
libfreetype6                       (>= 2.2.1) | 2.4.8-1
libfribidi0                       (>= 0.19.2) | 0.19.2-2
libgcc1                          (>= 1:4.1.1) | 1:4.6.3-1
libgcrypt11                        (>= 1.4.5) | 1.5.0-3
libgnutls26                   (>= 2.12.6.1-0) | 2.12.16-1
libgpg-error0                       (>= 1.10) | 1.10-3
libiso9660-7                                  | 0.81-5
libkate1                           (>= 0.3.0) | 0.4.1-1
liblircclient0                                | 0.9.0~pre1-1
liblua5.1-0                                   | 5.1.4-12
libmad0                        (>= 0.15.1b-3) | 0.15.1b-7
libmatroska5                                  | 1.3.0-2
libmodplug1                                   | 1:0.8.8.4-1
libmpcdec6                    (>= 1:0.1~r435) | 2:0.1~r459-2
libmpeg2-4                                    | 0.4.1-3
libmtp9                            (>= 1.1.0) | 1.1.2-2
libncursesw5                (>= 5.6+20070908) | 5.9-4
libogg0                            (>= 1.1.0) | 1.2.2~dfsg-1
libpng12-0                      (>= 1.2.13-4) | 1.2.47-1
libpostproc52                  (>= 4:0.8-1~)  | 4:0.8-2
 OR libpostproc-extra-52        (>= 4:0.8-1~) | 
libproxy0                          (>= 0.2.3) | 0.3.1-4+b3
libraw1394-11                                 | 2.0.8-1
libresid-builder0c2a                          | 2.1.1-13
libsamplerate0                     (>= 0.1.7) | 0.1.8-3
libschroedinger-1.0-0             (>= 1.0.10) | 1.0.11-1
libshout3                                     | 2.2.2-8
libsidplay2                                   | 2.1.1-13
libspeex1                    (>= 1.2~beta3-1) | 1.2~rc1-3
libspeexdsp1               (>= 1.2~beta3.2-1) | 1.2~rc1-3
libstdc++6                           (>= 4.6) | 4.6.3-1
libswscale2                    (>= 4:0.8-1~)  | 4:0.8-2
 OR libswscale-extra-2          (>= 4:0.8-1~) | 
libtag1c2a                           (>= 1.7) | 1.7-2
libtheora0                           (>= 1.0) | 1.1.1+dfsg.1-3
libtinfo5                                     | 5.9-4
libtwolame0                                   | 0.3.13-1
libudev0                             (>= 146) | 175-3.1
libupnp3                           (>= 1.4.3) | 1:1.6.6-5.1
libusb-0.1-4                    (>= 2:0.1.12) | 2:0.1.12-20
libv4l-0                           (>= 0.5.0) | 0.8.6-1
libvcdinfo0                       (>= 0.7.21) | 0.7.24-1
libvlc5                            (>= 2.0.0) | 2.0.0-6
libvlccore5                        (>= 2.0.0) | 2.0.0-6
libvorbis0a                        (>= 1.1.2) | 1.3.2-1.1
libvorbisenc2                      (>= 1.1.2) | 1.3.2-1.1
libx264-120                                   | 2:0.120.2151+gita3f4407-3
libxml2                            (>= 2.7.4) | 2.7.8.dfsg-7
libzvbi0                          (>= 0.2.11) | 0.2.33-1
zlib1g                         (>= 1:1.2.0.2) | 1:1.2.6.dfsg-2
libc6                                (>= 2.8) | 2.13-27
libvlccore5                        (>= 2.0.0) | 2.0.0-6
vlc-data                          (= 2.0.0-6) | 2.0.0-6
libc6                               (>= 2.10) | 2.13-27
libdbus-1-3                        (>= 1.0.2) | 1.4.18-1


Package Status      (Version) | Installed
=============================-+-===========
libavutil50                   | 
libavutil51                   | 4:0.8-2


Recommends              (Version) | Installed
=================================-+-============
vlc-plugin-notify     (= 2.0.0-6) | 2.0.0-6
vlc-plugin-pulse      (= 2.0.0-6) | 
xdg-utils                         | 1.1.0~rc1+git20111210-6


Suggests          (Version) | Installed
===========================-+-===========
videolan-doc                | 20070626-1









More information about the pkg-multimedia-maintainers mailing list