Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added hash_refs/mp4box-io-audio_pcm.iamf-add.hash
Binary file not shown.
1 change: 1 addition & 0 deletions hash_refs/mp4box-io-audio_pcm.iamf-diso.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pH�x��1"��rH7���a
1 change: 1 addition & 0 deletions hash_refs/mp4box-io-audio_pcm.iamf-dts.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I���u���i Ԣ���X��
1 change: 1 addition & 0 deletions hash_refs/mp4box-io-audio_pcm.iamf-mp4-inspect.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
���_E�A;-:>��1��љ�
1 change: 1 addition & 0 deletions hash_refs/mp4box-mux-add-iamf-pcm.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
�8�� `Fy�zj�����J�
1 change: 1 addition & 0 deletions hash_refs/reframer-iamf-pcm-ext-rewrite-pcm.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b4�+S`�oC� �N����
1 change: 1 addition & 0 deletions hash_refs/reframer-iamf-pcm-rewrite.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
���%��%�8gT��p9�d�j
Binary file added media/auxiliary_files/audio_pcm.iamf
Binary file not shown.
4 changes: 4 additions & 0 deletions scripts/mp4box-mux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,9 @@ iamf_mp4file="$TEMP_DIR/test-iamf.mp4"
do_test "$MP4BOX -add $MEDIA_DIR/auxiliary_files/video_5s.ivf -add $MEDIA_DIR/auxiliary_files/audio_opus.iamf -new $iamf_mp4file" "add-iamf"
do_hash_test $iamf_mp4file "add-iamf"

iamf_pcm_mp4file="$TEMP_DIR/test-iamf-pcm.mp4"
do_test "$MP4BOX -add $MEDIA_DIR/auxiliary_files/video_5s.ivf -add $MEDIA_DIR/auxiliary_files/audio_pcm.iamf -new $iamf_pcm_mp4file" "add-iamf-pcm"
do_hash_test $iamf_pcm_mp4file "add-iamf-pcm"

test_end

10 changes: 10 additions & 0 deletions scripts/reframers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ do_hash_test "$dst_file2" "ext-rewrite"

fi

if [ "$3" == "audio_iamf_pcm.mp4" ] ; then

dst_file2=$TEMP_DIR/audio_pcm.iamf
do_test "$GPAC -i $dst_file reframer @ -o $dst_file2 -graph -stats" "ext-rewrite-pcm"
do_hash_test "$dst_file2" "ext-rewrite-pcm"

fi

test_end

}
Expand Down Expand Up @@ -62,6 +70,8 @@ test_reframer "av1-ivf" $MEDIA_DIR/auxiliary_files/video.av1 "video.ivf"

test_reframer "iamf" $MEDIA_DIR/auxiliary_files/audio_opus.iamf "audio_iamf.mp4"

test_reframer "iamf-pcm" $MEDIA_DIR/auxiliary_files/audio_pcm.iamf "audio_iamf_pcm.mp4"

test_reframer "amr" $EXTERNAL_MEDIA_DIR/import/bear_audio.amr

test_reframer "amrwb" $EXTERNAL_MEDIA_DIR/import/obrother_wideband.amr
Expand Down