After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 610817 - some of the channel of a 6 ch AAC file are not played
some of the channel of a 6 ch AAC file are not played
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.17
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-23 14:37 UTC by zebul666
Modified: 2011-05-24 10:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
30 seconds of AAC 6ch causing problem for gstreamer (495.62 KB, audio/mp4)
2010-02-23 14:37 UTC, zebul666
Details
output of GST_DEBUG=*alsa*:5 gst-launch-0.10 --gst-debug-no-color uridecodebin uri=file:///home/solstice/test.aac ! audioconvert ! audioresample ! alsasink 2>dbg.log (433.59 KB, text/x-log)
2010-08-06 20:12 UTC, zebul666
Details

Description zebul666 2010-02-23 14:37:36 UTC
Created attachment 154499 [details]
30 seconds of AAC 6ch causing problem for gstreamer

Playing a matroska video file with AAC 6ch audio gives me no voice but i got background sound.
When i extract the aac file and play it in exaile (which use gstreamer i got the same : no voice but some other background sound)

so i guess gstreamer does not play some of the channels where there is the voice.

it's quite annoying to watch a film without dialog, isn't it ???

It plays fine with mplayer or xine.

the attachment is 30 sec of the AAC. at 00:00:11, you can begin to hear the voices (with mplayer only, not with gstreamer based player)
it says
"MP signal, specimen vital sign confirmed ...."

i use a simple stereo headset. i have not tried with a full 5.1 sound system because i haven't one. but i have the needed connection of the rear of my pc
Comment 1 Tim-Philipp Müller 2010-02-23 15:18:08 UTC
What audio sink are you using?

This works fine for me with totem and gst-launch-0.10 playbin2 uri=file:///path/to/foo.aac, whether I force output to stereo or pipe all six channels to the sink, both with alsasink and pulsesink.

So it sounds like your audio output is advertising 6 channels and then just takes 2 channels and discards the rest instead of downmixing (alsa issue? I've heard this before, I'm sure..)

You could try changing the gconf musicaudiosink key to something like:

   capsfilter caps=audio/x-raw-int,channels=2 ! autoaudiosink
 
and see if that makes a difference (may need restart).
Comment 2 Sebastian Dröge (slomo) 2010-02-23 15:20:34 UTC
Hi,
could you try again with gst-plugins-bad 0.10.17.2? There was a channel positioning related change.
Comment 3 zebul666 2010-02-23 19:02:47 UTC
@Tim-Philipp
yes it works if i change musicaudiosink to what you gave me. without any reboot or restart of anything (even totem). I use alsa sink (output ?)

@Sebastian
it seems to change nothing. but i have not recompiled all the gstreamer package. here is what i used. Tell me if i need to go further at recompiling gstreamer packages for the test to be considered valid.

gstreamer0.10 0.10.26.2-1
gstreamer0.10-bad 0.10.17.2-0
gstreamer0.10-bad-plugins 0.10.17.2-0
gstreamer0.10-base 0.10.26.2-0
gstreamer0.10-base-plugins 0.10.26.2-0
gstreamer0.10-good 0.10.18.2-0
gstreamer0.10-good-plugins 0.10.18.2-0

gstreamer0.10-ffmpeg 0.10.9-1
gstreamer0.10-pitfdll 0.9.1.1-2
gstreamer0.10-python 0.10.17-1
gstreamer0.10-ugly 0.10.13-4
gstreamer0.10-ugly-plugins 0.10.13-4
phonon-gstreamer 4.3.80-2
totem 2.28.5-2
Comment 4 zebul666 2010-02-23 19:53:37 UTC
for the record i use a inspiron 531.
i have added an option for the snd-hda-intel but that changes nothing (with last stable or latest prerelease gstreamer)
i used
options snd-hda-intel model=6stack-dell

to specify the sound card model instead of relying on BIOS autodetection
what else can i do ?

also the video freeze in totem after a while (3min) with or without the modified musicaudiosink whatever the release of gstreamer
Comment 5 Tobias Mueller 2010-08-06 11:14:04 UTC
Reopening as the requested information has been provided.
Comment 6 Tim-Philipp Müller 2010-08-06 12:52:32 UTC
zebul666: could you do this:

 $ GST_DEBUG=*alsa*:5  gst-launch-0.10 uridecodebin uri=file:///path/to/test.aac ! audioconvert ! audioresample ! alsasink  2>dbg.log

and then attach the dbg.log file to this bug report?

(You can interrupt it with control-C after a few seconds.)
Comment 7 zebul666 2010-08-06 20:12:10 UTC
Created attachment 167276 [details]
output of GST_DEBUG=*alsa*:5  gst-launch-0.10 --gst-debug-no-color uridecodebin uri=file:///home/solstice/test.aac ! audioconvert ! audioresample ! alsasink 2>dbg.log 

we can hear some voice in the background. I can't understand what it is said but I am sure it's what you should hear but as if the voice channel has been mixed down to the background to a very quiet level.

also note I have added --gst-debug-no-color option
Comment 8 Sebastian Dröge (slomo) 2011-05-23 15:34:39 UTC
This looks like a bug in ALSA, the device is configured to 6 channels with the correct layout. Do you have the same problem with other applications that don't use GStreamer?
Comment 9 zebul666 2011-05-24 10:11:05 UTC
First, you ask me something like that more than a year after the original post !
Second, I said it was working with mplayer and xine which, if I understand correctly, don't use gstreamer by defaut, no ?
Third, I thought I gave you enough info. but that' still not the case...
Fourth. I don't care anymore; it works with:

gnome 3.0.1
pulseaudio 0.9.22
alsa 1.0.24
kernel 2.6.37.5

gstreamer0.10 0.10.34-1
gstreamer0.10-bad 0.10.22-1 
gstreamer0.10-bad-plugins 0.10.22-1
gstreamer0.10-base 0.10.34-1
gstreamer0.10-base-plugins 0.10.34-1
gstreamer0.10-ffmpeg 0.10.11-1
gstreamer0.10-good 0.10.29-1
gstreamer0.10-good-plugins 0.10.29-1
gstreamer0.10-pitfdll 0.9.1.1-2
gstreamer0.10-python 0.10.21-1
gstreamer0.10-ugly 0.10.18-1
gstreamer0.10-ugly-plugins 0.10.18-1