Results 1 to 9 of 9

Thread: ffmpeg configure error "libx264 not found" ?

  1. #1
    Join Date
    Sep 2009
    Beans
    25

    Red face ffmpeg configure error "libx264 not found" ?

    when I install libx264 through apt-get , the ffmpeg configuration goes smoothly but after uninstalling libx264 , i install it again but by compiling src , i got ffmpeg configuration error as "libx264 not found" ?

    My Operating system: Kubuntu 9.10 karmic kola 64bit

    thanks in advance

  2. #2
    Join Date
    Sep 2006
    Beans
    3,476

    Re: ffmpeg configure error "libx264 not found" ?


  3. #3
    Join Date
    Sep 2009
    Beans
    25

    Re: ffmpeg configure error "libx264 not found" ?

    Quote Originally Posted by FakeOutdoorsman View Post

    yes i did , the only difference is i downloaded the src code directly from ffmpeg site , instead of using svn (for vhook to work).
    The amazing thing is svn version compiled without any problem but it do not have vhook support.So still the problem remains

  4. #4
    Join Date
    Sep 2006
    Beans
    3,476

    Re: ffmpeg configure error "libx264 not found" ?

    FFmpeg 0.5 is too old to use a recent compiled x264, and I'm unsure which x264 revision will work for you. Perhaps libx264-dev from the repository will work. Never tried it myself.

    Or, if you're patient, a patch is coming soon that will allow recent x264 to work in the FFmpeg 0.5 branch. I'll make a post when it is released.

  5. #5
    Join Date
    Sep 2009
    Beans
    401
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ffmpeg configure error "libx264 not found" ?

    Alternatively you can use ffmpeg as a decoding filter in front of the CLI version of x264. This will give you access to all x264 options, including those which are not mapped to ffmpeg. Enter "x264 --longhelp" for a full list.
    Code:
    ffmpeg -i <input file> -r <fps> -s <width>x<height> \
    -f rawvideo -vcodec rawvideo -pix_fmt yuv420p \
    -y /dev/stdout | x264 <encoding options> -o <output file> \
    --fps <fps> /dev/stdin <width>x<height>
    Last edited by VertexPusher; February 12th, 2010 at 09:05 AM.

  6. #6
    Join Date
    Sep 2009
    Beans
    25

    Re: ffmpeg configure error "libx264 not found" ?

    Quote Originally Posted by VertexPusher View Post
    Alternatively you can use ffmpeg as a decoding filter in front of the CLI version of x264. This will give you access to all x264 options, including those which are not mapped to ffmpeg. Enter "x264 --longhelp" for a full list.
    Code:
    ffmpeg -i <input file> -r <fps> -s <width>x<height> \
    -f rawvideo -vcodec rawvideo -pix_fmt yuv420p \
    -y /dev/stdout | x264 <encoding options> -o <output file> \
    --fps <fps> /dev/stdin <width>x<height>
    Thats a nice workaround (and complex : ) , my primary aim to setupt ffmpeg is to use it with phpvideotoolkit ,

  7. #7
    Join Date
    Jun 2007
    Beans
    12,947

    Re: ffmpeg configure error "libx264 not found" ?

    libx264-67 and it's matching libx264-dev will work fine with the 0.5 release of ffmpeg.
    more here

  8. #8
    Join Date
    Sep 2009
    Beans
    25

    Re: ffmpeg configure error "libx264 not found" ?

    Quote Originally Posted by mc4man View Post
    libx264-67 and it's matching libx264-dev will work fine with the 0.5 release of ffmpeg.
    more here
    i installed both of them but the same problem.

  9. #9
    Join Date
    Jun 2007
    Beans
    12,947

    Re: ffmpeg configure error "libx264 not found" ?

    i installed both of them but the same problem.
    Not actuallly sure what you mean but ...
    You could wait for the patch FO mentioned or follow what I posted. If you did so I'm 99.9% sure you'd have the 0.5 ffmpeg with vhook and x264 enabled.

    You need to remove any prior x264 builds first and if you have any ppa that provides x264 then disable it.

    You'd run this first, then install the karmic libx264-67 and karmic libx264-dev (1:0.svn20090621+git364d7d-0ubuntu2), then build the 0.5 ffmpeg source, ect.

    Code:
    sudo apt-get remove libx264-dev x264 ffmpeg
    Code:
    sudo apt-get install libx264-67 libx264-dev

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •