[Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

Lars Hammarstrand lars.hammarstrand at gmail.com
Sat Mar 30 00:32:33 CET 2013


Hi!

We (at xbmc) are having problems with the new ffmpeg n1.2 libs on IOS
(ref: XBMC
work in Progress FFmpeg v1.1
...<http://forum.xbmc.org/showthread.php?tid=156303&pid=1380678#pid1380678>
).
I did a test drive with https://github.com/kolyvan/kxmovie 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?
--

Thanks in advance!
Regards, Lars.


Btw, here is brief description of the problem:

1. XBMC is stopping at:
*ff_pred8x8_128_dc_neon*: (libavcodec/arm/h264pred_neon.S)
0x5bc84:  cdpeq  p15, #5, c15, c0, c0, #4 *<-- Thread 3:
EXC_BAD_INSTRUCTION (code=EXC_ARM_UNDEFINED, subcode=0xe50ff80)*
0x5bc88:  svclt  #57436

2. The problem originates from libavcodec/h264_mb_template.c
Code:
160:            if (SIMPLE || !CONFIG_GRAY || !(h->flags &
CODEC_FLAG_GRAY)) {
161:                h->hpc.pred8x8[h->chroma_pred_mode](dest_cb,
uvlinesize);    <-- Crash - Thread 18 CDVDPlayer: EXC_BAD_INSTRUCTION
162:                h->hpc.pred8x8[h->chroma_pred_mode](dest_cr,
uvlinesize);
163:            }


3. Stack trace:
#0    0x01197c18 in *ff_pred8x8_128_dc_neon *at
libavcodec/arm/h264pred_neon.S:405
#1    0x0121f62c in hl_decode_mb_simple_8 at
libavcodec/h264_mb_template.c:161
#2    0x01218266 in ff_h264_hl_decode_mb at libavcodec/h264.c:2415
#3    0x01225032 in decode_slice at libavcodec/h264.c:4207
#4    0x01224ddc in execute_decode_slices at libavcodec/h264.c:4357
#5    0x012174ce in decode_nal_units at libavcodec/h264.c:4701
#6    0x01221024 in decode_frame at libavcodec/h264.c:4813
#7    0x0136e252 in avcodec_decode_video2 at libavcodec/utils.c:1690
#8    0x0143675c in try_decode_frame at libavformat/utils.c:2562
#9    0x01434b1a in avformat_find_stream_info at libavformat/utils.c:2994


4. Definition of ff_pred8x8_128_dc_neon (libavcodec/arm/h264pred_neon.S):
function ff_pred8x8_128_dc_neon, export=1
        vmov.i8         q0,  #128
        b               .L_pred8x8_dc_end
endfunc
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130330/775bfd7b/attachment.html>


More information about the Libav-user mailing list