From time to time I receive messages regarding problems with custom presets in HandBrake. I do not know the reason, but sometimes HandBrake saves the custom preset file in a slightly different format: HandBrake itself handles this correctly, but the parser script I use is unable to understand it.
The solution is actually quite simple, follow the instructions below to fix your file. The custom preset file is stored in your home folder:
In this file (a regular XML file), an incorrect preset looks like this (to find these presets just to a search for
[sourcecode language="xml" highlight="2"]
If you check the highlighted line, you see that the tag name has the figure "1" in the middle (sometime you might find
Audio2 or some other number: that should not be there. Also, all the section should be enclosed in
tags. A correct preset looks like so:
[sourcecode language="xml" highlight="2-5,19-20"]
Correcting the format is simple:
- In your favorite text editor, search for
- Copy and paste lines 2, 3, and 4 from the sample above (highlighted);
- Change all
Audioin the block (cf. line 2 in the first sample with line 5 in the second);
- Close the tags (copy and paste lines 19 and 20 in the second sample);
- Repeat steps 1 to 4 for all presets containing
After doing this and replacing your preset file with the corrected one, all should work fine.
If you have any trouble, just send me the file; I will fix it for you.