GNOME Bugzilla – Bug 701502
wavparse: doesn't detect ac3 streams marked as PCM
Last modified: 2018-11-03 14:48:50 UTC
Gstreamer can not detect wav files with ac3 stream.(Wavparse)
Created attachment 245903 [details] wav with ac3 stream
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?
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
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
Do you know what these 8 extra bytes are? I'm not aware of any endianness variants of AC3, but maybe there is :)
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)
Yes, it's IEC 60958 which also explains the byte order change. Maybe your DTS was that too? ;)
still valid.
-- 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.