Skip to content

Commit

Permalink
Kev testing AES128 cbc on fMP4 HEVC
Browse files Browse the repository at this point in the history
  • Loading branch information
kevleyski committed Sep 4, 2024
1 parent 2e7edcf commit aded21c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Python/test/mp4-dash (fMP4) (cbc).run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/utils/mp4-dash.py" />
<option name="PARAMETERS" value="$PROJECT_DIR$/test/frag.m4s --hls --hls-key-url=/kevs.key --output-dir=$PROJECT_DIR$/test/kevs_cbc --encryption-cenc-scheme=cbcs --encryption-key=deadbeefdeadbeefdeadbeefdeadbeef:deadbeefdeadbeefdeadbeefdeadbeef" />
<option name="PARAMETERS" value="$PROJECT_DIR$/test/frag.m4s --hls --hls-key-url=/kevs.key --output-dir=$PROJECT_DIR$/test/kevs_cbc --encryption-cenc-scheme=cbcs --encryption-key=deadbeefdeadbeefdeadbeefdeadbeef:deadbeefdeadbeefdeadbeefdeadbeef --eme-signaling=pssh-v1" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
Expand Down
2 changes: 1 addition & 1 deletion Source/Python/utils/mp4-dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ def OutputHlsCommon(options, track, all_tracks, media_subdir, playlist_name, med
key_lines.append('URI="'+options.hls_key_url+'",IV=0x'+track.key_info['iv'])

for key_line in key_lines:
playlist_file.write('#EXT-X-KEY:METHOD=SAMPLE-AES,'+key_line+'\n')
playlist_file.write('#EXT-X-KEY:METHOD=AES-128,'+key_line+'\n')

return playlist_file

Expand Down

0 comments on commit aded21c

Please sign in to comment.