[x264-devel] Problem with ffmpeg + x264 crf encoding

Jason Garrett-Glaser darkshikari at gmail.com
Mon Aug 24 15:31:43 CEST 2009


On Mon, Aug 24, 2009 at 6:12 AM, Georg Lippold<georg.lippold at gmx.de> wrote:
> Hello,
>
> I'm trying to convert a Canon AVCHD .MTS stream/file into a libx264
> compressed avi file using ffmpeg with libx264. I compiled ffmpeg and x264
> from today's git (x264 head d0ee6f8864c1066fb14672faeb738ff511abc261, ffmpeg
> head b2ec810e87371f6c25c27818fb2f197316591d96). Whenever I execute my
> command line using libx264 with the CRF option, ffmpeg crashes. I'm using
> the following command line for converting:

As usual, the issue is, 99% chance, a miscompiled ffmpeg.

In particular, you have likely linked ffmpeg against a different x264
than you compiled against.  You can confirm this by running "ldd" on
your copy of ffmpeg and checking that the version number matches the
X264_BUILD in your x264.h, which it probably does not.

The best way to avoid this is to remove old versions of x264 before
compiling ffmpeg, or to use --enable-shared when compiling x264.

Dark Shikari


More information about the x264-devel mailing list