retrospect-addon / plugin.video.retrospect

Retrospect is a Kodi video add-on which allows you to watch streams of a number of free and publicly available online TV stream sites.
https://www.rieter.net/content/
GNU General Public License v3.0
113 stars 36 forks source link

Stievie : enkel live streams kunnen geopend worden #878

Closed basrieter closed 7 years ago

basrieter commented 7 years ago

Original report by Marc Ballegeer (Bitbucket: Brainnie, GitHub: Brainnie).


Dag Bas, Stievie programma's kunnen niet meer geopend worden, enkel de live streams zijn beschikbaar. ik heb de kodi.log en retrospect.log bijgevoegd. Vr groet Marc

basrieter commented 7 years ago

Original comment by Marc Ballegeer (Bitbucket: Brainnie, GitHub: Brainnie).


basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Indeed, it seems they are no longer allowing the non-encrypted streams. Let me check.

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Just go be sure: you are inside Belgium right?

basrieter commented 7 years ago

Original comment by Marc Ballegeer (Bitbucket: Brainnie, GitHub: Brainnie).


Yes I sure am

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


The unfortunately I think I am running out of options. I checked the URL's that come from the website:

So I am out of options for now. The error I get is this one:

#!json
{
  "error": {
    "message": "Global error",
    "code": 400,
    "errors": [
      {
        "domain": "global",
        "reason": "parseError",
        "message": "Error parsing master playlist at location [/data/watchv2/watch/videos/encrypted/] with error [Error: EISDIR: illegal operation on a directory, read]"
      }
    ]
  }
}

I really think they either stopped the streams from working on purpose, or something is wrong. Either way, contacting them and telling that Retrospect for Kodi is not working, will most definitely not motivate them to fix it, they might even stop things further. So I really don't know at the moment.

basrieter commented 7 years ago

Original comment by Marc Ballegeer (Bitbucket: Brainnie, GitHub: Brainnie).


Hi Bas , guess they have encrypted the hls streams then, bummer. Indeed no use knocking on their door. Thanks

basrieter commented 7 years ago

Original comment by Kris (Bitbucket: blowk, GitHub: blowk).


There seems to be a change. Also when I use it in a webbrowser on Linux system, it doesn't work.

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Interesting. I think that is something you can report to Stievie.be. So if you could do that and keep us updated. But I would not necessarily mention Retrospect (as stated previously)

basrieter commented 7 years ago

Original comment by Kris (Bitbucket: blowk, GitHub: blowk).


Hi Bas, I already reported it. When I have more info, I will let you know. It's only affecting Linux (not Android) and maybe Chromebooks for now.

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Hopefully Linux uses the M3U8 streams that I used.

basrieter commented 7 years ago

Original comment by bandit_s (Bitbucket: bandit_s, ).


Is er hoop voor stievie terug werkend te krijgen als Leia wordt uitgebracht? Zal deze geen geëncrypteerde MPEG dash ondersteunen?

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Wellicht dat het dan wel gaat werken, maar dat zal de tijd moeten uitwijzen. Ik hoop nog steeds op een oplossing voor Linux (waar ook de website niet op werkt).

basrieter commented 7 years ago

Original comment by bandit_s (Bitbucket: bandit_s, ).


Mijn testpc draait op ubuntu 16.04 (amd64). Vroeger was het enkel mogelijk om met chrome te kijken. Met firefox kreeg je de melding dat je beter chrome installeert. Ik heb het nu nog eens getest met firefox 54 en het lukt ook om te kijken. Maar ik heb wel gezien dat de website iets gevraagd heeft om drm aan te leggen ofzo en daarna is de website herstart en heeft firefox nog enkele zaken moeten downloaden. Dus zullen ze waarschijnlijk nooit die oude streams terugzetten. Voorlopig kijken we gewoon via de site.

basrieter commented 7 years ago

Original comment by Kris (Bitbucket: blowk, GitHub: blowk).


I've did tested it on Firefox 54, but the same issue like on Chrome (using Intel CPU). It still doesn't work. They reported that I could take some time to fix this...

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


We will keep an eye out and let me know if something changes.

basrieter commented 7 years ago

Original comment by Kris (Bitbucket: blowk, GitHub: blowk).


Hmm, it is working again on Linux with Chrome. Only with retrospect it deosn't work.

They working on a new player. When viewing content on vtm.be with Retrospect, it does work, but on Stievie not. This is maybe due the encrypted streams that can be handled with Kodi. Can anyone confirm this?

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Could you provide me a HAR file using the Chrome Developer tools?

in the developer tools you should have seen a lot of requests come by. Right click and select save as HAR with content. Attach that file here.

basrieter commented 7 years ago

Original comment by bandit_s (Bitbucket: bandit_s, ).


on 16.04 chome 60.031....

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


They moved to encrypted DASH streams. These are not supported by Kodi yet, unfortunately. So for now, I can't fix this. Shall I remove the videos for now and just leave the live stream?

basrieter commented 7 years ago

Original comment by Kris (Bitbucket: blowk, GitHub: blowk).


Sorry Bas, a was away for a few days. Thanks for looking into it. Maybe it's better to remove it for now. It's better to show working links, no?

Thanks again for the hard work that you put in the plugin!

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Removed: all Stievie.be videos as they moved to encrypted DASH which is not supported by Kodi (See #878)

(cherry picked from commit 545d05c)

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Removed: all Stievie.be videos as they moved to encrypted DASH which is not supported by Kodi (See #878)

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Updates rolling out over the next 6 hours: https://www.rieter.net/content/2017/08/21/net-rieter-xot-channel-be-4-1-6-3/

basrieter commented 7 years ago

Original comment by bandit_s (Bitbucket: bandit_s, ).


Ik heb gezien dat ze, bij het uitbrengen van kodi 17.4, ook inputstream.adaptive naar 2.0.10 versie geüpdatet hebben (voor windows, de ppa is nog achter). Voor zover ik het begrijp zou het daarmee moeten lukken om de geëncrypteerde steams te tonen? Ik zie dat onder windows de ssd_wv.dll al gemaakt is dus deze stap kan worden overgeslagen. wvdecrypter Waarschijnlijk moet de widevinecdm.dll nog handmatig gekopieerd worden maar dat zal waarschijnlijk zo blijven. Mss kunt u een vermelding maken hiervan bij de instellingen waar je de inloggegevens moet invullen? Blijkbaar moet er een strm file gemaakt worden? inputstream.adaptive Hoe het juist moet gaat mijn petje te boven. Mss weet u raad?

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Volgens mij zit het nog niet in Kodi zelf, maar kan het wel:

inputstream.mpd is part of the official kodi repository and has not to be build. wvdecrypter NOT! comes together with the inputstream.mpd source code because of the interface files wich are necessary for compiling wvdecrypter. Beside this the Bento4 library wich comes with inputstream.mpd already has some other cenc decrypter implementations (e.g. clearkey) and can be implemented easily.

Maar buiten dat ze een stuk op weg zijn er nog steeds 3rd party software nodig is, ligt Retrospect even stil: https://www.rieter.net/content/

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Fixed: Stievie.be streams could not be played. CAUTION: this requires Kodi 18.x Nightly Builds (Fixes #878)

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


With Kodi 18.x it should be possible to use the Dash encoded streams.

However, you will need a very recent Kodi Nightly and Kodi needs to have the correct widevine files copied to Kodi's cdm folder:

Linux x86/Raspberry Pi

Use at own risk: curl -Ls http://nmacleod.com/public/libreelec/getwidevine.sh | bash

Windows

Install a 32-bit web browser such as Google Chrome (Chrome by defaults install 64 bit on 64 OS-es), search your system for widevinecdm.dll and copy the file to Kodi\cdm.

Android

Should work out-of-the-box!

basrieter commented 7 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Fixed: Stievie.be streams could not be played. CAUTION: this requires Kodi 18.x Nightly Builds (Fixes #878)

basrieter commented 6 years ago

Original comment by bandit_s (Bitbucket: bandit_s, ).


basrieter commented 6 years ago

Original comment by bandit_s (Bitbucket: bandit_s, ).


basrieter commented 6 years ago

Original comment by bandit_s (Bitbucket: bandit_s, ).


Is this still working?

I had some problems for getting the right widevine. Kodi 64 bit needs widevine 64 bit and the latest version included in chrome doesn’t work apparently. I read it on some forum. I get this error in my kodi log:

20:19:47.156 T:2332 NOTICE: VideoPlayer::OpenFile: https://vod-drm.medialaancdn.be/2018/02/19/257541328780000/1519048172/dash/drm/castlabs/Manifest.mpd

20:19:47.156 T:4008 NOTICE: Creating InputStream

20:19:48.821 T:4008 ERROR: AddOnLog: InputStream Adaptive: License update not successful (no keys)

20:19:48.821 T:4008 ERROR: AddOnLog: InputStream Adaptive: Initialize failed (SingleSampleDecrypter)

20:19:48.824 T:4008 ERROR: CVideoPlayer::OpenInputStream - error opening [https://vod-drm.medialaancdn.be/2018/02/19/257541328780000/1519048172/dash/drm/castlabs/Manifest.mpd]

20:19:48.824 T:4008 NOTICE: CVideoPlayer::OnExit()

Retrospec log attached.

I had to manually download the widevine lib. I found that there is an official addon now that can be called by another plugin, like yours to install it at first run. https://kodi.wiki/view/Add-on:InputStream_Helper https://github.com/emilsvennesson/script.module.inputstreamhelper

basrieter commented 6 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


I tried it with my 32bit latest nightly and it all works fine.

basrieter commented 6 years ago

Original comment by bandit_s (Bitbucket: bandit_s, ).


I did a retest monday and with the latest kodi 64 bit and widevine 970 (64 bit) i got it to work ( https://hg.mozilla.org/mozilla-central/raw-file/31465a03c03d1eec31cd4dd5d6b803724dcb29cd/toolkit/content/gmp-sources/widevinecdm.json ). (The cdm folder has to be direct under appdata/roaming/kodi and not in the userdata folder. And inputadaptive plugin has to be activated)

basrieter commented 6 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


That is good to hear!

basrieter commented 6 years ago

Original comment by Marc Ballegeer (Bitbucket: Brainnie, GitHub: Brainnie).


tried it on 2 different android devices and it's still not working ( both devices don't have widevine level 1 ). Are there any additional actions needed ?

basrieter commented 6 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


You will need a very recent Kodi Nightly. What version did you try?

basrieter commented 6 years ago

Original comment by Marc Ballegeer (Bitbucket: Brainnie, GitHub: Brainnie).


I've installed a very recent nightly kodi-20180504-74ebeb38-master-armeabi-v7a.apk

basrieter commented 6 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


So please also install the latest Retrospect, enable Retrospect debug logging, try playback of a Stievie video and use the build-in Retrospect logfile uploader to get a logfile.

basrieter commented 6 years ago

Original comment by Marc Ballegeer (Bitbucket: Brainnie, GitHub: Brainnie).


https://pastebin.com/ucz7ZePu

basrieter commented 6 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


So Retrospect is sending the right stream data to Kodi. You will need to investigate your Kodi log.

basrieter commented 6 years ago

Original comment by Marc Ballegeer (Bitbucket: Brainnie, GitHub: Brainnie).


kodi.log :

https://mega.nz/#!ZB9yzYDZ!9OM5ttt6At2pQOa-eHCu4larY7z9uO-dJgEAQE9jcq4

basrieter commented 6 years ago

Original comment by Marc Ballegeer (Bitbucket: Brainnie, GitHub: Brainnie).


please do not investigate on this any further, I tried the same constellation on a device which supports widevine L1 and all is fine.

basrieter commented 6 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


There is also an issue with some headers not being passed on to ffmpeg. But thanks for letting me know.

basrieter commented 6 years ago

Original comment by Marc Ballegeer (Bitbucket: Brainnie, GitHub: Brainnie).


Hi has Are you talking about the following issue? I am not getting any audio when watching stievie on Jodi android. Kodi.log19:40:30.275 T:18446744072751548704 DEBUG: CurlFile::ParseAndCorrectUrl() adding custom header option 'connection: keep-alive' 19:40:30.275 T:18446744072751548704 DEBUG: CurlFile::Open(0xc4188f80) https://vod-drm.medialaancdn.be/2018/06/06/caz_20180606_VM0725418_Stievie_free/1528280566/dash/drm/castlabs/BB_2.mp4 19:40:30.304 T:18446744072751548704 DEBUG: AddOnLog: InputStream Adaptive: Download https://vod-drm.medialaancdn.be/2018/06/06/caz_20180606_VM0725418_Stievie_free/1528280566/dash/drm/castlabs/BB_2.mp4 finished, average download speed: 20.2122 19:40:30.305 T:18446744072751548704 DEBUG: AddOnLog: InputStream Adaptive: UpdateSampleDescription: codec 1/836069985 19:40:30.306 T:18446744072751548704 DEBUG: AddOnLog: InputStream Adaptive: GetStream(2) 19:40:30.306 T:18446744072751548704 DEBUG: AddOnLog: InputStream Adaptive: GetStream(2): initalizing crypto session 19:40:30.307 T:18446744072751548704 DEBUG: CDVDDemuxClient::RequestStream(): added/updated stream 2 with codec_id 86018 19:40:30.307 T:18446744072751548704 NOTICE: Finding audio codec for: 86018 19:40:30.307 T:18446744072751548704 DEBUG: CDVDAudioCodecAndroidMediaCodec::Open codec(86018), profile(-99), tag(0), extrasize(2) 19:40:30.310 T:18446744072751548704 DEBUG: CDVDAudioCodecAndroidMediaCodec::Open Initializing MediaCrypto 19:40:30.325 T:18446744072751548704 ERROR: CDVDAudioCodecFFmpeg::Open() CryptoSessions unsuppoted! 19:40:30.326 T:18446744072751548704 ERROR: CDVDAudioCodecAndroidMediaCodec::Open() Failed opening FFmpeg decoder 19:40:30.326 T:18446744072751548704 ERROR: CDVDAudioCodecFFmpeg::Open() CryptoSessions unsuppoted! 19:40:30.326 T:18446744072751548704 ERROR: Unsupported audio codec 19:40:30.327 T:18446744072751548704 WARNING: OpenStream - Unsupported stream 2. Stream disabled.

basrieter commented 6 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


Please attach the full kodi log. Don't copy paste.

basrieter commented 6 years ago

Original comment by Marc Ballegeer (Bitbucket: Brainnie, GitHub: Brainnie).


of course, sorry ... https://mega.nz/#!MckzHKqR!I3bsqeEwl7vnrBhDG-5yKId3SthXpZjxKcj5bxv4Yl0

basrieter commented 6 years ago

Original comment by Bas Rieter (Bitbucket: basrieter, GitHub: basrieter).


This log does not include any playback. Please enable debug logging for both Retrospect and Kodi, then try to playback an item that does not work OK an attach the 2 logfiles here (you can use the more->attach files options at the right top of this page to attach files here.