Kodi Community Forum

Full Version: MKV 720 AC3 5.1 freeze (CCoreAudioUnit::Close)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all,

I'm having problems when trying to play some mkv files on my aTV2 (iOS 5.0.1 version 4.4.4) running XBMC Frodo 12.0-1.
I can correctly play most of them, but others output these error in the xbmc.log:
ERROR: CCoreAudioUnit::Close: Unable to disconnect AudioUnit. Error = -10860
WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available

This is the complete log:
http://pastebin.com/MFpYvMbL

Any idea?

Thank you very much!
That error is "normal" and has nothing todo with your problem. Talking about your problem - could you give a hint what happens? Cause i don't see that much in the log (beside the fact that ffmpeg has an readerror on your file).

1. Turn off thumbnail extraction like mentioned in our iOS FAQ (wiki)
2. Use the IP instead of the hostname ouf your server
Hello Memphiz,

thank you for your support!

I will try to explain the problem: Every around 0.5 seconds, the audio first and then the video stutters for another 0.5 seconds. It is not a buffer problem (always above 80%). I don't know if it could be related to, but the audio "aq" displayed under video coded info drops up to"0", the fps is just around 7 and the cpu 95-96%. a/v is switching between around 7 and 0.
Whith a different file (theoricaly with the same format) which is working fine I get aq:99%, fps:17, cpu: 62%. a/v around 0.2.

BR!
Could you get us a mediainfo on the file?
Yeah its the audio buffer underrunning. Sounds like those video isn't hardware decoded and the cpu gets overloaded.
Hello Eliah,

This is the mediainfo:
Format : Matroska
Format version : Version 2
File size : 1.23 GiB
Duration : 39mn 48s
Overall bit rate mode : Variable
Overall bit rate : 4 440 Kbps
Encoded date : UTC 2012-10-28 23:29:43
Writing application : TMPGEnc Video Mastering Works 5 Version. 5.2.4.68
Writing library : TMPGEnc Video Mastering Works 5 Version. 5.2.4.68

Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 39mn 48s
Bit rate mode : Variable
Bit rate : 3 904 Kbps
Maximum bit rate : 15.0 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.169
Stream size : 1.09 GiB (88%)
Default : Yes
Forced : No

Audio
ID : 1
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 39mn 48s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 128 MiB (10%)
Default : Yes
Forced : No
Its refused from the hw decoder because that movie is interlaced. Interlaced is not supported by the apple hw decoder and falls back to software decode which causes your bad experience.
You are right! Thank you very much. I didn't realized that the one that is working is progressive.
So, I can't do nothing to solve it, can I?

BR
Don't you think i would have stated a workaround if there was one? So in short - nope.

You can only reencode the file to h.264 progressive.
It was actually a rhetorical question...
Thank you very much

Regards from Spain!