July 31, 20188 yr Author Ok I though that you had only img or iso files with other non-videos files. Here is an example showing how you can move your img or iso files while keeping their directory: FROM_DIR=/mnt/user/downloads/completed/Filme TO_DIR=/mnt/user/downloads/DVDR FILES="$(find "$FROM_DIR" -iname '*.iso' -or -iname '*.img')" for FILE in $FILES; do DIR="$(basename "$(dirname "$FILE")")" mkdir -p "$TO_DIR"/"$DIR" mv "$FILE" "$TO_DIR"/"$DIR" done Edited August 1, 20187 yr by Djoss
July 31, 20188 yr Thanks for your help. Can i send you some money via paypal? #!/bin/bash FROM_DIR=/mnt/user/downloads/completed/Filme TO_DIR=/mnt/user/downloads/DVDR FILES="$(find "$FROM_DIR" -iname '*.iso' -or -iname '*.img')" for FILE in $FILE; do DIR="$(basename "$(dirname "$FILE")")" mkdir -p "$TO_DIR"/"$DIR" mv "$FILE" "$TO_DIR"/"$DIR" fi logger DVDRs verschoben. find /mnt/user/downloads/DVDR/ -mtime 7 -delete touch find /mnt/user/downloads/DVDR/touch find /mnt/user/downloads/DVDR/* -type d -empty -exec rmdir {} \; rm /mnt/user/downloads/DVDR/touch logger DVDRs älter als eine Woche gelöscht. thats how i have it now, but it errors with, i have no idea, but isnt there a if missing?! /tmp/user.scripts/tmpScripts/dvdr/script: line 10: syntax error near unexpected token `fi'/tmp/user.scripts/tmpScripts/dvdr/script: line 10: `fi' Edited July 31, 20188 yr by nuhll
July 31, 20188 yr I have really no idea what im doing, but it seems like this is working: (changed file in files (doenst seem to be declared) and removed fi bc there was no if and replaced it with done Quote #!/bin/bash FROM_DIR=/mnt/user/downloads/completed/Filme TO_DIR=/mnt/user/downloads/DVDR FILES="$(find "$FROM_DIR" -iname '*.iso' -or -iname '*.img')" for FILES in $FILES; do DIR="$(basename "$(dirname "$FILES")")" mkdir -p "$TO_DIR"/"$DIR" mv "$FILES" "$TO_DIR"/"$DIR" done logger DVDRs verschoben. find /mnt/user/downloads/DVDR/ -mtime 7 -delete touch find /mnt/user/downloads/DVDR/touch find /mnt/user/downloads/DVDR/* -type d -empty -exec rmdir {} \; rm /mnt/user/downloads/DVDR/touch logger DVDRs älter als eine Woche gelöscht. Sent me your pp! Edited July 31, 20188 yr by nuhll
July 31, 20188 yr 11 minutes ago, nuhll said: I have really no idea what im doing, but it seems like this is working: (changed file in files (doenst seem to be declared) and removed fi bc there was no if and replaced it with done Sent me your pp! @Djoss https://www.paypal.me/JocelynLeSage/0usd Edited July 31, 20188 yr by cybrnook
July 31, 20187 yr Go here: https://github.com/jlesage/docker-handbrake (Link from OP) and you will scroll down and click the: https://paypal.me/JocelynLeSage/0usd Edited July 31, 20187 yr by cybrnook
July 31, 20187 yr Thanks, money is out! Is there a option to only output the film, without any extra "titles"? Edited July 31, 20187 yr by nuhll
August 1, 20187 yr Author 10 hours ago, nuhll said: I have really no idea what im doing, but it seems like this is working: (changed file in files (doenst seem to be declared) and removed fi bc there was no if and replaced it with done Sorry for the typos. You fixed it correctly. I updated my post with the corrections. 7 hours ago, nuhll said: Thanks, money is out! Thank you very much! 7 hours ago, nuhll said: Is there a option to only output the film, without any extra "titles"? In container options, click "Show more settings" and adjust the "Automatic Video Converter: Minimum Title Duration" option.
August 12, 20187 yr I can't seem to get my write issue sorted out. I'm hoping someone can assist. I'm able to open the source but when attempting to add to queue or start encoding I get the "Can not read or write the directory error". The attached image shows my mappings.
August 13, 20187 yr Author 9 hours ago, RParkerMU said: I can't seem to get my write issue sorted out. I'm hoping someone can assist. I'm able to open the source but when attempting to add to queue or start encoding I get the "Can not read or write the directory error". The attached image shows my mappings. In the HandBrake interface, are you writting your files under /output? If yes, then verify the ownership and permission of /mnt/user/Videos/_Video Conversion/Converted/.
August 13, 20187 yr @Djoss Edit: I figured out it. I was able to create a file via the touch command, but had to use the /output folder. When trying to convert the files, I was trying to use /mnt/user/Videos/_Video Conversion/Converted/ instead of output. Edited August 13, 20187 yr by RParkerMU
August 18, 20187 yr I/O error when launching HandBrake. Hey, so my handbrake stopped working last night. I have completely blown away the docker and started from scratch but that didn't help. When i launch it, it just goes to a blank screen. See below. When I check the logs, it says " rfbProcessClientProtocolVersion: read: I/O error " Any ideas?
August 19, 20187 yr Author On 8/17/2018 at 10:27 PM, knoorda said: I/O error when launching HandBrake. Hey, so my handbrake stopped working last night. I have completely blown away the docker and started from scratch but that didn't help. When i launch it, it just goes to a blank screen. See below. When I check the logs, it says " rfbProcessClientProtocolVersion: read: I/O error " Any ideas? Can you try to clear your browser's cache?
August 20, 20187 yr It's the little things that get ya. Thanks. Clearing cache cleared it up. Have a great day.
September 10, 20187 yr Hello, I need some help getting Handbrake installed through community apps. When I try to install it I get the following error, not sure why. root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='HandBrake' --net='bridge' -e TZ="America/New_York" -e HOST_OS="unRAID" -e 'AUTOMATED_CONVERSION_PRESET'='Very Fast 1080p30' -e 'AUTOMATED_CONVERSION_FORMAT'='mp4' -e 'AUTOMATED_CONVERSION_KEEP_SOURCE'='1' -e 'AUTOMATED_CONVERSION_OUTPUT_SUBDIR'='' -e 'USER_ID'='99' -e 'GROUP_ID'='100' -e 'UMASK'='000' -e 'APP_NICENESS'='' -e 'DISPLAY_WIDTH'='1280' -e 'DISPLAY_HEIGHT'='768' -e 'SECURE_CONNECTION'='0' -e 'X11VNC_EXTRA_OPTS'='' -e 'AUTOMATED_CONVERSION_SOURCE_STABLE_TIME'='5' -e 'AUTOMATED_CONVERSION_SOURCE_MIN_DURATION'='10' -e 'AUTOMATED_CONVERSION_CHECK_INTERVAL'='5' -p '7803:5800/tcp' -p '7903:5900/tcp' -v '/mnt/user':'/storage':'ro' -v '':'/watch':'rw' -v '/mnt/user/Handbrake Conversion Folder/':'/output':'rw' -v '/mnt/user/appdata/HandBrake':'/config':'rw' 'jlesage/handbrake' /usr/bin/docker: Error response from daemon: invalid volume spec ":/watch:rw": invalid volume specification: ':/watch:rw'. See '/usr/bin/docker run --help'.The command failed.
September 10, 20187 yr 13 minutes ago, fmjets11 said: Hello, I need some help getting Handbrake installed through community apps. When I try to install it I get the following error, not sure why. root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='HandBrake' --net='bridge' -e TZ="America/New_York" -e HOST_OS="unRAID" -e 'AUTOMATED_CONVERSION_PRESET'='Very Fast 1080p30' -e 'AUTOMATED_CONVERSION_FORMAT'='mp4' -e 'AUTOMATED_CONVERSION_KEEP_SOURCE'='1' -e 'AUTOMATED_CONVERSION_OUTPUT_SUBDIR'='' -e 'USER_ID'='99' -e 'GROUP_ID'='100' -e 'UMASK'='000' -e 'APP_NICENESS'='' -e 'DISPLAY_WIDTH'='1280' -e 'DISPLAY_HEIGHT'='768' -e 'SECURE_CONNECTION'='0' -e 'X11VNC_EXTRA_OPTS'='' -e 'AUTOMATED_CONVERSION_SOURCE_STABLE_TIME'='5' -e 'AUTOMATED_CONVERSION_SOURCE_MIN_DURATION'='10' -e 'AUTOMATED_CONVERSION_CHECK_INTERVAL'='5' -p '7803:5800/tcp' -p '7903:5900/tcp' -v '/mnt/user':'/storage':'ro' -v '':'/watch':'rw' -v '/mnt/user/Handbrake Conversion Folder/':'/output':'rw' -v '/mnt/user/appdata/HandBrake':'/config':'rw' 'jlesage/handbrake' /usr/bin/docker: Error response from daemon: invalid volume spec ":/watch:rw": invalid volume specification: ':/watch:rw'. See '/usr/bin/docker run --help'.The command failed. It is basically right there in the error message you're getting. You haven't specified a mapping for the watch folder. Do you know how to use docker?
September 10, 20187 yr This is all new to me so still poking around, it doesnt show that the watch folder is a required directory.
September 10, 20187 yr 10 minutes ago, fmjets11 said: This is all new to me so still poking around, it doesnt show that the watch folder is a required directory. Did you look at the github documentation linked in the first post of this thread? It mentions the watch volume. Your docker run command includes a watch volume, with nothing mapped to it. That docker run command is the result of filling in the template when you try to install the docker. And the template includes a watch volume, so you need to map it. Have you seen the Docker FAQ? https://forums.unraid.net/topic/57181-real-docker-faq/
October 9, 20187 yr Hi, i cannot start handbrake because it seems to not load ssl. here is a screenshot from my env: Other containers from Djoss works fine! Just this one seems to not load maybe due to ssl (it also doesn't generate certificates if you dont have already any)
October 10, 20187 yr Hey guys I'm encoding a video with HandBrake and my cpu usage hovers around 50%. I checked the cpu shares and it's set to the default 1024. is there anything I can check or configure to let it use 100%? Thanks in advance.
October 10, 20187 yr Author 10 hours ago, dockerstarter said: Just this one seems to not load maybe due to ssl (it also doesn't generate certificates if you dont have already any) What do you see/have exactly? The full container log would be useful. You can get it with "docker logs [container name]".
October 10, 20187 yr Author 1 hour ago, FieldGenEJ said: Hey guys I'm encoding a video with HandBrake and my cpu usage hovers around 50%. I checked the cpu shares and it's set to the default 1024. is there anything I can check or configure to let it use 100%? Thanks in advance. Which encoder are you using? Do you have set anything in "Extra Parameters"? You can also see if the container reports the same thing: docker exec HandBrake top
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.