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.

help with handbrake-cli docker

Featured Replies

I am not familiar with docker and was wondering if anyone has tried handbrake-cli docker.  I've taken the following steps, but not sure where to go from here or if this is feasible to use cli tools in an unRAID docker container.  Any help or direction would be appreciated.

 

Previously had handbrake-cli working in unraid 5.05 with manually installed packages until conflict occurred with dynamix.

 

1. used docker search plugin to locate  and convert handbrake-cli at https://registry.hub.docker.com/u/pandrew/handbrake

 

2. edited docker volume mappings

    /hbencode        /mnt/cache/files/hb/

 

3. started docker

 

4. log as follows:

/usr/bin/docker logs --tail=350 -f handbrake 2>&1
If "number" is omitted, the first track is default.
"number" is an index into the subtitle list
specified with '--subtitle'.
-N, --native-language Specifiy your language preference. When the first
audio track does not match your native language then
select the first subtitle that does. When used in
conjunction with --native-dub the audio track is
changed in preference to subtitles. Provide the
language's iso639-2 code (fre, eng, spa, dut, et cetera)
--native-dub Used in conjunction with --native-language
requests that if no audio tracks are selected the
default selected audio track will be the first one
that matches the --native-language. If there are no
matching audio tracks then the first matching
subtitle track is used instead.
--srt-file SubRip SRT filename(s), separated by commas.
--srt-codeset Character codeset(s) that the SRT file(s) are
encoded in, separated by commas.
Use 'iconv -l' for a list of valid
codesets. If not specified, 'latin1' is assumed
--srt-offset Offset (in milliseconds) to apply to the SRT file(s),
separated by commas. If not specified, zero is assumed.
Offsets may be negative.
--srt-lang Language as an iso639-2 code fra, eng, spa et cetera)
for the SRT file(s), separated by commas. If not specified,
then 'und' is used.
--srt-default Flag the selected srt as the default subtitle
to be displayed upon playback. Setting no default
means no subtitle will be automatically displayed
If "number" is omitted, the first srt is default.
"number" is an 1 based index into the srt-file list
--srt-burn "Burn" the selected srt subtitle into the video track
If "number" is omitted, the first srt is burned.
"number" is an 1 based index into the srt-file list

 

thanks

 

 

On tapatalk right now so I can't look into this in detail, but off the top of my head in order to use a cli only container you would either have to control it with docker exec, or try out jonp's experimental ubuntu rdp container

 

  • Author

Thanks for the prompt reply Squid,

 

I looked at at jonp's post regarding the ubuntu-rdp-docker and tried it . Appears that at present the docker by default doesn't have access to any repos. sudo apt-get install mc gives "unable to locate package mc". Will read up on docker exec to see how that pans out.

 

 

Thanks for the prompt reply Squid,

 

I looked at at jonp's post regarding the ubuntu-rdp-docker and tried it . Appears that at present the docker by default doesn't have access to any repos. sudo apt-get install mc gives "unable to locate package mc". Will read up on docker exec to see how that pans out.

 

try a sudo apt-get update before trying to install packages, see if that helps...

  • Author

Doh!

Thanks for the prompt reply Squid,

 

I looked at at jonp's post regarding the ubuntu-rdp-docker and tried it . Appears that at present the docker by default doesn't have access to any repos. sudo apt-get install mc gives "unable to locate package mc". Will read up on docker exec to see how that pans out.

 

if you can wait a little while some of the wrinkles are worked out for a more unraid specific desktop in a docker box, there'll be a rash of containers based around uses,

 

etc... office type apps, media stuff, etc....

 

i know that as soon as there is a standard framework i'll knock up a few boxes.

Depending on what you named your container you can connect to it via

docker exec -i -t handbrake bash

 

I just created a docker for handbrake-cli and connected to it and am transcoding a movie. I have a pretty specific usecase in that I want to convert kids movies to iPod format for an iPod 5g and play them in the van. So the cli version is fine for me because I'm just running like

HandBrake-CLI -i Movie.mv -o Movie.mp4 --preset="iPod"

and it spits out the file right there. I'll probably get it up on github but I don't know about creating the template since you have to ssh in to unpaid anyway and if you're advanced enough to do that and run docker exec you should be able to do a docker run too :)

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.