1.2.2 deleted my custom presets

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
Regular User
Posts: 59
Joined: Thu Jun 13, 2013 4:29 pm

1.2.2 deleted my custom presets

Post by andrewk89 »

Description of problem or question:
1.2.2 deleted my custom presets

Steps to reproduce the problem (If Applicable):
Upgraded from 1.2.0 to 1.2.2. My Custom presets migrated fine. Have encoded a few things in 1.2.2.

Got stuck in a Windows 10 "I'm going to reboot and nothing you can do to stop it", so I stopped the current encode that just started. Let Windows reboot. Launched HB. HB asked if I wanted to recover the items in my queue. I clicked Yes. The Custom Presets folder with my custom presets was missing.

HandBrake version (e.g., 1.0.0):

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 November 2018

HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake 1.2.2 (2019022400)
OS: Microsoft Windows NT 10.0.17763.0
CPU: Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
Ram: 8149 MB, 
GPU Information:
  NVIDIA GeForce GTX 650 Ti -
Screen: 1920x1080
Temp Dir: d:\Users\Andrew\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: d:\Users\Andrew\AppData\Roaming\HandBrake


[08:11:53] hb_init: starting libhb thread

 # Starting Scan ...

[08:11:53] CPU: Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
[08:11:53]  - Intel microarchitecture Ivy Bridge
[08:11:53]  - logical processor count: 4
[08:11:53] Intel Quick Sync Video support: no
[08:11:53] hb_scan: path=C:\New folder\ddd.mp4, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\New folder\ddd.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[08:11:53] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[08:11:53] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\New folder\ddd.mp4':
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.71.100
    replaygain_track_gain: 1.62
    replaygain_track_peak: 0.74
    replaygain_track_minmax: 5,169
  Duration: 00:38:42.65, start: 0.004000, bitrate: 11625 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 11424 kb/s, 29.97 fps, 29.97 tbr, 29971 tbn, 59.94 tbc (default)
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)
      handler_name    : SoundHandler
    Side data:
      replaygain: track gain - 1.620000, track peak - 0.000017, album gain - unknown, album peak - unknown,
[08:11:53] scan: decoding previews for title 1
[08:11:54] scan: audio 0x1: aac, rate=48000Hz, bitrate=192090 Unknown (AAC LC) (2.0 ch)
[08:11:55] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[08:11:55] scan: supported video decoders: avcodec qsv
[08:11:55] libhb: scan thread found 1 valid title(s)

 # Processing Scan Information ...

 # Scan Finished ...

User avatar
HandBrake Team
Posts: 9785
Joined: Sun Dec 24, 2006 1:05 pm

Re: 1.2.2 deleted my custom presets

Post by s55 »

If your preset file gets corrupted or the system has an issue that prevents HandBrake reading the file, it'll recover by resetting the file.

It will attempt to archive the old file first. See C:\Users\%username%\AppData\Roaming\HandBrake and look for a presets.json.xxxx
You could try replacing preset.json with preset.json.xxxx and see if it loads it. (Might want to throw the contents up on any pastebin website so we can have a look at what happened to it).

Failing all that, if things went badly wrong and it wasn't recoverable, then your only option is to restore backups of the presets if you have them.
Otherwise, your outa luck.

Regular User
Posts: 59
Joined: Thu Jun 13, 2013 4:29 pm

Re: 1.2.2 deleted my custom presets

Post by andrewk89 »

I renamed the newest backup to presets.json. 1.2.2 complained that it was from an older version ... it will try to load the file anyway.

My old presets were there. encoded a video.

Exited HB. Launched again. My custom presets are missing.

here is presets.json. The customs are named "Andrew HEVC" and "Andrew HEVC 720"

Post Reply