[Libav-user] Segmentation fault (core dumped)

Davood Falahati falahati.davood at gmail.com
Sun Dec 10 10:25:36 EET 2017


Dear Carl,

I have compiled FFMPEG from source with the following configurations:

./configure \  --prefix="$HOME/ffmpeg_build" \
--pkg-config-flags="--static" \
--extra-cflags="-I$HOME/ffmpeg_build/include" \
--extra-ldflags="-L$HOME/ffmpeg_build/lib" \  --extra-libs="-lpthread
-lm" \  --bindir="$HOME/bin" \  --enable-gpl \  --enable-libass \
--enable-libfdk-aac \  --enable-libfreetype \  --enable-libmp3lame \
--enable-libopus \  --enable-libtheora \  --enable-libvorbis \
--enable-libvpx \  --enable-libx264 \  --enable-libx265 \
--enable-nonfree


When I want to compile, for example, metadata.c example, I receive

the following error:

        *Segmentation fault (core dumped)*


However, the created cli tool is working perfectly.


I have also added $HOME/ffmpeg_build/lib to /etc/ld.so.conf

I read your answer here
<http://www.ffmpeg-archive.org/Segmentation-fault-core-dumped-when-run-ffmpeg-td4659806.html>
that you have recommended to use

 --disable-pthreads and make FFMPEG.

I did the same, but I still have the same problem.

Can you help me on this?




Best,

Davood Falahati
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20171210/06032ba9/attachment.html>


More information about the Libav-user mailing list