-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handbrake v1.3.2 on RaspberryPi 4 with Raspian Buster #2
Comments
Hey thank you for sharing this. I tried to rebuild it with your updates but
Any idea how to fix this? |
Can it be that you forgot STEP 6 ? Otherwise I wouldn't know, I just followed all the step as described and worked perfectly (after the extra dependencies). Good luck. |
Thanks for the fast reply! No, I pay attention to every step. Step 6 has a different path though: For me x265 is irrelevant, I only need x264, is it possible to disable x265 on compilation? |
I just gave it another try and it worked fine, here are my steps from step #3:
Modify the file to look like this (change == to !=)
And here my OS information
I hope this helps you, for the rest, the author posted a couple of links as reference, you may find more information in them. Good luck. |
Wow this time it run through, I explicitly executed Step 2 again:
But not sure if this made the difference, regarding the steps you mentioned above... |
I am glad that it worked out, I did not repeated steps #1 and #2 above because it is still the same raspberry :) BTW I just gave it a try with the new v1.3.3 release, it works the same: |
I do not have running RPi at the moment to test but I can see that there is newer nasm, so maybe in step 2 replacing |
I also thing that I should update step 3 - as I understand from your posts it works perfectly now with HandBreak 1.3.2 or 1.3.3 and it is not required to cherry pick specific commit |
@rafaelmaeuer could you please share if you succeeded building UI? |
That's right v1.3.2 and v1.3.3 compile without a problems:
|
@kapitainsky I was successful in building the GUI for v1.3.3. Thanks again for sharing this! |
@rafaelmaeuer do you mind if I include GUI parts in my guide? |
no feel free :) |
Would it be possible to somehow use the latest x265 with aarch64 assembly? http://x265.org/faster-arm64-encodes-using-x265/ |
Just got 1.6.1 to build sudo apt install libturbojpeg0-dev git autoconf automake build-essential cmake libass-dev libbz2-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev libjansson-dev liblzma-dev libmp3lame-dev libogg-dev libopus-dev libsamplerate-dev libspeex-dev libtheora-dev libtool libtool-bin libvorbis-dev libx264-dev libxml2-dev m4 make patch pkg-config python tar yasm zlib1g-dev libvpx-dev xz-utils bzip2 zlib1g meson libnuma-dev wget https://github.com/HandBrake/HandBrake/releases/download/1.6.1/HandBrake-1.6.1-source.tar.bz2 tar -xf HandBrake-1.6.1-source.tar.bz2 cd HandBrake-1.6.1/ echo "X265_8.CONFIGURE.extra += -DENABLE_ASSEMBLY=OFF -DENABLE_PIC=ON -DENABLE_AGGRESSIVE_CHECKS=ON -DENABLE_TESTS=ON -DCMAKE_SKIP_RPATH=ON" >> ./contrib/x265_8bit/module.defs && echo "X265_10.CONFIGURE.extra += -DENABLE_ASSEMBLY=OFF -DENABLE_PIC=ON -DENABLE_AGGRESSIVE_CHECKS=ON -DENABLE_TESTS=ON -DCMAKE_SKIP_RPATH=ON" >> ./contrib/x265_10bit/module.defs && echo "X265_12.CONFIGURE.extra += -DENABLE_ASSEMBLY=OFF -DENABLE_PIC=ON -DENABLE_AGGRESSIVE_CHECKS=ON -DENABLE_TESTS=ON -DCMAKE_SKIP_RPATH=ON" >> ./contrib/x265_12bit/module.defs && echo "X265.CONFIGURE.extra += -DENABLE_ASSEMBLY=OFF -DENABLE_PIC=ON -DENABLE_AGGRESSIVE_CHECKS=ON -DENABLE_TESTS=ON -DCMAKE_SKIP_RPATH=ON" >> ./contrib/x265/module.defs ./configure --launch-jobs=$(nproc) --disable-gtk --disable-nvenc --disable-qsv --enable-fdk-aac cd build/ make -j $(nproc) (wait for downloads to finish and interrupt) nano ./contrib/x265/x265-snapshot-20221130-12747/source/common/primitives.cpp Modify the file to look like this (change == to !=) tail -6 ./contrib/x265/x265_3.2.1/source/common/primitives.cpp make -j $(nproc) |
Hi there,
I came across your instructions today and I was able to successfully compile Handbrake v1.3.2 on the Raspberry Pi 4 with Raspian Buster, I just needed to add a two dependencies, otherwise, everything worked perfectly, thank you!
1. Missing dependencies
meson
andlibnuma-dev
sudo apt-get install git autoconf automake build-essential cmake libass-dev libbz2-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev libjansson-dev liblzma-dev libmp3lame-dev libogg-dev libopus-dev libsamplerate-dev libspeex-dev libtheora-dev libtool libtool-bin libvorbis-dev libx264-dev libxml2-dev m4 make patch pkg-config python tar yasm zlib1g-dev libvpx-dev xz-utils bzip2 zlib1g meson libnuma-dev
3. Download source code directly from official website
https://handbrake.fr/rotation.php?file=HandBrake-1.3.2-source.tar.bz2
I hope this helps anyone trying this.
The text was updated successfully, but these errors were encountered: