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

Zattoo HLS5 live stream: Large audio sync error #363

Closed
sunsettrack4 opened this issue Dec 17, 2019 · 3 comments
Closed

Zattoo HLS5 live stream: Large audio sync error #363

sunsettrack4 opened this issue Dec 17, 2019 · 3 comments

Comments

@sunsettrack4
Copy link

sunsettrack4 commented Dec 17, 2019

Good day,

I'm working on a solution to watch Zattoo live streams via IPTV Simple Client. In Kodi 19, the support for the inputstream.adaptive addon has been added for IPTV Simple PVR. Unfortunately, the most streams do not start with audio properly. After a few seconds of video playback without audio, the screen gets black, then the stream starts correctly.

The .m3u8 file provides separated video and audio segments.
Example: https://streams.wilmaa.com/m3u8/get?channelId=pro7_ch_hd&profile=8

Log:
kodi.log

Important lines:

2019-12-17 20:54:57.856 T:18186 WARNING: ActiveAE - large audio sync error: 5610.252719
2019-12-17 20:54:57.856 T:18186 WARNING: ActiveAE - large audio sync error: 5610.010166
2019-12-17 20:54:57.856 T:18186 WARNING: ActiveAE - large audio sync error: 5609.735996
2019-12-17 20:54:57.857 T:18186 WARNING: ActiveAE - large audio sync error: 5608.926064
2019-12-17 20:54:57.866 T:18186 WARNING: ActiveAE - large audio sync error: 5574.110960
2019-12-17 20:54:57.866 T:18186 WARNING: ActiveAE - large audio sync error: 5600.603388
2019-12-17 20:54:57.866 T:18186 WARNING: ActiveAE - large audio sync error: 5600.570348
2019-12-17 20:54:57.952 T:18186 WARNING: ActiveAE - large audio sync error: 5572.781985
2019-12-17 20:54:57.953 T:18186 WARNING: ActiveAE - large audio sync error: 5603.367651
2019-12-17 20:54:57.980 T:18533   DEBUG: CDVDClock::SetSpeedAdjust - adjusted:0.000000
2019-12-17 20:54:58.072 T:18186 WARNING: ActiveAE - large audio sync error: 5550.173988
2019-12-17 20:54:58.072 T:18186   DEBUG: ActiveAE::SyncStream - average error of 5000.000000, start adjusting
2019-12-17 20:54:58.072 T:18186 WARNING: ActiveAE - large audio sync error: 5589.581280
2019-12-17 20:54:58.072 T:18186 WARNING: ActiveAE - large audio sync error: 5549.539665
2019-12-17 20:54:58.190 T:18186 WARNING: ActiveAE - large audio sync error: 5447.126801
2019-12-17 20:54:58.190 T:18186 WARNING: ActiveAE - large audio sync error: 5470.685291
2019-12-17 20:54:58.190 T:18186 WARNING: ActiveAE - large audio sync error: 5430.644093
2019-12-17 20:54:58.191 T:18537   DEBUG: AddOnLog: InputStream Adaptive: Download https://zba8-1-hls5-live.zahs.tv/HD_pro7_schweiz/f_track_video_ts_1576612468000_bw_4799000_d_4000_num_0.ts?z32=MNZWSZB5GE2UKMJUGBBDIOJVG42DGOKCHEWTSQRSGUYUKNRWGNATKMZUGZBSM3LBPBZGC5DFHU2TAMBQEZXGC5DJOZST2NJQGAYCM5LTMVZF62LEHV3WS3DNMFQV653JNRWWCYJGOY6TAJTTNFTT2MJXL44WEOBXGZRDQMBVGM4TINZRGVSDOM3GGFSDQMBTGBQWGNBXMRSWM finished, avg speed: 1072979.00byte/s, current speed: 1072979.00byte/s
2019-12-17 20:54:58.274 T:18533   DEBUG: Stream stalled, start buffering. Audio: 27 - Video: 100

I hope that a solution can be found - if you need more information about the .m3u8 files, just let me know :)

@dagwieers
Copy link
Contributor

Can you try pausing and unpausing briefly at the start? We have seen a similar issue for some streams, and pausing/unpausing seems to help.

You could also try the new upcoming v2.4.3 release from #387

@glennguy
Copy link
Contributor

@sunsettrack4 is this issue still current?

@glennguy glennguy closed this as completed Jun 9, 2021
@rafhtl
Copy link

rafhtl commented Dec 3, 2021

Hi I still have this issue and cannot get rid of the logs filling my kodi.log
can you please help
....
ActiveAE - large audio sync error: -97349.825638
2021-12-03 17:39:42.803 T:3818 INFO : CAESinkPi:AddPackets Underrun (delay:0.00 frames:1102)
2021-12-03 17:40:20.135 T:3817 WARNING : ActiveAE - large audio sync error: -97354.769639
2021-12-03 17:40:33.079 T:3818 INFO : CAESinkPi:AddPackets Underrun (delay:0.00 frames:1102)
2021-12-03 17:41:36.050 T:3817 WARNING : ActiveAE - large audio sync error: -97356.988366
2021-12-03 17:42:41.846 T:3817 WARNING : ActiveAE - large audio sync error: -97354.205110
2021-12-03 17:43:52.303 T:3818 INFO : CAESinkPi:AddPackets Underrun (delay:0.00 frames:1102)
2021-12-03 17:43:58.781 T:3817 WARNING : ActiveAE - large audio sync error: -97350.453401
2021-12-03 17:45:28.858 T:3817 WARNING : ActiveAE - large audio sync error: -97344.136917
2021-12-03 17:47:12.810 T:3818 INFO : CAESinkPi:AddPackets Underrun (delay:0.00 frames:1102)
2021-12-03 17:47:13.260 T:3817 WARNING : ActiveAE - large audio sync error: -97357.282744
2021-12-03 17:47:14.566 T:3817 WARNING : ActiveAE - large audio sync error: -1064.879871
2021-12-03 17:47:14.566 T:3817 WARNING : ActiveAE - large audio sync error: -1064.867274
2021-12-03 17:47:14.566 T:3817 WARNING : ActiveAE - large audio sync error: -1065.855900
2021-12-03 17:47:14.566 T:3817 WARNING : ActiveAE - large audio sync error: -1064.844728
2021-12-03 17:47:14.567 T:3817 WARNING : ActiveAE - large audio sync error: -1064.833260
2021-12-03 17:47:14.567 T:3817 WARNING : ActiveAE - large audio sync error: -1065.822683
2021-12-03 17:47:14.567 T:3817 WARNING : ActiveAE - large audio sync error: -1065.810659
2021-12-03 17:47:14.568 T:3817 WARNING : ActiveAE - large audio sync error: -1064.800321
2021-12-03 17:47:14.588 T:3817 WARNING : ActiveAE - large audio sync error: -1089.742857
2021-12-03 17:47:14.613 T:3817 WARNING : ActiveAE - large audio sync error: -1090.795636
2021-12-03 17:47:14.638 T:3817 WARNING : ActiveAE - large audio sync error: -1090.714336
2021-12-03 17:47:14.663 T:3817 WARNING : ActiveAE - large audio sync error: -1089.734983

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