-
Notifications
You must be signed in to change notification settings - Fork 47
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
[video_player_videohole] Problem playing widevine #599
Comments
@MasterSon05 Please share your device info: Menu->Support-> About this TV --> Software Version |
@MasterSon05 , I checked this problem on my TV, the cenc mpeg dash content works well, and cbcs mpeg dash content can not be played.
|
Hi, Device tested: UE43BU8072UXXH (2022 TV, basic model) Does not work at all with either CBCS or CENC encrypted widevine for newer shaka packager
Works fine with both CBCS and CENC encrypted widevine for older shaka packager:
Clear stream packaged with and shaka packager:
How were the test samples made:
bash script package_wv:
|
Software Version: T-KSU2EBDEUC-1403.6, BT-S |
@MasterSon05 , about widevine https://storage.googleapis.com/wvmedia/cbcs/h264/tears/tears_aes_cbcs.mpd, I tested it on T-KSU2EBAKUC-0113.12 which version is near T-KSU2EBDEUC-1403.6, this problem can be reproduced, the widevine can be played a moment and stopped. I checked the platform log, there is a decryption error of platform player. Currently we use mmplayer to implement video_player_videohole, I tried to use plusplayer and this widevine can be played successfully. |
@delacko , I tested the samples which you provided, HLS samples are same as you saied, the encrypted widevine which generated by shaka packager 2.5/2.6 can not be played. But the MPEG dash samples has some problems, all MPEG dash samples can not be played by shaka player and video_player_videohole. |
When I get a build with a partner certificate, I can play the videos in the example application without any problems. |
@wanchao-xu you should use this proxy when playing: https://cwip-shaka-proxy.appspot.com/no_auth So the url https://license.uat... is the url you pass to shaka packager in command line argument --key_server_url Both of these are always available as they are widevine's public test resources. Those samples of content I made will work only with this public widevine proxy using widevine provider widevine_test. (if you have a private widevine proxy it will not work) How to play widevine samples:
Example of combination that works: Example of combination that does not work: |
@delacko I'm sorry that for now we can't support shaka packager 2.5.1 or higher, since there is some difference in fmp4 segments. We may support this in the future, if you really need this feature in your product, please send me mail to talk about this([email protected]). |
@xuelian-bai do you have any details on what changed in mp4 between shaka packager 2.4 and 2.5+ (ie. if you know some mp4 box information missing, or similar problem). If we knew this information I believe we could patch shaka packager 2.6 to make this work. 2.4.x was stopped being developed in 2020. Most encoder companies and all almost all small companies using vod and live on widevine use shaka packager to package their content for widevine, so I expect we will see see this problem very often. We also tried to encrypt content for widevine with mp4encrypt (from bento4 project) - it is also working fine for widevine on all other devices but not on Samsung. My guess is that a lot of Widevine packagers out there are not compatibile with fltuter-tizen widevine player. For us this means that for all project requiring widevine we need to use HTML app with hls.js for Samsung TVs and cannot go with much faster and nicer app using flutter-tizen. |
hmm. Now I know about the situation, as you know, this issue couldn't be fixed in flutter-tizen plugin side, we need to talk with platform team about this, I will get back to you then. |
Hi,all! |
Hello, thank you for the fix. When does the prediction become testable? Will you also add plusplayer to the videohole plugin or will there be a new plugin like video_player_plusplayer? |
Hi, plusplayer will be added to video_player_videohole this week or next week, and the you can test~ |
@MasterSon05 @delacko |
Hello @AUGxhub
contents: |
Problem playing widevine.
What works:
works fine - cenc mpeg dash content with public proxy
content https://storage.googleapis.com/wvmedia/cenc/h264/tears/tears_uhd.mpd
proxy https://proxy.uat.widevine.com/proxy?provider=widevine_test
works partialy - cbcs mpeg dash content with public proxy - it starts playing but it stops after some tim
content https://storage.googleapis.com/wvmedia/cbcs/h264/tears/tears_aes_cbcs.mpd
proxy https://proxy.uat.widevine.com/proxy?provider=widevine_test
doesnt't work
any widevine encrypted content created with shaka packager (which plays fine in shaka player web and on android)
cbcs not working
cenc not work
both mpd and HLS not working
How did we test:
create content by using shaka packager
put content on web
play it in shaka player demo (web browser)
play it on android
play it on tizen
ie. cd /var/www/html
package_wv /tmp/path/to/clear/mp4/video.mp4 ./video-encrypted
It will create both .m3u8 and .mpd files you can play over browser using above mentioned hls player
The text was updated successfully, but these errors were encountered: