Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HowTo: Install HandBrakeCLI on your unRAID server (rather than in a VM)

Featured Replies

I was able to get the the package handbrake-0.9.8-i486-1alien.txz to work using the dependencies listed in aiden's post (with some tweaks).

installpkg fontconfig-2.8.0-i486-1.txz
installpkg freetype-2.4.10-i486-1_slack13.1.txz
installpkg gcc-g++-4.5.2-i486-2.txz
installpkg glib-1.2.10-i486-3.txz
installpkg glibc-2.11.1-i486-7_slack13.1.txz
installpkg libogg-1.1.4-i486-1.txz
installpkg libsamplerate-0.1.7-i486-1.txz
installpkg libtheora-1.1.1-i486-1.txz
installpkg libvorbis-1.2.3-i486-1.txz
installpkg libxml2-2.7.6-i486-3_slack13.1.txz
installpkg zlib-1.2.5-i486-4.txz

 

I moved my HandBrakeCLI to /usr/local/bin/ to work with my queue scripts.

ldd /usr/local/bin/HandBrakeCLI
        linux-gate.so.1 =>  (0xb771a000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb76e6000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb766c000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb7667000)
        libsamplerate.so.0 => /usr/lib/libsamplerate.so.0 (0xb74fc000)
        libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb74ab000)
        libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0xb7468000)
        libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0xb744f000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7427000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb732e000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7208000)
        libbz2.so.1 => /lib/libbz2.so.1 (0xb71f7000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb71e3000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb71ca000)
        libdl.so.2 => /lib/libdl.so.2 (0xb71c6000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb70dd000)
        libm.so.6 => /lib/libm.so.6 (0xb70b7000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb70ab000)
        libc.so.6 => /lib/libc.so.6 (0xb6f43000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6f23000)
        /lib/ld-linux.so.2 (0xb771b000)

 

This can work, but I'm interested in the settings ClunkClunk used to compile the earlier package that didn't need the extra libs.

 

Glad to see you got it to work. I use ffmpeg now, so I'm not really sure how to assist any further :P

  • 4 months later...
  • Replies 115
  • Views 56k
  • Created
  • Last Reply

Top Posters In This Topic

Posted Images

i know it's an old thread but i would be also interested to have a complete step by step on how to compile HandBrake with all the dependencies included. There's a new version of handbrake, v0.9.9, and i would like to compile it but i don't know how to do it.

 

thank you!

 

alex

i know it's an old thread but i would be also interested to have a complete step by step on how to compile HandBrake with all the dependencies included. There's a new version of handbrake, v0.9.9, and i would like to compile it but i don't know how to do it.

 

I didn't really do too much that was special. I just ran Slackware 13 in a virtual machine, and compiled it following some of the instructions in the first post. I think there was an additional note from me how to disable gtk (the GUI) from compiling, but that was about it.

 

I tried it last week as I had a little time, but had to rebuild my Slackware 13.37 image from scratch, and then Handbrake 0.9.9 wouldn't compile cleanly as I needed fribidi and libass if I recall. I will try to revisit it if I can, but it's doubtful I'll put much time in to it, so if someone else wants to work on it, go for it!

i tried to compile it but when i run this command "./configure --launch --disable-gtk", i get this error:

 

probe: host tuple...(pass) i686-pc-linux-gnu
compute: available architectures...(pass) i686
find: ar...(fail) not found
  : name[0] = ar
ERROR: unable to continue; configure stop.

 

someone know what im missing?

  • 7 months later...

Sorry to revive this thread. Any luck with compiling the .conf file for the latest handbrake version? I installed the .conf file that clunk compiled and installed with little skill by me. The problem is it won't let me encode the bluray mkv's. Thanks in advance.

I think I found a working solution. Since Alien did a great Slackware 14.1 build, I just used his package (compiling this on unRAID is a pain - though it's very doable on Slackware 14.1 full install), and sat down and found every dependency that would be needed for unRAID 5.0.4 (probably 5.0.5 but I don't have that in a VM yet).

 

I'd like a few people to test and then I can set it up as an unmenu .conf file for easy install.

 

wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/x/fontconfig-2.10.93-i486-1.txz
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/l/freetype-2.5.0.1-i486-1.txz
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/l/libogg-1.3.0-i486-1.txz
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/l/libsamplerate-0.1.8-i486-1.txz
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/l/libtheora-1.1.1-i486-1.txz
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/l/libvorbis-1.3.3-i486-1.txz
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/l/libxml2-2.9.1-i486-1.txz
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/l/zlib-1.2.8-i486-1.txz
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/l/glibc-2.17-i486-7.txz
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/l/glib-1.2.10-i486-3.txz
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/d/gcc-g++-4.8.2-i486-1.txz
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/l/libpng-1.4.12-i486-1.txz
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-14.1/slackware/a/xz-5.0.5-i486-1.tgz
wget http://slackware.org.uk/people/alien/restricted_slackbuilds/handbrake/pkg/14.0/handbrake-0.9.9-i486-1alien.txz

installpkg fontconfig-2.10.93-i486-1.txz
installpkg installpkg freetype-2.5.0.1-i486-1.txz
installpkg gcc-g++-4.8.2-i486-1.txz
installpkg glib-1.2.10-i486-3.txz
installpkg glibc-2.17-i486-7.txz
installpkg libogg-1.3.0-i486-1.txz
installpkg libpng-1.4.12-i486-1.txz
installpkg libsamplerate-0.1.8-i486-1.txz
installpkg libtheora-1.1.1-i486-1.txz
installpkg libvorbis-1.3.3-i486-1.txz
installpkg libxml2-2.9.1-i486-1.txz
installpkg xz-5.0.5-i486-1.tgz
installpkg zlib-1.2.8-i486-1.txz
installpkg handbrake-0.9.9-i486-1alien.txz

HandBrakeCLI -u

 

Let me know how it goes!

Thanks I'll give it a try. On a side note I have a 1230v2 xeon while using the old version of handbrake I was getting roughly 7fps. Well that improve with version .9.9?

Installed without a hitch I also have it installed on UNRAID 5.0.5. Its actually running encoding faster then with the previous version looking at 3 hours now instead of 7 hours.

Glad to hear it's working and faster than previous versions!

Thank you very much! Not sure what this error is being cause by its a seg fault in the cron jobs ....

Jan 25 11:47:01 Tower crond[1357]: exit status 1 from user root /usr/bin/run-parts /etc/cron.hourly 1> /dev/null 
Jan 25 11:47:01 Tower kernel: crond[15712]: segfault at 4001e51c ip 4001e51c sp bf8d3ca8 error 15 in ld-2.11.1.so[4001e000+1000] (Errors)
Jan 25 12:47:01 Tower crond[1357]: exit status 1 from user root /usr/bin/run-parts /etc/cron.hourly 1> /dev/null 
Jan 25 12:47:01 Tower kernel: crond[16274]: segfault at 4001e51c ip 4001e51c sp bf8d3ca8 error 15 in ld-2.11.1.so[4001e000+1000] (Errors)

Havoc, I'm getting the same thing. Quick googling shows that zlib or glibc is at fault. I'm going to investigate, but I'm a bit over my head at this point :-)

Haha I hear you on that. Maybe a Linux wizard can chime in?  ;)

  • 8 years later...

I wonder what's the longest gap between reply's but I'd like to add my two cents.

 

I was having problems running Tdarr-node's handbrakecli encoding docker, it would only use one CPU core and therefore take forever to encode. I wanted to test to see if handbrake would work better running on the host machine and not in a docker or vm. I found this thread but being over a decade old I really had no hopes but figured I give it a try and I'm glad to say it does work! I had to tweak some things but you can still get this to work. I'm running unraid 6.9.2.

 

I used https://slackware.pkgs.org/ to find all the missing packages:

 

handbrake-1.5.1-x86_64-1alien.txz
fontconfig-2.13.92-x86_64-3.txz
freetype-2.12.1-x86_64-1.txz
gcc-g++-12.1.0-x86_64-1.txz
glibc-2.35-x86_64-2.txz
graphite2-1.3.14-x86_64-3.txz
harfbuzz-4.4.1-x86_64-1.txz
libdrm-2.4.110-x86_64-1.txz
libogg-1.3.5-x86_64-1.txz
libtheora-1.1.1-x86_64-4.txz
libva-2.14.0-x86_64-1.txz
libvorbis-1.3.7-x86_64-3.txz

 

ldd Handbrakecli will show the libraries and I would just search for the missing ones and install them.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.