diff --git a/hash_refs/ac4-package-crypt.hash b/hash_refs/ac4-package-crypt.hash index 4fb4ae35..e4b565d1 100644 --- a/hash_refs/ac4-package-crypt.hash +++ b/hash_refs/ac4-package-crypt.hash @@ -1 +1 @@ -w#�gžïþÂùÀl¸ÚaäÙ"5·/ \ No newline at end of file +Äpõ6¿®ÑFŽÆêÐ=+�i8à \ No newline at end of file diff --git a/hash_refs/ac4-package-dash-init-encrypted.hash b/hash_refs/ac4-package-dash-init-encrypted.hash index 2698bac9..79374583 100644 --- a/hash_refs/ac4-package-dash-init-encrypted.hash +++ b/hash_refs/ac4-package-dash-init-encrypted.hash @@ -1 +1 @@ -™­V]¾½ìh•G›˜Õš¤—8 \ No newline at end of file +¨4ƒHä`ˆ-Y£)Br{‘úúÊÒ \ No newline at end of file diff --git a/hash_refs/ac4-package-dash-init.hash b/hash_refs/ac4-package-dash-init.hash index 6f3f6ae9..bbf85119 100644 --- a/hash_refs/ac4-package-dash-init.hash +++ b/hash_refs/ac4-package-dash-init.hash @@ -1 +1 @@ -^*©FOå@Ó ЀpÄ‹Â"S \ No newline at end of file +Gª0Äo~ë§ bís-D{g„Ò \ No newline at end of file diff --git a/hash_refs/ac4-package-dash-mpd-encrypted.hash b/hash_refs/ac4-package-dash-mpd-encrypted.hash index d75a97dd..b544cb0e 100644 Binary files a/hash_refs/ac4-package-dash-mpd-encrypted.hash and b/hash_refs/ac4-package-dash-mpd-encrypted.hash differ diff --git a/hash_refs/ac4-package-dash-mpd.hash b/hash_refs/ac4-package-dash-mpd.hash index e4587b16..30bd4ca9 100644 --- a/hash_refs/ac4-package-dash-mpd.hash +++ b/hash_refs/ac4-package-dash-mpd.hash @@ -1 +1 @@ -�ç(ut×å7eŸ¯¿wÚ£¥ŠõŒR \ No newline at end of file +J.‹îŽsÙk‡§²avÊÒaÏ \ No newline at end of file diff --git a/hash_refs/ac4-package-dash-seg-encrypted.hash b/hash_refs/ac4-package-dash-seg-encrypted.hash index af657b5c..b42502fc 100644 Binary files a/hash_refs/ac4-package-dash-seg-encrypted.hash and b/hash_refs/ac4-package-dash-seg-encrypted.hash differ diff --git a/hash_refs/ac4-package-decrypt.hash b/hash_refs/ac4-package-decrypt.hash index ca691ee0..7226061e 100644 --- a/hash_refs/ac4-package-decrypt.hash +++ b/hash_refs/ac4-package-decrypt.hash @@ -1,2 +1 @@ -º6é�=.á –  -Þw¿«Ò \ No newline at end of file +J¿µ4whyc³0�ÔÛãÂßTIK \ No newline at end of file diff --git a/hash_refs/ac4-package-hls-m3u8-variant.hash b/hash_refs/ac4-package-hls-m3u8-variant.hash index 8c80947a..2ed2e980 100644 --- a/hash_refs/ac4-package-hls-m3u8-variant.hash +++ b/hash_refs/ac4-package-hls-m3u8-variant.hash @@ -1 +1 @@ -ê™Tgw,Ðy¹Nj¶¥u ¨d~� \ No newline at end of file +4#%"„¸Q*‹BÝMGyú^� \ No newline at end of file diff --git a/hash_refs/ac4-preselection-dash.hash b/hash_refs/ac4-preselection-dash.hash new file mode 100644 index 00000000..3c50de9e --- /dev/null +++ b/hash_refs/ac4-preselection-dash.hash @@ -0,0 +1,2 @@ +?¥—cà “ÛZQº$·Ð +$!Ž� \ No newline at end of file diff --git a/hash_refs/ac4-preselection-diso.hash b/hash_refs/ac4-preselection-diso.hash new file mode 100644 index 00000000..b75eb3f0 --- /dev/null +++ b/hash_refs/ac4-preselection-diso.hash @@ -0,0 +1 @@ +†˜ñÆð‘öW"EÅïOp 8É \ No newline at end of file diff --git a/hash_refs/ac4-preselection-mux.hash b/hash_refs/ac4-preselection-mux.hash new file mode 100644 index 00000000..1602e256 --- /dev/null +++ b/hash_refs/ac4-preselection-mux.hash @@ -0,0 +1 @@ +7#¨ü¿vz5¯'=N^› \ No newline at end of file diff --git a/hash_refs/mp4box-io-atsc3_test_audio.ac4-add.hash b/hash_refs/mp4box-io-atsc3_test_audio.ac4-add.hash index ca691ee0..7226061e 100644 --- a/hash_refs/mp4box-io-atsc3_test_audio.ac4-add.hash +++ b/hash_refs/mp4box-io-atsc3_test_audio.ac4-add.hash @@ -1,2 +1 @@ -º6é�=.á –  -Þw¿«Ò \ No newline at end of file +J¿µ4whyc³0�ÔÛãÂßTIK \ No newline at end of file diff --git a/hash_refs/mp4box-io-atsc3_test_audio.ac4-diso.hash b/hash_refs/mp4box-io-atsc3_test_audio.ac4-diso.hash index 492cf8f8..af0c7f43 100644 --- a/hash_refs/mp4box-io-atsc3_test_audio.ac4-diso.hash +++ b/hash_refs/mp4box-io-atsc3_test_audio.ac4-diso.hash @@ -1 +1 @@ -²¯2-‡�Ó`RäP Ãú».® \ No newline at end of file +¤&­´b ‘]¯žé¾¬gžéÏQ \ No newline at end of file diff --git a/hash_refs/mp4box-io-atsc3_test_audio.ac4-dts.hash b/hash_refs/mp4box-io-atsc3_test_audio.ac4-dts.hash index 542dfef3..3fbeb91b 100644 --- a/hash_refs/mp4box-io-atsc3_test_audio.ac4-dts.hash +++ b/hash_refs/mp4box-io-atsc3_test_audio.ac4-dts.hash @@ -1 +1 @@ -™õ#«ÉY´¬¡j-rP%(#X. \ No newline at end of file +É(&¸fL$bŽþ7žÇŸì¯ \ No newline at end of file diff --git a/hash_refs/mp4box-io-atsc3_test_audio.ac4-mp4-inspect.hash b/hash_refs/mp4box-io-atsc3_test_audio.ac4-mp4-inspect.hash index af9d31b8..18a67c32 100644 --- a/hash_refs/mp4box-io-atsc3_test_audio.ac4-mp4-inspect.hash +++ b/hash_refs/mp4box-io-atsc3_test_audio.ac4-mp4-inspect.hash @@ -1 +1 @@ -ïŠàf¡mærÿ°N•À¿°ÓW� \ No newline at end of file +{W¶ ïKó-vpOyÝ�qÊ \ No newline at end of file diff --git a/hash_refs/reframer-ac4-rewrite.hash b/hash_refs/reframer-ac4-rewrite.hash index 05887912..d5af8cc3 100644 Binary files a/hash_refs/reframer-ac4-rewrite.hash and b/hash_refs/reframer-ac4-rewrite.hash differ diff --git a/hash_refs/tsmux-ac4-inspect-frame.hash b/hash_refs/tsmux-ac4-inspect-frame.hash index cdb5c499..3bde5996 100644 --- a/hash_refs/tsmux-ac4-inspect-frame.hash +++ b/hash_refs/tsmux-ac4-inspect-frame.hash @@ -1 +1 @@ -#UBH¥!1eg& '�½ƒjßÍ \ No newline at end of file +G®6ERܾ²U2ØÔX2_3¯È \ No newline at end of file diff --git a/scripts/ac4.sh b/scripts/ac4.sh index d3be13b8..278c8c8f 100644 --- a/scripts/ac4.sh +++ b/scripts/ac4.sh @@ -49,3 +49,24 @@ do_hash_test "$TEMP_DIR/ac4-crypted_dash1.m4s" "dash-seg-encrypted" fi test_end + + +test_begin "ac4-preselection" + +if [ $test_skip != 1 ] ; then + +mp4file="$TEMP_DIR/pbde.mp4" +tmp="$mp4file.xml" + +# mux with preselection config +do_test "$MP4BOX -add $EXTERNAL_MEDIA_DIR/misc/pbde_2ch.ac4:preselection=$EXTERNAL_MEDIA_DIR/misc/pbde_2ch.ini -new $mp4file" "Mux" +do_hash_test "$mp4file" "mux" + +do_test "$MP4BOX -diso $mp4file -out $tmp" "diso" +do_hash_test "$tmp" "diso" + +do_test "$MP4BOX -dash 4000 -profile ondemand -out $TEMP_DIR/pbde.mpd $mp4file:asID=1" "Dash" +do_hash_test "$TEMP_DIR/pbde.mpd" "dash" + +fi +test_end \ No newline at end of file