Hi,

My old pcengines box died and I had a rpi4 around that I spun up to replace it with as my network router/play machine.

The rpi4 is working fantastic except for one thing:

I have a webcam that I'm capturing images using fswebcam and those scripts all work perfectly.

I try to make a video of the captured images (timelapse) using ffmpeg, but any invocation of ffmpeg I try dumps a core.  I have tried on different sets of image files so I don't think it's the data coming in.

A super simple invocation:
ffmpeg -y -pattern_type glob -i "image*.jpeg" all.mp4

After 40-50 frames results in:
Thread 2 received signal SIGSEGV, Segmentation fault.
[Switching to thread 203094]
0x0000001527489808 in mbtree_propagate_list_neon () from /usr/local/lib/libx264.so.24.0


0x0000001527489808 in mbtree_propagate_list_neon () from /usr/local/lib/libx264.so.24.0

(gdb) bt
#0  0x0000001527489808 in mbtree_propagate_list_neon () from /usr/local/lib/libx264.so.24.0 #1  0x000000152744fe98 in macroblock_tree_propagate () from /usr/local/lib/libx264.so.24.0 #2  0x0000001527442994 in macroblock_tree () from /usr/local/lib/libx264.so.24.0 #3  0x0000001527441d1c in x264_8_slicetype_analyse () from /usr/local/lib/libx264.so.24.0 #4  0x0000001527488950 in lookahead_slicetype_decide () from /usr/local/lib/libx264.so.24.0 #5  0x00000015274882dc in lookahead_thread () from /usr/local/lib/libx264.so.24.0 #6  0x000000158550d3c0 in _rthread_start (v=<optimized out>) at /usr/src/lib/librthread/rthread.c:96 #7  0x000000153b2cdbf4 in __tfork_thread () at /usr/src/lib/libc/arch/aarch64/sys/tfork_thread.S:44

Is anyone successfully running ffmpeg on rpi4?

Any ideas to troubleshoot this further?

Thanks,
Steve W.

Reply via email to