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 652924 - [tta] playing white noise instead of file contents
[tta] playing white noise instead of file contents
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.x
Other Linux
: Normal normal
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-19 06:43 UTC by nikoamia
Modified: 2011-06-25 22:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst-feedback-0.10 output (82.09 KB, text/x-log)
2011-06-19 06:43 UTC, nikoamia
Details
Test TTA1 file on which error occurs (287.57 KB, audio/x-tta)
2011-06-19 06:44 UTC, nikoamia
Details
debug output with ttaparse ! ttadec pipeline (145.51 KB, application/x-bzip)
2011-06-19 06:45 UTC, nikoamia
Details
debug output with ffdemux_tta ! ffdec_tta pipeline (165.28 KB, application/x-bzip)
2011-06-19 06:47 UTC, nikoamia
Details

Description nikoamia 2011-06-19 06:43:35 UTC
Created attachment 190188 [details]
gst-feedback-0.10 output

Overview:
GStreamer-based apps play white-noise instead of TTA1 file contents.

Steps to reproduce:
1. Open any TTA1 file with GStreamer-based app

Actual resuts:
White noise

Expected results:
File actual contents

Build date and platform:
GStreamer 0.10.34 on Arch Linux (x86_64) (also encountered on earlier versions)

Additional information:
decodebin or ttaparse ! ttadec pipelines are giving white noise on output, command line:
GST_DEBUG=4 gst-launch-0.10 filesrc location="test.tta" ! ttaparse ! ttadec ! audioconvert ! audioresample ! pulsesink 2> ttadec_output.log
But, ffdemux_tta ! ffdec_tta is working fine, command line:
GST_DEBUG=4 gst-launch-0.10 filesrc location="test.tta" ! ffdemux_tta ! ffdec_tta ! audioconvert ! audioresample ! pulsesink 2> ffmpeg_output.log
SMPlayer playing is also works fine, AFAIK it uses FFMpeg.
Comment 1 nikoamia 2011-06-19 06:44:42 UTC
Created attachment 190189 [details]
Test TTA1 file on which error occurs
Comment 2 nikoamia 2011-06-19 06:45:56 UTC
Created attachment 190190 [details]
debug output with ttaparse ! ttadec pipeline

Debug output (GST_DEBUG=4) with ttaparse ! ttadec pipeline (noise is heard on output).
Comment 3 nikoamia 2011-06-19 06:47:20 UTC
Created attachment 190191 [details]
debug output with ffdemux_tta ! ffdec_tta pipeline

Debug output (GST_DEBUG=4) for ffdemux_tta ! ffdec_tta pipeline. (Expected sound is heard on output)
Comment 4 David Schleef 2011-06-25 22:00:20 UTC
Confirmed.

Wow, nobody has touched this element in a long time.
Comment 5 David Schleef 2011-06-25 22:11:13 UTC
Have you observed this working with any TTA file?
Comment 6 David Schleef 2011-06-25 22:24:24 UTC
commit 40ee3369a0e0c555e94cdec06ab8b1303ca3c094
Author: David Schleef <ds@schleef.org>
Date:   Sat Jun 25 15:12:45 2011 -0700

    tta: decrease rank to NONE
    
    Appears to be utterly incapable of parsing and decoding TTA streams.
    Hasn't been updated to do TTA2.  If you want this element to work,
    fix the bloody thing.  The gst-ffmpeg decoder works fine.
    
    Also fixed an obvious endianness issue along the way.
    
    Fixes: #652924