shaka-project / shaka-packager

A media packaging and development framework for VOD and Live DASH and HLS applications, supporting Common Encryption for Widevine and other DRM Systems.
https://shaka-project.github.io/shaka-packager/
Other
1.9k stars 496 forks source link

Not support VVC/H.266 codec #1373

Open AUGxhub opened 3 months ago

AUGxhub commented 3 months ago

System info

Operating System: lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS

Shaka Packager Version: packager version v3.0.3-a87a0e0-debug docker image : google/shaka-packager:latest at 2024/03/14

Issue and steps to reproduce the problem

packager \
in=/media/vvc_1080p_50fps.mp4,stream=video,output=video_3Mbps.mp4 \
--enable_widevine_encryption \
--key_server_url https://license.uat.widevine.com/cenc/getcontentkey/widevine_test \
--content_id 746573745f69645f4639465043304e4f \
--signer widevine_test \
--aes_signing_key 1ae8ccd0e7985cc0b6203a55855a1034afc252980e970ca90e5202689f947ab9 \
--aes_signing_iv d58ce954203b7c9a9a9d467f59839249 \
--mpd_output vvc_wv.mpd  

Extra steps to reproduce the problem?

What is the expected result?

I0314 06:49:35.714250 10 demuxer.cc:94] Demuxer::Run() on file '/media/vvc_1080p_50fps.mp4'. I0314 06:49:35.714320 10 demuxer.cc:160] Initialize Demuxer for file '/media/vvc_1080p_50fps.mp4'. E0314 06:49:35.734693 10 box_definitions.cc:1688] vvi1 is not supported. E0314 06:49:35.734744 10 box_reader.h:171] Failure while processing: child.Parse(&child_reader) E0314 06:49:35.734788 10 box_definitions.cc:658] Failure while processing: reader->ReadAllChildren(&video_entries) E0314 06:49:35.734812 10 box_reader.cc:99] Failure while processing: child->Parse(itr->second.get()) E0314 06:49:35.734832 10 box_definitions.cc:1164] Failure while processing: ReadWriteHeaderInternal(buffer) && buffer->PrepareChildren() && buffer->ReadWriteChild(&description) && buffer->ReadWriteChild(&decoding_time_to_sample) && buffer->TryReadWriteChild(&composition_time_to_sample) && buffer->ReadWriteChild(&sample_to_chunk) E0314 06:49:35.734856 10 box_reader.cc:99] Failure while processing: child->Parse(itr->second.get()) E0314 06:49:35.734877 10 box_definitions.cc:2323] Failure while processing: ReadWriteHeaderInternal(buffer) && buffer->PrepareChildren() && buffer->ReadWriteChild(&dinf) && buffer->ReadWriteChild(&sample_table) E0314 06:49:35.734896 10 box_reader.cc:99] Failure while processing: child->Parse(itr->second.get()) E0314 06:49:35.734917 10 box_definitions.cc:2394] Failure while processing: buffer->ReadWriteChild(&information) E0314 06:49:35.734954 10 box_reader.cc:99] Failure while processing: child->Parse(itr->second.get()) E0314 06:49:35.735001 10 box_definitions.cc:2413] Failure while processing: ReadWriteHeaderInternal(buffer) && buffer->PrepareChildren() && buffer->ReadWriteChild(&header) && buffer->ReadWriteChild(&media) && buffer->TryReadWriteChild(&edit) && buffer->TryReadWriteChild(&sample_encryption) E0314 06:49:35.735055 10 box_reader.h:149] Failure while processing: child_itr->Parse(itr->second.get()) E0314 06:49:35.735094 10 box_reader.h:132] Failure while processing: TryReadChildren(children) && !children->empty() E0314 06:49:35.735131 10 box_definitions.cc:2514] Failure while processing: reader->ReadChildren(&tracks) && reader->TryReadChild(&extends) && reader->TryReadChildren(&pssh) E0314 06:49:35.735166 10 mp4_mediaparser.cc:389] Failure while processing: moov->Parse(reader) E0314 06:49:35.735200 10 mp4_media_parser.cc:247] Error while parsing MP4 E0314 06:49:35.735339 7 packager_main.cc:625] Packaging Error: 8 (PARSER_FAILURE): Cannot parse media file /media/vvc_1080p_50fps.mp4



<Please attach the input files or email to shaka-packager-issues@google.com.>
<Please provide any additional information below.>
AUGxhub commented 3 months ago

Test file can be find via : https://dvb.org/specifications/verification-validation/vvc-test-content/