[Libav-user] "Segmentation fault" When encoding H264 video frame
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Sep 14 18:36:28 EEST 2016
2016-09-14 14:38 GMT+02:00 M N <assemblerx86 at yandex.com>:
> ==21468== Invalid read of size 8
> ==21468== at 0x5297EB0: avcodec_encode_video2 (in /usr/lib64/libavcodec.so.56.60.100)
> ==21468== by 0x401E09: main (main.c:154)
> ==21468== Address 0x48 is not stack'd, malloc'd or (recently) free'd
This still needs a debug version of libavcodec, things will be much
easier for you if you use a static library that you compiled yourself.
(./configure --enable-gpl --enable-libx264 && make)
And consider to fix the other issues valgrind reports.
Carl Eugen
More information about the Libav-user
mailing list