Best setting?

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
Hellboy.
Posts: 7
Joined: Thu Mar 30, 2023 9:29 pm

Best setting?

Post by Hellboy. »

First time using HandBrake. I always used dvdfab that don't have to many setting.

I convert full Blu-ray or full 4K Blu-ray to mkv.

I want to know if someone can recommend settings, filters and advanced options that can be used for all the movies so i don't think in this again.

I use CRF 15 to 16. I go for best quality but not in extreme. I try that the time is 7 hours, approximate.

HandBrake 1.6.1 (2023012300)
OS: Microsoft Windows NT 10.0.22621.0
CPU: AMD Ryzen 5 5600X 6-Core Processor
Ram: 16298 MB,
GPU: NVIDIA GeForce GTX 1060 6GB - 30.0.15.1277
Screen: 1920x1080

Thanks
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Best setting?

Post by rollin_eng »

Just use a preset that best suits your needs.
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: Best setting?

Post by mduell »

Super HQ 1080p preset is a good starting point for Blu-ray.

A 4K preset that matches your intended playback environment for 4K Blu-ray.
Hellboy.
Posts: 7
Joined: Thu Mar 30, 2023 9:29 pm

Re: Best setting?

Post by Hellboy. »

I convert Orphan.First.Kill.2022.4K using: Encoder H.275 10bit, CRF 14.5, Preset Slow, no filters, no Advanced Options and took like 30 hours.
Definitely not doing this again with this settings.

And MediaInfo show a error "ErrorDetectionType: Per level 1". What this mean?

Code: Select all

HandBrake 1.6.1 (2023012300)
OS: Microsoft Windows NT 10.0.22621.0
CPU: AMD Ryzen 5 5600X 6-Core Processor             
Ram: 16298 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 6GB - 30.0.15.1277
Screen: 1920x1080
Temp Dir: C:\Users\xxx\AppData\Local\Temp\
Install Dir: D:\Programs\HandBrake v1.6.1-x86_64-Win GUI\
Data Dir: D:\Programs\HandBrake v1.6.1-x86_64-Win GUI\storage\HandBrake

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

 # Starting Encode ...

[22:30:32] base preset: Custom 1 4K (Modified)
[22:30:32] hb_init: starting libhb thread
[22:30:32] Starting work at: Thu Mar 30 22:30:32 2023
[22:30:32] 1 job(s) to process
[22:30:32] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0,
        "Encoder": "copy:dtshd",
        "Gain": 0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:eac3",
      "copy:truehd",
      "copy:dts",
      "copy:dtshd",
      "copy:mp2",
      "copy:mp3",
      "copy:flac",
      "copy:opus"
    ]
  },
  "Destination": {
    "ChapterList": [],
    "ChapterMarkers": false,
    "AlignAVStart": false,
    "File": "D:\\Downloads\\Remux\\Video\\00000.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 14,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "2160",
          "width": "3840"
        }
      },
      {
        "ID": 7,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\Movie\\Orphan.First.Kill.2022.4K.Bluray\\BDMV\\STREAM\\00000.M2TS"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265_10bit",
    "Level": "5.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "slow",
    "Profile": "main10",
    "Quality": 14.5,
    "QSV": {
      "Decode": false
    },
    "HardwareDecode": 0
  }
}
[22:30:32] CPU: AMD Ryzen 5 5600X 6-Core Processor
[22:30:32]  - logical processor count: 12
[22:30:32] hb_scan: path=D:\Movie\Orphan.First.Kill.2022.4K.Bluray\BDMV\STREAM\00000.M2TS, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image D:\Movie\Orphan.First.Kill.2022.4K.Bluray\BDMV\STREAM\00000.M2TS
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
[22:30:32] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[22:30:32] dvd: not a dvd - trying as a stream/file instead
[22:30:32] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[22:33:35] hb_ts_stream_find_pids - end of file
Input #0, mpegts, from 'D:\Movie\Orphan.First.Kill.2022.4K.Bluray\BDMV\STREAM\00000.M2TS':
  Duration: 01:38:16.97, start: 600.000000, bitrate: 96688 kb/s
  Program 1
  Stream #0:0[0x1011]: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn
  Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s16p
  Stream #0:2[0x1101]: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, stereo, s16, 1536 kb/s
  Stream #0:3[0x12a0]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
[22:33:35] scan: decoding previews for title 1
[22:33:35] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[22:36:37] hb_ts_stream_find_pids - end of file
[22:36:37] scan: audio 0x2: pcm_bluray, rate=48000Hz, bitrate=1536000 Unknown (BD LPCM) (2.0 ch) (1536 kbps)
[22:36:37] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 Unknown (DTS-HD MA) (5.1 ch)
[22:36:43] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 42/42/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9, chroma location: topleft
[22:36:43] scan: mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=1000.000000
[22:36:43] scan: content light level: max_cll=154, max_fall=62
[22:36:43] libhb: scan thread found 1 valid title(s)
[22:36:43] Starting Task: Encoding Pass
[22:36:43] Skipping crop/scale filter
[22:36:43] job configuration:
[22:36:43]  * source
[22:36:43]    + D:\Movie\Orphan.First.Kill.2022.4K.Bluray\BDMV\STREAM\00000.M2TS
[22:36:43]    + title 1, chapter(s) 1 to 1
[22:36:43]    + container: mpegts
[22:36:43]    + data rate: 96688 kbps
[22:36:43]  * destination
[22:36:43]    + D:\Downloads\Remux\Video\00000.mkv
[22:36:43]    + container: Matroska (libavformat)
[22:36:43]  * video track
[22:36:43]    + decoder: hevc 10-bit (yuv420p10le)
[22:36:43]    + filter
[22:36:43]      + Framerate Shaper (mode=1)
[22:36:43]        + frame rate: 23.976 fps -> constant 23.976 fps
[22:36:43]    + Output geometry
[22:36:43]      + storage dimensions: 3840 x 2160
[22:36:43]      + pixel aspect ratio: 1 : 1
[22:36:43]      + display dimensions: 3840 x 2160
[22:36:43]    + encoder: H.265 10-bit (libx265)
[22:36:43]      + preset:  slow
[22:36:43]      + profile: main10
[22:36:43]      + level:   5.1
[22:36:43]      + quality: 14.50 (RF)
[22:36:43]      + color profile: 9-16-9
[22:36:43]      + chroma location: topleft
[22:36:43]      + mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=1000.000000
[22:36:43]      + content light level: max_cll=154, max_fall=62
[22:36:43]  * audio track 1
[22:36:43]    + decoder: Unknown (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[22:36:43]      + samplerate: 48000 Hz
[22:36:43]    + DTS-HD Passthru
[22:36:43] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[22:39:45] hb_ts_stream_find_pids - end of file
[22:39:45] sync: expecting 141385 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 10.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [warning]: Turning on repeat-headers for HDR compatibility
x265 [warning]: Specifying a decoder level with constant rate factor rate-control requires
x265 [warning]: enabling VBV with vbv-bufsize=160000kb vbv-maxrate=160000kbps. VBV outputs are non-deterministic!
x265 [info]: Main 10 profile, Level-5.1 (High tier)
x265 [info]: Thread pool created using 12 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(34 rows)
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         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-14.5 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 160000 / 160000 / 0.900
x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao
[22:39:46] sync: first pts video is 0
[22:39:46] sync: Chapter 1 at frame 1 time 0
[22:39:46] sync: first pts audio 0x1 is 0

 # Encode Paused


 # Encode Resumed


 # Encode Paused


 # Encode Resumed


 # Encode Paused


 # Encode Resumed

[04:10:26] reader: done. 1 scr changes
[04:10:33] work: average encoding speed for job is 1.799220 fps
[04:10:33] vfr: 141387 frames output, 0 dropped and 0 duped for CFR/PFR
[04:10:33] vfr: lost time: 0 (0 frames)
[04:10:33] vfr: gained time: 0 (0 frames) (0 not accounted for)
[04:10:33] dca-decoder done: 552779 frames, 0 decoder errors
[04:10:33] hevc-decoder done: 141387 frames, 0 decoder errors
[04:10:33] sync: got 141387 frames, 141385 expected
[04:10:33] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:   1681, Avg QP:16.53  kb/s: 54922.60
x265 [info]: frame P:  32465, Avg QP:17.64  kb/s: 34510.98
x265 [info]: frame B: 107241, Avg QP:20.79  kb/s: 19071.04
x265 [info]: Weighted P-Frames: Y:8.1% UV:6.6%
encoded 141387 frames in 106248.00s (1.33 fps), 23042.59 kb/s, Avg QP:20.02
[04:10:34] mux: track 0, 141387 frames, 16989714234 bytes, 23048.56 kbps, fifo 1024
[04:10:34] mux: track 1, 552779 frames, 1338622644 bytes, 1816.00 kbps, fifo 4096
[04:10:34] Finished work at: Sat Apr 01 04:10:34 2023
[04:10:34] libhb: work result = 0

 # Job Completed!

# Performing 'When Done' Action: 1

Post Reply