Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338798 - avidemux 2.5.1 + Jack : Trouble initializing audio device
Summary: avidemux 2.5.1 + Jack : Trouble initializing audio device
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-26 12:57 UTC by Eric F. GARIOUD
Modified: 2010-10-28 11:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric F. GARIOUD 2010-09-26 12:57:22 UTC
When avidemux' Tools/Preferences/Audio/AudioDevice selector shows : Jack,
Playing any multimedia file which audio stream sample rate differs from Jack's sampling rate leads to the display of a message box warning "Trouble initializing audio device".
After acknowledging the message, the video is played with no sound.

Reproducible: Always

Steps to Reproduce:
1.Start the jack daemon with some given sampling rate.
2.Start Avidemux (configured with jack as audio output)
3.Open a multimedia file which audio stream sample rate differs from the sampling rate given to the jack daemon
4.Start its playing under Avidemux
Actual Results:  
Display of the message box + Video played with no sound.

Expected Results:  
Playing the file correctly with sound irrespective of any difference in sampling rate between file and Jack.

1/ Software information :
- avidemux-2.5.1_p5428  USE="aac aften alsa amr dts gtk jack libsamplerate mp3 nls qt4 sdl truetype vorbis x264 xv xvid -esd -oss -pulseaudio"
- jack-audio-connection-kit-0.118.0  USE="alsa mmx sse -3dnow (-altivec) (-coreaudio) -cpudetection -debug -doc -examples -oss"

2/ Extract from traces on console when starting the playing :
[JACK] audio stream sample rate: 48000
[JACK] jack server sample rate: 44100
[JACK] For play this, you need avidemux compiled with libsamplerate support
[JACK] Stop

On a first hand I hardly understand why avidemux does care about jack's sampling rate (This one being generally rather fixed because linked with the audio card input's capabilities)

On a second hand, considering in 1/ the USE flags settings for avidemux, either avidemux is pulling my leg when suggesting not being compiled with libsamplerate, or avidemux' ebuild does not take the use flag into account...

3/ Tests made on MP4 files with AAC encoded audio and MPEG files with AC3 encoded audio
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2010-10-26 20:47:31 UTC
Can you please test 2.5.4?
Comment 2 Eric F. GARIOUD 2010-10-27 10:50:05 UTC
(In reply to comment #1)
I can confirm that this problem is solved under :
- 2.5.3-r3 QT version
- 2.5.4 GTK version
I have not been able to successfully test 2.5.4 QT version because of Bug 342909. 

Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-10-28 11:04:44 UTC
Reopen if you still have problems with 2.5.4-r1. Thank you