square pixels when playing a video with DRM - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Android (https://forum.kodi.tv/forumdisplay.php?fid=164) +---- Thread: square pixels when playing a video with DRM (/showthread.php?tid=350092) Pages:
1
2
|
square pixels when playing a video with DRM - neuneu1 - 2019-12-14 Hello, TV Sony XG9505 with android TV 8.0.0 Kodi 18.5 addon : catch-up TV to watch french Live TV and replay Playing a video without DRM on a TV channel is no problem. When I play a video with DRM on the same channel, there are regularly square pixels on the image and distortion. I have no problem playing this video with DRM on an android tv 7.1.1.1 box with the same kodi and catch-up TV versions Is there a bug with the kodi player and/or inputstream.adaptive on android TV 8.0.0 ? Both devices are with widevine L1, I don't understand why it doesn't work well on Sony android TV. A log when i play video with DRM on Sony TV is here : https://paste.kodi.tv/ivuhifowun.kodi Thank you RE: square pixels when playing a video with DRM - neuneu1 - 2019-12-15 In this log (post #) i find : Code: 2019-12-14 16:16:49.344 T:13607 DEBUG: CPtsTracker: detected pattern of length 59: -120000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 40000.00 80000.00 160000.00, frameduration: 40000.000000 Code: 2019-12-14 16:17:05.110 T:13607 DEBUG: CPtsTracker: pattern lost on diff 160000.000000, number of losses 2 Code: 2019-12-14 16:17:13.407 T:13607 DEBUG: CPtsTracker: pattern lost on diff 80000.000000, number of losses 3 On android 7.1.1 box or with my smartphone android 8.1.0, i have only this line Code: 2019-12-14 16:17:03.879 T:13607 DEBUG: CPtsTracker: detected pattern of length 1: 40000.00, frameduration: 40000.000000 RE: square pixels when playing a video with DRM - fritsch - 2019-12-15 Jep - means your TV or whatever has a too slow chain, it looses the presentation time stamps, means it can be decoder or renderer issue - both suck on Sony TVs :-) - cheap mediatek devices. RE: square pixels when playing a video with DRM - fritsch - 2019-12-15 Quote:2019-12-14 16:17:00.474 T:13615 DEBUG: AddOnLog: InputStream Adaptive: Download https://das-q1-ssl.tf1.fr/2/USP-0x0/03/35/13680335/ssm/13680335wdv.ism/dash/13680335wdv-audio_fra=128000-4.m4s? finished, avg speed: 6490213.83byte/s, current speed: 3235463.00byte/sTry to reduce the max speed if possible, perhaps your device can cope with lower rate bistream RE: square pixels when playing a video with DRM - neuneu1 - 2019-12-15 Thank for your answer This is the box who is ok for video : Code: 2019-12-14 16:00:24.077 T:8890 NOTICE: ----------------------------------------------------------------------- I tried the add-on youtube (because it use inputstream.adaptive) with Sony video 4K on youtube The log is here : https://paste.kodi.tv/jexiyehire.kodi I read Code: DEBUG: AddOnLog: InputStream Adaptive: Download https://r10---sn-4gxx-25ge7.googlevideo.com/videoplayback?expire=1576436081&ei=ES32Xc6cBsKnxgK8ob-ICg&ip=2a01:e0a:21:71c0:f98d:520c:97f8:1e72&id=o-ALRsyeeU9lcK66eiRvh_PcWG-H-2MwBDCgso8a_7P275&itag=136&aitags=133,134,135,136,137,160,242,243,244,247,248,271,278,298,299,302,303,308,313,315,330,331,332,333,334,335,336,337,394,395,396,397,398&source=youtube&requiressl=yes&mm=31,29&mn=sn-4gxx-25ge7,sn-4gxx-25gel&ms=au,rdu&mv=m&mvi=9&nh=EAE,EAE&pl=48&initcwndbps=681250&mime=video/mp4&gir=yes&clen=28520458&dur=154.554&lmt=1575248046703576&mt=1576414336&fvip=10&keepalive=yes&fexp=23842630&c=WEB&txp=5532232&sparams=expire,ei,ip,id,aitags,source,requiressl,mime,gir,clen,dur,lmt&lsparams=mm,mn,ms,mv,mvi,nh,pl,initcwndbps&lsig=AHylml4wRQIgRLyhjk7fkpkcOFg9LVmsUWvcqR8OqII-Lo4qjK6ghF4CIQCoLpor9rpM33dyEdZ0poBGQzuRwx8-ZWrCiuKcCpB15g==&sig=ALgxI2wwRQIhAO17KiiAvgeiSBhPmtBUpR0d-FqdNhb_LIwg-B9o1bkEAiAFl4OifUP5cN2cp8XsUl4mu_S1C0Whfpz_9_aROJRCDQ== finished, avg speed: 9729591.00byte/s, current speed: 9729591.00byte/s Quote:Try to reduce the max speed if possible,How ? in inpustream configuration ? Thank you RE: square pixels when playing a video with DRM - fritsch - 2019-12-15 @peak3d Do you have an additional idea? RE: square pixels when playing a video with DRM - peak3d - 2019-12-17 (2019-12-15, 16:36)fritsch Wrote: @peak3d Do you have an additional idea? Jep, have heared of this issue on some devices. It normaly only occur if Video AND Audio are DRM encrypted, and that using one DRM session for both could lead to the issues. Idea would be to return false here: https://github.com/peak3d/inputstream.adaptive/blob/master/wvdecrypter/wvdecrypter_android_jni.cpp#L458 and retry. RE: square pixels when playing a video with DRM - neuneu1 - 2019-12-17 Yes i think it’s the problem In inputream.adaptive configuration, i select in General > Media : video And then the picture is ok without pixels but i have not sound ... Will an update solve this issue ? Thank you RE: square pixels when playing a video with DRM - neuneu1 - 2019-12-18 Or perhaps i can solve it with editing the file and write false line 458 ? Is it possible ? Where is the file ? Thank you RE: square pixels when playing a video with DRM - fritsch - 2019-12-18 It's source code. RE: square pixels when playing a video with DRM - neuneu1 - 2019-12-18 Ok sorry so I must waiting to have a kodi or android update Sony should send this android 9 update at the end of the year or beginning of next year I hope it will help to solve this problem. Thank you for your help and job RE: square pixels when playing a video with DRM - neuneu1 - 2019-12-23 Hello, Should I write an issue on inputstream.adaptive github for this problem ? Thank you RE: square pixels when playing a video with DRM - neuneu1 - 2020-01-03 Nobody knows if kodi 18.6 will fix this inputstream.adaptive bug? @peak3d ? Thank you RE: square pixels when playing a video with DRM - peak3d - 2020-01-05 I'll add an option for using separate drm sessions. Unfortunately drm initialization is currently single threaded, means that stream startup will be slow down. RE: square pixels when playing a video with DRM - neuneu1 - 2020-03-12 (2020-01-05, 14:44)peak3d Wrote: I'll add an option for using separate drm sessions. Unfortunately drm initialization is currently single threaded, means that stream startup will be slow down.Hello, Is this option with kodi 18.6 ? Update yesterday but i don’t find an option for using separate drm sessions. |