-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from bbc/philipn-rdd9-repeat-index-option
Add --repeat-index option for RDD9
- Loading branch information
Showing
9 changed files
with
79 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ setup_test_dir("rdd9_mxf") | |
set(tests | ||
ancvbi | ||
mpeg2lg | ||
repeatindex | ||
) | ||
|
||
foreach(test ${tests}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
624c21119ad01eca312058d5641c0a7c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Test creating an RDD9 MXF file with the index repeated in the footer. | ||
|
||
include("${TEST_SOURCE_DIR}/../testing.cmake") | ||
|
||
|
||
if(TEST_MODE STREQUAL "check") | ||
set(output_file test_repeatindex.mxf) | ||
elseif(TEST_MODE STREQUAL "samples") | ||
file(MAKE_DIRECTORY ${BMX_TEST_SAMPLES_DIR}) | ||
|
||
set(output_file ${BMX_TEST_SAMPLES_DIR}/test_repeatindex.mxf) | ||
else() | ||
set(output_file test_repeatindex.mxf) | ||
endif() | ||
|
||
set(checksum_file repeatindex.md5) | ||
|
||
set(create_test_audio ${CREATE_TEST_ESSENCE} | ||
-t 1 | ||
-d 24 | ||
audio | ||
) | ||
|
||
set(create_test_video ${CREATE_TEST_ESSENCE} | ||
-t 14 | ||
-d 24 | ||
video | ||
) | ||
|
||
set(create_command ${RAW2BMX} | ||
--regtest | ||
-t rdd9 | ||
-y 10:11:12:13 | ||
--clip test | ||
--part 12 | ||
--repeat-index | ||
-o ${output_file} | ||
-a 16:9 --mpeg2lg_422p_hl_1080i video | ||
-q 16 --locked true --pcm audio | ||
-q 16 --locked true --pcm audio | ||
) | ||
|
||
run_test_a( | ||
"${TEST_MODE}" | ||
"${BMX_TEST_WITH_VALGRIND}" | ||
"${create_test_video}" | ||
"${create_test_audio}" | ||
"" | ||
"${create_command}" | ||
"" | ||
"" | ||
"" | ||
"${output_file}" | ||
"${checksum_file}" | ||
"" | ||
"" | ||
) |