From 492ac854b05da919171e02f16ad05645bc2693e6 Mon Sep 17 00:00:00 2001 From: jwcullen Date: Thu, 14 May 2026 10:19:29 -0400 Subject: [PATCH] Add test for standalone IAMF extraction. Update IAMF inspect hashes to reflect additional properties. (gpac#3567) - `reframers.sh`, `reframer-iamf-ext-rewrite.hash`: New test for standalone IAMF extraction. - `mp4box-io-audio_opus.iamf`: Includes superior RFC6381 identifier: ```diff - Codec: NULL + Codec: iamf.001.001.opus ``` - `mp4box-mux-add-iamf`: Includes superior RFC6381 identifier, clean up buggy IA Sequence Header (0xf8) reporting "configurationVersion 248": ```diff - [IAMF] Unknown configurationVersion 248 - PID 2 ID 2 audio ... codec AOM IAMF (Immersive Audio Model and Formats) + PID 2 ID 2 audio ... codec iamf.001.001.opus AOM IAMF (Immersive Audio Model and Formats) ``` --- hash_refs/mp4box-io-audio_opus.iamf-mp4-inspect.hash | 2 +- hash_refs/mp4box-mux-add-iamf.hash | 2 +- hash_refs/reframer-iamf-ext-rewrite.hash | 0 scripts/reframers.sh | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 hash_refs/reframer-iamf-ext-rewrite.hash diff --git a/hash_refs/mp4box-io-audio_opus.iamf-mp4-inspect.hash b/hash_refs/mp4box-io-audio_opus.iamf-mp4-inspect.hash index c6024b81..a8e46c9f 100644 --- a/hash_refs/mp4box-io-audio_opus.iamf-mp4-inspect.hash +++ b/hash_refs/mp4box-io-audio_opus.iamf-mp4-inspect.hash @@ -1 +1 @@ -w~IMyD \ No newline at end of file + g>*\p' \ No newline at end of file diff --git a/hash_refs/mp4box-mux-add-iamf.hash b/hash_refs/mp4box-mux-add-iamf.hash index b17bd49f..8fe242d5 100644 --- a/hash_refs/mp4box-mux-add-iamf.hash +++ b/hash_refs/mp4box-mux-add-iamf.hash @@ -1 +1 @@ -yVV%%B| \ No newline at end of file +;baM&˒  \ No newline at end of file diff --git a/hash_refs/reframer-iamf-ext-rewrite.hash b/hash_refs/reframer-iamf-ext-rewrite.hash new file mode 100644 index 00000000..e69de29b diff --git a/scripts/reframers.sh b/scripts/reframers.sh index 313f94e6..6571d4cf 100755 --- a/scripts/reframers.sh +++ b/scripts/reframers.sh @@ -53,6 +53,7 @@ test_reframer "av1-obu" $MEDIA_DIR/auxiliary_files/video.av1 "video.obu" test_reframer "av1-ivf" $MEDIA_DIR/auxiliary_files/video.av1 "video.ivf" test_reframer "iamf" $MEDIA_DIR/auxiliary_files/audio_opus.iamf "audio.mp4" +test_reframer "iamf-ext" "results/temp/reframer-iamf/audio.mp4" "audio.iamf" test_reframer "amr" $EXTERNAL_MEDIA_DIR/import/bear_audio.amr