[FFmpeg-user] segfault in ffmpeg when including yadif in chain

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Aug 8 22:17:26 CEST 2012


Misha Penkov <misha.penkov <at> gmail.com> writes:

> 
> On 8 August 2012 15:30, Carl Eugen Hoyos <cehoyos <at> ag.or.at> wrote:
> > Misha Penkov <misha.penkov <at> gmail.com> writes:
> >
> >>   libavutil      51. 66.101 / 51. 65.100
> >>   libavcodec     54. 50.100 / 54. 44.100
> >>   libavformat    54. 22.101 / 54. 19.100
> >>   libavdevice    54.  2.100 / 54.  2.100
> >>   libavfilter     3.  5.102 /  3.  3.100
> >
> > While this may indicate a (important) bug, I would still
> > strongly recommend you simply recompile (and consider
> > using static linking for ffmpeg this time).
> 
> I recompiled using --disable-shared and --disable-stripping, and the
> problem went away.
> 
> Why does it only happen when shared libraries are used?

The problem has (probably) nothing to do with shared vs 
static, but that - as you can see - your version above was 
compiled against one version of libav* but another version 
was loaded at runtime.
This should in theory work - that is why I said this may 
be an important bug - but I am not sure how to reproduce 
here (and it definitely would take some time) and you can 
relatively easily fix it for you by recompiling with static 
linking.

Carl Eugen



More information about the ffmpeg-user mailing list