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

Audio "partially" working #130

Closed
olavopeixoto opened this issue Mar 20, 2018 · 11 comments
Closed

Audio "partially" working #130

olavopeixoto opened this issue Mar 20, 2018 · 11 comments

Comments

@olavopeixoto
Copy link

olavopeixoto commented Mar 20, 2018

Hi,
I have a film provider with HLS widevine DRM that is showing the following behaviour on my Shield TV / Fire TV:

  1. I set the inputstream.adaptive settings to "manual"

  2. start the film with lowest bandwidth and it works ok, video and audio.

  3. resolution is too low so I change it to a higher one, then the audio is gone and I get video only.

  4. If I change the resolution to a higher one but not too high, it may work with audio, but then if, for some reason, it buffers a bit the audio is gone again.

  5. If I leave inputstream.adaptive setting to "auto" it starts the film in the highest resolution with video only, no audio.

I'm not sure if this is an issue in the add-on or in Kodi itself or even if it's platform dependent.
Please let me know what, if anything, I can provide to try to troubleshoot this issue.
The provider needs subscription and is geoblocked.

Thank you

@raoulbhatia
Copy link

I have some audio issues with some German movies from Studio Canal Germany that I'd like to stream via Amazon Prime as well.

Let me know if this is related and if there is any debug information that I can provide.

@peak3d
Copy link
Contributor

peak3d commented Mar 29, 2018

@olavopeixoto debug log (without component logging enabled) is mandatory :-)

@olavopeixoto
Copy link
Author

olavopeixoto commented Mar 29, 2018

Apologise for that. Here it is:

kodi.log

In this particular case the audio remains fine until I change to this resolution:

18:45:10.016 T:138911102032 DEBUG: CDVDVideoCodecAndroidMediaCodec:: width(640), height(368), stride(640), slice-height(368), color-format(262)

After that the audio is muted even if I downgrade the resolution back to the lowest one.

@peak3d
Copy link
Contributor

peak3d commented May 18, 2018

@olavopeixoto Is this Live TV? Seems that seek pos after switch gets after now().

18:45:20.688 T:138936738896 ERROR: AddOnLog: InputStream Adaptive: Download https://drmvodstreaming01a.video.globo.com/r90_720/v0/ea/23/67/6375105_6716bffd9ee8a01a49919e0b3609212834538366/6375105-manifest.ism/dash/6375105-manifest-audio=128000-1764352.dash doesn't provide any data: invalid

This is the end of Audio

@olavopeixoto
Copy link
Author

No, this is not Live it is a film (VOD).

Any idea why it could be invalid? This very same url plays fine if I use the native android player.
Also if I switch back to a previously working audio stream, shouldn't it play normally? it seems it crashes the audio renderer or something, but video stays fine.

@peak3d
Copy link
Contributor

peak3d commented May 23, 2018

@olavopeixoto there have been recent changes regarding android / audio in kodi.
Can you pls. retry? If this is not working, you can consider PM'ing me the addon /strm file + credentials and I can try to play using my VPN

@olavopeixoto
Copy link
Author

Hi @peak3d, the issue still the same using the latest nightly (kodi-20180522-7bc0f452-master-arm64-v8a.apk). It has not been fixed.
I'll PM you the details so you can test yourself but this is a Brazilian service you'll need a VPN to Brazil in order to test it.

@olavopeixoto
Copy link
Author

I found a similar issue with an open stream. If you try this url https://streaming-live.rtp.pt/liverepeater/rtp1HD_FPS.smil/manifest.mpd using the manual bandwidth selection it will cut the audio once you change to a higher bitrate.
In addition, this url has a bigger issue as it only works for 1min in Kodi, it stops after that.

it works fine in VLC though.

Here is the manifest: https://pastebin.com/FBYuFc1m

The error in Kodi log:

02:51:39.366 T:123145544482816   ERROR: CCurlFile::Open failed with code 404 for https://streaming-live.rtp.pt/liverepeater/rtp1HD_FPS.smil/chunk_ctaudio_cfm4s_ridp0aa0br96000_cs66546038815_mpd.m4s|Referer=http%3a%2f%2fwww.rtp.pt%2fplay&acceptencoding=gzip%2c%20deflate&connection=keep-alive&seekable=0:
02:51:39.366 T:123145544482816   ERROR: AddOnLog: InputStream Adaptive: Download https://streaming-live.rtp.pt/liverepeater/rtp1HD_FPS.smil/chunk_ctaudio_cfm4s_ridp0aa0br96000_cs66546038815_mpd.m4s doesn't provide any data: invalid

@peak3d
Copy link
Contributor

peak3d commented Jun 1, 2018

This stream must be run with inputstream.adaptive.manifest_update_parameter=full property because the provided timings are not correct (frame durations differ from real clock durations)

But: there has been an issue with the update of those segments -> changes are pushed.

@olavopeixoto
Copy link
Author

olavopeixoto commented Jun 6, 2018

I've tested with latest nightly (kodi-20180605-23261e1a-master-x86_64.dmg), the issue with the open stream (https://streaming-live.rtp.pt/liverepeater/rtp1HD_FPS.smil/manifest.mpd) is fixed but I'm still experiencing issue with the original DRM private stream. Here is the mpd manifest if it helps:

https://pastebin.com/YgahhfnJ

I am using the property you mentioned for both streams.

setProperty('inputstream.adaptive.manifest_update_parameter', 'full')

@peak3d
Copy link
Contributor

peak3d commented Jun 8, 2018

@olavopeixoto if its VOD manifest_update_parameter should not be used.
Unfortunately I'm unable to find your PM with account settings so reproduction is not possible for me.

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

4 participants