Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Media Encoder Jail (ffmpeg, handbrake, filebot)

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE
Status
Not open for further replies.

Supa

Member
Joined
Jan 10, 2014
Messages
204
Create the jail
Install the encoding options you'd like to use inside the jail. 'jls' to see the list of jails and to enter the jail: 'jexec #'.
I installed the following
  1. pkg install python
  2. pkg install ffmpeg
  3. pkg install handbrake
  4. Filebot: Extracted the portable package into a folder in the jail -- Screenshot
  5. pkg install libass
  6. portsnap fetch
  7. cd /usr/ports/audio/lame
  8. make install clean (just keep hitting enter till it's finished)
Make sure the jail can access your encoding / media folder(s)

I used this python script and commented out import ntfsutils.junction (Line 63)

and then changed these lines:

FFMPEG = '/usr/local/bin/ffmpeg' #'/usr/bin/FFMPEG'
HANDBRAKE = "/usr/local/bin/HandBrakeCLI" #'/usr/bin/HandBrakeCLI"
FILEBOT = '/filebot/filebot.sh'

Run the Python Script in the jail:

root@encoder_jail: nohup python conv2mp4.py &

Thanks to @KameeCoding & https://www.reddit.com/user/infinull for helping me getting it working.
 
Last edited:

Xyrgh

Member
Joined
Apr 11, 2016
Messages
69
Do you get the following error when running Filebot in the CLI?

Code:
Failed to read xattr: UserDefinedFileAttributeView is not supported
 
Status
Not open for further replies.
Top