VidCoder icon indicating copy to clipboard operation
VidCoder copied to clipboard

8.12 Beta - h265 encoding 13x SLOWER than 7.15

Open Toyzrme opened this issue 2 years ago • 5 comments
trafficstars

Problem Description

Trying current latest build, and encoding to h265 for a main blu-ray title took 13.75 HOURS, and the CPU was very low (<20%).

I ran the same encode on VidCoder 7.15, and it took 1 hour, with high CPU (70-90%).

This is on an AMD 5950x (16c/32t), and an RTX 4090 (doing CPU encode, though). 128GB RAM, no other workloads. Using worker processes, 100% allowed cores. 1 simultaneous encoding jobs. Preset attached, log (while still encoding) supplied. H265-8b q26 HQ 1080p30 Surround.zip

Wondering if the multi-threading parms are passed correctly?

What version of VidCoder are you running?

8.12 Beta SquirrelInstaller

Encode Log

# VidCoder 8.12 Beta
# Starting job 10/10
#   Source path: Z:\ToConvert\CloneOut\Night Before, The - Main feature.mkv
#   Destination path: Z:\ToConvert\VidCoder-Out\Night Before, The - Main feature - T1 - 1.41.16.0959999 [H265-8b q26 HQ 1080p30 Surround] (q26).mp4
#   Title: 1
#   Range: All
#   Preset: H265-8b q26 HQ 1080p30 Surround
# Worker ready: Pipe 'VidCoderWorker.de8ceaf1-8fc1-4fae-9496-dd3f785d999c' is open
# Connecting to process 28428 on pipe VidCoderWorker.de8ceaf1-8fc1-4fae-9496-dd3f785d999c
ad
[15:10:45] CPU: AMD Ryzen 9 5950X 16-Core Processor
[15:10:45]  - logical processor count: 32
[15:10:45] Intel Quick Sync Video support: no
[15:10:45] hb_scan: path=Z:\ToConvert\CloneOut\Night Before, The - Main feature.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image Z:\ToConvert\CloneOut\Night Before, The - Main feature.mkv
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
[15:10:45] 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
[15:10:45] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'Z:\ToConvert\CloneOut\Night Before, The - Main feature.mkv':
  Metadata:
    title           : Main feature
    ENCODER         : Lavf57.3.100
  Duration: 01:41:16.10, start: 0.000000, bitrate: 28912 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 323.489822
      Metadata:
        title           : chapter 1
    Chapter #0:1: start 323.489822, end 753.294200
      Metadata:
        title           : chapter 2
    Chapter #0:2: start 753.294200, end 1118.158689
      Metadata:
        title           : chapter 3
    Chapter #0:3: start 1118.158689, end 1518.850667
      Metadata:
        title           : chapter 4
    Chapter #0:4: start 1518.850667, end 1913.828578
      Metadata:
        title           : chapter 5
    Chapter #0:5: start 1913.828578, end 2433.973200
      Metadata:
        title           : chapter 6
    Chapter #0:6: start 2433.973200, end 2836.208356
      Metadata:
        title           : chapter 7
    Chapter #0:7: start 2836.208356, end 3270.850911
      Metadata:
        title           : chapter 8
    Chapter #0:8: start 3270.850911, end 3668.289622
      Metadata:
        title           : chapter 9
    Chapter #0:9: start 3668.289622, end 3972.593622
      Metadata:
        title           : chapter 10
    Chapter #0:10: start 3972.593622, end 4330.951622
      Metadata:
        title           : chapter 11
    Chapter #0:11: start 4330.951622, end 4685.055356
      Metadata:
        title           : chapter 12
    Chapter #0:12: start 4685.055356, end 5036.823444
      Metadata:
        title           : chapter 13
    Chapter #0:13: start 5036.823444, end 5380.833778
      Metadata:
        title           : chapter 14
    Chapter #0:14: start 5380.833778, end 5693.604578
      Metadata:
        title           : chapter 15
    Chapter #0:15: start 5693.604578, end 6076.096000
      Metadata:
        title           : chapter 16
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
  Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16p (default)
    Metadata:
      title           : English
  Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
    Metadata:
      title           : English
  Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080
    Metadata:
      title           : English
  Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : English
[15:10:46] scan: decoding previews for title 1
[15:10:46] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[15:10:46] scan: audio 0x2: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
[15:10:46] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/140/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[15:10:46] scan: supported video decoders: avcodec nvdec
[15:10:46] libhb: scan thread found 1 valid title(s)
[15:10:46] Starting work at: Sun Dec 25 15:10:46 2022
[15:10:46] 1 job(s) to process
[15:10:46] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 384,
        "DRC": 0,
        "Encoder": "copy",
        "Gain": 0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Name": "English",
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 384,
        "DRC": 0,
        "Encoder": "copy:ac3",
        "Gain": 0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Name": "English",
        "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"
    ],
    "FallbackEncoder": "av_aac"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "chapter 1"
      },
      {
        "Name": "chapter 2"
      },
      {
        "Name": "chapter 3"
      },
      {
        "Name": "chapter 4"
      },
      {
        "Name": "chapter 5"
      },
      {
        "Name": "chapter 6"
      },
      {
        "Name": "chapter 7"
      },
      {
        "Name": "chapter 8"
      },
      {
        "Name": "chapter 9"
      },
      {
        "Name": "chapter 10"
      },
      {
        "Name": "chapter 11"
      },
      {
        "Name": "chapter 12"
      },
      {
        "Name": "chapter 13"
      },
      {
        "Name": "chapter 14"
      },
      {
        "Name": "chapter 15"
      },
      {
        "Name": "chapter 16"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "Z:\\ToConvert\\VidCoder-Out\\Night Before, The - Main feature - T1 - 1.41.16.0959999 [H265-8b q26 HQ 1080p30 Surround] (q26).part.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_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": 7,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      },
      {
        "ID": 14,
        "Settings": {
          "crop-bottom": "140",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "138",
          "height": "802",
          "width": "1920"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {
    "Name": "Main feature"
  },
  "SequenceID": 0,
  "Source": {
    "Angle": 0,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 16
    },
    "Title": 1,
    "Path": "Z:\\ToConvert\\CloneOut\\Night Before, The - Main feature.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "ref=5:bframes=5",
    "Preset": "veryslow",
    "Profile": "auto",
    "Quality": 26,
    "QSV": {
      "Decode": false
    },
    "HardwareDecode": 0
  }
}
[15:10:46] Starting Task: Encoding Pass
[15:10:46] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP2, MP3, FLAC, Opus
[15:10:46] Auto Passthru: fallback is AAC (avcodec)
[15:10:46] Auto Passthru: using DTS-HD Passthru for track 1
[15:10:46] Passthru requested and input codec is not the same as output codec for track 2, dropping track
[15:10:46] job configuration:
[15:10:46]  * source
[15:10:46]    + Z:\ToConvert\CloneOut\Night Before, The - Main feature.mkv
[15:10:46]    + title 1, chapter(s) 1 to 16
[15:10:46]    + container: matroska,webm
[15:10:46]    + data rate: 28912 kbps
[15:10:46]  * destination
[15:10:46]    + Z:\ToConvert\VidCoder-Out\Night Before, The - Main feature - T1 - 1.41.16.0959999 [H265-8b q26 HQ 1080p30 Surround] (q26).part.mp4
[15:10:46]    + container: MPEG-4 (libavformat)
[15:10:46]      + align initial A/V stream timestamps
[15:10:46]      + chapter markers
[15:10:46]  * video track
[15:10:46]    + decoder: h264 8-bit (yuv420p)
[15:10:46]    + filters
[15:10:46]      + 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)
[15:10:46]      + Decomb (mode=39)
[15:10:46]      + Framerate Shaper (mode=2:rate=27000000/900000)
[15:10:46]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[15:10:46]      + Crop and Scale (width=1920:height=802:crop-top=138:crop-bottom=140:crop-left=0:crop-right=0)
[15:10:46]        + source: 1920 * 1080, crop (138/140/0/0): 1920 * 802, scale: 1920 * 802
[15:10:46]    + Output geometry
[15:10:46]      + storage dimensions: 1920 x 802
[15:10:46]      + pixel aspect ratio: 1 : 1
[15:10:46]      + display dimensions: 1920 x 802
[15:10:46]    + encoder: H.265 (libx265)
[15:10:46]      + preset:  veryslow
[15:10:46]      + options: ref=5:bframes=5
[15:10:46]      + profile: auto
[15:10:46]      + level:   4.0
[15:10:46]      + quality: 26.00 (RF)
[15:10:46]      + color profile: 1-1-1
[15:10:46]      + chroma location: left
[15:10:46]  * audio track 1
[15:10:46]    + name: English
[15:10:46]    + decoder: English (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[15:10:46]      + samplerate: 48000 Hz
[15:10:46]    + DTS-HD Passthru
[15:10:46] sync: expecting 145680 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 10.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [warning]: Specifying a decoder level with constant rate factor rate-control requires
x265 [warning]: enabling VBV with vbv-bufsize=30000kb vbv-maxrate=30000kbps. VBV outputs are non-deterministic!
x265 [info]: Main profile, Level-4 (High tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 5 / wpp(13 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 3 inter / 3 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 4 / 5
x265 [info]: Keyframe min / max / scenecut / bias  : 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 40 / 5 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 1
x265 [info]: References / ref-limit  cu / depth  : 5 / off / off
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-26.0 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 30000 / 30000 / 0.900
x265 [info]: tools: rect amp rd=6 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip mode=1
x265 [info]: tools: signhide tmvp b-intra strong-intra-smoothing deblock sao
[15:10:46] sync: first pts video is 0
[15:10:46] sync: "chapter 1" (1) at frame 1 time 0
[15:10:46] sync: first pts audio 0x1 is 0
[15:44:38] sync: "chapter 2" (2) at frame 7757 time 29114085
[16:24:13] sync: "chapter 3" (3) at frame 18063 time 67800232
[17:03:47] sync: "chapter 4" (4) at frame 26811 time 100638037
[17:43:47] sync: "chapter 5" (5) at frame 36418 time 136700313
[18:23:15] sync: "chapter 6" (6) at frame 45888 time 172248326
[19:08:45] sync: "chapter 7" (7) at frame 58360 time 219065096
[19:41:18] sync: "chapter 8" (8) at frame 68004 time 255266261
[20:25:56] sync: "chapter 9" (9) at frame 78424 time 294380336
[21:02:47] sync: "chapter 10" (10) at frame 87952 time 330146066
[21:42:43] sync: "chapter 11" (11) at frame 95248 time 357533426

Toyzrme avatar Dec 26 '22 04:12 Toyzrme

Just tried on HandBrake nightly build (20221222192757-a5ebb0f44-master (2022122301)), and it ran fast (i.e. same ballpark as VC 7.15).

So either parms aren't passed correctly in 8.12 or the embedded version of HandBrake just happens to have a bad performance bug.

Toyzrme avatar Dec 26 '22 04:12 Toyzrme

I just released 8.13 Beta (in case it's some issue that was fixed in a recent snapshot). Also can you post the encode log from HandBrake? Usually these speed differences are caused by a difference in settings or an extra filter on one of the encodes; they can CPU bottleneck the encode with single-threaded processing.

RandomEngy avatar Dec 26 '22 05:12 RandomEngy

HandBrake Nightly 20221222192757-a5ebb0f44-master (2022122301) OS: Microsoft Windows NT 10.0.19044.0 CPU: AMD Ryzen 9 5950X 16-Core Processor
Ram: 130994 MB, GPU Information: Microsoft Remote Display Adapter - 10.0.19041.2075 NVIDIA GeForce RTX 4090 - 31.0.15.2737 Screen: 3840x2160 Temp Dir: C:\Users\bruce\AppData\Local\Temp
Install Dir: C:\Users\bruce\Downloads\HandBrake-20221222-a5ebb0f44-x86_64-Win_GUI\HandBrake
Data Dir: C:\Users\bruce\AppData\Roaming\HandBrake\Nightly


Starting Encode ...

[23:29:22] base preset: h265-8b q26 [23:29:23] Remote Process started with Process ID: 13308 using port: 8037. Max Allowed Instances: 1 [23:29:23] Worker: Starting HandBrake Engine ... [23:29:23] Worker: Starting Web Server on port 8037 ... [23:29:24] Worker: Disconnected worker monitoring enabled! [23:29:24] Compile-time hardening features are enabled [23:29:24] qsv: not available on this system [23:29:24] vcn: not available on this system [23:29:24] nvenc: version 12.0 is available [23:29:24] nvdec: is available [23:29:24] hb_init: starting libhb thread [23:29:24] Starting work at: Sun Dec 25 23:29:24 2022 [23:29:24] 1 job(s) to process [23:29:24] json job: { "Audio": { "AudioList": [], "CopyMask": [ "copy:aac" ] }, "Destination": { "ChapterList": [ { "Name": "chapter 1" }, { "Name": "chapter 2" }, { "Name": "chapter 3" }, { "Name": "chapter 4" }, { "Name": "chapter 5" }, { "Name": "chapter 6" }, { "Name": "chapter 7" }, { "Name": "chapter 8" } ], "ChapterMarkers": true, "AlignAVStart": true, "File": "C:\Users\bruce\Videos\Night Before, The - Bonus #4.mp4", "Mp4Options": { "IpodAtom": false, "Mp4Optimize": false }, "Mux": "av_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": 14, "Settings": { "crop-bottom": "0", "crop-left": "0", "crop-right": "0", "crop-top": "8", "height": "1072", "width": "1920" } }, { "ID": 7, "Settings": { "mode": "2", "rate": "27000000/900000" } } ] }, "PAR": { "Num": 1, "Den": 1 }, "Metadata": { "Name": "Bonus #4" }, "SequenceID": 0, "Source": { "Angle": 1, "Range": { "Type": "chapter", "Start": 1, "End": 8 }, "Title": 1, "Path": "Z:\ToConvert\CloneOut\Night Before, The - Bonus #4.mkv" }, "Subtitle": { "Search": { "Burn": true, "Default": false, "Enable": true, "Forced": true }, "SubtitleList": [] }, "Video": { "Encoder": "x265", "Level": "auto", "TwoPass": false, "Turbo": false, "ColorMatrixCode": 0, "Options": "", "Preset": "fast", "Profile": "auto", "Quality": 26, "QSV": { "Decode": false }, "HardwareDecode": 0 } } [23:29:24] CPU: AMD Ryzen 9 5950X 16-Core Processor [23:29:24] - logical processor count: 32 [23:29:24] Intel Quick Sync Video support: no [23:29:24] hb_scan: path=Z:\ToConvert\CloneOut\Night Before, The - Bonus #4.mkv, title_index=1 udfread ERROR: ECMA 167 Volume Recognition failed src/libbluray/disc/disc.c:333: failed opening UDF image Z:\ToConvert\CloneOut\Night Before, The - Bonus #4.mkv 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 [23:29:24] bd: not a bd - trying as a stream/file instead libdvdread: Encrypted DVD support unavailable. libdvlibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed dread: Can't open file VIDEO_TS.IFO. libdvdnav: vm: vm: failed to read VIDEO_TS.IFO [23:29:24] dvd: not a dvd - trying as a stream/file instead Input #0, matroska,webm, from 'Z:\ToConvert\CloneOut\Night Before, The - Bonus #4.mkv': Metadata: title : Bonus #4 ENCODER : Lavf57.3.100 Duration: 00:04:47.25, start: 0.000000, bitrate: 8556 kb/s Chapters: Chapter #0:0: start 0.000000, end 15.015000 Metadata: title : chapter 1 Chapter #0:1: start 15.015000, end 30.030000 Metadata: title : chapter 2 Chapter #0:2: start 30.030000, end 45.045000 Metadata: title : chapter 3 Chapter #0:3: start 45.045000, end 60.060000 Metadata: title : chapter 4 Chapter #0:4: start 60.060000, end 75.075000 Metadata: title : chapter 5 Chapter #0:5: start 75.075000, end 90.090000 Metadata: title : chapter 6 Chapter #0:6: start 90.090000, end 286.995022 Metadata: title : chapter 7 Chapter #0:7: start 286.995022, end 287.246000 Metadata: title : chapter 8 Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default) [23:29:24] scan: decoding previews for title 1 [23:29:24] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 8/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left [23:29:24] scan: supported video decoders: avcodec nvdec [23:29:24] Title is likely interlaced or telecined (6 out of 10 previews). You should do something about that. [23:29:25] libhb: scan thread found 1 valid title(s) [23:29:25] Skipping subtitle scan. No suitable subtitle tracks. [23:29:25] Starting Task: Encoding Pass [23:29:25] job configuration: [23:29:25] * source [23:29:25] + Z:\ToConvert\CloneOut\Night Before, The - Bonus #4.mkv [23:29:25] + title 1, chapter(s) 1 to 8 [23:29:25] + container: matroska,webm [23:29:25] + data rate: 8556 kbps [23:29:25] * destination [23:29:25] + C:\Users\bruce\Videos\Night Before, The - Bonus #4.mp4 [23:29:25] + container: MPEG-4 (libavformat) [23:29:25] + align initial A/V stream timestamps [23:29:25] + chapter markers [23:29:25] * video track [23:29:25] + decoder: h264 8-bit (yuv420p) [23:29:25] + filters [23:29:25] + 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) [23:29:25] + Decomb (mode=39) [23:29:25] + Framerate Shaper (mode=2:rate=27000000/900000) [23:29:25] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps [23:29:25] + Crop and Scale (width=1920:height=1072:crop-top=8:crop-bottom=0:crop-left=0:crop-right=0) [23:29:25] + source: 1920 * 1080, crop (8/0/0/0): 1920 * 1072, scale: 1920 * 1072 [23:29:25] + Output geometry [23:29:25] + storage dimensions: 1920 x 1072 [23:29:25] + pixel aspect ratio: 1 : 1 [23:29:25] + display dimensions: 1920 x 1072 [23:29:25] + encoder: H.265 (libx265) [23:29:25] + preset: fast [23:29:25] + profile: auto [23:29:25] + level: auto [23:29:25] + quality: 26.00 (RF) [23:29:25] + color profile: 1-1-1 [23:29:25] + chroma location: left [23:29:25] sync: expecting 6887 video frames x265 [info]: HEVC encoder version 3.5+1-f0c1022b6 x265 [info]: build info [Windows][GCC 10.2.0][64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-4 (Main tier) x265 [info]: Thread pool created using 32 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 5 / wpp(17 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 : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut / bias : 24 / 240 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-26.0 / 0.60 x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao [23:29:25] sync: first pts video is 0 [23:29:25] sync: "chapter 1" (1) at frame 1 time 0 [23:29:27] sync: "chapter 2" (2) at frame 361 time 1351350 [23:29:29] sync: "chapter 3" (3) at frame 721 time 2702700 [23:29:31] sync: "chapter 4" (4) at frame 1081 time 4054050 [23:29:33] sync: "chapter 5" (5) at frame 1441 time 5405400 [23:29:36] sync: "chapter 6" (6) at frame 1801 time 6756750 [23:29:38] sync: "chapter 7" (7) at frame 2161 time 8108100 [23:30:18] reader: done. 1 scr changes [23:30:18] sync: "chapter 8" (8) at frame 6883 time 25833307 [23:30:19] work: average encoding speed for job is 128.220978 fps [23:30:19] comb detect: heavy 16 | light 663 | uncombed 6208 | total 6887 [23:30:19] decomb: deinterlaced 16 | blended 663 | unfiltered 6208 | total 6887 [23:30:19] vfr: 6887 frames output, 0 dropped and 0 duped for CFR/PFR [23:30:19] vfr: lost time: 0 (0 frames) [23:30:19] vfr: gained time: 0 (0 frames) (0 not accounted for) [23:30:19] h264-decoder done: 6887 frames, 0 decoder errors [23:30:19] sync: got 6887 frames, 6887 expected [23:30:19] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps x265 [info]: frame I: 34, Avg QP:23.90 kb/s: 73198.39 x265 [info]: frame P: 1353, Avg QP:27.12 kb/s: 3558.53 x265 [info]: frame B: 5500, Avg QP:33.50 kb/s: 36.52 x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0% encoded 6887 frames in 54.24s (126.98 fps), 1089.64 kb/s, Avg QP:32.20 [23:30:19] mux: track 0, 6887 frames, 39151612 bytes, 1090.40 kbps, fifo 4096 [23:30:19] Finished work at: Sun Dec 25 23:30:19 2022 [23:30:19] libhb: work result = 0

Job Completed!

Toyzrme avatar Dec 28 '22 17:12 Toyzrme

And here's the VidCoder 8.13 Beta log:

======================================

VidCoder 8.13 Beta

Starting job 1/1

Source path: Z:\ToConvert\CloneOut\Night Before, The - Bonus #4.mkv

Destination path: Z:\ToConvert\VidCoder-Out\Night Before, The - Bonus #4 - T1 - 0.04.47.246 [H265-8b q26 HQ 1080p30 Surround] (q26)-1.mp4

Title: 1

Range: All

Preset: H265-8b q26 HQ 1080p30 Surround

Worker ready: Pipe 'VidCoderWorker.03bd7e34-b00d-41d7-982f-0e37acbe09d9' is open

Connecting to process 32584 on pipe VidCoderWorker.03bd7e34-b00d-41d7-982f-0e37acbe09d9

[12:17:50] CPU: AMD Ryzen 9 5950X 16-Core Processor [12:17:50] - logical processor count: 32 [12:17:50] Intel Quick Sync Video support: no [12:17:50] hb_scan: path=Z:\ToConvert\CloneOut\Night Before, The - Bonus #4.mkv, title_index=1 udfread ERROR: ECMA 167 Volume Recognition failed src/libbluray/disc/disc.c:333: failed opening UDF image Z:\ToConvert\CloneOut\Night Before, The - Bonus #4.mkv 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 [12:17:50] 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 [12:17:50] dvd: not a dvd - trying as a stream/file instead Input #0, matroska,webm, from 'Z:\ToConvert\CloneOut\Night Before, The - Bonus #4.mkv': Metadata: title : Bonus #4 ENCODER : Lavf57.3.100 Duration: 00:04:47.25, start: 0.000000, bitrate: 8556 kb/s Chapters: Chapter #0:0: start 0.000000, end 15.015000 Metadata: title : chapter 1 Chapter #0:1: start 15.015000, end 30.030000 Metadata: title : chapter 2 Chapter #0:2: start 30.030000, end 45.045000 Metadata: title : chapter 3 Chapter #0:3: start 45.045000, end 60.060000 Metadata: title : chapter 4 Chapter #0:4: start 60.060000, end 75.075000 Metadata: title : chapter 5 Chapter #0:5: start 75.075000, end 90.090000 Metadata: title : chapter 6 Chapter #0:6: start 90.090000, end 286.995022 Metadata: title : chapter 7 Chapter #0:7: start 286.995022, end 287.246000 Metadata: title : chapter 8 Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default) [12:17:50] scan: decoding previews for title 1 [12:17:51] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 8/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left [12:17:51] scan: supported video decoders: avcodec nvdec [12:17:51] Title is likely interlaced or telecined (6 out of 10 previews). You should do something about that. [12:17:51] libhb: scan thread found 1 valid title(s) [12:17:51] Starting work at: Wed Dec 28 12:17:51 2022 [12:17:51] 1 job(s) to process [12:17:51] json job: { "Audio": { "AudioList": [], "CopyMask": [ "copy:aac", "copy:ac3", "copy:eac3", "copy:truehd", "copy:dts", "copy:dtshd", "copy:mp2", "copy:mp3", "copy:flac", "copy:opus" ], "FallbackEncoder": "av_aac" }, "Destination": { "ChapterList": [ { "Name": "chapter 1" }, { "Name": "chapter 2" }, { "Name": "chapter 3" }, { "Name": "chapter 4" }, { "Name": "chapter 5" }, { "Name": "chapter 6" }, { "Name": "chapter 7" }, { "Name": "chapter 8" } ], "ChapterMarkers": true, "AlignAVStart": true, "File": "Z:\ToConvert\VidCoder-Out\Night Before, The - Bonus #4 - T1 - 0.04.47.246 [H265-8b q26 HQ 1080p30 Surround] (q26)-1.part.mp4", "Mp4Options": { "IpodAtom": false, "Mp4Optimize": false }, "Mux": "av_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": 7, "Settings": { "mode": "2", "rate": "27000000/900000" } }, { "ID": 14, "Settings": { "crop-bottom": "0", "crop-left": "0", "crop-right": "0", "crop-top": "8", "height": "1072", "width": "1920" } } ] }, "PAR": { "Num": 1, "Den": 1 }, "Metadata": { "Name": "Bonus #4" }, "SequenceID": 0, "Source": { "Angle": 1, "Range": { "Type": "chapter", "Start": 1, "End": 8 }, "Title": 1, "Path": "Z:\ToConvert\CloneOut\Night Before, The - Bonus #4.mkv" }, "Subtitle": { "Search": { "Burn": false, "Default": false, "Enable": false, "Forced": false }, "SubtitleList": [] }, "Video": { "Encoder": "x265", "Level": "4.0", "TwoPass": false, "Turbo": false, "ColorMatrixCode": 0, "Options": "ref=5:bframes=5", "Preset": "veryslow", "Profile": "auto", "Quality": 26, "QSV": { "Decode": false }, "HardwareDecode": 0 } } [12:17:51] Starting Task: Encoding Pass [12:17:51] job configuration: [12:17:51] * source [12:17:51] + Z:\ToConvert\CloneOut\Night Before, The - Bonus #4.mkv [12:17:51] + title 1, chapter(s) 1 to 8 [12:17:51] + container: matroska,webm [12:17:51] + data rate: 8556 kbps [12:17:51] * destination [12:17:51] + Z:\ToConvert\VidCoder-Out\Night Before, The - Bonus #4 - T1 - 0.04.47.246 [H265-8b q26 HQ 1080p30 Surround] (q26)-1.part.mp4 [12:17:51] + container: MPEG-4 (libavformat) [12:17:51] + align initial A/V stream timestamps [12:17:51] + chapter markers [12:17:51] * video track [12:17:51] + decoder: h264 8-bit (yuv420p) [12:17:51] + filters [12:17:51] + 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) [12:17:51] + Decomb (mode=39) [12:17:51] + Framerate Shaper (mode=2:rate=27000000/900000) [12:17:51] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps [12:17:51] + Crop and Scale (width=1920:height=1072:crop-top=8:crop-bottom=0:crop-left=0:crop-right=0) [12:17:51] + source: 1920 * 1080, crop (8/0/0/0): 1920 * 1072, scale: 1920 * 1072 [12:17:51] + Output geometry [12:17:51] + storage dimensions: 1920 x 1072 [12:17:51] + pixel aspect ratio: 1 : 1 [12:17:51] + display dimensions: 1920 x 1072 [12:17:51] + encoder: H.265 (libx265) [12:17:51] + preset: veryslow [12:17:51] + options: ref=5:bframes=5 [12:17:51] + profile: auto [12:17:51] + level: 4.0 [12:17:51] + quality: 26.00 (RF) [12:17:51] + color profile: 1-1-1 [12:17:51] + chroma location: left [12:17:51] sync: expecting 6887 video frames x265 [info]: HEVC encoder version 3.5+1-f0c1022b6 x265 [info]: build info [Windows][GCC 10.2.0][64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [warning]: Specifying a decoder level with constant rate factor rate-control requires x265 [warning]: enabling VBV with vbv-bufsize=30000kb vbv-maxrate=30000kbps. VBV outputs are non-deterministic! x265 [info]: Main profile, Level-4 (High tier) x265 [info]: Thread pool created using 32 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 5 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 3 inter / 3 intra x265 [info]: ME / range / subpel / merge : star / 57 / 4 / 5 x265 [info]: Keyframe min / max / scenecut / bias : 24 / 240 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 40 / 5 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1 x265 [info]: References / ref-limit cu / depth : 5 / off / off x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-26.0 / 0.60 x265 [info]: VBV/HRD buffer / max-rate / init : 30000 / 30000 / 0.900 x265 [info]: tools: rect amp rd=6 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip mode=1 x265 [info]: tools: signhide tmvp b-intra strong-intra-smoothing deblock sao [12:17:51] sync: first pts video is 0 [12:17:51] sync: "chapter 1" (1) at frame 1 time 0 [12:18:07] sync: "chapter 2" (2) at frame 361 time 1351350 [12:18:27] sync: "chapter 3" (3) at frame 721 time 2702700 [12:18:42] sync: "chapter 4" (4) at frame 1081 time 4054050 [12:18:56] sync: "chapter 5" (5) at frame 1441 time 5405400 [12:19:18] sync: "chapter 6" (6) at frame 1801 time 6756750 [12:19:44] sync: "chapter 7" (7) at frame 2161 time 8108100 [12:32:35] reader: done. 1 scr changes [12:32:43] sync: "chapter 8" (8) at frame 6883 time 25833307 [12:32:57] work: average encoding speed for job is 7.696095 fps [12:32:57] comb detect: heavy 16 | light 663 | uncombed 6208 | total 6887 [12:32:57] decomb: deinterlaced 16 | blended 663 | unfiltered 6208 | total 6887 [12:32:57] vfr: 6887 frames output, 0 dropped and 0 duped for CFR/PFR [12:32:57] vfr: lost time: 0 (0 frames) [12:32:57] vfr: gained time: 0 (0 frames) (0 not accounted for) [12:32:57] h264-decoder done: 6887 frames, 0 decoder errors [12:32:58] sync: got 6887 frames, 6887 expected [12:32:58] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps x265 [info]: frame I: 34, Avg QP:22.02 kb/s: 84803.73 x265 [info]: frame P: 1466, Avg QP:26.34 kb/s: 7573.19 x265 [info]: frame B: 5387, Avg QP:33.55 kb/s: 63.64 x265 [info]: Weighted P-Frames: Y:0.1% UV:0.1% x265 [info]: Weighted B-Frames: Y:0.0% UV:0.0% encoded 6887 frames in 906.65s (7.60 fps), 2080.50 kb/s, Avg QP:31.96 [12:32:58] mux: track 0, 6887 frames, 74729420 bytes, 2081.27 kbps, fifo 4096 [12:32:58] Finished work at: Wed Dec 28 12:32:58 2022 [12:32:58] libhb: work result = 0

Job completed (Elapsed Time: 15m 07s)

Toyzrme avatar Dec 28 '22 17:12 Toyzrme

HandBrake log:

[23:29:25]    + encoder: H.265 (libx265)
[23:29:25]      + preset:  fast

VidCoder log:

[12:17:51]    + encoder: H.265 (libx265)
[12:17:51]      + preset:  veryslow
[12:17:51]      + options: ref=5:bframes=5

RandomEngy avatar Dec 29 '22 02:12 RandomEngy