<div dir="ltr">Hi!<div style><br></div><div style>We (at xbmc) are having problems with the new ffmpeg n1.2 libs on IOS (ref: <a href="http://forum.xbmc.org/showthread.php?tid=156303&pid=1380678#pid1380678">XBMC work in Progress FFmpeg v1.1 ...</a> ). I did a test drive with <a href="https://github.com/kolyvan/kxmovie">https://github.com/kolyvan/kxmovie</a> but it seems to suffer from the same problem. I was wondering if someone are aware of a working app with ffmpeg n1.2 on ios that we can use as a reference?</div>
<div style>--</div><div style><br></div><div style>Thanks in advance!</div><div style>Regards, Lars.</div><div style><br></div><div style><br></div><div style>Btw, here is brief description of the problem:</div><div style>
<br></div><div style><div><font face="courier new, monospace"><span style="background-color:rgb(238,238,238)">1. XBMC is stopping at:</span><br></font></div><div><div style="font-size:13px"><font face="courier new, monospace"><b><font color="#0000ff">ff_pred8x8_128_dc_neon</font></b>: (<span style="font-size:small">libavcodec/arm/h264pred_neon.S)</span></font></div>
<div style="font-size:13px"><font face="courier new, monospace">0x5bc84: cdpeq p15, #5, c15, c0, c0, #4 <font color="#ff0000"><b><-- Thread 3: EXC_BAD_INSTRUCTION (code=EXC_ARM_UNDEFINED, subcode=0xe50ff80)</b></font></font></div>
<div style="font-size:13px"><font face="courier new, monospace">0x5bc88: svclt #57436</font></div></div><div><font face="courier new, monospace"><br></font></div><div><div><div><font face="courier new, monospace"><span style="color:rgb(0,0,0);font-size:13.333333969116211px;background-color:rgb(242,242,242)">2. The problem originates from libavcodec/h264_mb_template.c</span><br style="color:rgb(0,0,0);font-size:13.333333969116211px;background-color:rgb(242,242,242)">
</font><div class="" style="border:1px solid rgb(204,204,204);padding:4px;color:rgb(0,0,0);font-size:13.333333969116211px"><div class="" style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204,204,204);font-weight:bold;margin:4px 0px">
<font face="courier new, monospace">Code:<br></font></div><div class="" dir="ltr" style="overflow:auto"><code style="font-size:1em;overflow:auto;height:auto;max-height:300px;display:block"><font face="courier new, monospace">160: if (SIMPLE || !CONFIG_GRAY || !(h->flags & CODEC_FLAG_GRAY)) {<br>
161: h->hpc.pred8x8[h->chroma_pred_mode](dest_cb, uvlinesize); <-- Crash - Thread 18 CDVDPlayer: EXC_BAD_INSTRUCTION<br>162: h->hpc.pred8x8[h->chroma_pred_mode](dest_cr, uvlinesize);<br>
163: }</font></code></div></div></div><div><font face="courier new, monospace"><br></font></div></div></div><div><font face="courier new, monospace"><br></font></div></div><div style><font face="courier new, monospace"><span style="background-color:rgb(243,243,243)">3. Stack trace:</span><br>
</font></div><div style><font face="courier new, monospace"><span style="color:rgb(0,0,0);font-size:13.333333969116211px">#0 0x01197c18 in </span><b style="font-size:13px"><font color="#0000ff">ff_pred8x8_128_dc_neon </font></b><span style="color:rgb(0,0,0);font-size:13.333333969116211px">at libavcodec/arm/h264pred_neon.S:405</span><br style="color:rgb(0,0,0);font-size:13.333333969116211px">
<span style="color:rgb(0,0,0);font-size:13.333333969116211px">#1 0x0121f62c in hl_decode_mb_simple_8 at libavcodec/h264_mb_template.c:161</span><br style="color:rgb(0,0,0);font-size:13.333333969116211px"><span style="color:rgb(0,0,0);font-size:13.333333969116211px">#2 0x01218266 in ff_h264_hl_decode_mb at libavcodec/h264.c:2415</span><br style="color:rgb(0,0,0);font-size:13.333333969116211px">
<span style="color:rgb(0,0,0);font-size:13.333333969116211px">#3 0x01225032 in decode_slice at libavcodec/h264.c:4207</span><br style="color:rgb(0,0,0);font-size:13.333333969116211px"><span style="color:rgb(0,0,0);font-size:13.333333969116211px">#4 0x01224ddc in execute_decode_slices at libavcodec/h264.c:4357</span><br style="color:rgb(0,0,0);font-size:13.333333969116211px">
<span style="color:rgb(0,0,0);font-size:13.333333969116211px">#5 0x012174ce in decode_nal_units at libavcodec/h264.c:4701</span><br style="color:rgb(0,0,0);font-size:13.333333969116211px"><span style="color:rgb(0,0,0);font-size:13.333333969116211px">#6 0x01221024 in decode_frame at libavcodec/h264.c:4813</span><br style="color:rgb(0,0,0);font-size:13.333333969116211px">
<span style="color:rgb(0,0,0);font-size:13.333333969116211px">#7 0x0136e252 in avcodec_decode_video2 at libavcodec/utils.c:1690</span><br style="color:rgb(0,0,0);font-size:13.333333969116211px"><span style="color:rgb(0,0,0);font-size:13.333333969116211px">#8 0x0143675c in try_decode_frame at libavformat/utils.c:2562</span><br style="color:rgb(0,0,0);font-size:13.333333969116211px">
<span style="color:rgb(0,0,0);font-size:13.333333969116211px">#9 0x01434b1a in avformat_find_stream_info at libavformat/utils.c:2994</span><br></font></div><div style><font face="courier new, monospace"><br></font></div>
<div style><font face="courier new, monospace"><br></font></div><div style><div><span style="background-color:rgb(243,243,243)"><font face="courier new, monospace">4. Definition of ff_pred8x8_128_dc_neon (libavcodec/arm/h264pred_neon.S):</font></span></div>
</div><div style><font face="courier new, monospace"><span style="color:rgb(0,0,0);font-size:13.333333969116211px">function ff_pred8x8_128_dc_neon, export=1</span><br></font></div><div style><font face="courier new, monospace"><span style="color:rgb(0,0,0);font-size:13.333333969116211px"> vmov.i8 q0, #128</span><br style="color:rgb(0,0,0);font-size:13.333333969116211px">
<span style="color:rgb(0,0,0);font-size:13.333333969116211px"> b .L_pred8x8_dc_end</span><br style="color:rgb(0,0,0);font-size:13.333333969116211px"><span style="color:rgb(0,0,0);font-size:13.333333969116211px">endfunc</span><br>
</font></div><div style><font face="courier new, monospace">--</font></div><div style><br></div></div>