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

Invalid index value of Adaptation-set-switching #1479

Open
Jason239 opened this issue Feb 7, 2025 · 0 comments
Open

Invalid index value of Adaptation-set-switching #1479

Jason239 opened this issue Feb 7, 2025 · 0 comments

Comments

@Jason239
Copy link

Jason239 commented Feb 7, 2025

On Linux (CentOS, Ubuntu) versions, it was found that the value of the SupplementalProperty tag value of the adaptation-set-switching property was incorrect when packaging with multi-key. This value should only be set to the AdaptationSet id value of the other video track, but it's getting mismatched values, such as the Audio track's id value or its own id value.

Attach the commands used and the resulting packaged MPD file :

./packager --clear_lead 0 --enable_raw_key_encryption --keys label=AUDIO:key_id=3FDB1500D3EED2326806FEE0BDB61D8B:key=C86BED02117CDF16D679A5A549B3ACB7,label=HD:key_id=DAFC7EDD3D2D9014AF0231A081CB6F03:key=EBDF33EE1F39CAC1000B3485EDA26DBE,label=SD:key_id=9BFB3246BD3E97E2F073D814001AC751:key=74E39A2BF3EC8AB575EC78348FE987B1 --pssh 0000007A7073736800000000EDEF8BA979D64ACEA3C827DCD51D21ED0000005A080112103FDB1500D3EED2326806FEE0BDB61D8B1210DAFC7EDD3D2D9014AF0231A081CB6F0312109BFB3246BD3E97E2F073D814001AC7511A0C696E6B61656E74776F726B7322127368616B612D737570706F72742D74657374000003EC70737368000000009A04F07998404286AB92E65BE0885F95000003CCCC03000001000100C2033C00570052004D00480045004100440045005200200078006D006C006E0073003D00220068007400740070003A002F002F0073006300680065006D00610073002E006D006900630072006F0073006F00660074002E0063006F006D002F00440052004D002F0032003000300037002F00300033002F0050006C00610079005200650061006400790048006500610064006500720022002000760065007200730069006F006E003D00220034002E0033002E0030002E00300022003E003C0044004100540041003E003C00500052004F00540045004300540049004E0046004F003E003C004B004900440053003E003C004B0049004400200041004C004700490044003D0022004100450053004300540052002200200043004800450043004B00530055004D003D0022005A004400700047006B00740045006F004A004C004D003D0022002000560041004C00550045003D002200410042005800620050002B00370054004D0074004A006F0042007600370067007600620059006400690077003D003D0022003E003C002F004B00490044003E003C004B0049004400200041004C004700490044003D0022004100450053004300540052002200200043004800450043004B00530055004D003D0022003300490074006D0056002F004E003500640056006F003D0022002000560041004C00550045003D0022003300580037003800320069003000390046004A004300760041006A00470067006700630074007600410077003D003D0022003E003C002F004B00490044003E003C004B0049004400200041004C004700490044003D0022004100450053004300540052002200200043004800450043004B00530055004D003D0022007A0064007900730050006C003800480070002F0034003D0022002000560041004C00550045003D00220052006A004C0037006D007A0036003900340070006600770063003900670055004100420072004800550051003D003D0022003E003C002F004B00490044003E003C002F004B004900440053003E003C002F00500052004F00540045004300540049004E0046004F003E003C004C0041005F00550052004C003E00680074007400700073003A002F002F006C006900630065006E00730065002D0067006C006F00620061006C002E00700061006C006C00790063006F006E002E0063006F006D002F00720069002F006C006900630065006E00730065004D0061006E0061006700650072002E0064006F003C002F004C0041005F00550052004C003E003C002F0044004100540041003E003C002F00570052004D004800450041004400450052003E00 --generate_static_live_mpd --mpd_output '/shaka-support-test-centos/dash/stream.mpd' 'in=/content/demo/bbb/bbb_480p.mp4,stream=video,init_segment=/shaka-support-test-centos/dash/video/avc1/1/init.mp4,segment_template=/shaka-support-test-centos/dash/video/avc1/1/seg-$Number$.m4s,drm_label=SD' 'in=/content/demo/bbb/bbb_480p.mp4,stream=1,lang=eng,hls_name=eng_mp4a,init_segment=/shaka-support-test-centos/dash/audio/mp4a/eng_2ch/init.mp4,segment_template=/shaka-support-test-centos/dash/audio/mp4a/eng_2ch/seg-$Number$.m4s,drm_label=AUDIO' 'in=/content/demo/bbb/bbb_720p.mp4,stream=video,init_segment=/shaka-support-test-centos/dash/video/avc1/2/init.mp4,segment_template=/shaka-support-test-centos/dash/video/avc1/2/seg-$Number$.m4s,drm_label=HD' 'in=/content/demo/bbb/bbb_1080p.mp4,stream=video,init_segment=/shaka-support-test-centos/dash/video/avc1/3/init.mp4,segment_template=/shaka-support-test-centos/dash/video/avc1/3/seg-$Number$.m4s,drm_label=HD'

stream.mpd.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant