Has anyone else encountered a problem like this? You start a video and it plays for a split second then kodi is locked up? No audio, video frozen. It happens to me often enough that I bound a remote control key to sudo mediacenter restart
. After kodi restart, video plays fine. So it’s not a huge deal, just a bit annoying.
OMXPlayer & MMAL Acceleration are enabled.
Tail from kodi.old.log after restart
02:04:08 183612.062500 T:1390953456 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
02:04:09 183613.031250 T:1956770736 NOTICE: OMXPlayerUnsuitable OMXPlayer unsuitable due to ac3transcode
02:04:09 183613.031250 T:1956770736 NOTICE: DVDPlayer: Opening: /mnt/Main/New_TV/Random.TV.Show.mkv
02:04:09 183613.031250 T:1956770736 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
02:04:09 183613.031250 T:1438643184 NOTICE: Creating InputStream
02:04:09 183613.031250 T:1438643184 NOTICE: Creating Demuxer
02:04:09 183613.062500 T:1438643184 NOTICE: OMXPlayerUnsuitable OMXPlayer unsuitable due to ac3transcode
02:04:09 183613.062500 T:1438643184 NOTICE: Opening stream: 0 source: 256
02:04:09 183613.062500 T:1438643184 NOTICE: Creating video codec with codec id: 28
02:04:09 183613.078125 T:1438643184 NOTICE: Creating video thread
02:04:09 183613.078125 T:1438643184 NOTICE: Opening stream: 1 source: 256
02:04:09 183613.078125 T:1438643184 NOTICE: Finding audio codec for: 86018
02:04:09 183613.078125 T:1207956464 NOTICE: running thread: video_thread
02:04:09 183613.093750 T:1438643184 NOTICE: Creating audio thread
02:04:09 183613.093750 T:1199567856 NOTICE: running thread: CDVDPlayerAudio::Process()
02:04:09 183613.093750 T:1199567856 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
02:04:09 183613.093750 T:1199567856 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 4 packets of duration 21
02:04:09 183613.109375 T:1207956464 NOTICE: fps: 59.940060, pwidth: 720, pheight: 404, dwidth: 720, dheight: 404
02:04:09 183613.109375 T:1207956464 NOTICE: Display resolution DESKTOP : 1920x1080 (1920x1080) @ 60.00 - Full Screen (16)
02:04:09 183613.234375 T:1199567856 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 4 packets of duration 21
02:04:09 183613.234375 T:1199567856 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 21
02:04:12 183616.140625 T:1199567856 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
02:04:13 183617.750000 T:1199567856 ERROR: Previous line repeats 1 times.
02:04:13 183617.750000 T:1199567856 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
02:04:15 183619.390625 T:1199567856 NOTICE: Previous line repeats 144 times.
02:04:15 183619.390625 T:1199567856 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
02:04:15 183619.390625 T:1199567856 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
02:04:16 183620.265625 T:1956770736 NOTICE: Previous line repeats 75 times.
02:04:16 183620.265625 T:1956770736 NOTICE: Storing total System Uptime
02:04:16 183620.265625 T:1956770736 NOTICE: Saving settings
02:04:16 183620.453125 T:1956770736 NOTICE: stop all
02:04:16 183620.453125 T:1956770736 NOTICE: stop player
02:04:16 183620.453125 T:1956770736 NOTICE: CDVDPlayer::CloseFile()
02:04:16 183620.453125 T:1956770736 NOTICE: DVDPlayer: waiting for threads to exit
02:04:16 183620.468750 T:1438643184 NOTICE: CDVDPlayer::OnExit()
02:04:16 183620.468750 T:1438643184 NOTICE: Closing stream player 1
02:04:16 183620.468750 T:1438643184 NOTICE: Waiting for audio thread to exit
02:04:16 183620.625000 T:1199567856 NOTICE: thread end: CDVDPlayerAudio::OnExit()
02:04:16 183620.625000 T:1438643184 NOTICE: Closing audio device
02:04:17 183621.625000 T:1438643184 NOTICE: Deleting audio codec
02:04:17 183621.625000 T:1438643184 NOTICE: Closing stream player 2
02:04:17 183621.625000 T:1438643184 NOTICE: waiting for video thread to exit
02:04:17 183621.640625 T:1207956464 NOTICE: thread end: video_thread
02:04:17 183621.640625 T:1438643184 NOTICE: deleting video codec
02:04:18 183622.625000 T:1947202544 ERROR: ActiveAE::FlushEngine - failed to flush
02:04:23 183627.734375 T:1947202544 ERROR: ActiveAE::InitSink - failed to init
Long time no see.
The full logs would help.
Sam
Heya @sam_nazarko , how’s it been going? I’ve been lurking a bit, just not posting much.
Full Logs
Keeping busy.
It looks like Elementary played OK without issue, but John Oliver has a problem.
MediaInfo for this affected file would be good
Does this happen on all files? Do you notice any commonalities
When did this first start happening?
The only reason I doubt it has anything to do with the file is that as soon as Kodi restarted, it played fine. This happens every day or two, I’ve never noticed any commonalities between the ones effected, but being that they played fine after Kodi restart, I’d already ruled that out in my head and blamed Kodi. It’s been happening for the past couple months.
mediainfo
General
Unique ID : 211414615638768459845444634488418308898 (0x9F0CF9511DB3661BCE748C44BF039322)
Format : Matroska
Format version : Version 4 / Version 2
File size : 256 MiB
Duration : 29mn 54s
Overall bit rate : 1 197 Kbps
Encoded date : UTC 2016-05-09 03:56:47
Writing application : mkvmerge v7.0.0 ('Where We Going') 64bit built on Jun 22 2014 08:19:39
Writing library : libebml v1.3.0 + libmatroska v1.4.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 29mn 54s
Width : 720 pixels
Height : 404 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.880 fps
Original frame rate : 59.940 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 148 r2692 64f4e24
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=13 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
Matrix coefficients : BT.709
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 29mn 54s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : 20ms
Default : Yes
Forced : No
Remove the overclock and confirm if the issue still happens.
Katze
11 May 2016 03:05
7
Overclock removed.
When I woke up Kodi from it’s sleep today the first video I played froze.
tail of kodi.log
22:57:54 129849.296875 T:1956680624 NOTICE: OMXPlayerUnsuitable OMXPlayer unsuitable due to ac3transcode
22:57:54 129849.304688 T:1956680624 NOTICE: DVDPlayer: Opening: /mnt/Main/New_TV/Full Frontal With Samantha Bee/Full Frontal With Samantha Bee - S01E11 - Crisis Pregnancy Centers - HDTV H264.mkv
22:57:54 129849.304688 T:1956680624 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:57:54 129849.343750 T:1663300592 NOTICE: Creating InputStream
22:57:54 129849.343750 T:1663300592 NOTICE: Creating Demuxer
22:57:54 129849.437500 T:1663300592 NOTICE: OMXPlayerUnsuitable OMXPlayer unsuitable due to ac3transcode
22:57:54 129849.437500 T:1663300592 NOTICE: Opening stream: 0 source: 256
22:57:54 129849.460938 T:1663300592 NOTICE: Creating video codec with codec id: 28
22:57:54 129849.476562 T:1663300592 NOTICE: Creating video thread
22:57:54 129849.476562 T:1663300592 NOTICE: Opening stream: 1 source: 256
22:57:54 129849.476562 T:1244132336 NOTICE: running thread: video_thread
22:57:54 129849.476562 T:1663300592 NOTICE: Finding audio codec for: 86018
22:57:54 129849.492188 T:1663300592 NOTICE: Creating audio thread
22:57:54 129849.492188 T:1189082096 NOTICE: running thread: CDVDPlayerAudio::Process()
22:57:54 129849.492188 T:1189082096 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
22:57:54 129849.492188 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 4 packets of duration 21
22:57:54 129849.515625 T:1244132336 NOTICE: fps: 59.940060, pwidth: 720, pheight: 402, dwidth: 720, dheight: 402
22:57:54 129849.523438 T:1244132336 NOTICE: Display resolution DESKTOP : 1920x1080 (1920x1080) @ 60.00 - Full Screen (16)
22:57:54 129849.664062 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 4 packets of duration 21
22:57:55 129849.664062 T:1189082096 NOTICE: Previous line repeats 1 times.
22:57:55 129849.664062 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket duplicate 1 packets of duration 21
22:57:55 129849.718750 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
22:57:57 129852.531250 T:1189082096 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
22:57:59 129854.140625 T:1189082096 ERROR: Previous line repeats 1 times.
22:57:59 129854.140625 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
22:58:01 129855.796875 T:1189082096 NOTICE: Previous line repeats 145 times.
22:58:01 129855.796875 T:1189082096 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
22:58:01 129855.796875 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
22:58:02 129857.445312 T:1189082096 NOTICE: Previous line repeats 76 times.
22:58:02 129857.445312 T:1189082096 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
22:58:02 129857.445312 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
22:58:04 129859.078125 T:1189082096 NOTICE: Previous line repeats 74 times.
22:58:04 129859.078125 T:1189082096 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
22:58:04 129859.078125 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
22:58:06 129861.101562 T:1189082096 NOTICE: Previous line repeats 56 times.
22:58:06 129861.101562 T:1189082096 ERROR: CActiveAEStream::Drain - timeout out
22:58:07 129862.203125 T:1663300592 ERROR: CDVDMsgGeneralSynchronize - timeout
22:58:08 129863.101562 T:1947202544 ERROR: Previous line repeats 17 times.
22:58:08 129863.101562 T:1947202544 ERROR: ActiveAE::FlushEngine - failed to flush
22:58:08 129863.101562 T:1947202544 WARNING: CActiveAE::StateMachine - signal: 6 from port: OutputControlPort not handled for state: 1
22:58:08 129863.101562 T:1947202544 WARNING: CActiveAE::StateMachine - signal: 7 from port: OutputControlPort not handled for state: 1
22:58:09 129864.359375 T:1189082096 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
22:58:09 129864.359375 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
22:58:10 129865.585938 T:1189082096 NOTICE: Previous line repeats 55 times.
22:58:10 129865.585938 T:1189082096 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
22:58:10 129865.585938 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
22:58:12 129866.820312 T:1189082096 NOTICE: Previous line repeats 56 times.
22:58:12 129866.820312 T:1189082096 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
22:58:12 129866.820312 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
22:58:13 129868.054688 T:1189082096 NOTICE: Previous line repeats 56 times.
22:58:13 129868.054688 T:1189082096 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
22:58:13 129868.062500 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
22:58:14 129869.281250 T:1189082096 NOTICE: Previous line repeats 56 times.
22:58:14 129869.281250 T:1189082096 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
22:58:14 129869.289062 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
22:58:15 129870.507812 T:1189082096 NOTICE: Previous line repeats 55 times.
22:58:15 129870.507812 T:1189082096 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
22:58:15 129870.507812 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
22:58:17 129871.742188 T:1189082096 NOTICE: Previous line repeats 56 times.
22:58:17 129871.742188 T:1189082096 ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
22:58:17 129871.750000 T:1189082096 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
mediainfo
General
Unique ID : 200787770194223967915785474139658670337 (0x970E5162718EBBFDA03B6B164A685101)
Complete name : /mnt/Main/New_TV/Full Frontal With Samantha Bee/Full Frontal With Samantha Bee - S01E11 - Crisis Pregnancy Centers - HDTV H264.mkv
Format : Matroska
Format version : Version 2
File size : 173 MiB
Duration : 20mn 59s
Overall bit rate : 1 151 Kbps
Encoded date : UTC 2016-05-10 14:51:35
Writing application : mkvmerge v7.7.0 ('Six Voices') 32bit built on Feb 28 2015 23:23:00
Writing library : libebml v1.3.1 + libmatroska v1.4.2
DURATION : 00:20:59.242000000
NUMBER_OF_FRAMES : 59027
NUMBER_OF_BYTES : 16952075
_STATISTICS_WRITING_APP : mkvmerge v7.7.0 ('Six Voices') 32bit built on Feb 28 2015 23:23:00
_STATISTICS_WRITING_DATE_UTC : 2016-05-10 14:51:35
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 20mn 59s
Width : 720 pixels
Height : 402 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.880 fps
Original frame rate : 59.940 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 148 r2694 3b70645
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=13 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=600 / keyint_min=60 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
Matrix coefficients : BT.709
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 20mn 59s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : 16ms
Language : English
Default : Yes
Forced : No
osmc@osmc:~$
Codec ID : V_MPEG4/ISO/AVC
Duration : 20mn 59s
Width : 720 pixels
Height : 402 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.880 fps
Original frame rate : 59.940 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 148 r2694 3b70645
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=13 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=600 / keyint_min=60 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
Matrix coefficients : BT.709
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 20mn 59s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : 16ms
Language : English
Default : Yes
Forced : No
Does disabling ac3 transcoding make a difference?
Katze
11 May 2016 13:18
9
I didn’t have passthrough enabled, so AC3 transcoding was ticked, but greyed out. I enabled passthrough long enough to untick everything under it, just in case.
This from your log shows that the ac3trascode was having an effect.
Katze
12 May 2016 02:16
11
Even with ac3 transcode unticked it’s still showing up in the log.
Full Logs