GNOME Bugzilla – Bug 398196
multichannel AAC playback
Last modified: 2009-01-19 19:10:19 UTC
Please describe the problem: Rhythmbox doesn't recognise multichannel files (like: 5.1 mp3, 5.1 mp4-aac, 5.1 dts-wav, 5.1 ac3), and if it does (for example 5.1-mp3) than it isn't playable or only in stereo. Sample multichannel files: MP3: http://www.all4mp3.com/music/ MP3: ftp://ftp.tnt.uni-hannover.de/pub/MPEG/audio/mpeg2/compliance/testdata/test23.tar.gz DTS: http://www.sr.se/cgi-bin/mall/index.asp?programid=2445 Steps to reproduce: 1. Download sample file 2. Open Rhythmbox 3. Import sample file 4. Play sample file Actual results: By most of them (especially mp4), rhythmbox gives an error at import for not recognising the filetype. Otherwise You hear noises, nothing or the file is playing in stereo only. Expected results: Always play the file and an option to playing it in stereo or multichannel (one could be default). Does this happen every time? Yes, it happens every time. Other information: I would like to see an option (like in vlc for example) for how may channels i would like to listen (1.0 mono, 2.0 stereo, 2.1, 4.0, 4.1, 5.0, 5.1 multichannel). The default playback channel could be recognised from the file (5.1 files at 5.1 channels) or always stereo (downmix), but add an option to listen the multichannel file in multichannel surround. Most of the files can be played in vlc or mplayer with full multichannel surround.
Whether this works depends on the level of support in gstreamer. Can gstreamer play them properly in standalone mode, e.g.: gst-launch playbin uri=file:///path/to/file/foobar.mp4 ?
Those multichannel mp4's (i use nero aac encoder) isn't playable with gstreamer too, i get: ** Message: don't know how to handle audio/mpeg, mpegversion=(int)4, framed=(boolean)true, codec_data=(buffer)133056e59d4800, rate=(int)48000, channels=(int)2 ERROR: from element /playbin0: You do not have a decoder installed to handle this file. You might need to install the necessary plugins. But i can't play normal stereo aac, mp4 either (have all necessary plugins installed). The strange thing is, that booth (stereo and multichannel) mp4 files played with gstreamer gives: channels=(int)2 (even if there where playable, that would be stereo). So the point is, that gstreamer is unable to handle more than 2 channels beside ac3? Playing AC3 on gstreamer gives me channels=(int)6. If it so, than this bug is still a bug (i can't even change the number of channels from stereo->mono), but multichannel support is depending on gstreamer support of them.
Seem like gstreamer bugs, switching products.
*** Bug 398198 has been marked as a duplicate of this bug. ***
I created some clones of this bug to handle the different issues separately: - multichannel AAC playack: this bug - support for 'mp3 surround' files: bug #400550 - only 2 channels found in dts-in-wav files: bug #400555 > ** Message: don't know how to handle audio/mpeg, mpegversion=(int)4, > framed=(boolean)true, codec_data=(buffer)133056e59d4800, rate=(int)48000, > channels=(int)2 > ERROR: from element /playbin0: You do not have a decoder installed to handle > this file. You might need to install the necessary plugins. This means you don't have the 'faad' plugin installed, or it's not installed properly, it's part of gst-plugins-bad (please use the libfaad* package from the same repository as you get your GStreamer faad plugin in from). > But i can't play normal stereo aac, mp4 either (have all necessary plugins > installed). > The strange thing is, that booth (stereo and multichannel) mp4 files played > with gstreamer gives: channels=(int)2 (even if there where playable, that > would be stereo). That's not necessarily a problem (cosmetic mostly), the decoder will ignore this in practice. > So the point is, that gstreamer is unable to handle more than 2 > channels beside ac3? That's neither the point nor true (there's lots of quicktime trailers with multichannel AAC audio and DVDs with DTS tracks). Bugs are always possible of course. Could you please: 1) install the 'faad' plugin and make sure it shows up in gst-inspect-0.10 2) tell us the output of the following commands: $ gst-inspect-0.10 identity | grep Version $ gst-inspect-0.10 playbin | grep Version $ gst-inspect-0.10 wavparse | grep Version $ gst-inspect-0.10 a52dec | grep Version $ gst-inspect-0.10 dtsdec | grep Version $ gst-inspect-0.10 faad | grep Version
I have Debian testing/sid (not up-to-date) with following packages installed (extra packages not in debian are from www.debian-multimedia.org): ii gstreamer0.10-plugins-bad 0.10.3-1 ii gstreamer0.10-faad 0.10.3+1 ii libfaad2-1 2.0.cvs20050401-0.2 1) Did you mean, that gstreamer0.10-faad from debian and libfaad from debian-multimedia dosn't work together? 2) gst-inspect-0.10 gives "Total count: 107 plugins, 471 features", no faad only faac. 3) gst-inspect-0.10 identity | grep Version Version: 0.10.9 gst-inspect-0.10 playbin | grep Version Version: 0.10.9 gst-inspect-0.10 wavparse | grep Version Version: 0.10.3 gst-inspect-0.10 a52dec | grep Version Version: 0.10.3 gst-inspect-0.10 dtsdec | grep Version "nothing" gst-inspect-0.10 faad | grep Version "nothing"
> 1) Did you mean, that gstreamer0.10-faad from debian and libfaad from > debian-multimedia dosn't work together? That is very very possible, since libfaad has changed API/ABI in the past. You should make sure you get your gstreamer0.10-faad and libfaad2 from the same package repository. > 2) gst-inspect-0.10 gives "Total count: 107 plugins, 471 features", no faad > only faac. > > gst-inspect-0.10 dtsdec | grep Version > "nothing" > > gst-inspect-0.10 faad | grep Version > "nothing" Okay, so that is a distro/packaging/installation problem then and not GStreamer's fault :)
I'm seeing similar problems with gstreamer playing some aac 5.1 trailers at Apple.com $ gst-inspect-0.10 identity | grep Version Version: 0.10.11 $ gst-inspect-0.10 playbin | grep Version Version: 0.10.11 $ gst-inspect-0.10 wavparse | grep Version Version: 0.10.4 $ gst-inspect-0.10 a52dec | grep Version Version: 0.10.4 $ gst-inspect-0.10 dtsdec | grep Version $ gst-inspect-0.10 faad | grep Version Version: 0.10.1 I'm using Totem and have set the audio to Stereo..my soundcard is using snd-hda-intel and is 5.1 capable but only a 2.0 stereo is plugged in. It works with OSS but not with ALSA. Starting with gst-launch playbin gives the same problem. http://www.apple.com/trailers/fox/fantasticfourriseofthesilversurfer/hd/ No speech in this f.ex.
> I'm seeing similar problems with gstreamer playing some aac 5.1 trailers at > Apple.com Per, there are a few known problems with AAC playback from trailers and surround output to ALSA and there are other bugs open for those. The problem in this bug report is that the faad plugin isn't even installed or not installed correctly. > $ gst-inspect-0.10 faad | grep Version > Version: 0.10.1 Note that this is quite an ancient version. The current gst-plugins-bad release is 0.10.4. > I'm using Totem and have set the audio to Stereo..my soundcard is using > snd-hda-intel and is 5.1 capable but only a 2.0 stereo is plugged in. > > It works with OSS but not with ALSA. Starting with gst-launch playbin > gives the same problem. > > http://www.apple.com/trailers/fox/fantasticfourriseofthesilversurfer/hd/ > No speech in this f.ex. Works fine for me, however there is a problem here and that is that qtdemux/faad (CVS) think the clip has 8 channels whereas there are only 6 channels. There's bug #345756 open about this. You might want to add yourself to the CC list there.
Regarding the "multichannel" mp3 files: The ones available on all4mp3.com are not multichannel mp3 files, but "mp3 surround" files. "mp3 surround" is not a standard, but a proprietary extension, without any specifications publicly available. The MPEG standard defines multichannel mp3, but this has never been used by any encoder, and the only existing stream is synthetically made one within the MPEG compliance test files. IMHO, I would not count on MP3 multichannel or "surround" support. MP2 multichannel is another matter, as this is part of the DVD specs, and thus is really used.
Please advise bugmaster@gnome.org in case of abuse (like the spammer I banned). This so we can properly ban the user + remove the attachment (otherwise the spammer can still use it in spammails).
Can people posting to this bug confirm that the issues with faad plugin not registering is solved? If I don't hear anything back I will assume so and close this bug. All other issues have other bugs tracking them.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!