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.

HanBrakeCLI for Unraid 64-bit

Featured Replies

First off, many thanks to ClunkClunk for working out the details for 32-bit UnRaid: http://lime-technology.com/forum/index.php?topic=3714.msg285620#msg285620

 

I went through and updated the links to the 64-bit package locations, put it into a script just to make it simpler and added the installpkg lines.  I'm not a script expert so I didn't try to make it deal with directories on its own etc,  It just runs wget and installpkg in whatever directory you're sitting. 

 

So best bet is to run the script from /boot/packages

 

#!/bin/bash

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

 

First encode is running right now!!!

 

UPDATE: see nicinabox's post here http://lime-technology.com/forum/index.php?topic=31528.msg286568#msg286568 if you would like to use Trolley for a quick, smooth install

handbrake_install.sh.txt

  • Replies 50
  • Views 12.5k
  • Created
  • Last Reply
  • Author

My first encode completed and looks great.

 

A few tips:

- For reinstall after reboot copy all downloaded package files into /boot/extra

- Given how long a transcode takes, you'll probably want to run it directly from the console, or install screen and use that.  Otherwise a closed terminal session (like a PC reboot, killed terminal process or lost network connection) will kill your transcode.  I'm not sure if screen is available yet for v6.x

 

Does anyone have the skills to create a script (maybe called as a cron job) that can watch a folder and start transcoding anything inside of it using a config file also in that folder (for all the CLI options).  That might really help the community (read: and me :)  ).  Ideally we'd be able to set up a few watch folders with different config files based on our most common needs  Such as one for Film based Blu-Rays, for TV DVDs, for Animation, etc.  That would make things much easier for batch and near unattended operation since we don't have a GUI

 

That might sound like a lot but creating each config would be on the user. My request is just for a way to watch/scan a batch of folders and fire off handbrake when a new file is detected using the command line switches included in the config file and deposit the completed files in a "transcoded" directory.

 

Thoughts?

 

Nice work jumperplex!

 

If anyone is interested, I updated the script above to use trolley. It will:

 

* fetch the lib by version and match it to your arch

* save the package to /boot/extra

* install it

 

Notice there are no versions specified. Trolley will pick the correct version for your Slackware version. That means this script installs the same on unRAID 5.0.x AND 6.x. By future proofing your code, you can ensure that it will work months and years down the line with minimal effort. Everybody wins.

 

#!/bin/bash
[[ `command -v trolley` == "" ]] && curl -sk https://raw.github.com/nicinabox/trolley/master/install.sh | sh

trolley install freetype
trolley install fontconfig
trolley install libogg
trolley install libsamplerate
trolley install libtheora
trolley install libvorbis
trolley install libxml2
trolley install zlib
trolley install glibc
trolley install glib
trolley install gcc
trolley install libpng
trolley install xz

if [[ `uname -m` == 'x86_64' ]]; then
  trolley install http://slackware.org.uk/people/alien/restricted_slackbuilds/handbrake/pkg64/14.0/handbrake-0.9.9-x86_64-1alien.txz
else
  trolley install http://slackware.org.uk/people/alien/restricted_slackbuilds/handbrake/pkg/13.37/handbrake-0.9.9-i486-1alien.txz
fi

 

 

Are you getting any segfault errors?

  • Author

@nicinabox - hey that is awesome.  I take it that first line installs trolley?

 

@HAVOC - you talkin' to me?  If so, no segfaults in my logs.

  • Author

PS: looking at your segfault thread, I can also tell you that my mover worked perfectly last night so no apparent problems with cron jobs.

Very good and your running the 64 bit Unraid huh? I'll give the beta a try.

  • Author

Yup 64-bit Unraid 6.0

 

Also running Plex and APCUPSD.  All working together very well.

Awesome good to hear. I shall be joining the club soon enough.  8)

How did you get  APCUPSD working?

  • Author

Ummm I used the 64 bit version someone created.

 

Sent from my XT1060 using Tapatalk

 

 

I tried searching for the plg and could not find it. Do you have a link by chance?

Thank you for the link. Handbrake is running with no segfuLts finally. Great work guys!

  • Author

Sorry I didn't provide a link.  I am mobile today and was feeling lazy.  Thanks soana for helping out.

 

Sent from my XT1060 using Tapatalk

 

 

no problem, I just happened to be online.

Updated my earlier post to show how you can install compatible package versions automatically.

  • Author

Updated my earlier post to show how you can install compatible package versions automatically.

 

That's awesome nic.  I've updated OP to also point directly at your post.

Trolley runs fine until the last install of handbrake?

root@Tower:~# trolley install http://slackware.org.uk/people/alien/restricted_slackbuilds/handbrake/pkg64/14.0/handbrake-0.9.9-x86_64-1alien.txz                /boot/custom/gems/ruby/1.9.1/gems/json-1.8.1/lib/json/common.rb:155:in `parse': 795: unexpected token at '<!DOCTYPE html> (JSON::ParserError)
<html>
<head>
  <title>The page you were looking for doesn't exist (404)</title>
  <style>
  body {
    background-color: #EFEFEF;
    color: #2E2F30;
    text-align: center;
    font-family: arial, sans-serif;
  }

  div.dialog {
    width: 25em;
    margin: 4em auto 0 auto;
    border: 1px solid #CCC;
    border-right-color: #999;
    border-left-color: #999;
    border-bottom-color: #BBB;
    border-top: #B00100 solid 4px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    background-color: white;
    padding: 7px 4em 0 4em;
  }

  h1 {
    font-size: 100%;
    color: #730E15;
    line-height: 1.5em;
  }

  body > p {
    width: 33em;
    margin: 0 auto 1em;
    padding: 1em 0;
    background-color: #F7F7F7;
    border: 1px solid #CCC;
    border-right-color: #999;
    border-bottom-color: #999;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-color: #DADADA;
    color: #666;
    box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
  }
  </style>
</head>

<body>
  <!-- This file lives in public/404.html -->
  <div class="dialog">
    <h1>The page you were looking for doesn't exist.</h1>
    <p>You may have mistyped the address or the page may have moved.</p>
  </div>
  <p>If you are the application owner check the logs for more information.</p>
</body>
</html>
'
        from /boot/custom/gems/ruby/1.9.1/gems/json-1.8.1/lib/json/common.rb:155:in `parse'
        from /boot/custom/gems/ruby/1.9.1/gems/json-1.8.1/lib/json/common.rb:334:in `load'
        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/parser.rb:113:in `json'
        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/parser.rb:129:in `parse_supported_format'
        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/parser.rb:100:in `parse'
        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/parser.rb:64:in `call'
        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/request.rb:294:in `parse_response'
        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/request.rb:264:in `block in handle_response'
        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/response.rb:23:in `call'
        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/response.rb:23:in `parsed_response'
        from /boot/custom/gems/ruby/1.9.1/gems/httparty-0.12.0/lib/httparty/response.rb:61:in `method_missing'
        from /usr/local/boiler/trolley/lib/trolley/cli.rb:52:in `install'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/command.rb:27:in `run'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/invocation.rb:121:in `invoke_command'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor.rb:363:in `dispatch'
        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/base.rb:440:in `start'
        from /usr/local/bin/trolley:13:in `<main>'

  • Author

Was this before or after you removed the 32-bit packages mentioned in 6.0beta thread?

 

I swear, I'm' not cyber stalking you  ;)

Lol I'm not offended. I removed all 32 bit packages and then rebooted. No errors or any sort of binary issues. So I go ahead and try to install HB trolley worked fine getting all dependencies but I was left with the errors I posted above. I used ur link for wget and installed. I gotta say this forum has a lot of great subscribers.

  • Author

;D Well glad you worked it out. Indeed it is quite a great community even with the recent nashing of teeth.

 

Hopefully nic sees this and looks into his script.

A quick sidebar. Do you have unmenu installed? Is their going to be a 64bit version to update?

  • Author

I do not.  I do believe unmenu itself works as always because it is based on scripts that are not 32/64 dependent.  It is the packages that it downloads that need to be updated and that I believe is still very much a work in progress.

Yeah that sounds about right because unmenu is throwing this error from the package downloaded.

 

Jan 30 13:21:29 Tower unmenu[14300]: sh: bwm-ng: command not found
Jan 30 13:35:06 Tower unmenu[14300]: sh: /usr/bin/bwm-ng: cannot execute binary file

 

Archived

This topic is now archived and is closed to further replies.

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.