low CPU Usage using CLI AC3 Passthrough

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
AJSG1969
Posts: 20
Joined: Mon Jul 19, 2021 6:59 pm

low CPU Usage using CLI AC3 Passthrough

Post by AJSG1969 »

Hardware: Dell T5610 Dual Xeon X5 2630 v2 (6 cores 12 threads per CPU), 32GB DDR3 RAM

When running via Command line (CMD.exe) with --preset "H.264 MKV 576p25" is see 65-70% CPU usage

When running via Command line (CMD.exe) with --preset "DVD576" is see 40-50% CPU usage

Only difference between the two presets is that in DVD576 Audio is set to AC3 Passthru, in the built in H.264 MKV 576p25 preset Audio is set to AC3 downmix to stereo.

CPU usage is that reported by Task Manager.

Can anyone suggest what I could do to increase the CPU workload when using a custom preset.

PS As a further test I ran the same CLI line with "Super HQ 575p25 Surround" and CPU usage reported was between 40-50%

PPS Most bizarrely if I run two Command Prompt windows running custom preset DVD576 the CPU maxes but the time (ETA) is lower than when I run a single CMD.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: low CPU Usage using CLI AC3 Passthrough

Post by rollin_eng »

Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: low CPU Usage using CLI AC3 Passthrough

Post by mduell »

This is not a general question, it's a support request for specific encodes.
AJSG1969
Posts: 20
Joined: Mon Jul 19, 2021 6:59 pm

Re: low CPU Usage using CLI AC3 Passthrough

Post by AJSG1969 »

mduell wrote: Tue Jul 20, 2021 8:18 pm This is not a general question, it's a support request for specific encodes.
I wouldn't say its a support request, I am just asking the community if anyone has had a similar experience with low'ish CPU usage.

I've run the same script on two T5610 machines with the same CPUs (one has 32GB the other 96GB) and the encoding time and CPU usage (~50%) is identical. Worth noting that outputting to MKV takes almost 3 times longer than M4V.

Logs are available, summary:

[07:35:51] CPU: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz
[07:35:51] - Intel microarchitecture Ivy Bridge
[07:35:51] - logical processor count: 24
[07:35:51] Intel Quick Sync Video support: no
+ Using preset: DVD576
[08:27:43] mux: track 0, 156575 frames, 618489347 bytes, 790.02 kbps, fifo 4096
[08:27:43] mux: track 1, 195718 frames, 350726656 bytes, 448.00 kbps, fifo 4096
[08:27:43] Finished work at: Wed Jul 21 08:27:43 2021

Code: Select all

[07:35:51] Compile-time hardening features are enabled
[07:35:51] hb_init: starting libhb thread
[07:35:51] thread 1 started ("libhb")
HandBrake 1.4.0 (2021071800) - MinGW x86_64 - https://handbrake.fr
24 CPUs detected
Opening T:\SD DVD\2 Guns...
[07:35:51] CPU: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz
[07:35:51]  - Intel microarchitecture Ivy Bridge
[07:35:51]  - logical processor count: 24
[07:35:51] Intel Quick Sync Video support: no
[07:35:51] hb_scan: path=T:\SD DVD\2 Guns, title_index=1
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
src/libbluray/bluray.c:2646: nav_get_title_list(T:\SD DVD\2 Guns\) failed
[07:35:52] bd: not a bd - trying as a stream/file instead
libdvdread: Could not open input: 
libdvdread: Can't open T:\SD DVD\2 Guns for reading
libdvdread: Device T:\SD DVD\2 Guns inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file T:\SD DVD\2 Guns.
libdvdread: Could not open input: 
libdvdread: Can't open T:\SD DVD\2 Guns for reading
libdvdread: Device T:\SD DVD\2 Guns inaccessible, CSS authentication not available.
[07:35:52] scan: DVD has 1 title(s)
[07:35:52] scan: scanning title 1
[07:35:52] scan: duration is 01:44:23 (6263000 ms)
[07:35:52] pgc_id: 1, pgn: 1: pgc: 00000281af24d6c0
[07:35:52] scan: checking audio 1
[07:35:52] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[07:35:52] scan: checking audio 2
[07:35:52] scan: id=0x81bd, lang=English (AC3), 3cc=eng ext=0
[07:35:52] scan: checking audio 3
[07:35:52] scan: id=0x82bd, lang=English (AC3), 3cc=eng ext=0
[07:35:52] scan: checking subtitle 1
[07:35:52] scan: id=0x20bd, lang=English (Wide Screen) [VOBSUB], 3cc=eng ext=0
[07:35:53] scan: title 1 has 20 chapters
[07:35:53] scan: chap 1, 305360 ms
[07:35:53] scan: chap 2, 295520 ms
[07:35:53] scan: chap 3, 261120 ms
[07:35:53] scan: chap 4, 360520 ms
[07:35:53] scan: chap 5, 187360 ms
[07:35:53] scan: chap 6, 439120 ms
[07:35:53] scan: chap 7, 308000 ms
[07:35:53] scan: chap 8, 181840 ms
[07:35:53] scan: chap 9, 370280 ms
[07:35:53] scan: chap 10, 282520 ms
[07:35:53] scan: chap 11, 342120 ms
[07:35:53] scan: chap 12, 439240 ms
[07:35:53] scan: chap 13, 503120 ms
[07:35:53] scan: chap 14, 324320 ms
[07:35:53] scan: chap 15, 261200 ms
[07:35:53] scan: chap 16, 157840 ms
[07:35:53] scan: chap 17, 211400 ms
[07:35:53] scan: chap 18, 495360 ms
[07:35:53] scan: chap 19, 71160 ms
[07:35:53] scan: chap 20, 465600 ms
[07:35:53] scan: aspect = 16:9
[07:35:53] scan: decoding previews for title 1
[07:35:53] scan: title angle(s) 1
[07:35:53] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[07:35:53] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)
[07:35:54] scan: audio 0x82bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)
[07:35:54] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/74/0/0, aspect 16:9, PAR 64:45, color profile: 5-1-6
[07:35:54] libhb: scan thread found 1 valid title(s)
+ Using preset: DVD576
+ title 1:
  + index 1
  + duration: 01:44:23
  + size: 720x576, pixel aspect: 64/45, display aspect: 1.78, 25.000 fps
  + autocrop: 74/74/0/0
  + chapters:
    + 1: duration 00:05:05
    + 2: duration 00:04:56
    + 3: duration 00:04:21
    + 4: duration 00:06:01
    + 5: duration 00:03:07
    + 6: duration 00:07:19
    + 7: duration 00:05:08
    + 8: duration 00:03:02
    + 9: duration 00:06:10
    + 10: duration 00:04:43
    + 11: duration 00:05:42
    + 12: duration 00:07:19
    + 13: duration 00:08:23
    + 14: duration 00:05:24
    + 15: duration 00:04:21
    + 16: duration 00:02:38
    + 17: duration 00:03:31
    + 18: duration 00:08:15
    + 19: duration 00:01:11
    + 20: duration 00:07:46
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (448 kbps) (iso639-2: eng), 48000Hz, 448000bps
    + 2, English (AC3) (2.0 ch) (192 kbps) (iso639-2: eng), 48000Hz, 192000bps
    + 3, English (AC3) (2.0 ch) (192 kbps) (iso639-2: eng), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English (Wide Screen) [VOBSUB]
[07:35:55] Starting work at: Wed Jul 21 07:35:55 2021

[07:35:55] 1 job(s) to process
[07:35:55] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 0,
                "DRC": 0.0,
                "Encoder": "copy:ac3",
                "Mixdown": "none",
                "PresetEncoder": "copy:ac3",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:ac3"
        ],
        "FallbackEncoder": "av_aac"
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 5,
                    "Ticks": 27482400
                },
                "Name": "Chapter 1"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 56,
                    "Ticks": 26596800
                },
                "Name": "Chapter 2"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 21,
                    "Ticks": 23500800
                },
                "Name": "Chapter 3"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 1,
                    "Ticks": 32446800
                },
                "Name": "Chapter 4"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 7,
                    "Ticks": 16862400
                },
                "Name": "Chapter 5"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 19,
                    "Ticks": 39520800
                },
                "Name": "Chapter 6"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 8,
                    "Ticks": 27720000
                },
                "Name": "Chapter 7"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 2,
                    "Ticks": 16365600
                },
                "Name": "Chapter 8"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 10,
                    "Ticks": 33325200
                },
                "Name": "Chapter 9"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 43,
                    "Ticks": 25426800
                },
                "Name": "Chapter 10"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 42,
                    "Ticks": 30790800
                },
                "Name": "Chapter 11"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 19,
                    "Ticks": 39531600
                },
                "Name": "Chapter 12"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 23,
                    "Ticks": 45280800
                },
                "Name": "Chapter 13"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 24,
                    "Ticks": 29188800
                },
                "Name": "Chapter 14"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 21,
                    "Ticks": 23508000
                },
                "Name": "Chapter 15"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 38,
                    "Ticks": 14205600
                },
                "Name": "Chapter 16"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 31,
                    "Ticks": 19026000
                },
                "Name": "Chapter 17"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 15,
                    "Ticks": 44582400
                },
                "Name": "Chapter 18"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 11,
                    "Ticks": 6404400
                },
                "Name": "Chapter 19"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 46,
                    "Ticks": 41904000
                },
                "Name": "Chapter 20"
            }
        ],
        "ChapterMarkers": true,
        "File": "T:\\SD DVD\\2 Guns\\2 Guns.mkv",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "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": 4,
                "Settings": {
                    "mode": "7"
                }
            },
            {
                "ID": 6,
                "Settings": {
                    "mode": 2,
                    "rate": "27000000/1080000"
                }
            },
            {
                "ID": 13,
                "Settings": {
                    "crop-bottom": 74,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 74,
                    "height": 428,
                    "width": 720
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 45,
        "Num": 64
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "T:\\SD DVD\\2 Guns",
        "Range": {
            "End": 20,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": true,
            "Forced": true
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorFormat": 0,
        "ColorMatrix": 6,
        "ColorPrimaries": 5,
        "ColorRange": 1,
        "ColorTransfer": 1,
        "Encoder": "x264",
        "Level": "3.1",
        "Options": "",
        "Preset": "veryslow",
        "Profile": "high",
        "QSV": {
            "AdapterIndex": 1,
            "AsyncDepth": 0,
            "Decode": true
        },
        "Quality": 20.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[07:36:01] Starting Task: Subtitle Scan
[07:36:01] job configuration:
[07:36:01]  * source
[07:36:01]    + T:\SD DVD\2 Guns
[07:36:01]    + title 1, chapter(s) 1 to 20
[07:36:01]  * destination
[07:36:01]    + T:\SD DVD\2 Guns\2 Guns.mkv
[07:36:01]    + container: Matroska (libavformat)
[07:36:01]      + chapter markers
[07:36:01]  * video track
[07:36:01]    + decoder: mpeg2video 8-bit
[07:36:01]      + bitrate 200 kbps
[07:36:01]    + filters
[07:36:01]      + 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)
[07:36:01]      + Decomb (mode=39)
[07:36:01]      + Framerate Shaper (mode=2:rate=27000000/1080000)
[07:36:01]        + frame rate: 25.000 fps -> peak rate limited to 25.000 fps
[07:36:02]      + Crop and Scale (width=720:height=428:crop-top=74:crop-bottom=74:crop-left=0:crop-right=0)
[07:36:02]        + source: 720 * 576, crop (74/74/0/0): 720 * 428, scale: 720 * 428
[07:36:02]    + Output geometry
[07:36:02]      + storage dimensions: 720 x 428
[07:36:02]      + pixel aspect ratio: 64 : 45
[07:36:02]      + display dimensions: 1024 x 428
[07:36:02]  * Foreign Audio Search: Render/Burn-in, Forced Only
[07:36:02]    + subtitle, English (Wide Screen) [VOBSUB] (track 0, id 0x20bd, Picture)
libdvdread: Could not open input: 
libdvdread: Can't open T:\SD DVD\2 Guns for reading
libdvdread: Device T:\SD DVD\2 Guns inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file T:\SD DVD\2 Guns.
libdvdread: Could not open input: 
libdvdread: Can't open T:\SD DVD\2 Guns for reading
libdvdread: Device T:\SD DVD\2 Guns inaccessible, CSS authentication not available.
[07:36:02] sync: expecting 156575 video frames
[07:37:04] reader: done. 1 scr changes
[07:37:04] work: average encoding speed for job is 0.000000 fps
[07:37:04] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[07:37:04] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[07:37:04] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[07:37:04] vfr: lost time: 0 (0 frames)
[07:37:04] vfr: gained time: 0 (0 frames) (0 not accounted for)
[07:37:04] mpeg2video-decoder done: 0 frames, 1 decoder errors
[07:37:04] sync: got 0 frames, 156575 expected
[07:37:04] Subtitle track 0 (id 0x20bd) 'English (Wide Screen) [VOBSUB]': 1808 hits (0 forced)
[07:37:04] No candidate detected during subtitle scan
[07:37:05] Starting Task: Encoding Pass
[07:37:05] job configuration:
[07:37:05]  * source
[07:37:05]    + T:\SD DVD\2 Guns
[07:37:05]    + title 1, chapter(s) 1 to 20
[07:37:05]  * destination
[07:37:05]    + T:\SD DVD\2 Guns\2 Guns.mkv
[07:37:05]    + container: Matroska (libavformat)
[07:37:05]      + chapter markers
[07:37:05]  * video track
[07:37:05]    + decoder: mpeg2video 8-bit
[07:37:05]      + bitrate 200 kbps
[07:37:05]    + filters
[07:37:05]      + 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)
[07:37:05]      + Decomb (mode=39)
[07:37:05]      + Framerate Shaper (mode=2:rate=27000000/1080000)
[07:37:05]        + frame rate: 25.000 fps -> peak rate limited to 25.000 fps
[07:37:05]      + Crop and Scale (width=720:height=428:crop-top=74:crop-bottom=74:crop-left=0:crop-right=0)
[07:37:05]        + source: 720 * 576, crop (74/74/0/0): 720 * 428, scale: 720 * 428
[07:37:05]    + Output geometry
[07:37:05]      + storage dimensions: 720 x 428
[07:37:05]      + pixel aspect ratio: 64 : 45
[07:37:05]      + display dimensions: 1024 x 428
[07:37:05]    + encoder: H.264 (libx264)
[07:37:05]      + preset:  veryslow
[07:37:05]      + profile: high
[07:37:05]      + level:   3.1
[07:37:05]      + quality: 20.00 (RF)
[07:37:05]      + color profile: 5-1-6
[07:37:05]  * audio track 1
[07:37:05]    + decoder: English (AC3) (5.1 ch) (448 kbps) (track 1, id 0x80bd)
[07:37:06]      + bitrate: 448 kbps, samplerate: 48000 Hz
[07:37:06]    + AC3 Passthru
libdvdread: Could not open input: 
libdvdread: Can't open T:\SD DVD\2 Guns for reading
libdvdread: Device T:\SD DVD\2 Guns inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file T:\SD DVD\2 Guns.
libdvdread: Could not open input: 
libdvdread: Can't open T:\SD DVD\2 Guns for reading
libdvdread: Device T:\SD DVD\2 Guns inaccessible, CSS authentication not available.
[07:37:06] sync: expecting 156575 video frames
[07:37:06] encx264: encoding at constant RF 20.000000
[07:37:06] encx264: unparsed options: level=3.1:ref=14:bframes=8:b-adapt=2:direct=auto:analyse=all:me=umh:merange=24:subme=10:trellis=2:vbv-bufsize=17500:vbv-maxrate=17500:rc-lookahead=60
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.1, 4:2:0, 8-bit
[07:37:06] sync: first pts video is 0
[07:37:06] sync: "Chapter 1" (1) at frame 1 time 0
[07:37:06] sync: first pts audio 0x80bd is 0
[07:39:39] sync: "Chapter 2" (2) at frame 7635 time 27482400
[07:42:19] sync: "Chapter 3" (3) at frame 15023 time 54079200
[07:44:13] sync: "Chapter 4" (4) at frame 21551 time 77580000
[07:47:05] sync: "Chapter 5" (5) at frame 30564 time 110026800
[07:48:28] sync: "Chapter 6" (6) at frame 35248 time 126889200
[07:52:10] sync: "Chapter 7" (7) at frame 46226 time 166410000
[07:55:09] sync: "Chapter 8" (8) at frame 53926 time 194130000
[07:56:32] sync: "Chapter 9" (9) at frame 58472 time 210495600
[07:58:58] sync: "Chapter 10" (10) at frame 67729 time 243820800
[08:00:53] sync: "Chapter 11" (11) at frame 74792 time 269247600
[08:04:42] sync: "Chapter 12" (12) at frame 83345 time 300038400
[08:08:06] sync: "Chapter 13" (13) at frame 94326 time 339570000
[08:12:03] sync: "Chapter 14" (14) at frame 106904 time 384850800
[08:15:03] sync: "Chapter 15" (15) at frame 115012 time 414039600
[08:17:39] sync: "Chapter 16" (16) at frame 121542 time 437547600
[08:18:39] sync: "Chapter 17" (17) at frame 125488 time 451753200
[08:20:15] sync: "Chapter 18" (18) at frame 130773 time 470779200
[08:25:02] sync: "Chapter 19" (19) at frame 143157 time 515361600
[08:25:32] sync: "Chapter 20" (20) at frame 144936 time 521766000
[08:27:41] reader: done. 1 scr changes
[08:27:42] work: average encoding speed for job is 51.563980 fps
[08:27:42] comb detect: heavy 467 | light 2215 | uncombed 153893 | total 156575
[08:27:42] decomb: deinterlaced 467 | blended 2215 | unfiltered 153893 | total 156575
[08:27:42] vfr: 156575 frames output, 0 dropped and 0 duped for CFR/PFR
[08:27:42] vfr: lost time: 0 (0 frames)
[08:27:42] vfr: gained time: 0 (0 frames) (0 not accounted for)
[08:27:42] ac3-decoder done: 195718 frames, 0 decoder errors
[08:27:42] mpeg2video-decoder done: 156575 frames, 0 decoder errors
[08:27:42] sync: got 156575 frames, 156575 expected
[08:27:42] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x264 [info]: frame I:1486  Avg QP:17.49  size: 39418
x264 [info]: frame P:34469 Avg QP:21.46  size:  9393
x264 [info]: frame B:120620 Avg QP:25.35  size:  1958
x264 [info]: consecutive B-frames:  3.3%  3.0%  7.8% 12.5% 12.7% 53.0%  4.2%  2.5%  0.9%
x264 [info]: mb I  I16..4: 12.8% 69.3% 17.9%
x264 [info]: mb P  I16..4:  1.5%  6.6%  1.2%  P16..4: 40.3% 14.9% 14.4%  0.4%  0.1%    skip:20.6%
x264 [info]: mb B  I16..4:  0.1%  0.5%  0.1%  B16..8: 35.3%  5.6%  1.4%  direct: 2.1%  skip:54.9%  L0:42.7% L1:48.1% BI: 9.1%
x264 [info]: 8x8 transform intra:70.7% inter:71.5%
x264 [info]: direct mvs  spatial:99.9% temporal:0.1%
x264 [info]: coded y,uvDC,uvAC intra: 75.6% 70.3% 39.0% inter: 11.9% 9.3% 1.3%
x264 [info]: i16 v,h,dc,p: 34% 27%  5% 34%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15%  9%  5%  9% 13% 15% 11% 13% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18%  9%  3%  9% 13% 15% 11% 11% 10%
x264 [info]: i8c dc,h,v,p: 31% 26% 25% 18%
x264 [info]: Weighted P-Frames: Y:4.3% UV:2.0%
x264 [info]: ref P L0: 50.1% 12.3% 14.8%  5.0%  4.4%  3.1%  2.8%  1.3%  1.3%  1.1%  1.0%  0.8%  0.9%  0.8%  0.1%  0.0%
x264 [info]: ref B L0: 80.7%  8.4%  4.1%  1.8%  1.3%  1.0%  0.8%  0.5%  0.4%  0.3%  0.3%  0.2%  0.1%
x264 [info]: ref B L1: 95.6%  4.4%
x264 [info]: kb/s:790.11
[08:27:43] mux: track 0, 156575 frames, 618489347 bytes, 790.02 kbps, fifo 4096
[08:27:43] mux: track 1, 195718 frames, 350726656 bytes, 448.00 kbps, fifo 4096
[08:27:43] Finished work at: Wed Jul 21 08:27:43 2021

[08:27:43] libhb: work result = 0

Encode done!
HandBrake has exited.
[08:30:05] CPU: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz
[08:30:05] - Intel microarchitecture Ivy Bridge
[08:30:05] - logical processor count: 24
[08:30:05] Intel Quick Sync Video support: no
+ Using preset: HQ 576p25 Surround
[08:54:47] mux: track 0, 156575 frames, 1007564586 bytes, 1287.00 kbps, fifo 2048
[08:54:47] mux: track 1, 293578 frames, 125679339 bytes, 160.53 kbps, fifo 4096
[08:54:47] mux: track 2, 195718 frames, 350726656 bytes, 448.00 kbps, fifo 4096
[08:54:47] Finished work at: Wed Jul 21 08:54:47 2021

Code: Select all

[08:30:05] Compile-time hardening features are enabled
[08:30:05] hb_init: starting libhb thread
[08:30:05] thread 1 started ("libhb")
HandBrake 1.4.0 (2021071800) - MinGW x86_64 - https://handbrake.fr
24 CPUs detected
Opening T:\SD DVD\2 Guns...
[08:30:05] CPU: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz
[08:30:05]  - Intel microarchitecture Ivy Bridge
[08:30:05]  - logical processor count: 24
[08:30:05] Intel Quick Sync Video support: no
[08:30:05] hb_scan: path=T:\SD DVD\2 Guns, title_index=1
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
src/libbluray/bluray.c:2646: nav_get_title_list(T:\SD DVD\2 Guns\) failed
[08:30:06] bd: not a bd - trying as a stream/file instead
libdvdread: Could not open input: 
libdvdread: Can't open T:\SD DVD\2 Guns for reading
libdvdread: Device T:\SD DVD\2 Guns inaccessible, CSS authentication not available.

Scanning title 1 of 1, 0.00 %libdvdnav: Unable to open device file T:\SD DVD\2 Guns.
libdvdread: Could not open input: 
libdvdread: Can't open T:\SD DVD\2 Guns for reading
libdvdread: Device T:\SD DVD\2 Guns inaccessible, CSS authentication not available.
[08:30:06] scan: DVD has 1 title(s)
[08:30:06] scan: scanning title 1

Scanning title 1 of 1, 0.00 %[08:30:06] scan: duration is 01:44:23 (6263000 ms)
[08:30:06] pgc_id: 1, pgn: 1: pgc: 00000233b3731f40
[08:30:06] scan: checking audio 1
[08:30:06] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[08:30:06] scan: checking audio 2
[08:30:06] scan: id=0x81bd, lang=English (AC3), 3cc=eng ext=0

Scanning title 1 of 1, 0.00 %[08:30:06] scan: checking audio 3
[08:30:06] scan: id=0x82bd, lang=English (AC3), 3cc=eng ext=0
[08:30:06] scan: checking subtitle 1
[08:30:06] scan: id=0x20bd, lang=English (Wide Screen) [VOBSUB], 3cc=eng ext=0
[08:30:06] scan: title 1 has 20 chapters
[08:30:06] scan: chap 1, 305360 ms
[08:30:06] scan: chap 2, 295520 ms
[08:30:06] scan: chap 3, 261120 ms

Scanning title 1 of 1, 0.00 %[08:30:06] scan: chap 4, 360520 ms
[08:30:06] scan: chap 5, 187360 ms
[08:30:06] scan: chap 6, 439120 ms
[08:30:07] scan: chap 7, 308000 ms
[08:30:07] scan: chap 8, 181840 ms
[08:30:07] scan: chap 9, 370280 ms
[08:30:07] scan: chap 10, 282520 ms
[08:30:07] scan: chap 11, 342120 ms
[08:30:07] scan: chap 12, 439240 ms
[08:30:07] scan: chap 13, 503120 ms

Scanning title 1 of 1, 0.00 %[08:30:07] scan: chap 14, 324320 ms
[08:30:07] scan: chap 15, 261200 ms
[08:30:07] scan: chap 16, 157840 ms
[08:30:07] scan: chap 17, 211400 ms
[08:30:07] scan: chap 18, 495360 ms
[08:30:07] scan: chap 19, 71160 ms
[08:30:07] scan: chap 20, 465600 ms
[08:30:07] scan: aspect = 16:9
[08:30:07] scan: decoding previews for title 1

Scanning title 1 of 1, preview 1, 0.00 %[08:30:07] scan: title angle(s) 1

Scanning title 1 of 1, preview 1, 10.00 %[08:30:07] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[08:30:07] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)

Scanning title 1 of 1, preview 1, 10.00 %[08:30:07] scan: audio 0x82bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)

Scanning title 1 of 1, preview 3, 30.00 %
Scanning title 1 of 1, preview 7, 70.00 %[08:30:08] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/74/0/0, aspect 16:9, PAR 64:45, color profile: 5-1-6

Scanning title 1 of 1, preview 10, 100.00 %[08:30:08] libhb: scan thread found 1 valid title(s)
+ Using preset: HQ 576p25 Surround
+ title 1:
  + index 1
  + duration: 01:44:23
  + size: 720x576, pixel aspect: 64/45, display aspect: 1.78, 25.000 fps
  + autocrop: 74/74/0/0
  + chapters:
    + 1: duration 00:05:05
    + 2: duration 00:04:56
    + 3: duration 00:04:21
    + 4: duration 00:06:01
    + 5: duration 00:03:07
    + 6: duration 00:07:19
    + 7: duration 00:05:08
    + 8: duration 00:03:02
    + 9: duration 00:06:10
    + 10: duration 00:04:43
    + 11: duration 00:05:42
    + 12: duration 00:07:19
    + 13: duration 00:08:23
    + 14: duration 00:05:24
    + 15: duration 00:04:21
    + 16: duration 00:02:38
    + 17: duration 00:03:31
    + 18: duration 00:08:15
    + 19: duration 00:01:11
    + 20: duration 00:07:46
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (448 kbps) (iso639-2: eng), 48000Hz, 448000bps
    + 2, English (AC3) (2.0 ch) (192 kbps) (iso639-2: eng), 48000Hz, 192000bps
    + 3, English (AC3) (2.0 ch) (192 kbps) (iso639-2: eng), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English (Wide Screen) [VOBSUB]
[08:30:09] Starting work at: Wed Jul 21 08:30:09 2021

[08:30:09] 1 job(s) to process
[08:30:09] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 160,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "av_aac",
                "Gain": 0.0,
                "Mixdown": "stereo",
                "NormalizeMixLevel": false,
                "PresetEncoder": "av_aac",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            },
            {
                "Bitrate": 0,
                "DRC": 0.0,
                "Encoder": "copy:ac3",
                "Mixdown": "none",
                "PresetEncoder": "copy:ac3",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac",
            "copy:ac3"
        ],
        "FallbackEncoder": "av_aac"
    },
    "Destination": {
        "AlignAVStart": true,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 5,
                    "Ticks": 27482400
                },
                "Name": "Chapter 1"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 56,
                    "Ticks": 26596800
                },
                "Name": "Chapter 2"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 21,
                    "Ticks": 23500800
                },
                "Name": "Chapter 3"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 1,
                    "Ticks": 32446800
                },
                "Name": "Chapter 4"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 7,
                    "Ticks": 16862400
                },
                "Name": "Chapter 5"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 19,
                    "Ticks": 39520800
                },
                "Name": "Chapter 6"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 8,
                    "Ticks": 27720000
                },
                "Name": "Chapter 7"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 2,
                    "Ticks": 16365600
                },
                "Name": "Chapter 8"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 10,
                    "Ticks": 33325200
                },
                "Name": "Chapter 9"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 43,
                    "Ticks": 25426800
                },
                "Name": "Chapter 10"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 42,
                    "Ticks": 30790800
                },
                "Name": "Chapter 11"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 19,
                    "Ticks": 39531600
                },
                "Name": "Chapter 12"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 23,
                    "Ticks": 45280800
                },
                "Name": "Chapter 13"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 24,
                    "Ticks": 29188800
                },
                "Name": "Chapter 14"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 21,
                    "Ticks": 23508000
                },
                "Name": "Chapter 15"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 38,
                    "Ticks": 14205600
                },
                "Name": "Chapter 16"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 31,
                    "Ticks": 19026000
                },
                "Name": "Chapter 17"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 15,
                    "Ticks": 44582400
                },
                "Name": "Chapter 18"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 11,
                    "Ticks": 6404400
                },
                "Name": "Chapter 19"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 46,
                    "Ticks": 41904000
                },
                "Name": "Chapter 20"
            }
        ],
        "ChapterMarkers": true,
        "File": "T:\\SD DVD\\2 Guns\\2 Guns.m4v",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "m4v"
    },
    "Filters": {
        "FilterList": [
            {
                "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": 4,
                "Settings": {
                    "mode": "7"
                }
            },
            {
                "ID": 6,
                "Settings": {
                    "mode": 2,
                    "rate": "27000000/1080000"
                }
            },
            {
                "ID": 13,
                "Settings": {
                    "crop-bottom": 74,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 74,
                    "height": 428,
                    "width": 720
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 45,
        "Num": 64
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "T:\\SD DVD\\2 Guns",
        "Range": {
            "End": 20,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": true,
            "Forced": true
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorFormat": 0,
        "ColorMatrix": 6,
        "ColorPrimaries": 5,
        "ColorRange": 1,
        "ColorTransfer": 1,
        "Encoder": "x264",
        "Level": "3.1",
        "Options": "",
        "Preset": "slow",
        "Profile": "high",
        "QSV": {
            "AdapterIndex": 1,
            "AsyncDepth": 0,
            "Decode": false
        },
        "Quality": 18.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[08:30:14] Starting Task: Subtitle Scan
[08:30:14] job configuration:
[08:30:14]  * source
[08:30:14]    + T:\SD DVD\2 Guns
[08:30:14]    + title 1, chapter(s) 1 to 20
[08:30:14]  * destination
[08:30:14]    + T:\SD DVD\2 Guns\2 Guns.m4v
[08:30:14]    + container: MPEG-4 (libavformat)
[08:30:14]      + align initial A/V stream timestamps
[08:30:14]      + chapter markers
[08:30:14]  * video track
[08:30:14]    + decoder: mpeg2video 8-bit
[08:30:14]      + bitrate 200 kbps
[08:30:14]    + filters
[08:30:14]      + 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)
[08:30:14]      + Decomb (mode=39)
[08:30:14]      + Framerate Shaper (mode=2:rate=27000000/1080000)
[08:30:14]        + frame rate: 25.000 fps -> peak rate limited to 25.000 fps
[08:30:14]      + Crop and Scale (width=720:height=428:crop-top=74:crop-bottom=74:crop-left=0:crop-right=0)
[08:30:14]        + source: 720 * 576, crop (74/74/0/0): 720 * 428, scale: 720 * 428
[08:30:15]    + Output geometry
[08:30:15]      + storage dimensions: 720 x 428
[08:30:15]      + pixel aspect ratio: 64 : 45
[08:30:15]      + display dimensions: 1024 x 428
[08:30:15]  * Foreign Audio Search: Render/Burn-in, Forced Only
[08:30:15]    + subtitle, English (Wide Screen) [VOBSUB] (track 0, id 0x20bd, Picture)
libdvdread: Could not open input: 
libdvdread: Can't open T:\SD DVD\2 Guns for reading
libdvdread: Device T:\SD DVD\2 Guns inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file T:\SD DVD\2 Guns.
libdvdread: Could not open input: 
libdvdread: Can't open T:\SD DVD\2 Guns for reading
libdvdread: Device T:\SD DVD\2 Guns inaccessible, CSS authentication not available.
[08:30:15] sync: expecting 156575 video frames
[08:31:17] reader: done. 1 scr changes
[08:31:17] work: average encoding speed for job is 0.000000 fps
[08:31:17] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[08:31:17] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[08:31:17] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[08:31:17] vfr: lost time: 0 (0 frames)
[08:31:17] vfr: gained time: 0 (0 frames) (0 not accounted for)
[08:31:17] mpeg2video-decoder done: 0 frames, 1 decoder errors
[08:31:17] sync: got 0 frames, 156575 expected
[08:31:17] Subtitle track 0 (id 0x20bd) 'English (Wide Screen) [VOBSUB]': 1808 hits (0 forced)
[08:31:17] No candidate detected during subtitle scan
[08:31:17] Starting Task: Encoding Pass
[08:31:17] job configuration:
[08:31:17]  * source
[08:31:17]    + T:\SD DVD\2 Guns
[08:31:17]    + title 1, chapter(s) 1 to 20
[08:31:17]  * destination
[08:31:17]    + T:\SD DVD\2 Guns\2 Guns.m4v
[08:31:17]    + container: MPEG-4 (libavformat)
[08:31:17]      + align initial A/V stream timestamps
[08:31:17]      + chapter markers
[08:31:17]  * video track
[08:31:17]    + decoder: mpeg2video 8-bit
[08:31:17]      + bitrate 200 kbps
[08:31:17]    + filters
[08:31:17]      + 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)
[08:31:17]      + Decomb (mode=39)
[08:31:17]      + Framerate Shaper (mode=2:rate=27000000/1080000)
[08:31:18]        + frame rate: 25.000 fps -> peak rate limited to 25.000 fps
[08:31:18]      + Crop and Scale (width=720:height=428:crop-top=74:crop-bottom=74:crop-left=0:crop-right=0)
[08:31:18]        + source: 720 * 576, crop (74/74/0/0): 720 * 428, scale: 720 * 428
[08:31:18]    + Output geometry
[08:31:18]      + storage dimensions: 720 x 428
[08:31:18]      + pixel aspect ratio: 64 : 45
[08:31:18]      + display dimensions: 1024 x 428
[08:31:18]    + encoder: H.264 (libx264)
[08:31:18]      + preset:  slow
[08:31:18]      + profile: high
[08:31:18]      + level:   3.1
[08:31:18]      + quality: 18.00 (RF)
[08:31:18]      + color profile: 5-1-6
[08:31:18]  * audio track 1
[08:31:18]    + decoder: English (AC3) (5.1 ch) (448 kbps) (track 1, id 0x80bd)
[08:31:18]      + bitrate: 448 kbps, samplerate: 48000 Hz
[08:31:18]    + mixdown: Stereo
[08:31:18]    + encoder: AAC (libavcodec)
[08:31:18]      + bitrate: 160 kbps, samplerate: 48000 Hz
[08:31:18]  * audio track 2
[08:31:18]    + decoder: English (AC3) (5.1 ch) (448 kbps) (track 1, id 0x80bd)
[08:31:18]      + bitrate: 448 kbps, samplerate: 48000 Hz
[08:31:18]    + AC3 Passthru
libdvdread: Could not open input: 
libdvdread: Can't open T:\SD DVD\2 Guns for reading
libdvdread: Device T:\SD DVD\2 Guns inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file T:\SD DVD\2 Guns.
libdvdread: Could not open input: 
libdvdread: Can't open T:\SD DVD\2 Guns for reading
libdvdread: Device T:\SD DVD\2 Guns inaccessible, CSS authentication not available.
[08:31:19] sync: expecting 156575 video frames
[08:31:19] encx264: encoding at constant RF 18.000000
[08:31:19] encx264: unparsed options: level=3.1:ref=5:direct=auto:subme=8:trellis=2:vbv-bufsize=17500:vbv-maxrate=17500:rc-lookahead=50
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.1, 4:2:0, 8-bit
[08:31:19] sync: first pts video is 0
[08:31:19] sync: "Chapter 1" (1) at frame 1 time 0
[08:31:19] sync: first pts audio 0x80bd is 0
[08:31:19] sync: first pts audio 0x80bd is 0
[08:32:28] sync: "Chapter 2" (2) at frame 7635 time 27482400
[08:33:41] sync: "Chapter 3" (3) at frame 15023 time 54079200
[08:34:38] sync: "Chapter 4" (4) at frame 21551 time 77580000
[08:36:00] sync: "Chapter 5" (5) at frame 30564 time 110026800
[08:36:40] sync: "Chapter 6" (6) at frame 35248 time 126889200
[08:38:24] sync: "Chapter 7" (7) at frame 46226 time 166410000
[08:39:42] sync: "Chapter 8" (8) at frame 53926 time 194130000
[08:40:23] sync: "Chapter 9" (9) at frame 58472 time 210495600
[08:41:33] sync: "Chapter 10" (10) at frame 67729 time 243820800
[08:42:35] sync: "Chapter 11" (11) at frame 74792 time 269247600
[08:44:07] sync: "Chapter 12" (12) at frame 83345 time 300038400
[08:45:50] sync: "Chapter 13" (13) at frame 94326 time 339570000
[08:47:41] sync: "Chapter 14" (14) at frame 106904 time 384850800
[08:48:56] sync: "Chapter 15" (15) at frame 115012 time 414039600
[08:50:02] sync: "Chapter 16" (16) at frame 121542 time 437547600
[08:50:34] sync: "Chapter 17" (17) at frame 125488 time 451753200
[08:51:21] sync: "Chapter 18" (18) at frame 130773 time 470779200
[08:53:29] sync: "Chapter 19" (19) at frame 143157 time 515361600
[08:53:44] sync: "Chapter 20" (20) at frame 144936 time 521766000
[08:54:45] reader: done. 1 scr changes
[08:54:46] work: average encoding speed for job is 111.295410 fps
[08:54:46] comb detect: heavy 467 | light 2215 | uncombed 153893 | total 156575
[08:54:46] decomb: deinterlaced 467 | blended 2215 | unfiltered 153893 | total 156575
[08:54:46] vfr: 156575 frames output, 0 dropped and 0 duped for CFR/PFR
[08:54:46] vfr: lost time: 0 (0 frames)
[08:54:46] vfr: gained time: 0 (0 frames) (0 not accounted for)
[08:54:46] ac3-decoder done: 195718 frames, 0 decoder errors
[08:54:46] ac3-decoder done: 195718 frames, 0 decoder errors
[08:54:46] mpeg2video-decoder done: 156575 frames, 0 decoder errors
[08:54:46] sync: got 156575 frames, 156575 expected
[08:54:46] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x264 [info]: frame I:2044  Avg QP:15.14  size: 44271
x264 [info]: frame P:47975 Avg QP:18.32  size: 12302
x264 [info]: frame B:106556 Avg QP:20.92  size:  3069
x264 [info]: consecutive B-frames:  7.3%  4.6%  3.6% 84.5%
x264 [info]: mb I  I16..4:  9.6% 74.5% 15.9%
x264 [info]: mb P  I16..4:  1.1%  5.7%  0.8%  P16..4: 39.8% 21.8% 12.5%  0.0%  0.0%    skip:18.3%
x264 [info]: mb B  I16..4:  0.1%  0.5%  0.1%  B16..8: 44.2%  7.4%  1.6%  direct: 3.6%  skip:42.5%  L0:41.3% L1:47.0% BI:11.7%
x264 [info]: 8x8 transform intra:75.0% inter:67.1%
x264 [info]: direct mvs  spatial:99.9% temporal:0.1%
x264 [info]: coded y,uvDC,uvAC intra: 82.3% 84.2% 60.8% inter: 20.5% 24.1% 3.9%
x264 [info]: i16 v,h,dc,p: 38% 26%  7% 28%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 11%  7%  8% 12% 13% 10% 12% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 10%  5% 10% 13% 14% 10% 11%  9%
x264 [info]: i8c dc,h,v,p: 38% 22% 24% 16%
x264 [info]: Weighted P-Frames: Y:3.4% UV:1.4%
x264 [info]: ref P L0: 53.7% 12.5% 19.2%  6.8%  7.1%  0.6%  0.0%
x264 [info]: ref B L0: 80.5% 14.0%  4.2%  1.3%
x264 [info]: ref B L1: 94.8%  5.2%
x264 [info]: kb/s:1287.11
[08:54:47] mux: track 0, 156575 frames, 1007564586 bytes, 1287.00 kbps, fifo 2048
[08:54:47] mux: track 1, 293578 frames, 125679339 bytes, 160.53 kbps, fifo 4096
[08:54:47] mux: track 2, 195718 frames, 350726656 bytes, 448.00 kbps, fifo 4096
[08:54:47] Finished work at: Wed Jul 21 08:54:47 2021

[08:54:47] libhb: work result = 0

Encode done!
HandBrake has exited.

DVD576 is a Custom Preset, JSON:

Code: Select all

{
  "PresetList": [
    {
      "AlignAVStart": false,
      "AudioCopyMask": [
        "copy:ac3"
      ],
      "AudioEncoderFallback": "av_aac",
      "AudioLanguageList": [],
      "AudioList": [
        {
          "AudioBitrate": 640,
          "AudioCompressionLevel": 0,
          "AudioEncoder": "copy:ac3",
          "AudioMixdown": "none",
          "AudioNormalizeMixLevel": false,
          "AudioSamplerate": "auto",
          "AudioTrackQualityEnable": false,
          "AudioTrackQuality": -1,
          "AudioTrackGainSlider": 0,
          "AudioTrackDRCSlider": 0
        }
      ],
      "AudioSecondaryEncoderMode": true,
      "AudioTrackSelectionBehavior": "first",
      "ChapterMarkers": true,
      "ChildrenArray": [],
      "Default": false,
      "FileFormat": "av_mkv",
      "Folder": false,
      "FolderOpen": false,
      "Mp4HttpOptimize": false,
      "Mp4iPodCompatible": false,
      "PictureAutoCrop": true,
      "PictureBottomCrop": 12,
      "PictureLeftCrop": 0,
      "PictureRightCrop": 0,
      "PictureTopCrop": 12,
      "PictureDARWidth": 0,
      "PictureDeblockPreset": "off",
      "PictureDeblockTune": "medium",
      "PictureDeblockCustom": "strength=strong:thresh=20:blocksize=8",
      "PictureDeinterlaceFilter": "decomb",
      "PictureCombDetectPreset": "default",
      "PictureCombDetectCustom": "",
      "PictureDeinterlacePreset": "default",
      "PictureDeinterlaceCustom": "",
      "PictureDenoiseCustom": "",
      "PictureDenoiseFilter": "off",
      "PictureDenoisePreset": "light",
      "PictureDenoiseTune": "none",
      "PictureSharpenCustom": "",
      "PictureSharpenFilter": "off",
      "PictureSharpenPreset": "medium",
      "PictureSharpenTune": "none",
      "PictureDetelecine": "off",
      "PictureDetelecineCustom": "",
      "PictureColorspacePreset": "off",
      "PictureColorspaceCustom": "",
      "PictureChromaSmoothPreset": "off",
      "PictureChromaSmoothTune": "none",
      "PictureChromaSmoothCustom": "",
      "PictureItuPAR": false,
      "PictureKeepRatio": true,
      "PictureLooseCrop": false,
      "PicturePAR": "auto",
      "PicturePARWidth": 0,
      "PicturePARHeight": 0,
      "PictureWidth": 720,
      "PictureHeight": 576,
      "PictureUseMaximumSize": true,
      "PictureAllowUpscaling": false,
      "PictureForceHeight": 0,
      "PictureForceWidth": 0,
      "PicturePadMode": "none",
      "PicturePadTop": 0,
      "PicturePadBottom": 0,
      "PicturePadLeft": 0,
      "PicturePadRight": 0,
      "PresetName": "DVD576",
      "Type": 1,
      "SubtitleAddCC": false,
      "SubtitleAddForeignAudioSearch": true,
      "SubtitleAddForeignAudioSubtitle": false,
      "SubtitleBurnBehavior": "foreign",
      "SubtitleBurnBDSub": false,
      "SubtitleBurnDVDSub": false,
      "SubtitleLanguageList": [],
      "SubtitleTrackSelectionBehavior": "none",
      "VideoAvgBitrate": 0,
      "VideoColorMatrixCode": 0,
      "VideoEncoder": "x264",
      "VideoFramerate": "25",
      "VideoFramerateMode": "pfr",
      "VideoGrayScale": false,
      "VideoScaler": "swscale",
      "VideoPreset": "veryslow",
      "VideoTune": "",
      "VideoProfile": "high",
      "VideoLevel": "3.1",
      "VideoOptionExtra": "ref=5:bframes=5",
      "VideoQualityType": 2,
      "VideoQualitySlider": 16,
      "VideoQSVDecode": true,
      "VideoQSVAsyncDepth": 0,
      "VideoTwoPass": true,
      "VideoTurboTwoPass": false,
      "x264UseAdvancedOptions": false,
      "PresetDisabled": false,
      "MetadataPassthrough": true
    }
  ],
  "VersionMajor": 47,
  "VersionMicro": 0,
  "VersionMinor": 0
}
Thank you!
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: low CPU Usage using CLI AC3 Passthrough

Post by rollin_eng »

DVD576:

+ encoder: H.264 (libx264)
[07:37:05] + preset: veryslow
[07:37:05] + profile: high
[07:37:05] + level: 3.1
[07:37:05] + quality: 20.00 (RF)

HQ576:

+ encoder: H.264 (libx264)
[08:31:18] + preset: slow
[08:31:18] + profile: high
[08:31:18] + level: 3.1
[08:31:18] + quality: 18.00 (RF)

Your presets are using very different settings thus different results.
AJSG1969
Posts: 20
Joined: Mon Jul 19, 2021 6:59 pm

Re: low CPU Usage using CLI AC3 Passthrough

Post by AJSG1969 »

rollin_eng wrote: Wed Jul 21, 2021 10:59 am Your presets are using very different settings thus different results.
The subject matter is low'ish CPU usage (#50%), not really the ensuing file structure.

Is there a way in which I can get Handbrake to use more resources?

Thanks,

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

Re: low CPU Usage using CLI AC3 Passthrough

Post by rollin_eng »

You could try turning off any filters, however you might need them so it’s a trade off.

Other than that you have more CPU than x264 really needs. As you noted you could run multiple instances but this can have its own issues.
AJSG1969
Posts: 20
Joined: Mon Jul 19, 2021 6:59 pm

Re: low CPU Usage using CLI AC3 Passthrough

Post by AJSG1969 »

rollin_eng wrote: Wed Jul 21, 2021 11:45 am Other than that you have more CPU than x264 really needs. As you noted you could run multiple instances but this can have its own issues.
Understood, so practically speaking my total time taken floor is about 24 minutes for a ~4GB DVD rip to ~1.5GB HQ 546p Surround m4v file.

What I am asking is effectively there is no point in trying to run this on a faster machine to reduce the time to encode this type of file.

Cheers.

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

Re: low CPU Usage using CLI AC3 Passthrough

Post by rollin_eng »

If I recall correctly x264 will generally use 8-12 threads.

In your case your CPU is fairly slow GHz wise at 2.6 GHz.

You might get a performance increase with a faster CPU.
AJSG1969
Posts: 20
Joined: Mon Jul 19, 2021 6:59 pm

Re: low CPU Usage using CLI AC3 Passthrough

Post by AJSG1969 »

rollin_eng wrote: Wed Jul 21, 2021 1:31 pm If I recall correctly x264 will generally use 8-12 threads.
Right, ok perfect, so either increase CPU speed or be happy. Multi CPU is not a factor.

Thanks,

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

Re: low CPU Usage using CLI AC3 Passthrough

Post by rollin_eng »

For your source and settings more CPU will not help.

A faster CPU should help but again it depends on your source and settings.
Post Reply