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 700382 - qtdemux: handle 96kHz/24 bits ALAC audio
qtdemux: handle 96kHz/24 bits ALAC audio
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.x
Other Linux
: Normal normal
: 1.0.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-15 12:19 UTC by Arnaud Vrac
Modified: 2013-05-18 10:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
qtdemux: set alac caps using info from codec buffer (1.08 KB, patch)
2013-05-15 12:19 UTC, Arnaud Vrac
committed Details | Review

Description Arnaud Vrac 2013-05-15 12:19:00 UTC
Created attachment 244311 [details] [review]
qtdemux: set alac caps using info from codec buffer

qtdemux cannot decode ALAC files with 96kHz/24bit audio. For some reason the samplerate field in the STSD atom is not right, so the audio caps must be extracted from the codec data. This is what the libav mp4 demuxer does.

Here is an example file:

gst-launch-1.0 playbin uri="http://absolut.zogzog.org/share/samples/m4a/alac-96k.m4a"
Comment 1 Tim-Philipp Müller 2013-05-15 17:43:09 UTC
Fair enough, pushed, thanks!

 commit 6edcc564baf108e8833d0b1383ca5233157694d1
 Author: Arnaud Vrac <avrac@freebox.fr>
 Date:   Tue May 14 15:23:08 2013 +0200

    qtdemux: set alac caps using info from codec buffer
    
    The samplerate field in the STSD atom is not right for some ALAC files
    (usually when audio is 96kHz/24bits), so the audio caps must be
    extracted from the codec data.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700382

Minor change: used additional variable to avoid compiler warnings about pointer arithmetic on void *.