Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packager fails to encrypt AVC3 format mp4 file #621

Closed
SingingTree opened this issue Jul 16, 2019 · 1 comment
Closed

Packager fails to encrypt AVC3 format mp4 file #621

SingingTree opened this issue Jul 16, 2019 · 1 comment
Assignees
Labels
status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@SingingTree
Copy link

System info

Operating System: Windows 10
Shaka Packager Version: packager-win version v2.3.0-5bf8ad5ed5-release

Issue and steps to reproduce the problem

  • Download and extract ConcatMediaSourceTestFiles.zip -- this is an mp4 that contains inband SPS data and uses the AVC3 format.
  • Attempt to encrypt it using the command:
packager-win.exe in=ConcatMediaSourceTestFiles.mp4,stream=video,init_segment=ConcatMediaSourceTestFiles_video_init.mp4,segment_template=ConcatMediaSourceTestFiles_video_$Number$.m4s --protection_scheme cbcs --enable_raw_key_encryption  --keys label=:key_id=7e571d047e571d047e571d047e571d21:key=7e5744447e5744447e5744447e574421 --iv 11223344556677889900112233445566

What is the expected result?

The file would be encrypted. Ideally the file would not be remuxed using the AVC1 format as I'm attempting to create test media for the encrypted AVC3 case.

What happens instead?

[0715/170115:INFO:demuxer.cc(88)] Demuxer::Run() on file 'ConcatMediaSourceTestFiles.mp4'.
[0715/170115:INFO:demuxer.cc(160)] Initialize Demuxer for file 'ConcatMediaSourceTestFiles.mp4'.
[0715/170115:ERROR:avc_decoder_configuration_record.cc(46)] No SPS found.
[0715/170115:ERROR:mp4_media_parser.cc(537)] Failed to parse avcc.
[0715/170115:ERROR:packager_main.cc(523)] Packaging Error: 8 (PARSER_FAILURE): Cannot parse media file ConcatMediaSourceTestFiles.mp4
@kqyang kqyang added the type: bug Something isn't working correctly label Jul 16, 2019
@kqyang
Copy link
Contributor

kqyang commented Jul 16, 2019

@SingingTree Thanks for reporting the bug. We'll look into it.

@kqyang kqyang self-assigned this Jul 16, 2019
@shaka-bot shaka-bot added this to the v2.4 milestone Jul 16, 2019
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Oct 4, 2019
@shaka-project shaka-project locked and limited conversation to collaborators Oct 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

3 participants