Open digitalw00t opened 1 year ago
Can you share the log of a failed conversion from /config/log/hb/conversion.log
?
The conversion says "Invalid preset"
But the auto system adds the preset loading in the command line right?
"PresetName": "Fast1080p30h265",
And it's defined.
The provided conversion log is empty...
In this log, the presets should be listed. You should make sure the configured preset name matches one listed.
Took a bit for me to get back around to this: conversion.log
Again, the error is showing invalid preset, but when I run it manually, the preset is there and works through the web interface.
Looks you you have duplicated preset categories. From the UI, try to save your preset under a new/different category and adjust AUTOMATED_CONVERSION_PRESET
accordingly.
conversion.log failed_conversions.txt
I created a custom category, and changed the name of the profile. Saved it.. made it default, tried using the watch directory again with the attached results.
Not sure what is the problem.
I tried on my side and it works. I created a custom preset like you:
I created the container with the AUTOMATED_CONVERSION_PRESET=custom/1080p30h265
variable.
And the automatic video converter did use and find the preset correctly:
[autovideoconverter] Starting conversion of '/watch/sample-mp4-file.mp4' (bfc447b62494415e1291da1614bf64e5) using preset 'custom/1080p30h265'...
[autovideoconverter] 1 title(s) to process.
[autovideoconverter] Encoding /watch/sample-mp4-file.mp4: task 1 of 1, 99.95 %
[autovideoconverter] Conversion ended successfully.
Did I do the same thing as you ?
Here is my docker-compose.yml for it: version: '3.4' services: handbrake: image: jlesage/handbrake ports:
I am doing this right?? The most infuriating part is, I am using the web interface to encode the exact profile and it works just fine.
bump Is it my docker compose that's wrong?
Current Behavior
I created a preset, that I verified works by using it manually called "General/Fast1080p30h265". I just took the regular one of that name, and checked the h265 codec. I can encode files with that codec manually fine. When I drop a file in the watch folder I get this error: Invalid preset "/General/Fast1080p30h265"
I've tried "General/Fast1080p30h265" and just "Fast1080p30h265" with no luck.
If I go into the container and have it do a preset-list after importing the preset json file I get this: General/ Fast1080p30h265 H.265 video (up to 1080p30) and AAC stereo audio, in an MP4 container.
So I know it's in there. While I'm in the docker file I can run this and it will encode the file: /usr/bin/HandBrakeCLI --preset-import-file /config/ghb/presets.json \ -i /watch/009_re_cyborg_2012.mp4 \ -o /output/.NihxQs/009_re_cyborg_2012.mp4 \ --title 1 --preset "/General/Fast1080p30h265"
Expected Behavior
I expect the files to be placed in the watch directory and it do an h265 encoding to the output directory.
Steps To Reproduce
I place the 009 file into the watch directory, and I get a failure to encode.
Environment
Container creation
version: '3.4' services: handbrake: image: jlesage/handbrake ports:
environment:
Container log
Container inspect
Anything else?
No response