VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker or buy PlayOn and record Netflix! :)
+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 36 of 36
Thread
  1. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    Either that ... or you learn to be more patient and wait for more founded replies than mine. A forum is not a live chat. The best answer may arrive a week later...
    Quote Quote  
  2. Member SanderMan's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Search Comp PM
    Finally got it to work, by switching to handbrake 1.07 instead of the latest nightly. Thanks again for the assist.
    Quote Quote  
  3. As LigH.de mentioned, the NASM assembler is now required to compile the x264 and x265 video encoders as they now support AVX-512 optimizations, they also require a very recent version to work (2.13.02 or later), I've noticed Ubuntu 16.04 LTS does not detect the latest stable release and picks up version 2.11.08 instead, I therefore recommend using Ubuntu 17.10 (or later), Fedora or WSL for this process instead!

    See: https://github.com/HandBrake/HandBrake/pull/1081
    However, you can compile the latest version of NASM with the following command in Ubuntu 16.04 LTS as mentioned here: https://handbrake.fr/docs/en/latest/developer/build-windows.html

    Which is: curl -O http://www.nasm.us/pub/nasm/releasebuilds/2.13.02/nasm-2.13.02.tar.bz2
    tar -xf nasm-2.13.02.tar.bz2
    cd nasm-2.13.02
    ./configure --prefix=/usr/local --enable-sections --enable-lto
    make -j$(nproc)
    sudo make install
    source ~/.bashrc
    cd ..
    Quote Quote  
  4. Member
    Join Date
    Jan 2018
    Location
    Malaysia
    Search Comp PM
    vmware workstation player with ubuntu 16.04.3

    got an error while compiling handbrake, forgot to take a screenshot.

    after that I saw AntW93 tips, then I use ubuntu 17.10.1 instead, everything went smoothly and compiled successfully.

    no problem using the compiled hb.dll on my windows 10 with handbrake 1.0.7

    million thanks to author and everyone for the guide
    Quote Quote  
  5. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    A pity MSYS2 under Windows seems to be unsupported; I tried to run the guide in a MinGW64 shell of MABS, instead of a real Linux host:

    Code:
    $ ./configure --cross=x86_64-w64-mingw32 --enable-x265 --enable-qsv --enable-fdk-aac --enable-libav-aac --launch-jobs=1 --force --launch
    probe: host tuple...(fail) code 1
      + ./make/config.guess
    It seems to fail in make/configure.py:

    Code:
    ## GNU host tuple probe: determine canonical platform type
    Looking back up, it was already mentioned:

    Originally Posted by AntW93 View Post
    As far as I know, HandBrake for Windows can only be cross-compiled, not natively compiled, it even says in its online documentation that building HandBrake for Windows requires Linux and a recent MinGW-w64 toolchain, see: https://handbrake.fr/docs/en/1.0.0/developer/build-windows.html

    I would love to be proved wrong though and shown that HandBrake can be compiled under the Windows environment, but I don't think it can, unfortunately!
    Quote Quote  
  6. Originally Posted by LigH.de View Post
    A pity MSYS2 under Windows seems to be unsupported; I tried to run the guide in a MinGW64 shell of MABS, instead of a real Linux host:

    Code:
    $ ./configure --cross=x86_64-w64-mingw32 --enable-x265 --enable-qsv --enable-fdk-aac --enable-libav-aac --launch-jobs=1 --force --launch
    probe: host tuple...(fail) code 1
      + ./make/config.guess
    It seems to fail in make/configure.py:

    Code:
    ## GNU host tuple probe: determine canonical platform type
    It is apparently possible to build HandBrake for Windows using MSYS2 as mentioned here: https://github.com/HandBrake/HandBrake/pull/506 and: https://github.com/HandBrake/HandBrake/issues/1054

    I have yet to test this for myself though, WSL is also faster than MSYS!
    Quote Quote  



Similar Threads