Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUTOMATED_CONVERSION_PRESET no longer recognized #116

Closed
eng3 opened this issue May 5, 2020 · 12 comments
Closed

AUTOMATED_CONVERSION_PRESET no longer recognized #116

eng3 opened this issue May 5, 2020 · 12 comments

Comments

@eng3
Copy link

eng3 commented May 5, 2020

AUTOMATED_CONVERSION_PRESET is no longer recognizing my custom preset. Log states "Invalid Preset" even though it is listed in the proceeding list of presets. Exact same configuration works when reverting back to v1.21.0

@monkeyhat
Copy link

I'm seeing this too.

On my install, after I'd set up the four presets I wanted to use for automated conversions, I removed all the rest from the presets.json file. Since yesterday's update, when Handbrake tries an automated encode, the log states "Invalid preset" followed by the name of my custom preset - then says "Valid presets are:" and lists all the original default presets (which are no longer in my presets.json file) followed by my four custom presets.

If I change my AUTOMATED_CONVERSION_PRESET variable to be one of the original default presets (as listed in the log) and restart the container - encodes still fail with "Invalid preset"

If I go into Handbrake via the web interface, I only see my custom presets and none of the original defaults mentioned in the log.

If I then use the web interface to manually convert a video from the "watch" folder using the same preset specified in AUTOMATED_CONVERSION_PRESET, it works fine.

Hope that helps narrow it down!

@jlesage
Copy link
Owner

jlesage commented May 5, 2020

It seems that some changes happened in the latest HandBrake version about how a preset is identified.

Try to set the folder/group under which your preset appears in the UI. For example, if your preset MyCustomPreset appears under My General, set AUTOMATED_CONVERSION_PRESET to My General/MyCustomPreset.

@Jtomage
Copy link

Jtomage commented May 6, 2020

Got the official preset working. Set

AUTOMATED_CONVERSION_PRESET=General/{Official Preset}

@mikepauer
Copy link

Was also seeing this, can confirm I had to set AUTOMATED_CONVERSION_PRESET=Matroska/myh265 instead of the old AUTOMATED_CONVERSION_PRESET=myh265 for it to start working again.

@matze0301
Copy link

I can confirm the problem and the solution, except that i didn't see "invalid preset" in "docker logs handbrake", just a fail to convert.

Image 1.22.0

@eng3
Copy link
Author

eng3 commented May 7, 2020

The error shows up in the conversion log. Anyways, I can confirm the solution as well. It would be nice if this change were documented somewhere like the change log perhaps

@cjchiarello
Copy link

how do i fix this from bash?
i never setup a custom conversion preset, I have always just dropped files in the /watch folder and waited for them to finish as an mp4 in /output

@SemicolonStruggles
Copy link

I have a custom preset called H.265 MKV 1080 Audio Passthrough listed under Custom/Matroska

Prefixing the AUTOMATED_CONVERSION_PRESET with 'Matroska/' did not work for me.

I checked my conversion.log and found that the Matroska category was listed multiple times under valid presets.

I fixed the issue by saving my preset to a new category called 'Personal' and set the AUTOMATED_CONVERSION_PRESET to Personal/H.265 MKV 1080 Audio Passthrough

conversion.log

@jlesage
Copy link
Owner

jlesage commented May 8, 2020

how do i fix this from bash?
i never setup a custom conversion preset, I have always just dropped files in the /watch folder and waited for them to finish as an mp4 in /output

Are you saying that you were using the default preset ? I will push an update to fix the default preset as well.

@cjchiarello
Copy link

how do i fix this from bash?
i never setup a custom conversion preset, I have always just dropped files in the /watch folder and waited for them to finish as an mp4 in /output

Are you saying that you were using the default preset ? I will push an update to fix the default preset as well.

yes i was just running the default preset - I haven't taken the time to look into having a custom preset run automatically

@SemicolonStruggles
Copy link

yes i was just running the default preset - I haven't taken the time to look into having a custom preset run automatically

Issues with the default preset should be fixed in a145219, try updating your container.

@jlesage
Copy link
Owner

jlesage commented Jan 1, 2021

Closing issue. Please re-open if there is still a problem.

@jlesage jlesage closed this as completed Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants