Newest 'x264' Questions - Stack Overflow

http://stackoverflow.com/questions/tagged/x264

Les articles publiés sur le site

  • libx264.so.146 not found while compiling C++ code or x264 itself

    27 février 2017, par Laurent Loots

    I just upgraded my system from Ubuntu 15.10 to Ubuntu 16.04 LTS. Now, for some reason my C++ project won't compile anymore. CLion keeps saying it's missing 'libx264.so.146 as you can see in the compile log:

    /home/lorre851/CLion/bin/cmake/bin/cmake --build /home/lorre851/.CLion12/system/cmake/generated/ce7171e4/ce7171e4/Release --target main -- -j 8
    [ 20%] Linking CXX executable build/main
    /usr/bin/ld: warning: libx264.so.146, needed by /usr/local/lib/libavcodec.so.57, not found (try using -rpath or -rpath-link)
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_encoder_open_146'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_encoder_close'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_bit_depth'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_encoder_headers'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_encoder_encode'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_encoder_reconfig'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_param_parse'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_param_apply_profile'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_param_apply_fastfirstpass'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_levels'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_picture_init'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_param_default'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_param_default_preset'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_encoder_delayed_frames'
    collect2: error: ld returned 1 exit status
    CMakeFiles/main.dir/build.make:172: recipe for target 'build/main' failed
    make[3]: *** [build/main] Error 1
    CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/main.dir/all' failed
    make[2]: *** [CMakeFiles/main.dir/all] Error 2
    CMakeFiles/Makefile2:79: recipe for target 'CMakeFiles/main.dir/rule' failed
    make[1]: *** [CMakeFiles/main.dir/rule] Error 2
    Makefile:118: recipe for target 'main' failed
    make: *** [main] Error 2
    

    Most people seem to give 'reinstalling x264' as a solution. However, reinstalling x264 with the following commands leads to the same error while compiling x264 itself.

    git clone git://git.videolan.org/x264
    cd x264
    ./configure --enable-static
    make
    
    /usr/bin/ld: warning: libx264.so.146, needed by /usr/local/lib/libavcodec.so, not found (try using -rpath or -rpath-link)
    /usr/local/lib/libavcodec.so: undefined reference to `x264_encoder_open_146'
    collect2: error: ld returned 1 exit status
    Makefile:202: recipe for target 'x264' failed
    make: *** [x264] Error 1
    

    Does anyone have an idea how I could get around this?

  • libx264.so.146 not found while compiling C++ code or x264 itself

    27 février 2017, par Laurent Loots

    I just upgraded my system from Ubuntu 15.10 to Ubuntu 16.04 LTS. Now, for some reason my C++ project won't compile anymore. CLion keeps saying it's missing 'libx264.so.146 as you can see in the compile log:

    /home/lorre851/CLion/bin/cmake/bin/cmake --build /home/lorre851/.CLion12/system/cmake/generated/ce7171e4/ce7171e4/Release --target main -- -j 8
    [ 20%] Linking CXX executable build/main
    /usr/bin/ld: warning: libx264.so.146, needed by /usr/local/lib/libavcodec.so.57, not found (try using -rpath or -rpath-link)
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_encoder_open_146'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_encoder_close'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_bit_depth'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_encoder_headers'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_encoder_encode'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_encoder_reconfig'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_param_parse'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_param_apply_profile'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_param_apply_fastfirstpass'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_levels'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_picture_init'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_param_default'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_param_default_preset'
    /usr/local/lib/libavcodec.so.57: undefined reference to `x264_encoder_delayed_frames'
    collect2: error: ld returned 1 exit status
    CMakeFiles/main.dir/build.make:172: recipe for target 'build/main' failed
    make[3]: *** [build/main] Error 1
    CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/main.dir/all' failed
    make[2]: *** [CMakeFiles/main.dir/all] Error 2
    CMakeFiles/Makefile2:79: recipe for target 'CMakeFiles/main.dir/rule' failed
    make[1]: *** [CMakeFiles/main.dir/rule] Error 2
    Makefile:118: recipe for target 'main' failed
    make: *** [main] Error 2
    

    Most people seem to give 'reinstalling x264' as a solution. However, reinstalling x264 with the following commands leads to the same error while compiling x264 itself.

    git clone git://git.videolan.org/x264
    cd x264
    ./configure --enable-static
    make
    
    /usr/bin/ld: warning: libx264.so.146, needed by /usr/local/lib/libavcodec.so, not found (try using -rpath or -rpath-link)
    /usr/local/lib/libavcodec.so: undefined reference to `x264_encoder_open_146'
    collect2: error: ld returned 1 exit status
    Makefile:202: recipe for target 'x264' failed
    make: *** [x264] Error 1
    

    Does anyone have an idea how I could get around this?

  • Multiple encoding of videos using AviSynth and X264 from a bat file

    16 février 2017, par FoxyFish

    at the moment i am encoding my videos (vhs restoration) using avisynth and x264 via dragging an .avs file onto a bat file.

    This is working great, but my problem (well not really a problem, more of an efficiency issue) is that i have to manually keep dragging my avs files onto the bat to start the process. Would it be possible to have the bat file convert a whole directory of videos (maybe 20 or so) one after the other in an automated way?

    The .avs file is always the same for each video except the AviSource() line.

    I know i can loop the .bat for the number of videos present, but how do i load in the .avs file having a variable AviSource()?

    How could i achieve this, or is it not possible?

    Thanks.

  • Handbrake x264 advanced options tutorial [closed]

    6 février 2017, par eco_bach

    Can anyone point me to any tutorials on using the advanced string options in Handbrake?

    Something like 'Handbrake-the missing manual' would be awesome.

  • Handbrake x264 advanced options tutorial

    6 février 2017, par eco_bach

    Can anyone point me to any tutorials on using the advanced string options in Handbrake?

    Something like 'Handbrake-the missing manual' would be awesome.