Skip to content

Instantly share code, notes, and snippets.

@theos911
Created April 14, 2013 20:27
Show Gist options
  • Save theos911/5384076 to your computer and use it in GitHub Desktop.
Save theos911/5384076 to your computer and use it in GitHub Desktop.
ffmpeg illegal instruction on h264 encode
**********
Host Name: theodore-waddells-powermacg3series
Date/Time: 2013-04-14 16:26:15.649 -0400
OS Version: 10.4.11 (Build 8S165)
Report Version: 4
Command: ffmpeg
Path: /usr/local/bin/ffmpeg
Parent: bash [27115]
Version: ??? (???)
PID: 27148
Thread: 0
Exception: EXC_BAD_INSTRUCTION (0x0002)
Code[0]: 0x00000002
Code[1]: 0x0046f088
Thread 0 Crashed:
0 libx264.125.dylib 0x0046f088 x264_frame_pop_unused + 8
1 libx264.125.dylib 0x004fc080 x264_encoder_open_125 + 3680
2 libavcodec.54.dylib 0x01368e74 ff_lag_rac_init + 14580
3 libavcodec.54.dylib 0x014cea6c avcodec_open2 + 2780
4 ffmpeg 0x00016654 term_init + 37644
5 ffmpeg 0x00017840 main + 420
6 ffmpeg 0x000026dc start + 812
7 ffmpeg 0x000023e0 start + 48
Thread 0 crashed with PPC Thread State 64:
srr0: 0x000000000046f088 srr1: 0x000000000008f030 vrsave: 0x0000000000000000
cr: 0x82004222 xer: 0x0000000000000001 lr: 0x00000000004fc080 ctr: 0x0000000090014d1c
r0: 0x0000000000000000 r1: 0x00000000bfffa900 r2: 0x00000000434f4e44 r3: 0x000000000069e000
r4: 0x0000000000000001 r5: 0x000000000000002c r6: 0x0000000000000000 r7: 0x0000000000000001
r8: 0x00000000004fc080 r9: 0x0000000000000000 r10: 0x00000000000001ff r11: 0x0000000042002228
r12: 0x0000000090014d1c r13: 0x00000000000250c4 r14: 0x00000000000250c4 r15: 0x0000000000000000
r16: 0x0000000000000000 r17: 0x0000000000000002 r18: 0x0000000000000000 r19: 0x00000000007c3000
r20: 0x0000000000000032 r21: 0x000000000069e000 r22: 0x0000000000000188 r23: 0x000000000069e000
r24: 0x0000000000006521 r25: 0x0000000000520000 r26: 0x0000000000000000 r27: 0x000000000069e000
r28: 0x0000000000000000 r29: 0x000000000069e000 r30: 0x000000000069e000 r31: 0x0000000000000001
Binary Images Description:
0x1000 - 0x24fff ffmpeg /usr/local/bin/ffmpeg
0x2b000 - 0x2dfff libavdevice.54.dylib /usr/local/Cellar/ffmpeg/1.2/lib/libavdevice.54.dylib
0x30000 - 0x3dfff libavresample.1.dylib /usr/local/Cellar/ffmpeg/1.2/lib/libavresample.1.dylib
0x41000 - 0x49fff libpostproc.52.dylib /usr/local/Cellar/ffmpeg/1.2/lib/libpostproc.52.dylib
0x4c000 - 0x5bfff libswresample.0.dylib /usr/local/Cellar/ffmpeg/1.2/lib/libswresample.0.dylib
0x6f000 - 0x7bfff libfaac.0.0.0.dylib /usr/local/lib/libfaac.0.0.0.dylib
0xaa000 - 0xdefff libswscale.2.dylib /usr/local/Cellar/ffmpeg/1.2/lib/libswscale.2.dylib
0x205000 - 0x288fff libavfilter.3.dylib /usr/local/Cellar/ffmpeg/1.2/lib/libavfilter.3.dylib
0x2af000 - 0x3dffff libavformat.54.dylib /usr/local/Cellar/ffmpeg/1.2/lib/libavformat.54.dylib
0x408000 - 0x42ffff libavutil.52.dylib /usr/local/Cellar/ffmpeg/1.2/lib/libavutil.52.dylib
0x43b000 - 0x520fff libx264.125.dylib /usr/local/lib/libx264.125.dylib
0x5c0000 - 0x5f8fff libmp3lame.0.dylib /usr/local/lib/libmp3lame.0.dylib
0x1008000 - 0x1890fff libavcodec.54.dylib /usr/local/Cellar/ffmpeg/1.2/lib/libavcodec.54.dylib
0x8fe00000 - 0x8fe52fff dyld 46.16 /usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x91112000 - 0x91120fff libz.1.dylib /usr/lib/libz.1.dylib
0x91434000 - 0x9143ffff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x92a07000 - 0x92af5fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x98de7000 - 0x98df4fff libbz2.1.0.dylib /usr/lib/libbz2.1.0.dylib
theodore-waddells-powermacg3series:~ theodorewaddell$ ffmpeg -i /Users/theodorewaddell/Desktop/FuryLowIdle.mp4 -vcodec libx264 -vprofile high -preset slow -pix_fmt yuv420p -b:v 300k -b:v 300k -s 426x240 -threads 0 /Users/theodorewaddell/Desktop/FuryLowIdle240p.mp4
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Apr 14 2013 15:13:48 with gcc 4.2.1 (GCC) (Apple Inc. build 5553)
configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=/usr/local/bin/gcc-4.2 --host-cflags='-Os -w -pipe -mcpu=750 -isystem /usr/X11R6/include -mmacosx-version-min=10.4' --host-ldflags='-L/usr/local/opt/ld64/lib -L/usr/local/lib -F/usr/local/Frameworks -L/usr/X11R6/lib -B/usr/local/Cellar/ld64/97.17/bin/' --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --disable-asm --disable-altivec
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/theodorewaddell/Desktop/FuryLowIdle.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2013-02-08 18:14:21
Duration: 00:00:26.54, start: 0.000000, bitrate: 2929 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 2783 kb/s, 29.97 fps, 29.97 tbr, 60k tbn, 59.94 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 144 kb/s
Metadata:
creation_time : 2013-02-08 18:14:21
handler_name : IsoMedia File Produced by Google, 5-11-2011
[libx264 @ 0x2007000] using cpu capabilities: none!
Illegal instruction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment