[FFmpeg-devel] h264_v4l2m2m encoder segmentation fault (Samsung Exynos5422)

Roland Singer roland at desertbit.com
Fri Dec 21 13:05:05 EET 2018


> Run:
> $ gdb -ex r --args ./encode_video out h264_v4l2m2m
> 
> At the core dump, type "bt" and press return. Post that backtrace. Or
> analyze it, if you know what you are doing. 

Hi Moritz,
thanks for the quick reply. I tried to debug the problem already, but the problem lies within libavcodec.so.
I'll try to build ffmpeg with debug flags enabled. This might show some more hints.

GDB:
> Program received signal SIGSEGV, Segmentation fault.
> 0xb63ca57c in ?? () from /usr/lib/libavcodec.so.58
> (gdb) bt
> #0  0xb63ca57c in ?? () from /usr/lib/libavcodec.so.58
> #1  0x81818180 in ?? ()
> Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Oh, one more thing. dmesg outputs following line:

> vidioc_try_fmt:1070: failed to try output format

Have a great day!
Roland


More information about the ffmpeg-devel mailing list