1080p mp4 crashes my XBMC!
#1
Does XBMC on ATV2 support 1080p mp4 videos? Whenever I try to play such file, XBMC crashes and restarts lowtide. I was trying to dig through the logs myself and I think hardware decoding is not supported and it tries to do software decoding which hoses the system. Here is a snippet of the xbmc.log.

If someone more conversant in the xbmc language could translate it to something I can understand, I'd really appreciate it. Thanks. Big Grin


19:41:35 T:104779776 INFO: ffmpeg[63ED000]: Metadata:
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: major_brand : isom
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: minor_version : 512
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: compatible_brands: isomiso2avc1mp41
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: creation_time : 1970-01-01 00:00:00
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: encoder : Lavf53.4.0
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: comment : FlixEngineLinux_8.0.17.1 (http://www.on2.com)
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: Duration: 00:23:29.06, start: 0.000000, bitrate: 3928 kb/s
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 3872 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: Metadata:
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: creation_time : 1970-01-01 00:00:00
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 51 kb/s
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: Metadata:
19:41:35 T:104779776 INFO: ffmpeg[63ED000]: creation_time : 1970-01-01 00:00:00
19:41:35 T:104779776 DEBUG: CDVDInputStreamFile::SetReadRate - set cache throttle rate to 622087 bytes per second
19:41:35 T:104779776 NOTICE: Opening video stream: 0 source: 256
19:41:35 T:104779776 NOTICE: Creating video codec with codec id: 28
19:41:35 T:104779776 DEBUG: CDVDFactoryCodec: compiled in hardware support: VDADecoder:no VideoToolBoxDecoder:yes CrystalHD:no OpenMax:no
19:41:35 T:104779776 INFO: Apple VideoToolBox Decoder...
19:41:35 T:104779776 DEBUG: FactoryCodec - Video: vtb - Opening
19:41:35 T:104779776 DEBUG: CreateFormatDescriptionFromCodecData - GetIOSVersion says >= 4.3
19:41:35 T:104779776 NOTICE: Open - using avcC atom of size(44), ref_frames(16)
19:41:35 T:104779776 ERROR: CreateVTSession - failed with status = (-12911)
19:41:35 T:104779776 DEBUG: FactoryCodec - Video: - Failed
19:41:35 T:104779776 DEBUG: FactoryCodec - Video: - Opening
19:41:35 T:104779776 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avfilter-1-arm-osx.so)
19:41:35 T:104779776 DEBUG: Loading: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/system/players/dvdplayer/avfilter-1-arm-osx.so
19:41:36 T:104779776 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Reply
#2
19:41:35 T:104779776 DEBUG: CreateFormatDescriptionFromCodecData - GetIOSVersion says >= 4.3
19:41:35 T:104779776 NOTICE: Open - using avcC atom of size(44), ref_frames(16)
19:41:35 T:104779776 ERROR: CreateVTSession - failed with status = (-12911)
19:41:35 T:104779776 DEBUG: FactoryCodec - Video: - Failed

1080p with 16 ref-frames, bad dog. now go sit in the corner Smile
Reply
#3
Transition: whoever encoded that file did so with bad settings that break the specs for h.264 high profile.
Reply
#4
Understood.

So now if I could add some code to check for ref_frames and add a warning instead of playing it and crashing, then it would be awesome.

Now if somebody can point me to some python code snippet to check for ref_frames, I think I should be able to manage something. Thanks.
Reply
#5
Well, we are in feature freeze, otherwise devs could implement

ListItem.BadAssOverlay

And I could show those in a skin with a small trash can Smile
My skins:

Amber
Quartz

Reply
#6
So this could be a feature for low horse-power devices like atv2 on after-eden version?

That seems like a long time though. If only I could make some work-arounds for the time being!
Reply

Logout Mark Read Team Forum Stats Members Help
1080p mp4 crashes my XBMC!0