1.3.0 deletes presets / won't save audio 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
andrewk89
Regular User
Posts: 59
Joined: Thu Jun 13, 2013 4:29 pm

1.3.0 deletes presets / won't save audio presets

Post by andrewk89 »

Description of problem or question:
Upgraded from 1.2.2 to 1.3.0 and thought everything was fine. Reboted my computer. Launched HB again - custom presets are missing.

Re-created one of the custom presets, but it won't save audio. I re-compiled 1.3.0 .dll with he-aac flag. That's what I'm trying to save in the preset. x.265 video with HE-AAC audio. HB saves the video settings, but not the audio. Audio defaults to AAC stereo 160 kbps (even though I specified HE-AAC before saving the preset.



Steps to reproduce the problem (If Applicable):
Launch 1.3.0. Create a preset. Specify HE-AAC autio.



HandBrake version (e.g., 1.0.0):
1.3.0


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



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

Code: Select all

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

-------------------------------------------


# Starting Encode ...

[04:59:38] base preset: Andrew HEVC (Modified)
[16:59:38] hb_init: starting libhb thread
[16:59:38] Starting work at: Sun Dec 15 16:59:38 2019
[16:59:38] 1 job(s) to process
[16:59:38] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "D:\\test.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 9,
        "Settings": {
          "cb-frame-count": 2,
          "cb-origin-tune": 1.0,
          "cb-patch-size": 7,
          "cb-prefilter": 0,
          "cb-range": 3,
          "cb-strength": 6.0,
          "y-frame-count": 2,
          "y-origin-tune": 1.0,
          "y-patch-size": 7,
          "y-prefilter": 0,
          "y-range": 3,
          "y-strength": 6.0
        }
      },
      {
        "ID": 14,
        "Settings": {
          "cb-size": 7,
          "cb-strength": 0.15,
          "y-size": 7,
          "y-strength": 0.15
        }
      },
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "480",
          "width": "640"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\test.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "auto",
    "Quality": 23.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:59:38] CPU: Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
[16:59:38]  - Intel microarchitecture Ivy Bridge
[16:59:38]  - logical processor count: 4
[16:59:38] Intel Quick Sync Video support: no
[16:59:38] hb_scan: path=D:\test.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\test - Copy.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
src/libbluray/bluray.c:2585: nav_get_title_list(D:\test - Copy.mp4\) failed
[16:59:38] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[16:59:38] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\test - Copy.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.20.100
    replaygain_undo : -16,-16
  Duration: 00:12:45.03, start: 0.000000, bitrate: 1568 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1453 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 108 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
[16:59:38] scan: decoding previews for title 1
[16:59:38] scan: audio 0x1: aac, rate=48000Hz, bitrate=108437 Unknown (AAC LC) (2.0 ch) (108 kbps)
[16:59:38] scan: 10 previews, 640x480, 29.970 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[16:59:38] scan: supported video decoders: avcodec qsv
[16:59:38] libhb: scan thread found 1 valid title(s)
[16:59:38] Skipping subtitle scan.  No suitable subtitle tracks.
[16:59:38] Starting Task: Encoding Pass
[16:59:38] Skipping vfr filter
[16:59:38] Skipping crop/scale filter
[16:59:38] NLMeans using SSE2 optimizations
[16:59:38] NLMeans using 4 threads
[16:59:38] MTFrame thread started for segment 0
[16:59:38] MTFrame thread started for segment 1
[16:59:38] MTFrame thread started for segment 2
[16:59:38] MTFrame thread started for segment 3
[16:59:38] work: only 1 chapter, disabling chapter markers
[16:59:38] job configuration:
[16:59:38]  * source
[16:59:38]    + D:\test - Copy.mp4
[16:59:38]    + title 1, chapter(s) 1 to 1
[16:59:38]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:59:38]    + data rate: 1568 kbps
[16:59:38]  * destination
[16:59:38]    + D:\test output.mp4
[16:59:38]    + container: MPEG-4 (libavformat)
[16:59:38]      + align initial A/V stream timestamps
[16:59:38]  * video track
[16:59:38]    + decoder: h264
[16:59:38]      + bitrate 1453 kbps
[16:59:38]    + filters
[16:59:38]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[16:59:38]      + Decomb (mode=39)
[16:59:38]      + Denoise (nlmeans) (y-strength=6:y-origin-tune=1:y-patch-size=7:y-range=3:y-frame-count=2:y-prefilter=0:cb-strength=6:cb-origin-tune=1:cb-patch-size=7:cb-range=3:cb-frame-count=2:cb-prefilter=0)
[16:59:38]      + Sharpen (unsharp) (y-strength=0.15:y-size=7:cb-strength=0.15:cb-size=7)
[16:59:38]    + Output geometry
[16:59:38]      + storage dimensions: 640 x 480
[16:59:38]      + pixel aspect ratio: 1 : 1
[16:59:38]      + display dimensions: 640 x 480
[16:59:38]    + encoder: H.265 (libx265)
[16:59:38]      + preset:  medium
[16:59:38]      + profile: auto
[16:59:38]      + level:   auto
[16:59:38]      + quality: 23.00 (RF)
[16:59:38]      + color profile: 6-1-6
[16:59:38]  * audio track 1
[16:59:38]    + decoder: Unknown (AAC LC) (2.0 ch) (108 kbps) (track 1, id 0x1)
[16:59:38]      + bitrate: 108 kbps, samplerate: 48000 Hz
[16:59:38]    + mixdown: Stereo
[16:59:38]    + dither: none
[16:59:38]    + encoder: AAC (libavcodec)
[16:59:38]      + bitrate: 160 kbps, samplerate: 48000 Hz
[16:59:38] sync: expecting 22928 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main profile, Level-3 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / wpp(8 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 30 / 300 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-23.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip signhide tmvp b-intra
x265 [info]: tools: strong-intra-smoothing deblock sao
[16:59:38] sync: first pts video is 0
[16:59:38] sync: "Chapter 1" (1) at frame 1 time 0
[16:59:38] sync: first pts audio 0x1 is 0
[17:01:28] hb_init: starting libhb thread

 # Starting Scan ...

[17:01:28] CPU: Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
[17:01:28]  - Intel microarchitecture Ivy Bridge
[17:01:28]  - logical processor count: 4
[17:01:28] Intel Quick Sync Video support: no
[17:01:28] hb_scan: path=D:\test2.mp4, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\test2.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
src/libbluray/bluray.c:2585: nav_get_title_list(D:\test2.mp4\) failed
[17:01:29] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[17:01:29] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\test2.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:10:27.20, start: 0.000000, bitrate: 1198 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1051 kb/s, 29.75 fps, 29.75 tbr, 15232 tbn, 59.50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 139 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
[17:01:29] scan: decoding previews for title 1
[17:01:29] scan: audio 0x1: aac, rate=48000Hz, bitrate=139642 Unknown (AAC LC) (2.0 ch) (139 kbps)
[17:01:29] scan: 10 previews, 1280x720, 29.750 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[17:01:29] scan: supported video decoders: avcodec qsv
[17:01:29] libhb: scan thread found 1 valid title(s)

 # Processing Scan Information ...


 # Scan Finished ...

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

Re: 1.3.0 deletes presets / won't save audio presets

Post by s55 »

Did you use the behavioural screen (via the audio tab) to setup the audio tracks?

If you used the "add preset" then configured audio from there, there is a known bug. (Fixed in the nighties and upcoming 1.3.1)

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

Re: 1.3.0 deletes presets / won't save audio presets

Post by andrewk89 »

s55 wrote:
Sun Dec 15, 2019 10:54 pm
Did you use the behavioural screen (via the audio tab) to setup the audio tracks? (Fixed in the nighties and upcoming 1.3.1)
Yes. OK, and thanks.

I couldn't reproduce deleted presets. I copied one of the presets.json backups from earlier this year. (I only use 2 presets, but there are a lot of preset backups. Does HB make a backup at every version upgrade?). Re-launched 1.3.0 and they were there (with the correct audio settings, too.) Exited HB and repeated. Still there. If there's a preset version upgrade at every HB upgrade, can corruption creep in that manifests in this manner?

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

Re: 1.3.0 deletes presets / won't save audio presets

Post by s55 »

Any time the an error, read-failure or upgrade occurs, a backup is made.

We don't guarantee presets carry between versions, but in theory it should mostly work. That said, even with a successful import, a given setting and/or preset as a whole might behave quite differently between versions so it's always worth checking your still getting expected results.

For example, x265 drastically changed their defaults with the latest version, which for a lot of folks using it, has meant significant increase in filesizes and requires preset changes to compensate.

Post Reply