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 400555 - dts-in-wav: only 2 channel recognised
dts-in-wav: only 2 channel recognised
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.x
Other All
: Normal normal
: 0.10.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-25 11:01 UTC by Tim-Philipp Müller
Modified: 2007-04-12 11:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add channel negotiation in dtsdec (1.94 KB, patch)
2007-02-24 03:44 UTC, Young-Ho Cha
committed Details | Review

Description Tim-Philipp Müller 2007-01-25 11:01:23 UTC
+++ This bug was initially created as a clone of Bug #398196 +++

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.

DTS sample files:
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.
Comment 1 Young-Ho Cha 2007-02-24 03:41:56 UTC
In gst/plugins-bad/ext/dts/gstdtsdec.c:542, there is set to stereo forced.

I've copied channel negotiation code  from a52dec element, and it works well.

I'll attach.
Comment 2 Young-Ho Cha 2007-02-24 03:44:15 UTC
Created attachment 83217 [details] [review]
add channel negotiation in dtsdec
Comment 3 Wim Taymans 2007-04-12 11:14:04 UTC
        Patch by: Young-Ho Cha  <ganadist at chollian net>

        * ext/dts/gstdtsdec.c: (gst_dtsdec_handle_frame),
        (gst_dtsdec_change_state):
          Don't do forced downmixing to stereo, but check what downstream
          can do and let libdts do the downmixing based on that (#400555).