Open theos911 opened 11 years ago
Hm, so this is actually happening in x264:
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
From the ffmpeg output:
[libx264 @ 0x2007000] using cpu capabilities: none!
...so it doesn't look like x264 is incorrectly trying to use Altivec.
I was able to use x264 without crashes on a G4, where it did use Altivec.
For comparison, can you try the x264
binary that ships with x264 and see if that crashes too?
Can you post your x264 build logs?
How would I use the binary?
x264 log: https://gist.github.com/theos911/5384171
Currently rebuilding ffmpeg to link against the newly built x264 library and will see if issue persists
asm: yes
Hm... wonder if disabling asm on PPC would help anything.
Freshly built ffmpeg on the freshly built library gives the same error. Try building x264 without asm, rebrew, & relink? (If so, how do I disable it?)
Try this:
brew install https://gist.github.com/mistydemeo/e41212fc5ab3ad6a9f72/raw/69bb470ed0b7ed7d20ac88442c358424a363cb0a/x264.rb
There's no need to rebuild ffmpeg after reinstalling x264.
Encoding x264 now works without a problem, Thanks.
I rebuilt the packages with debug and ASM enabled in x264. Here are the build logs and another conversion attempt.
Once you've build ffmpeg with debug enabled, can you try it with gdb using ffmpeg's instructions please? Thanks!
Ping
Attempting to downsize a video file with brewed ffmpeg
https://gist.github.com/theos911/5384076