pvr.hts crashing in Kodi 17
#1
I'm running Ubuntu Mate 15.10, with a personal build of Kodi 17, git cloned from -b master. My pvr.hts is also git cloned from -b master. It builds and runs fine in Kodi 16 when grabbed from -b Jarvis, but in Kodi 17, as soon as it tries connecting to a channel.. black screen, then kodi turns off. I've even gone as far as deleting the entire .kodi directory after uninstalling kodi 16, before installing kodi 17. I've even tuned off deinterlacing and any acceleration. It still crashes. It works on my Ubuntu desktop though.. just not my Pi.

Here's the crashlog... says something about mmal-mpeg2 being unsupported.

Code:
10:49:37 T:1615647616  NOTICE: Creating video thread
10:49:37 T:1472697216   DEBUG: Thread VideoPlayerVideo start, auto delete: false
10:49:37 T:1472697216  NOTICE: running thread: video_thread
10:49:37 T:1615647616  NOTICE: Opening stream: 2 source: 256
10:49:37 T:1615647616  NOTICE: Finding audio codec for: 86019
10:49:37 T:1615647616   DEBUG: FactoryCodec - Audio: FFmpeg - Opening
10:49:37 T:1615647616   DEBUG: FactoryCodec - Audio: FFmpeg - Opened
10:49:37 T:1615647616  NOTICE: Creating audio thread
10:49:37 T:1462760320   DEBUG: Thread VideoPlayerAudio start, auto delete: false
10:49:37 T:1462760320  NOTICE: running thread: CVideoPlayerAudio::Process()
10:49:37 T:1462760320   DEBUG: CDVDAudio::Pause - pausing audio stream
10:49:37 T:1472697216    INFO: CVideoPlayerVideo - Stillframe left, switching to normal playback
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
10:49:37 T:1472697216   ERROR: Decode - avcodec_decode_video returned failure
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo - video decoder returned error
10:49:37 T:1615647616  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:49:37 T:1472697216  NOTICE: Previous line repeats 1 times.
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
10:49:37 T:1472697216   ERROR: Decode - avcodec_decode_video returned failure
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo - video decoder returned error
10:49:37 T:1615647616  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:49:37 T:1472697216  NOTICE: Previous line repeats 1 times.
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
10:49:37 T:1472697216   ERROR: Decode - avcodec_decode_video returned failure
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo - video decoder returned error
10:49:37 T:1615647616   DEBUG: CDVDDemuxClient::ParsePacket - {3} samplerate changed from 3 to 48000
10:49:37 T:1615647616  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:49:37 T:1472697216  NOTICE: Previous line repeats 1 times.
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
10:49:37 T:1472697216   ERROR: Decode - avcodec_decode_video returned failure
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo - video decoder returned error
10:49:37 T:1615647616  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:49:37 T:1472697216  NOTICE: Previous line repeats 1 times.
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
10:49:37 T:1472697216   ERROR: Decode - avcodec_decode_video returned failure
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo - video decoder returned error
10:49:37 T:1615647616  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:49:37 T:1472697216  NOTICE: Previous line repeats 1 times.
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
10:49:37 T:1472697216   ERROR: Decode - avcodec_decode_video returned failure
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo - video decoder returned error
10:49:37 T:1615647616   DEBUG: CDVDDemuxClient::ParsePacket - {2} samplerate changed from 3 to 48000
10:49:37 T:1615647616  NOTICE: Opening stream: 2 source: 256
10:49:37 T:1615647616  NOTICE: Finding audio codec for: 86019
10:49:37 T:1615647616   DEBUG: FactoryCodec - Audio: FFmpeg - Opening
10:49:37 T:1615647616   DEBUG: FactoryCodec - Audio: FFmpeg - Opened
10:49:37 T:1462760320   DEBUG: CDVDAudio::Pause - pausing audio stream
10:49:37 T:1615647616  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:49:37 T:1472697216  NOTICE: Previous line repeats 4 times.
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
10:49:37 T:1472697216   ERROR: Decode - avcodec_decode_video returned failure
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo - video decoder returned error
10:49:37 T:1615647616  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:49:37 T:1472697216  NOTICE: Previous line repeats 1 times.
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
10:49:37 T:1472697216   ERROR: Decode - avcodec_decode_video returned failure
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo - video decoder returned error
10:49:37 T:1462760320  NOTICE: Creating audio stream (codec id: 86019, channels: 6, sample rate: 48000, no pass-through)
10:49:37 T:1462760320   DEBUG: CVideoPlayerAudio:: synctype set to 1: resample
10:49:37 T:1615647616  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:49:37 T:1472697216  NOTICE: Previous line repeats 1 times.
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
10:49:37 T:1472697216   ERROR: Decode - avcodec_decode_video returned failure
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo - video decoder returned error
10:49:37 T:1615647616  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:49:37 T:1472697216  NOTICE: Previous line repeats 1 times.
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
10:49:37 T:1472697216   ERROR: Decode - avcodec_decode_video returned failure
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo - video decoder returned error
10:49:37 T:1615647616  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:49:37 T:1472697216  NOTICE: Previous line repeats 1 times.
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
10:49:37 T:1472697216   ERROR: Decode - avcodec_decode_video returned failure
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo - video decoder returned error
10:49:37 T:1615647616  NOTICE: Opening stream: 1 source: 256
10:49:37 T:1615647616   DEBUG: CMMALRenderer::GetRenderInfo cookie:(nil)
10:49:37 T:1615647616  NOTICE: Creating video codec with codec id: 2
10:49:37 T:1615647616   DEBUG: CMMALVideo::CMMALVideo 0x7053f398
10:49:37 T:1615647616   DEBUG: FactoryCodec - Video: mmal-xxxx - Opening
10:49:37 T:1615647616   DEBUG: CMMALVideo::Open usemmal:1 software:0 1920x1080 renderer:0x46d3420
10:49:37 T:1615647616 WARNING: CMMALVideo::Open Codec mmal-mpeg2 is not supported
10:49:37 T:1615647616   DEBUG: FactoryCodec - Video: mmal-mpeg2 - Failed
10:49:37 T:1615647616   DEBUG: CMMALVideo::Reset
10:49:37 T:1615647616   DEBUG: CMMALVideo::~CMMALVideo 0x7053f398
10:49:37 T:1615647616   DEBUG: FactoryCodec - Video:  - Opening
10:49:37 T:1615647616  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
10:49:37 T:1615647616   DEBUG: FactoryCodec - Video: ff-mpeg2video - Opened
10:49:37 T:1615647616  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:49:37 T:1472697216  NOTICE: Previous line repeats 1 times.
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::OpenStream - open stream with codec id: 2
10:49:37 T:1905251200    INFO: CActiveAESink::OpenSink - initialize sink
10:49:37 T:1472697216   DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
10:49:37 T:1472697216   DEBUG: CDecoder::CDecoder - create 0x70f0d9f8
10:49:37 T:1472697216  NOTICE: CDecoder::Open - m_renderer:0x46d3420
10:49:37 T:1472697216   DEBUG: CDecoder::Open MMAL - source requires 1 references
10:49:37 T:1472697216   DEBUG: CDecoder::FFGetBuffer 1920x1080 format:0 flags:1
Reply
#2
I think it might be a settings in the backend. Some channels work, but they aren't full hd channels.
Reply
#3
It would also help if I add my codec licenses to my config.txt.
Reply
#4
I cannot see a crash in pvr.hts here. Subject seems to be misleading.
Reply
#5
(2016-04-29, 08:24)ksooo Wrote: I cannot see a crash in pvr.hts here. Subject seems to be misleading.

Then what would you call it when I'm left with a black screen, because Kodi closes on me when I try to connect a channel? It says errors in that log.. it couldn't find a codec or something. When that happened, I'm left with a black screen, as I'm on Raspberry Pi, and we get a black screen when Kodi exits. To me that's crashing. Turns out I just forgot to enter my codec licenses, and I guess it screwed things up.
Reply
#6
I would call it Kodi is crashing. There are many software modules involved when opening a channel. If you write it is crashing in pvr.hts I think you have some real prove for this, but your "crash log" does not even contain pvr.hts errors. ;-)
Reply
#7
I wish I was as smart as you.
Reply
#8
@greenbag Do you have the mpeg-2 license ? If not, to play mpeg-2 videos you need to enable software decoding. For this, add start_x=1 in your config.txt. Or better, buy the license, it is cheap and you will have better playback.
Reply
#9
(2016-04-29, 21:15)rascas Wrote: @greenbag Do you have the mpeg-2 license ? If not, to play mpeg-2 videos you need to enable software decoding. For this, add start_x=1 in your config.txt. Or better, buy the license, it is cheap and you will have better playback.

Yeah, I have them... I just forgot to add them to my config.txt on a new install. Boneheaded move. Tongue

Thanks. Smile
Reply

Logout Mark Read Team Forum Stats Members Help
pvr.hts crashing in Kodi 170