opdenkamp/xbmc — Issue #265: Video/Audio freezes while playing DVB-S/2 and gets stuck at buffering 100%
Author: nemphys
Created: 2011-10-16 23:15:43+00:00
State: open

Never had this problem in the past and unfortunately cannot spot the time/commit this started to happen.
While watching any channel using my Skytar usb DVB-S2 tuner (does not happen while using another DVB-T tuner I have), at random times (can be between a few seconds to 10 minutes), the image and audio freeze and never come back until I press stop (when I chose to play the channel again, everything is fine until the same thing happens after a while).
I have been trying to figure out if it is a TVHeadend issue, but everything seems ok there. If I record (not view) the same channel, the recording is fine and without interruptions. Also, I tried watching the same channel in XBMC and in VLC at the same time and while VLC continued playing just fine, XBMC froze after a few minutes. Also, since I am usually watching encrypted channels (but this also happens with FTA channels), I notice that TVHeadend is successfully logging key entries while XBMC is frozen, so it seems that it is playing the stream fine.

The only thing that is logged by XBMC at the moment of the freeze is:

23:17:30 T:2851326832 INFO: CDVDPlayerVideo - Stillframe detected, switching to forced 25.000000 fps
23:17:30 T:2974800752 DEBUG: AddOnLog: Tvheadend HTSP Client: ParseChannelUpdate - id:1942, name:'(null)', icon:'(null)', event:58205
23:17:41 T:3010460528 DEBUG: video stream stalled. start buffering
23:17:41 T:3010460528 DEBUG: CDVDPlayer::SetCaching - caching state 2
23:17:41 T:3010460528 DEBUG: CDVDPlayer::HandleMessages - player started 1
23:17:41 T:3010460528 DEBUG: CDVDPlayer::HandleMessages - player started 2
23:17:41 T:4093760 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
23:17:41 T:4093760 DEBUG: Alloc resources: 0.23ms (0.01 ms skin load)
23:17:41 T:3010460528 WARNING: CDVDPlayer::CheckContinuity - resync forward :1, prev:28532795966.000000, curr:28545539966.000000, diff:12744000.000000

which is not really helpful.
Any ideas/fixes would be appreciated, this issue is KILLING ME.