Help with preset for my particular setup.

Discuss encoding for devices and presets.
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
DeepOvertone
Posts: 2
Joined: Mon Feb 06, 2023 11:13 pm

Help with preset for my particular setup.

Post by DeepOvertone »

Description of problem or question:

I'm sorry if this kind of question is generally looked down upon via this community. I've tried google so I'm coming to the masters for help. I'm not familiar with all of the settings and vernacular so please bear with me.

What I'm looking for is the "best" settings to use for my current goals. In no particular order they are 1. Faster encoding, 2. Lower file size, and 3. Best visual quality. I know that's typically a pick 2 out of 3 situation so if I had to give one up it would be faster encoding. But, if theres a way to speed up my encoding over what I'm currently doing, without sacrificing lower file size and quality, I'd like to know.

All machine specs are listed below and for reference my workflow is bluray through Make MKV, and then to handbrake.

I'm currently using H.265(video toolbox), peak framerate, 30fps, average bitrate set to 6000. I don't even remember where I got those numbers so they could be all wrong and I'd have no idea. Any help would be appreciated!!



HandBrake version (e.g., 1.0.0):

I'm using 1.6.1 for Mac OS


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

Running on Ventura 13.1. The Machine is an iMac with a 4.2ghz quad core i7 (Kaby lake) with a Radeon Pro 575 (4gb) video card.
The devices I'm playing on are Apple TVs. I have 1 Apple TV HD, and a couple 1st generation 4k models. I plan to get the 3rd gens at some point.

My home theater setup is nothing crazy. Audio is simple 5.1 and the TV is a decent 4K Samsung.



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

Code: Select all

[17:03:50] macgui: Handbrake Version: 1.6.1 (2023012200)
[17:03:50] Compile-time hardening features are enabled
[17:03:50] hb_init: starting libhb thread
[17:11:22] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[17:11:22] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[17:11:22]  - Intel microarchitecture Kaby Lake
[17:11:22]  - logical processor count: 8
[17:11:22] hb_scan: path=/Users/timothy/Movies/The Big Lebowski/The Big Lebowski_t01.mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Users/timothy/Movies/The Big Lebowski/The Big Lebowski_t01.mkv
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
[17:11:22] 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
[17:11:22] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/timothy/Movies/The Big Lebowski/The Big Lebowski_t01.mkv':
  Metadata:
    title           : The Big Lebowski
    encoder         : libmakemkv v1.17.2 (1.3.10/1.5.2) darwin(x64-release)
    creation_time   : 2023-02-01T22:26:39.000000Z
  Duration: 00:24:35.94, start: 0.000000, bitrate: 5324 kb/s
  Stream #0:0(eng): Video: h264 (Main), yuv420p(tv, bottom first), 720x480 [SAR 40:33 DAR 20:11], SAR 109:90 DAR 109:60, 29.97 fps, 29.97 tbr, 1k tbn
    Metadata:
      BPS-eng         : 4999996
      DURATION-eng    : 00:24:35.941133333
      NUMBER_OF_FRAMES-eng: 44234
      NUMBER_OF_BYTES-eng: 922462520
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.2 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2023-02-01 22:26:39
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, stereo, fltp, 256 kb/s (default)
    Metadata:
      title           : Stereo
      BPS-eng         : 255000
      DURATION-eng    : 00:24:35.946666666
      NUMBER_OF_FRAMES-eng: 138370
      NUMBER_OF_BYTES-eng: 47045800
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.2 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2023-02-01 22:26:39
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 26730
      DURATION-eng    : 00:23:14.976916666
      NUMBER_OF_FRAMES-eng: 844
      NUMBER_OF_BYTES-eng: 4661087
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.2 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2023-02-01 22:26:39
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:3(spa): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 20970
      DURATION-eng    : 00:23:16.745350000
      NUMBER_OF_FRAMES-eng: 816
      NUMBER_OF_BYTES-eng: 3661318
      SOURCE_ID-eng   : 001201
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.2 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2023-02-01 22:26:39
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:4(fra): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 22259
      DURATION-eng    : 00:23:16.745350000
      NUMBER_OF_FRAMES-eng: 820
      NUMBER_OF_BYTES-eng: 3886346
      SOURCE_ID-eng   : 001202
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.2 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2023-02-01 22:26:39
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[17:11:22] scan: decoding previews for title 1
[17:11:22] scan: audio 0x1: dca, rate=48000Hz, bitrate=256000 English (DTS) (2.0 ch) (256 kbps)
[17:11:22] WARNING: Video PAR 40:33 != container PAR 109:90
[17:11:22] scan: 10 previews, 720x480, 29.970 fps, autocrop = 4/4/102/96, aspect 16:9, PAR 40:33, color profile: 6-1-6, chroma location: left
[17:11:22] libhb: scan thread found 1 valid title(s)
[17:11:22] macgui: ScanCore scan done

mduell
Veteran User
Posts: 7952
Joined: Sat Apr 21, 2007 8:54 pm

Re: Help with preset for my particular setup.

Post by mduell »

Post an encode log, not just the scan log.

If you are indeed using VideoToolBox, you're not going to get any faster. But VideoToolBox is forcing lower quality for size than you can get with the software encoders. So you really need to think about your priorities, because improving quality and size is going to require a way slower encode.
DeepOvertone
Posts: 2
Joined: Mon Feb 06, 2023 11:13 pm

Re: Help with preset for my particular setup.

Post by DeepOvertone »

mduell wrote: Tue Feb 07, 2023 3:02 am
So you really need to think about your priorities, because improving quality and size is going to require a way slower encode.
Slower may be fine. Can you give me some direction on how to switch things up? Also, how to go about speeding up the encode once I move away from video toolbox? The good thing is that I sort of work in IT and have access to a bunch of hardware. Is core count better or should I look for something with more speed? If I remember right, core count is king and I can pretty easily get my hands on some nice xeon chips with high core count. I may just build myself an encoding machine if I can get similar or better speeds with better quality by upping the hardware side.

I'll look into an encode log today. I will be at work encoding on a different machine but with the same preset.
mduell
Veteran User
Posts: 7952
Joined: Sat Apr 21, 2007 8:54 pm

Re: Help with preset for my particular setup.

Post by mduell »

Choose the x265 encoder, try a few encoder presets to see what speed you're happy with, and then try some different RF targets to see what quality/size you're happy with.
Post Reply