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

Error decrypting vp9 video #573

Open
sarvottam99 opened this issue Dec 27, 2024 · 2 comments
Open

Error decrypting vp9 video #573

sarvottam99 opened this issue Dec 27, 2024 · 2 comments

Comments

@sarvottam99
Copy link

sarvottam99 commented Dec 27, 2024

When downloading this mpd containing vp9 codec video i came across this issue -
The downloaded video is not playable.

N_m3u8DL-RE "https://vhoichoi.viewlift.com/Renditions/20241226/1735202131685_tekka_movie/dash/1735202131685_tekka_movie.mpd" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0" -H "Accept: /" -H "Origin: https://www.hoichoi.tv" -H "Referer: https://www.hoichoi.tv/" --key 06096b2215a6463f951b6e687b87c0cf:ff66b86ebabe06b2f3301eb3601d9ad9 --use-shaka-packager -M format=mkv


23:50:07.421 INFO : Decrypting using SHAKA_PACKAGER...
23:50:09.164 WARN : 1735202131685_tekka_movie_2024-12-27_23-48-27.mp4
23:50:09.165 WARN : 1735202131685_tekka_movie_2024-12-27_23-48-27.und.m4a
23:50:09.165 WARN : Muxing to 1735202131685_tekka_movie_2024-12-27_23-48-27.MUX.mkv
23:50:09.223 WARN : [vp9 @ 0000021ee769db00] Invalid frame marker
23:50:09.225 WARN : Last message repeated 119 times
23:50:09.225 WARN : [matroska,webm @ 0000021ee7689540] Could not find codec parameters for stream 0 (Video: vp9 (Profile
0), none, 1920x1080): unspecified pixel format
23:50:09.226 WARN : Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
23:51:13.870 WARN : Cleaning files...
23:51:13.981 WARN : Rename to 1735202131685_tekka_movie_2024-12-27_23-48-27.mkv
23:51:13.983 INFO : Done

@CrymanChen
Copy link

Have you tried shaka-packager?
shaka-packager.exe in=1735202131685_tekka_movie_2024-12-27_23-48-27.mp4,stream=video,out=1735202131685_tekka_movie_decrypted.mp4 --enable_raw_key_decryption --keys key_id=06096b2215a6463f951b6e687b87c0cf:key=ff66b86ebabe06b2f3301eb3601d9ad9

@sarvottam99
Copy link
Author

yes shaka packager is unable to parse it.
packager input="tekka.mp4",stream=video,output=video.mp4 --enable_raw_key_decryption --keys key_id=06096b2215a6463f951b6e687b87c0cf:key=ff66b86ebabe06b2f3301eb3601d9ad9
I1227 18:13:42.343788 19820 demuxer.cc:94] Demuxer::Run() on file 'tekka.mp4'.
I1227 18:13:42.345109 19820 demuxer.cc:160] Initialize Demuxer for file 'tekka.mp4'.
E1227 18:13:47.820970 16856 packager_main.cc:628] Packaging Error: 8 (PARSER_FAILURE): Cannot parse media file tekka.mp4

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

2 participants