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.

[Support] Djoss - HandBrake

Featured Replies

  • Author
6 minutes ago, nuhll said:

Ill do that.

 

Atm i only have that one iso.


It works if i go in GUI with same preset. Then, when i put it in watch folder, it starts, creates directory and first file and then stops with the error above. I dont understand it. If it cant access it, it wouldnt write anything. And if iso would be problem, why does it work in GUI mode..?!?

 

I'm not sure this error code really means that there is a permission issue...  An errno of 2 is usually "No such file or directory".

 

The HandBrake GUI and CLI don't share 100% the same code, so they may have slight differences in their behavior.

  • Replies 1.4k
  • Views 296.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Try the latest version, which have Quick Sync support. See https://github.com/jlesage/docker-handbrake#intel-quick-sync-video for more details on how to use it.

  • Ok I found the issue.  A new image with the fix is on its way.

  • @nuhll, try the latest update, the issue should be fixed.

Posted Images

  • Author

The other thing you can try is to run the debug version of the image.  In the container settings, set the "Repository" setting to "jlesage/handbrake:v1.14.5-debug".

Here is full log

<removed>

 

please tell me when youf inished, i would like to delete it afterwards.

Edited by nuhll

Another one:

<removed>

Edited by nuhll

Ive tried with jlesage/handbrake:v1.14.5-debug but where i find the debug log? in the normal log it looks the same... 

 

boths iso work just fine in GUI (i log into GUI, select "Fast 1080p30", click start)

 

thats with debug on

<removed>

Edited by nuhll

  • Author

Ok so you reproduced with different ISOs.  I will try to reproduce on my side.

Wtf, what was the problem? Such a fast fixing, thank you.

  • Author
2 minutes ago, nuhll said:

Wtf, what was the problem? Such a fast fixing, thank you.

Small issue I introduced in a previous update, about converting in a temporary folder.  Issue was visible only when multiple titles where converted from a disc image.

ah yea i noticed it was creating .XhkJDFKJSD dirs but not putting it there?!

  • Author
1 hour ago, nuhll said:

ah yea i noticed it was creating .XhkJDFKJSD dirs but not putting it there?!

It's just a temporary directory, so the file is moved to the final location once conversion is done.

yea, i know.

 

It creates

./output/filename

./output/.xkjaksd

 

but doesnt used the .xkljsd directory. 

 

  • Author
25 minutes ago, nuhll said:

yea, i know.

 

It creates

./output/filename

./output/.xkjaksd

 

but doesnt used the .xkljsd directory. 

 

Do you mean it's a leftover?  Temporary directory is different for every conversion and should be deleted after conversion.

Yes. Its created, but not used, and not deleted (atleast that was how it was before your last update). Currently downloading some new DVDs.

  • Author
Just now, nuhll said:

Yes. Its created, but not used, and not deleted (atleast that was how it was before your last update). Currently downloading some new DVDs.

Ok try to delete it manually.  It should not come back.

It seems like that was the problem (but i didnt know how to program work till that time)

 

Now its creating temporary folders and removing it after it.

 

Btw, im using

mv *img 

mv *iso

to mv it to watch folder.. any idea how i can also move the directory where the file is in to watch folder? (so that SAME_AS_SRC is working?)

 

any/dir/moviename/moviename.iso

 

->

 

/watch/moviename/moviename.iso?

 

 

Thats my userscript atm:

#!/bin/bash
mv !*/_unpack/* /mnt/user/downloads/completed/Filme/*/*.[iI][mM][gG] /mnt/user/downloads/DVDR/
mv !*/_unpack/* /mnt/user/downloads/completed/Filme/*/*.[iI][sS][oO] /mnt/user/downloads/DVDR/
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.

 

Nice option would be to tell handbrake to only go on specific files, like only on img and iso, so i wouldnt need a seperate watch folder. (and could just use my download folder)

Edited by nuhll

  • Author

Having an option to enter a list of file extensions to handle could be a solution.

 

An other way is to use pre-conversion hook with a script that removes the file if it is not wanted.  This has the benefit of keeping the watch directory empty when the "Keep Source File" option is disabled.  Only a minor change would be needed in the automatic video converter to support that.

 

And the ugly way that should work in the current version is just let HandBrake fails on files that are not videos...

The problem is he just trys to convert every video file, and this costs much cpu (i have very low cpu..) i really just need him to convert images, because plex cant read that.... :)

 

currently

 

radarr, sonarr -> nzbget -> download folder

-> what plex can read gets imported

-> what plex cant read gets converted


But since handbrake doenst know the correct folder name, radarr  is failing to find the correct directory.. because it looks in the old folder, which is, ofc empty now...^^

 

Edited by nuhll

2 hours ago, nuhll said:

The problem is he just trys to convert every video file, and this costs much cpu (i have very low cpu..) i really just need him to convert images, because plex cant read that.... :)

 

currently

 

radarr, sonarr -> nzbget -> download folder

-> what plex can read gets imported

-> what plex cant read gets converted


But since handbrake doenst know the correct folder name, radarr  is failing to find the correct directory.. because it looks in the old folder, which is, ofc empty now...^^

 

You will need to use a combination of scripts in nzbget and post processing hooks in handbrake to get it to work.

 

I don't have your exact setup, but I still wanted to convert certain files and then have sonarr pickup and move the converted files.  I've managed to get it working this way.

At this moment i just need to edit my script to move directory (instead of just file) which have iso or img in it to the watch folder and im finished, but i couldnt find a way to do it.

Edited by nuhll

46 minutes ago, nuhll said:

At this moment i just need to edit my script to move directory (instead of just file) which have iso or img in it to the watch folder and im finished, but i couldnt find a way to do it.

Use basename and dirname to build the path that you want from the full path.

Sorry, im windows user...^^

3 minutes ago, nuhll said:

Sorry, im windows user...^^

Not sure if this will help but here is my post conversion hook to move the folder once handbrake has finished.  There is probably a more elegant way to do it, but it works for me.

 

if [ "$CONVERSION_STATUS" -eq 0 ]; then
    # Successful conversion.

    #source = /watch
    #output = /output
    #sonarr scan dir = /sonarr
    #subdirectory = $DIR

    DIR=$(dirname "${CONVERTED_FILE}")
    echo "converted file directory = "$DIR""
    SUBD=$(basename "${DIR}")
    echo "folder name = "$SUBD""
    if [ "$DIR" = "/output" ]; then
    echo "no subdirectory, moving to base folder";
        mv -fv "${CONVERTED_FILE}" /sonarr;
    else
        echo "moving $SOURCE_FILE to /sonarr/"${SUBD}""
        mkdir /sonarr/"${SUBD}"
        mv -fv "${CONVERTED_FILE}" /sonarr/"${SUBD}"
    fi
    
else
    :
fi

eh, now where u put this?

4 minutes ago, nuhll said:

eh, now where u put this?

You will edit the post conversion hook here:

/config/hooks/post_conversion.sh

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.