<div dir="ltr">2013/3/30 Carl Eugen Hoyos <span dir="ltr"><<a href="mailto:cehoyos@ag.or.at" target="_blank">cehoyos@ag.or.at</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">Lars Hammarstrand <lars.hammarstrand@...> writes:<br>
<span style="color:rgb(34,34,34)"> </span></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Please try to fix your quoting / set your mailer to text-only.<br>
<div class=""><div class="h5"><br></div></div></blockquote><div style><font size="1">[ Off topic:  Sorry - no can do, gmail standard. What mail client do you use? ]</font></div><div style><font size="1"><br></font></div>
<div style><div>Tested to run ffmpeg (the tool) and it crashes every time exactly on the same spot as xbmc! Has n1.2 ever been tested on IOS?</div><div><br></div><div>Question: shall I create a ticet on <a href="http://ffmpeg.org">ffmpeg.org</a> or at <a href="http://libav.org">libav.org</a> (since the ARM HW optz orginates from Mans Mullgards work) or both maybe?</div>
<div><br></div></div><div style><br></div><div style>Output from gdb on IOS:</div><div style><br></div><div style><div><font face="courier new, monospace">18:09:52 root@iPhone-4 /ffmpeg-n1.2</font></div><div><font face="courier new, monospace">$ <b>uname -a</b></font></div>
<div><font face="courier new, monospace">Darwin iPhone-4 11.0.0 Darwin Kernel Version 11.0.0: Sun Apr  8 21:51:26 PDT 2012; root:xnu-1878.11.10~1/RELEASE_ARM_S5L8930X iPhone3,1 arm N90AP Darwin</font></div><div><font face="courier new, monospace"><br>
</font></div><div><font face="courier new, monospace">$ <b>gdb ffmpeg</b></font></div><div><font face="courier new, monospace">GNU gdb 6.3.50-20050815 (Apple version gdb-1821) (Fri Jun 29 08:41:41 UTC 2012)</font></div><div>
<font face="courier new, monospace">Copyright 2004 Free Software Foundation, Inc.</font></div><div><font face="courier new, monospace">GDB is free software, covered by the GNU General Public License, and you are</font></div>
<div><font face="courier new, monospace">welcome to change it and/or distribute copies of it under certain conditions.</font></div><div><font face="courier new, monospace">Type "show copying" to see the conditions.</font></div>
<div><font face="courier new, monospace">There is absolutely no warranty for GDB.  Type "show warranty" for details.</font></div><div><font face="courier new, monospace">This GDB was configured as "arm-apple-darwin"...Reading symbols for shared libraries . done</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">(gdb) <b>r ffmpeg -i <a href="http://techslides.com/demos/sample-videos/small.mp4">http://techslides.com/demos/sample-videos/small.mp4</a> -acodec copy -vcodec copy output.mp4</b></font></div>
<div><font face="courier new, monospace">Starting program: /ffmpeg-n1.2/ffmpeg ffmpeg -i <a href="http://techslides.com/demos/sample-videos/small.mp4">http://techslides.com/demos/sample-videos/small.mp4</a> -acodec copy -vcodec copy output.mp4</font></div>
<div><font face="courier new, monospace">Reading symbols for shared libraries ......................... done</font></div><div><font face="courier new, monospace">ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers</font></div>
<div><font face="courier new, monospace">  built on Apr  2 2013 17:54:06 with llvm-gcc 4.2.1 (LLVM build 2410.2.00)</font></div><div><font face="courier new, monospace">  configuration: --disable-ffplay --disable-ffserver --disable-ffprobe --disable-doc --disable-bzlib --target-os=darwin --enable-cross-compile --enable-gpl --enable-version3 --arch=arm --cpu=cortex-a8 --enable-pic --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7' --extra-cflags='-mfpu=neon -mfloat-abi=softfp -mvectorize-with-neon-quad' --enable-neon --disable-armv5te --disable-armv6 --disable-armv6t2 --enable-optimizations --enable-debug=3 --disable-stripping --cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='<a href="http://gas-preprocessor.pl">gas-preprocessor.pl</a> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk --extra-ldflags=-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/lib/system</font></div>
<div><font face="courier new, monospace">  libavutil      52. 18.100 / 52. 18.100</font></div><div><font face="courier new, monospace">  libavcodec     54. 92.100 / 54. 92.100</font></div><div><font face="courier new, monospace">  libavformat    54. 63.104 / 54. 63.104</font></div>
<div><font face="courier new, monospace">  libavdevice    54.  3.103 / 54.  3.103</font></div><div><font face="courier new, monospace">  libavfilter     3. 42.103 /  3. 42.103</font></div><div><font face="courier new, monospace">  libswscale      2.  2.100 /  2.  2.100</font></div>
<div><font face="courier new, monospace">  libswresample   0. 17.102 /  0. 17.102</font></div><div><font face="courier new, monospace">  libpostproc    52.  2.100 / 52.  2.100</font></div><div><font face="courier new, monospace"><br>
</font></div><div><font face="courier new, monospace">Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.</font></div><div><font face="courier new, monospace">ff_pred8x8_128_dc_neon () at h264pred_neon.S:405</font></div>
<div><font face="courier new, monospace">Line number 405 out of range; h264pred_neon.S has 359 lines.</font></div><div><font face="courier new, monospace">(gdb) <b>bt</b></font></div><div><font face="courier new, monospace">#0  ff_pred8x8_128_dc_neon () at h264pred_neon.S:405</font></div>
<div><font face="courier new, monospace">#1  0x003fc75a in hl_decode_mb_simple_8 (h=0x0) at h264_mb_template.c:161</font></div><div><font face="courier new, monospace">#2  0x003fdad8 in ff_h264_hl_decode_mb (h=<value temporarily unavailable, due to optimizations>) at /ffmpeg-n1.2/libavcodec/h264.c:2415</font></div>
<div><font face="courier new, monospace">#3  0x00401da4 in decode_slice (avctx=<value temporarily unavailable, due to optimizations>, arg=<value temporarily unavailable, due to optimizations>) at /ffmpeg-n1.2/libavcodec/h264.c:4266</font></div>
<div><font face="courier new, monospace">#4  0x00402380 in execute_decode_slices () at /ffmpeg-n1.2/libavcodec/h264.c:4355</font></div><div><font face="courier new, monospace">#5  0x00402dec in decode_nal_units (h=0xf00000, buf=0xd25484 "", buf_size=4207149, parse_extradata=0) at /ffmpeg-n1.2/libavcodec/h264.c:4699</font></div>
<div><font face="courier new, monospace">#6  0x004033d6 in decode_frame (avctx=0x1253800, data=0x0, got_frame=0x2fdfef8c, avpkt=<value temporarily unavailable, due to optimizations>) at /ffmpeg-n1.2/libavcodec/h264.c:4811</font></div>
<div><font face="courier new, monospace">#7  0x003247ce in avcodec_decode_video2 (avctx=0x1253800, picture=0xe1f630, got_picture_ptr=0x10, avpkt=0x2fdfef28) at /ffmpeg-n1.2/libavcodec/utils.c:1690</font></div><div><font face="courier new, monospace">#8  0x00067c16 in try_decode_frame (st=0xe1e820, avpkt=<value temporarily unavailable, due to optimizations>, options=0x0) at /ffmpeg-n1.2/libavformat/utils.c:2514</font></div>
<div><font face="courier new, monospace">#9  0x0006c468 in avformat_find_stream_info (ic=0xd18004, options=0x2fe25a14) at /ffmpeg-n1.2/libavformat/utils.c:2946</font></div><div><font face="courier new, monospace">#10 0x00004448 in open_input_file (o=0x2fdff374, filename=<value temporarily unavailable, due to optimizations>) at /ffmpeg-n1.2/ffmpeg_opt.c:786</font></div>
<div><font face="courier new, monospace">#11 0x00003de8 in open_files (l=0x0, inout=0x0, open_file=0x5f5944 <groups>) at /ffmpeg-n1.2/ffmpeg_opt.c:2307</font></div><div><font face="courier new, monospace">#12 0x00004058 in ffmpeg_parse_options (argc=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>) at /ffmpeg-n1.2/ffmpeg_opt.c:2344</font></div>
<div><font face="courier new, monospace">#13 0x00010c30 in main (argc=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>) at /ffmpeg-n1.2/ffmpeg.c:3317</font></div>
<div><font face="courier new, monospace">Current language:  auto; currently asm</font></div><div><font face="courier new, monospace">(gdb)</font></div><div><font face="courier new, monospace">(gdb) disass $pc-32,$pc+32                                                                                                                      <br>
</font></div><div><font face="courier new, monospace">Dump of assembler code for function ff_pred8x8_top_dc_neon:</font></div><div><font face="courier new, monospace">0x00398b74 <ff_pred8x8_top_dc_neon+0>:<span class="" style="white-space:pre">        </span>andeq<span class="" style="white-space:pre">     </span>lr, r1, #163840<span class="" style="white-space:pre">   </span>; 0x28000</font></div>
<div><font face="courier new, monospace">0x00398b78 <ff_pred8x8_top_dc_neon+4>:<span class="" style="white-space:pre">    </span>ldreq<span class="" style="white-space:pre">     </span>pc, [pc, -r2, lsr #18]</font></div><div>
<font face="courier new, monospace">0x00398b7c <ff_pred8x8_top_dc_neon+8>:<span class="" style="white-space:pre">       </span>addeq<span class="" style="white-space:pre">     </span>pc, r0, #704<span class="" style="white-space:pre">      </span>; 0x2c0</font></div>
<div><font face="courier new, monospace">0x00398b80 <ff_pred8x8_top_dc_neon+12>:<span class="" style="white-space:pre">   </span>bleq<span class="" style="white-space:pre">      </span>0x7d47c8 <noise_table+2408></font></div>
<div><font face="courier new, monospace">0x00398b84 <ff_pred8x8_top_dc_neon+16>:<span class="" style="white-space:pre">   </span>ldmdaeq<span class="" style="white-space:pre">   </span>r0, {r1, r2, r3, r7, r8, r9, r10, r11, sp, lr, pc}^</font></div>
<div><font face="courier new, monospace">0x00398b88 <ff_pred8x8_top_dc_neon+20>:<span class="" style="white-space:pre">   </span>stcne<span class="" style="white-space:pre">     </span>15, cr15, [r0], {179}</font></div><div>
<font face="courier new, monospace">0x00398b8c <ff_pred8x8_top_dc_neon+24>:<span class="" style="white-space:pre">      </span>stceq<span class="" style="white-space:pre">     </span>15, cr15, [r0], {177}</font></div><div><font face="courier new, monospace">0x00398b90 <ff_pred8x8_top_dc_neon+28>:<span class="" style="white-space:pre">        </span>strheq<span class="" style="white-space:pre">    </span>pc, [r1], r10</font></div>
<div><font face="courier new, monospace">0x00398b94 <ff_pred8x8_top_dc_neon+32>:<span class="" style="white-space:pre">   </span>svclt<span class="" style="white-space:pre">     </span>0x0000e04a</font></div><div><font face="courier new, monospace">End of assembler dump.</font></div>
<div><div><font face="courier new, monospace">(gdb)</font></div></div></div></div></div></div>