Skip to content

qtdemux: Fix can not parse Opus track made by qtmux

Zhao Gang requested to merge zhao-gang/gst-plugins-good:fix-#918 into master

Opus stream info is read from dOps box [1]. The offset of dOps box in Opus box is different in mp4a version 1 and 0 [2]. Calculate the offset of dOps box according to mp4a version.

[1] https://opus-codec.org/docs/opus_in_isobmff.html

[2] gst/isomp4/atoms.c:sample_entry_mp4a_copy_data:2146

Fixed #918 (closed).

Edited by Zhao Gang

Merge request reports