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 636234 - [wavparse] dts 6ch played as stereo 16 bit pcm if DTS frame starts at non-zero offset
[wavparse] dts 6ch played as stereo 16 bit pcm if DTS frame starts at non-zer...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.27
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-12-01 17:57 UTC by Andreas Frisch
Modified: 2011-01-12 10:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Frisch 2010-12-01 17:57:28 UTC
gst-launch filesrc location="/net/team/tmp/autodownload/Nightwish - Dark Passion Play - DTS/(03) [Nightwish] Amaranth.wav" ! wavparse ! fakesink -v
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, channels=(int)2, width=(int)16, depth=(int)16, signed=(boolean)true, rate=(int)44100
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "preroll   ******* "
Pipeline is PREROLLED ...
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "event   ******* E (type: 102, GstEventNewsegment, update=(boolean)false, rate=(double)1, applied-rate=(double)1, format=(GstFormat)GST_FORMAT_TIME, start=(gint64)0, stop=(gint64)231400000000, position=(gint64)0;) 0x7fc3d0002840"
Setting pipeline to PLAYING ...
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "event   ******* E (type: 118, taglist, audio-codec=(string)\"Uncompressed\\ 16-bit\\ PCM\\ audio\";) 0x7fc3d0016500"
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "chain   ******* < ( 4096 bytes, timestamp: 0:00:00.000000000, duration: 0:00:00.023219955, offset: 0, offset_end: 1024, flags: 32) 0x7fc3d00020b0"
New clock: GstSystemClock
*noooooise*


mediainfo "/net/team/tmp/autodownload/Nightwish - Dark Passion Play - DTS/(03) [Nightwish] Amaranth.wav"
General
Complete name                    : /net/team/tmp/autodownload/Nightwish - Dark Passion Play - DTS/(03) [Nightwish] Amaranth.wav
Format                           : Wave
File size                        : 38.9 MiB
Duration                         : 3mn 51s
Overall bit rate                 : 1 411.2 Kbps

Audio
ID                               : 0
Format                           : DTS
Format/Info                      : Digital Theater Systems
Format profile                   : LE / 14
Codec ID                         : 1
Codec ID/Hint                    : Microsoft
Duration                         : 3mn 51s
Bit rate mode                    : Constant
Bit rate                         : 1 411.2 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 44.1 KHz
Resolution                       : 24 bits
Stream size                      : 38.9 MiB (100%)


happens both on the dreambox and on the pc ;) 


sample file available at:
ftp://test4711@82.149.226.170/(03) [Nightwish] Amaranth.wav
Comment 2 Tim-Philipp Müller 2010-12-03 10:19:07 UTC
commit bd87d8d1ddd22dde0dc30c7161c5d38e134c9a88
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Fri Dec 3 00:22:48 2010 +0000

    wavparse: detect DTS advertised as PCM correctly in some more cases
    
    The DTS typefinder may return a lower probability for frames that start
    at non-zero offsets and where there's no second frame sync in the first
    buffer. It's fairly unlikely that we'll acidentally identify PCM data
    as DTS, so we don't do additional checks for now.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=636234
Comment 3 Andreas Frisch 2011-01-12 10:54:34 UTC
okay it looks like our sink needs a parsed input stream which will require dcaparse from audioparsersbad. i will test that as soon as the new bad release is out.