TV channel Play with delay....

  • Kodi take few seconds to play (load) PVR TV channel after the selecting channel.

    I use PVR simple client as a PVR addons and the multicast stream come from Digicast (DMB-8820 H.264 HD) Encoder via Gigabit LAN network.

    My windows PC kodi and wetek Hub kodi receive same encoder IP output. I can see same log error for both kodi version.

    I wont to minimize channel loading time. Please advice me....

    Here is an extract of a log file..

    DEBUG: Loading settings for pvr://channels/tv/All channels/pvr.iptvsimple_178879948.pvr
    06:29:29.407 T:547978477008 DEBUG: CPlayerCoreFactory::GetPlayers(pvr://channels/tv/All channels/pvr.iptvsimple_178879948.pvr)
    06:29:29.407 T:547978477008 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
    06:29:29.407 T:547978477008 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
    06:29:29.407 T:547978477008 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
    06:29:29.407 T:547978477008 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
    06:29:29.407 T:547978477008 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
    06:29:29.407 T:547978477008 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
    06:29:29.407 T:547978477008 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
    06:29:29.407 T:547978477008 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
    06:29:29.407 T:547978477008 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
    06:29:29.407 T:547978477008 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
    06:29:29.407 T:547978477008 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
    06:29:29.407 T:547978477008 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
    06:29:29.408 T:547978477008 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
    06:29:29.408 T:547978477008 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (VideoPlayer)
    06:29:29.408 T:547978477008 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
    06:29:29.408 T:547978477008 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
    06:29:29.408 T:547978477008 DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
    06:29:29.408 T:547978477008 NOTICE: CVideoPlayer::CloseFile()
    06:29:29.408 T:547978477008 NOTICE: VideoPlayer: waiting for threads to exit
    06:29:29.408 T:547961684192 NOTICE: CVideoPlayer::OnExit()
    06:29:29.408 T:547961684192 NOTICE: Closing stream player 1
    06:29:29.408 T:547961684192 NOTICE: Waiting for audio thread to exit
    06:29:29.416 T:545804808416 NOTICE: thread end: CVideoPlayerAudio::OnExit()
    06:29:29.416 T:547961684192 NOTICE: Closing audio device
    06:29:29.416 T:545804808416 DEBUG: Thread VideoPlayerAudio 545804808416 terminating
    06:29:29.421 T:547961684192 DEBUG: CDVDAudio::Flush - flush audio stream
    06:29:29.421 T:547742544096 DEBUG: CActiveAE::DiscardStream - audio stream deleted
    06:29:29.421 T:547742544096 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
    06:29:29.422 T:547961684192 DEBUG: Previous line repeats 2 times.
    06:29:29.422 T:547961684192 NOTICE: Deleting audio codec
    06:29:29.423 T:547961684192 NOTICE: Closing stream player 2
    06:29:29.423 T:547961684192 NOTICE: waiting for video thread to exit
    06:29:29.439 T:547734155488 INFO: CActiveAESink::OpenSink - initialize sink
    06:29:29.451 T:545521500384 DEBUG: CAMLCodec::Decode: ret: 2, sz: 0, dts_in: 18442240474082.1797[22F59BD], pts_in: 18442240474082.1797[22F59BD], adj:0, ptsOut:405.0877, amlpts:36457897, idx:155252, timesize:1.9524
    06:29:29.451 T:545521500384 NOTICE: thread end: video_thread
    06:29:29.451 T:545521500384 DEBUG: Thread VideoPlayerVideo 545521500384 terminating
    06:29:29.452 T:547961684192 NOTICE: deleting video codec
    06:29:29.452 T:547961684192 DEBUG: CAMLCodec::CloseDecoder
    06:29:29.474 T:547961684192 DEBUG: CDVDInputStreamPVRManager::Close - stream closed
    06:29:29.474 T:545838362848 DEBUG: Thread JobWorker start, auto delete: true
    06:29:29.474 T:547961684192 DEBUG: OnPlayBackStopped: play state was 2, starting 1
    06:29:29.474 T:547961684192 DEBUG: Thread VideoPlayer 547961684192 terminating
    06:29:29.474 T:545838362848 DEBUG: DoWork - Saving file state for video item pvr://channels/tv/All channels/pvr.iptvsimple_1180925108.pvr
    06:29:29.474 T:547978477008 NOTICE: VideoPlayer: finished waiting
    06:29:29.474 T:547978477008 DEBUG: DeleteRenderer - deleting renderer
    06:29:29.474 T:547978477008 NOTICE: VideoPlayer: Opening: pvr://channels/tv/All channels/pvr.iptvsimple_178879948.pvr
    06:29:29.474 T:547978477008 DEBUG: LinuxRendererGL: Cleaning up GL resources
    06:29:29.475 T:547961684192 DEBUG: Thread VideoPlayer start, auto delete: false
    06:29:29.475 T:547961684192 NOTICE: Creating InputStream
    06:29:29.475 T:547961684192 DEBUG: PVRManager - OpenLiveStream - opening live stream on channel 'IPTV 3'
    06:29:29.475 T:547961684192 DEBUG: opening live stream on url 'udp://224.2.2.2:2001'
    06:29:29.479 T:547961684192 DEBUG: CDVDInputStreamPVRManager - Open - playback has started on filename pvr://channels/tv/All channels/pvr.iptvsimple_178879948.pvr
    06:29:29.480 T:547961684192 DEBUG: CDVDInputStreamPVRManager::Open - stream opened: udp://224.2.2.2:2001/
    06:29:29.480 T:547961684192 NOTICE: Creating Demuxer
    06:29:29.621 T:547734155488 DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:default
    06:29:29.621 T:547734155488 INFO: CAESinkALSA::Initialize - Attempting to open device "default"
    06:29:29.624 T:547734155488 INFO: CAESinkALSA::Initialize - Opened device "default"
    06:29:29.625 T:547734155488 INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
    06:29:29.625 T:547734155488 INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE
    06:29:29.625 T:547734155488 DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2205, bufferSize 8820
    06:29:29.625 T:547734155488 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 8192
    06:29:29.625 T:547734155488 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms
    06:29:29.625 T:547734155488 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2
    06:29:29.625 T:547734155488 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR
    06:29:29.625 T:547734155488 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR (ALSA: none)
    06:29:29.625 T:547734155488 DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
    06:29:29.625 T:547734155488 DEBUG: Output Device : Default (AML-M8AUDIO Analog)
    06:29:29.625 T:547734155488 DEBUG: Sample Rate : 44100
    06:29:29.625 T:547734155488 DEBUG: Sample Format : AE_FMT_S32NE
    06:29:29.625 T:547734155488 DEBUG: Channel Count : 2
    06:29:29.626 T:547734155488 DEBUG: Channel Layout: FL,FR
    06:29:29.626 T:547734155488 DEBUG: Frames : 2048
    06:29:29.626 T:547734155488 DEBUG: Frame Size : 8
    06:29:29.627 T:547742544096 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
    06:29:29.834 T:547961684192 DEBUG: Previous line repeats 1 times.
    06:29:29.834 T:547961684192 DEBUG: Open - avformat_find_stream_info starting
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] SPS unavailable in decode_picture_timing
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] non-existing PPS 0 referenced
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] SPS unavailable in decode_picture_timing
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] non-existing PPS 0 referenced
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] decode_slice_header error
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] no frame!
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] SPS unavailable in decode_picture_timing
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] non-existing PPS 0 referenced
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] SPS unavailable in decode_picture_timing
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] non-existing PPS 0 referenced
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] decode_slice_header error
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] no frame!
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] SPS unavailable in decode_picture_timing
    06:29:29.836 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] non-existing PPS 0 referenced
    06:29:29.837 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] SPS unavailable in decode_picture_timing
    06:29:29.837 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] non-existing PPS 0 referenced
    06:29:29.837 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] decode_slice_header error
    06:29:29.837 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] no frame!
    06:29:29.837 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] SPS unavailable in decode_picture_timing
    .
    .
    .

    06:29:29.879 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] non-existing PPS 0 referenced
    06:29:29.880 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] SPS unavailable in decode_picture_timing
    06:29:29.880 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] non-existing PPS 0 referenced
    06:29:29.880 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] decode_slice_header error
    06:29:29.880 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] no frame!
    06:29:29.975 T:547978477008 DEBUG: ------ Window Init (DialogBusy.xml) ------
    06:29:30.079 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] SPS unavailable in decode_picture_timing
    06:29:30.079 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] non-existing PPS 0 referenced
    06:29:30.080 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] SPS unavailable in decode_picture_timing
    06:29:30.080 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] non-existing PPS 0 referenced
    06:29:30.080 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] decode_slice_header error
    06:29:30.080 T:547961684192 ERROR: ffmpeg[7F950FC0E0]: [h264] no frame!
    06:29:30.341 T:547978477008 DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'IPTV 1'
    06:29:30.342 T:547978477008 DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'IPTV 2'
    06:29:30.342 T:547978477008 DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'IPTV 3'
    06:29:30.342 T:547978477008 DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'IPTV 4'
    06:29:30.343 T:547978477008 DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'IPTV 5'
    06:29:30.343 T:547978477008 DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'IPTV 6'
    06:29:36.558 T:547961684192 DEBUG: Open - av_find_stream_info finished
    06:29:36.558 T:547961684192 INFO: ffmpeg[7F950FC0E0]: Input #0, mpegts, udp://224.2.2.2:2001/':
    06:29:36.558 T:547961684192 INFO: ffmpeg[7F950FC0E0]: Duration: N/A, start: 23215.791611, bitrate: N/A
    06:29:36.558 T:547961684192 INFO: ffmpeg[7F950FC0E0]: Program 16
    06:29:36.559 T:547961684192 INFO: ffmpeg[7F950FC0E0]: Metadata:
    06:29:36.559 T:547961684192 INFO: ffmpeg[7F950FC0E0]: service_name : DTV1
    06:29:36.559 T:547961684192 INFO: ffmpeg[7F950FC0E0]: service_provider:
    06:29:36.559 T:547961684192 INFO: ffmpeg[7F950FC0E0]: Stream #0:0[0x21]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc