Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques using libx264 codec

  • using libx264 codec

    Posted by Peter Robertson on June 12, 2012 at 8:59 pm

    I’ve been trying to use the libx264 codec but I continue to get the error ‘unknown encoder ‘libx264’.

    I’m beginning to think there is something wrong with my ffmpeg installation or that the libx264 presets are not in the correct folder. Currently my libx264 presets are installed in the same folder as ffpmeg, config.mak, configure, ffprobe and the rest. I copied them from the presets folder into the root ffmpeg folder as per instructions that I read.

    Where should the presets be located and how do I use them?

    ffmpeg -i input.mov -vcodec libx264 -preset ultrafast -f mov output.mov

    Pedro

    Pedro

    Stephen Dixon replied 13 years, 11 months ago 2 Members · 1 Reply
  • 1 Reply
  • Stephen Dixon

    June 13, 2012 at 1:42 am

    use ffmpeg -v to find out about your ffmpeg instalation. You have to install libx264 separately and specify –enable-libx264 when you compile ffmpeg.

    libx264 is available from the videolan folks: https://www.videolan.org/developers/x264.html

    Stephen Dixon
    Editor, Animator, Motionographer
    Museum Victoria

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy