kiall / android-tvheadend

Android + TV Headend + TV Input Framework
Apache License 2.0
191 stars 61 forks source link

Audio/Video sync issues #252

Open markcs opened 6 years ago

markcs commented 6 years ago

I'm having problems with the sync when watching live TV. I think the issue starts when I see Continuity counter errors in my TVHeadend log ( MPEG2VIDEO @ #512 Continuity counter error).

My understanding is that this should not cause the audio and video to become out of sync, but it does. It don't see this if I stream using VLC.

danielloader commented 5 years ago

I've found this too, similar issues with continuity counter errors causing the audio to desync.

Other than this issue playback is far superior to playing it in plex via Antennas so that's frustrating - so close to being perfect.

2018-07-14 13:34:00.286 htsp: Got connection from 192.168.2.2
2018-07-14 13:34:00.289 htsp: 192.168.2.2: Identified as user 'admin' (unverified)
2018-07-14 13:34:00.289 htsp: 192.168.2.2 [ admin ]: Welcomed client software: org.tvheadend.tvhclient (HTSPv23)
2018-07-14 13:34:00.298 htsp: 192.168.2.2 [ admin | org.tvheadend.tvhclient ]: Identified as user 'admin'
2018-07-14 13:34:00.298 htsp: 192.168.2.2 [ admin | org.tvheadend.tvhclient ]: Privileges updated
2018-07-14 13:34:04.637 htsp: 192.168.2.2 [ admin | org.tvheadend.tvhclient ]: Disconnected
2018-07-14 13:35:13.905 htsp: 192.168.2.2 [ admin | org.tvheadend.tvhclient ]: Disconnected
2018-07-14 13:35:19.925 TS: test/490MHz/BBC ONE Lon: MPEG2VIDEO @ #101 Continuity counter error (total 2)
2018-07-14 13:40:14.758 epggrab: EIT: DVB Grabber - data completion timeout for 490MHz in test
2018-07-14 13:41:10.361 TS: test/490MHz/BBC ONE Lon Transport error indicator (total 6)
2018-07-14 13:41:10.361 TS: test/490MHz/BBC ONE Lon: MPEG2VIDEO @ #101 Continuity counter error (total 3)
2018-07-14 13:41:10.361 TS: test/490MHz/BBC ONE Lon: MPEG2AUDIO @ #102 Continuity counter error (total 1)
2018-07-14 13:47:25.560 TS: test/490MHz/BBC ONE Lon Transport error indicator (total 7)
2018-07-14 13:47:25.560 TS: test/490MHz/BBC ONE Lon: MPEG2VIDEO @ #101 Continuity counter error (total 4)
2018-07-14 13:47:25.560 TS: test/490MHz/BBC ONE Lon: MPEG2AUDIO @ #102 Continuity counter error (total 2)
2018-07-14 13:54:38.660 subscription: 0017: "192.168.2.12 [ livechannel | android-tvheadend (TV) ]" unsubscribing from "BBC ONE Lon", hostname="192.168.2.12", username="livechannel", client="android-tvheadend (TV)"

@TheDiamondPicks are you still working on this/fork?

TheDiamondPicks commented 5 years ago

Not at this stage sorry. I've moved from TVheadend to Plex, so I'm not really as focused on this, sorry. However I don't know much about ExoPlayer and video in general, so I doubt I could really do anything about it anyway.

danielloader commented 5 years ago

Fair enough, I would have moved too but my DVB sticks have no windows drivers (Xbox tuners at that), works well on linux and TVH though.

Can't move my plex install to linux as the quicksync experience on linux sucks quality wise. So bit stuck to use this as a bridging project. Hoping someone is able to maintain the project though.