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 701502 - wavparse: doesn't detect ac3 streams marked as PCM
wavparse: doesn't detect ac3 streams marked as PCM
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-06-03 09:45 UTC by Putinei Ionut
Modified: 2018-11-03 14:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
wav with ac3 stream (750.00 KB, audio/x-wav)
2013-06-03 09:50 UTC, Putinei Ionut
Details

Description Putinei Ionut 2013-06-03 09:45:34 UTC
Gstreamer can not detect wav files with ac3 stream.(Wavparse)
Comment 1 Putinei Ionut 2013-06-03 09:50:05 UTC
Created attachment 245903 [details]
wav with ac3 stream
Comment 2 Sebastian Dröge (slomo) 2013-06-07 11:29:15 UTC
Are you sure that's AC3 and not just noise? gst-typefind does not detect the stream inside this as AC3 and mplayer and avplay can't handle the wav file either.

What created it and is there anything that can handle it?
Comment 3 Putinei Ionut 2013-06-07 11:49:05 UTC
MediaInfo will detect right type.
also vlc player will play the sample correctly.
From watching what is in header thing the sample is generate with tool BeSweet v1.4
Comment 4 Putinei Ionut 2013-06-13 10:19:32 UTC
https://ccrma.stanford.edu/courses/422/projects/WaveFormat/
Have discovered that in the "data" subchunck  there are 8 "extra bytes" and after them there is the ac3 sync word but on the expected form 0x0B 0x77 but 0x77 0x0B (endianess issue ??)
Also another sample can be found in http://www.diatonis.com/downloads/diatonis_ac3_wav_anfos.zip
Comment 5 Sebastian Dröge (slomo) 2013-06-14 11:59:22 UTC
Do you know what these 8 extra bytes are? I'm not aware of any endianness variants of AC3, but maybe there is :)
Comment 6 Tim-Philipp Müller 2013-06-19 11:57:47 UTC
maybe it's some kind of IEC 60958 encapsulation/framing? Or could just be junk.. (I've seen DTS files in wav marked as pcm that also had junk at the start)
Comment 7 Sebastian Dröge (slomo) 2013-06-19 12:08:27 UTC
Yes, it's IEC 60958 which also explains the byte order change. Maybe your DTS was that too? ;)
Comment 8 Edward Hervey 2018-05-12 11:03:16 UTC
still valid.
Comment 9 GStreamer system administrator 2018-11-03 14:48:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/85.