wayner Posted November 4, 2023 Share Posted November 4, 2023 I am trying to use this docker and when I try to encode a file I get Destination: /storage/videos/temp Can not read or write the directory There seems to be a permissioning issue. The permissions to the folder are the following (I got this from an ssh session from root and going to /mnt/user/media/videos. Note that I get the same error when trying to use handbrake_recodes as the destination. drwxrwxrwx 1 nobody users 4096 Jun 30 19:28 handbrake_recodes/ drwxrwxrwx 1 nobody users 6 Jan 24 2022 handbrake_watch/ drwxrwxrwx 1 wayne users 48 Nov 4 13:44 temp/ In the logs I also get a message that doesn't make sense as this folder does exist. [autovideoconverter] ERROR: Cannot process watch folder '/watch', because the associated output directory '/mnt/user/media/videos/handbrake_recodes/' doesn't exist. Or am I mapping something wrong in the docker setup for the folders? Quote Link to comment
Djoss Posted November 10, 2023 Author Share Posted November 10, 2023 On 10/28/2023 at 1:33 PM, culilaren said: Updata to the :latest, tried to use QSV to decorde and conversion, i add video to watch, after less than 1 minute, i got a 44b mp4, it just dosen't work. how to solve that? Is it working when encoding with the same preset with the GUI ? Also, you may look at /mnt/user/appdata/HandBrake/log/hb/conversion.log to see if there is more details. Quote Link to comment
Djoss Posted November 10, 2023 Author Share Posted November 10, 2023 On 11/4/2023 at 2:09 PM, wayner said: Destination: /storage/videos/temp You should save videos under /output instead. By default, the mapping to /storage is read-only. On 11/4/2023 at 2:09 PM, wayner said: In the logs I also get a message that doesn't make sense as this folder does exist. [autovideoconverter] ERROR: Cannot process watch folder '/watch', because the associated output directory '/mnt/user/media/videos/handbrake_recodes/' doesn't exist. Or am I mapping something wrong in the docker setup for the folders? Yes something needs to be incorrectly configured. Can you share the container's config ? Quote Link to comment
wayner Posted November 12, 2023 Share Posted November 12, 2023 I deleted the docker and reinstalled it and that worked. Someone else earlier in the thread suggested this. But it doesn't seem like a great option. Quote Link to comment
AshleyAshes Posted November 19, 2023 Share Posted November 19, 2023 Any timeline on getting Handbrake 1.7 updated? Been doing a lot of AV1 encoding and the updates to SVT-AV1 in 1.7 make for huge speed improvements. Quote Link to comment
Djoss Posted November 20, 2023 Author Share Posted November 20, 2023 5 hours ago, AshleyAshes said: Any timeline on getting Handbrake 1.7 updated? Been doing a lot of AV1 encoding and the updates to SVT-AV1 in 1.7 make for huge speed improvements. Yes, a new image with HandBrake 1.7 is now available. Quote Link to comment
InReasonNotFish Posted November 26, 2023 Share Posted November 26, 2023 Likely this docker but is there any way to increase font? Quote Link to comment
InReasonNotFish Posted November 26, 2023 Share Posted November 26, 2023 Liking this docker but is there any way to increase font? Quote Link to comment
InReasonNotFish Posted November 26, 2023 Share Posted November 26, 2023 Is there any way to resume encodes if the docker is stopped? I'm using it to encode over night but I also run the CA backup pluggin and it stops all of my dockers. Quote Quote Link to comment
alturismo Posted November 26, 2023 Share Posted November 26, 2023 10 minutes ago, InReasonNotFish said: Is there any way to resume encodes if the docker is stopped? not really, also as the process is "killed" you would have to determine the exact frame and so on ... Quote Link to comment
InReasonNotFish Posted November 26, 2023 Share Posted November 26, 2023 (edited) 9 hours ago, alturismo said: not really, also as the process is "killed" you would have to determine the exact frame and so on ... Couldn't it just restart the encode that was interrupted? It seems to reset the encode that was in process and when I manually click "start" it resumes from the beginning of that file. Edited November 26, 2023 by InReasonNotFish new info Quote Link to comment
alturismo Posted November 27, 2023 Share Posted November 27, 2023 12 hours ago, InReasonNotFish said: Couldn't it just restart the encode that was interrupted? It seems to reset the encode that was in process and when I manually click "start" it resumes from the beginning of that file. this is something you should rather request to handbrake ... like here https://github.com/HandBrake/HandBrake/issues technically spoken, the encoder would have to write out some "state" file so it knows where to resume and so on ... or you would need to analyse the current encoded file state first ... but thats nothing related to this docker, its related to handbrake itself. and actually, i dont know any encoder which supports this feature (reboot and continue). Quote Link to comment
InReasonNotFish Posted November 27, 2023 Share Posted November 27, 2023 34 minutes ago, alturismo said: this is something you should rather request to handbrake ... like here https://github.com/HandBrake/HandBrake/issues technically spoken, the encoder would have to write out some "state" file so it knows where to resume and so on ... or you would need to analyse the current encoded file state first ... but thats nothing related to this docker, its related to handbrake itself. and actually, i dont know any encoder which supports this feature (reboot and continue). As I said, I'm just hoping for it to restart the queue. No need to resume anything in progress. Just encoding what is left in the queue. Quote Link to comment
InReasonNotFish Posted November 27, 2023 Share Posted November 27, 2023 5 minutes ago, InReasonNotFish said: As I said, I'm just hoping for it to restart the queue. No need to resume anything in progress. Just encoding what is left in the queue. This is what the Windows version of Handbrake does when it restarts, I think. Quote Link to comment
alturismo Posted November 27, 2023 Share Posted November 27, 2023 5 minutes ago, InReasonNotFish said: Just encoding what is left in the queue. there is also a open issue on handbrake therefore https://github.com/HandBrake/HandBrake/issues/5387 may just also mention there it would be a nice feature ... Quote Link to comment
nate.smith317 Posted December 5, 2023 Share Posted December 5, 2023 Have you been able to add the libnvidia-encode1 library to the docker? I would love to have GPU encoding available and need that library. Going to try to manually add it, but would love it to be fixed in the docker file for everyone. Thanks!! Great docker BTW!! Quote Link to comment
nate.smith317 Posted December 5, 2023 Share Posted December 5, 2023 after my last commend noticed that this is built on Alpine. Understand that my question is not possible to fix on Alpine based docker. Might be interesting to move to a nvidia based docker image for this. Would be super powerful coupled with unraid. Thanks!! Quote Link to comment
Ruse Posted December 29, 2023 Share Posted December 29, 2023 I could be completely missing this, but is it not possible to rearrange audio tracks? I keep all of my audio for my encodes, and I need to rearrange them. Quote Link to comment
jcofer555 Posted January 8 Share Posted January 8 (edited) is there a way to open multiple files at a time rather than one at a time like to do a whole season of a tv show without having to open each file individually and add to the queue without using a watch directory? also is there a way to to have the files output to a folder that is named the same as the folder the source file is in? i tried {source-path} {source} but that didn't work. trying to do like how the windows desktop version does outputting Edited January 8 by jcofer555 update to first question Quote Link to comment
wayner Posted January 8 Share Posted January 8 I think your first question is more of a generic Handbrake question and doesn't relate to the docker. There are probably other places that are WAY better to answer that question. Quote Link to comment
Djoss Posted January 8 Author Share Posted January 8 4 hours ago, jcofer555 said: is there a way to open multiple files at a time rather than one at a time like to do a whole season of a tv show without having to open each file individually and add to the queue without using a watch directory? You could try File -> Open Directory 4 hours ago, jcofer555 said: also is there a way to to have the files output to a folder that is named the same as the folder the source file is in? i tried {source-path} {source} but that didn't work. trying to do like how the windows desktop version does outputting Note that the Windows version is not exactly the same as the Linux one. I think what you want is not part (yet) of the Linux version. Quote Link to comment
jcofer555 Posted January 8 Share Posted January 8 (edited) 17 hours ago, Djoss said: You could try File -> Open Directory Note that the Windows version is not exactly the same as the Linux one. I think what you want is not part (yet) of the Linux version. oh my i missed the open directory in file lol i was using open source haha thank you for that it's odd that in the container it mentions {source-path} in the automatic name like in the screenshot but it doesn't provide any output at all if i use it so it's not interpreting it correctly it seems. this isn't such a huge deal but would be nice to see the linux version add it at some point (i know not under your control for that though). thank you for the response Edited January 9 by jcofer555 Quote Link to comment
jcofer555 Posted January 8 Share Posted January 8 is there a way to have what's displayed on the webui title where it says HandBrake, can that be changed somehow? Quote Link to comment
Djoss Posted January 9 Author Share Posted January 9 15 hours ago, jcofer555 said: oh my i missed the open directory in file lol i was using open source haha thank you for that it's odd that in the container it mentions {source-path} in the automatic name like in the screenshot but it doesn't provide any output at all if i use it so it's not interpreting it correctly it seems. this isn't such a huge deal but would be nice to see the linux version add it at some point (i know not under your control for that though). thank you for the response After a little bit more investigation, it seems that the "source-path" parameter is working under Linux. However, HandBrake will use the source path only if it is writeable. By default, /storage inside the container is read-only, thus if your video is coming from there, the "source-path" parameter won't work. If you want /storage to be writable, you can edit the "Storage" parameter of the container and change "Access Mode" to "Read/Write". You have to switch to the "Advanced View" to be able to perform this. Quote Link to comment
Djoss Posted January 9 Author Share Posted January 9 15 hours ago, jcofer555 said: is there a way to have what's displayed on the webui title where it says HandBrake, can that be changed somehow? It's currently not possible (unless you edit the page yourself inside the container), but I think plugins exist that allow you to rename a browser tab. Quote Link to comment
Recommended Posts
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.