Intel QuickSync performance

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
alcatraz
New User
Posts: 1
Joined: Thu Feb 01, 2024 1:47 am

Intel QuickSync performance

Post by alcatraz »

Ever since I found out about the setting "H.264 (Intel QSV)" in Handbrake I've been excited about encoding again.

I've heard that QS performance isn't affected by the number of execution units in your gpu but rather the generation of the gpu being used.

To get a clear picture of the QS performance over all generations, has anyone ever tested the performance? Image quality and fps and compared the different generations?

I'm currently on a low power Jasper Lake cpu and I wonder if I'd get any faster encoding by switching to Alder Lake-N. I've heard that there is no difference. What excites me is that there are 6W chips out there with modern quicksync. That seems like an upgrade over my 15W chip.

Also, I hear about the ability of doing like 5,10,15,20 transcodes at the same time. but I haven't seen an explanation as to why a single transcode isn't, let's say, "20 times" faster? Are they all capped at around 30fps? Because that's what I'm getting on my system. 25-30fps.

Thanks for reading and replying. I really appreciate it.
nasruddin
Posts: 49
Joined: Mon Jun 05, 2023 6:13 pm

Re: Intel QuickSync performance

Post by nasruddin »

I don't know about your specific cpu question, but I was inspired to try these by your posting.
I have a newer laptop with an nvidia GPU and tried encoding with that & wasn't that impressed - pretty fast encoding but rather large files (I'm looking for smaller but high quality files). I couldn't tell a quality difference but I didn't look very hard, more interested in file size.

The encoding with H.265 QSV 1080p was nothing short of phenomenal - 700 fps, & reasonable file size - about 25% of the original, and no observable degradation in appearance. So far.

But ...under video->encoder options the "Encoder preset" is set all the way to the left. If I try adjusting the slider to the right (supposedly to trade speed for quality) instant crash of the encoding. I could send a logfile if anyone's interested. I don't know anything about technical issues of video encoding so I don't know if there are other options that would help. I figure this handbrake preset may not be quite ready for primetime. It's very interesting, tho, since the small size and extremely fast encoding are an excellent optimization. I'm going to check further & see if video quality is acceptable.
mduell
Veteran User
Posts: 8207
Joined: Sat Apr 21, 2007 8:54 pm

Re: Intel QuickSync performance

Post by mduell »

For issues with a specific encode, the encode log needs to be provided; see the text in the red box in the support forum for more details.
nasruddin
Posts: 49
Joined: Mon Jun 05, 2023 6:13 pm

Re: Intel QuickSync performance

Post by nasruddin »

HandBrake 1.7.2 (2023122400)
OS: Microsoft Windows NT 10.0.22631.0
CPU: 13th Gen Intel(R) Core(TM) i7-1355U
Ram: 32479 MB,
GPU Information:
Intel(R) Iris(R) Xe Graphics - 31.0.101.4575
NVIDIA GeForce RTX 3050 4GB Laptop GPU - 31.0.15.4633
Screen: 1920x1080
Temp Dir: C:\Users
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users

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

# Starting Encode ...

[17:20:08] base preset: H.265 QSV 1080p (Modified)
[17:20:08] Remote Process started with Process ID: 17504 using port: 8037. Max Allowed Instances: 1
[17:20:08] Worker: Starting HandBrake Engine ...
[17:20:08] Worker: Parent Process Id 15940
[17:20:08] Worker: Starting Web Server on port 8037 ...
[17:20:08] Worker: Server Started
[17:20:09] Worker: Disconnected worker monitoring enabled!
[17:20:09] Compile-time hardening features are enabled
[17:20:09] nvenc: version 12.1 is available
[17:20:09] nvdec: is available
[17:20:09] CUDA Version: 8.6
[17:20:09] vcn: not available on this system
[17:20:10] qsv: is available on this system
[17:20:10] hb_init: starting libhb thread
[17:20:10] Starting work at: Fri Feb 02 17:20:10 2024
[17:20:10] 1 job(s) to process
[17:20:10] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac"
],
"FallbackEncoder": "none"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
},
{
"Name": "Chapter 2"
},
{
"Name": "Chapter 3"
},
{
"Name": "Chapter 4"
},
{
"Name": "Chapter 5"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "D:\\Users
"Options": {
"IpodAtom": false,
"Optimize": false
},
"Mux": "av_mkv"
},
"Filters": {
"FilterList": [
{
"ID": 19,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "480",
"width": "720"
}
},
{
"ID": 10,
"Settings": {
"mode": "0"
}
}
]
},
"PAR": {
"Num": 32,
"Den": 27
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 5
},
"Title": 1,
"Path": "D:\\Users
"HWDecode": 4
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "qsv_h265",
"Level": "auto",
"MultiPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "lowpower=1",
"Preset": "balanced",
"Profile": "auto",
"Quality": 25,
"QSV": {
"Decode": true
},
"HardwareDecode": 0
}
}
[17:20:10] CPU: 13th Gen Intel(R) Core(TM) i7-1355U
[17:20:10] - logical processor count: 12
[17:20:10] Intel Quick Sync Video support: yes, gpu list: 1
[17:20:10] Intel Quick Sync Video integrated adapter with index 1
[17:20:10] Impl mfx-gen library path: C:\windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_8d38a8081cfb8dcd\libmfx64-gen.dll
[17:20:10] - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[17:20:10] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[17:20:10] - H.264 encoder: yes
[17:20:10] - preferred implementation: hardware (2) via D3D11
[17:20:10] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[17:20:10] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[17:20:10] - preferred implementation: hardware (2) via D3D11
[17:20:10] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[17:20:10] - AV1 encoder: no
[17:20:10] hb_scan: path=D:\Users
Input #0, matroska,webm, from 'D:\Users:
Metadata:
encoder : libmakemkv v1.17.5 (1.3.10/1.5.2) win(x64-release)
creation_time : 2024-01-01T18:53:47.000000Z
Duration: 00:18:05.47, start: 0.000000, bitrate: 7513 kb/s
Chapters:
Chapter #0:0: start 0.083417, end 21.104417
Metadata:
title : Chapter 01
Chapter #0:1: start 21.104417, end 335.918917
Metadata:
title : Chapter 02
Chapter #0:2: start 335.918917, end 668.751417
Metadata:
title : Chapter 03
Chapter #0:3: start 668.751417, end 1084.166417
Metadata:
title : Chapter 04
Chapter #0:4: start 1084.166417, end 1085.467717
Metadata:
title : Chapter 05
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, progressive), 720x480 [SAR 32:27 DAR 16:9], SAR 853:720 DAR 853:480, 29.97 fps, 29.97 tbr, 1k tbn
Metadata:
BPS-eng : 5964085
DURATION-eng : 00:18:05.467716666
NUMBER_OF_FRAMES-eng: 26025
NUMBER_OF_BYTES-eng: 809227289
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-01 18:53:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Side data:
cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s (default)
Metadata:
title : Stereo
BPS-eng : 1536000
DURATION-eng : 00:18:05.458333333
NUMBER_OF_FRAMES-eng: 32564
NUMBER_OF_BYTES-eng: 208408000
SOURCE_ID-eng : 01A0BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-01 18:53:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(eng): Subtitle: dvd_subtitle, 720x480 (default)
Metadata:
BPS-eng : 7562
DURATION-eng : 00:17:56.664677777
NUMBER_OF_FRAMES-eng: 334
NUMBER_OF_BYTES-eng: 1017836
SOURCE_ID-eng : 0120BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-01 18:53:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(eng): Subtitle: subrip
Metadata:
BPS-eng : 143
DURATION-eng : 00:17:55.272000000
NUMBER_OF_FRAMES-eng: 331
NUMBER_OF_BYTES-eng: 19239
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-01 18:53:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[17:20:10] scan: decoding previews for title 1
[17:20:10] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 English (pcm_s16le, 2.0 ch, 1536 kbps)
[17:20:10] WARNING: bitstream PAR 32:27 != container PAR 853:720
[17:20:10] using bitstream PAR 32:27
[17:20:10] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27, color profile: 6-1-6, chroma location: left
[17:20:10] scan: supported video decoders: avcodec hwaccel
[17:20:10] libhb: scan thread found 1 valid title(s)
[17:20:10] Starting Task: Encoding Pass
[17:20:10] work: skipping crop/scale filter
[17:20:10] work: track 1, dithering not supported by codec
[17:20:10] job configuration:
[17:20:10] * source
[17:20:10] + D:\Users\bhelm\Videos\hbexp\B2_t01.mkv
[17:20:10] + title 1, chapter(s) 1 to 5
[17:20:10] + container: matroska,webm
[17:20:10] + data rate: 7513 kbps
[17:20:10] * destination
[17:20:10] + D:\Users\bhelm\Videos\hbexp\B2 T01-1080p-qsv-balanced.mkv
[17:20:10] + container: Matroska (libavformat)
[17:20:10] + chapter markers
[17:20:10] * video track
[17:20:10] + decoder: mpeg2video 8-bit (yuv420p)
[17:20:10] + filters
[17:20:10] + Framerate Shaper (mode=0)
[17:20:10] + frame rate: same as source (around 23.976 fps)
[17:20:10] + Format (format=nv12)
[17:20:10] + Output geometry
[17:20:10] + storage dimensions: 720 x 480
[17:20:10] + pixel aspect ratio: 32 : 27
[17:20:10] + display dimensions: 853 x 480
[17:20:10] + encoder: H.265 (Intel Media SDK)
[17:20:10] + preset: balanced
[17:20:10] + options: lowpower=1
[17:20:10] + profile: auto
[17:20:10] + level: auto
[17:20:10] + quality: 25.00 (ICQ)
[17:20:10] + color profile: 6-1-6
[17:20:10] + chroma location: left
[17:20:10] * audio track 1
[17:20:10] + name: Stereo
[17:20:10] + decoder: English (pcm_s16le, 2.0 ch, 1536 kbps) (track 1, id 0x1)
[17:20:10] + bitrate: 1536 kbps, samplerate: 48000 Hz
[17:20:10] + mixdown: Stereo
[17:20:10] + encoder: AAC (libavcodec)
[17:20:10] + bitrate: 160 kbps, samplerate: 48000 Hz
[17:20:10] sync: expecting 26025 video frames
[17:20:10] encqsvInit: using encode-only via system memory (LowPower) path
[17:20:10] encqsvInit: H.265/HEVC Main profile @ level 3.0
[17:20:10] encqsvInit: TargetUsage 4 AsyncDepth 6
[17:20:10] encqsvInit: GopRefDist 8 GopPicSize 48 NumRefFrame 4 IdrInterval 0
[17:20:10] encqsvInit: BFramesMax 7 BRefType pyramid
[17:20:10] encqsvInit: RateControlMethod ICQ ICQQuality 25
[17:20:10] sync: first pts video is 0
[17:20:10] sync: first pts audio 0x1 is 0
[17:20:10] sync: "Chapter 1" (1) at frame 3 time 7507
[17:20:10] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 2.9
avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid argument'
[matroska @ 00000221790927c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 42 >= 0
[17:20:11] work: average encoding speed for job is 0.000000 fps
[17:20:11] vfr: 483 frames output, 0 dropped
[17:20:11] vfr: lost time: 0 (0 frames)
[17:20:11] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:20:11] pcm_s16le-decoder done: 662 frames, 0 decoder errors
[17:20:11] mpeg2video-decoder done: 532 frames, 0 decoder errors
[17:20:11] sync: got 493 frames, 26025 expected
[17:20:11] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
[17:20:11] mux: track 0, 435 frames, 10257218 bytes, 4231.01 kbps, fifo 512
[17:20:11] mux: track 1, 909 frames, 369853 bytes, 152.56 kbps, fifo 1024
Error code -1, hb_qsv_context_clean 245
[17:20:11] Finished work at: Fri Feb 02 17:20:11 2024
[17:20:11] libhb: work result = 4

# Job Failed (4)
mduell
Veteran User
Posts: 8207
Joined: Sat Apr 21, 2007 8:54 pm

Re: Intel QuickSync performance

Post by mduell »

That's not 30 fps, but you could try without low power hardware encoding enabled in settings.
nasruddin
Posts: 49
Joined: Mon Jun 05, 2023 6:13 pm

Re: Intel QuickSync performance

Post by nasruddin »

Sorry, no idea how to do that, not an option I see anywhere in the UI
nasruddin
Posts: 49
Joined: Mon Jun 05, 2023 6:13 pm

Re: Intel QuickSync performance

Post by nasruddin »

I tried putting
lowpower=0
in advanced settings box, results don't seem different

HandBrake 1.7.2 (2023122400)
OS: Microsoft Windows NT 10.0.22631.0
CPU: 13th Gen Intel(R) Core(TM) i7-1355U
Ram: 32479 MB,
GPU Information:
Intel(R) Iris(R) Xe Graphics - 31.0.101.4575
NVIDIA GeForce RTX 3050 4GB Laptop GPU - 31.0.15.4633
Screen: 1920x1080
Temp Dir: C:\Users\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\

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

# Starting Encode ...

[08:41:42] base preset: H.265 QSV 1080p (Modified)
[08:41:42] Remote Process started with Process ID: 30696 using port: 8037. Max Allowed Instances: 1
[08:41:42] Worker: Starting HandBrake Engine ...
[08:41:42] Worker: Parent Process Id 15940
[08:41:42] Worker: Starting Web Server on port 8037 ...
[08:41:43] Worker: Server Started
[08:41:43] Worker: Disconnected worker monitoring enabled!
[08:41:43] Compile-time hardening features are enabled
[08:41:43] nvenc: version 12.1 is available
[08:41:43] nvdec: is available
[08:41:43] CUDA Version: 8.6
[08:41:43] vcn: not available on this system
[08:41:44] qsv: is available on this system
[08:41:44] hb_init: starting libhb thread
[08:41:44] Starting work at: Sat Feb 03 08:41:44 2024
[08:41:44] 1 job(s) to process
[08:41:44] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac"
],
"FallbackEncoder": "none"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
},
{
"Name": "Chapter 2"
},
{
"Name": "Chapter 3"
},
{
"Name": "Chapter 4"
},
{
"Name": "Chapter 5"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "D:\\Users\\
"Options": {
"IpodAtom": false,
"Optimize": false
},
"Mux": "av_mkv"
},
"Filters": {
"FilterList": [
{
"ID": 19,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "480",
"width": "720"
}
},
{
"ID": 10,
"Settings": {
"mode": "0"
}
}
]
},
"PAR": {
"Num": 32,
"Den": 27
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 5
},
"Title": 1,
"Path": "D:\\Users\\
"HWDecode": 4
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "qsv_h265",
"Level": "auto",
"MultiPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "lowpower=0",
"Preset": "balanced",
"Profile": "auto",
"Quality": 25,
"QSV": {
"Decode": true
},
"HardwareDecode": 0
}
}
[08:41:44] CPU: 13th Gen Intel(R) Core(TM) i7-1355U
[08:41:44] - logical processor count: 12
[08:41:44] Intel Quick Sync Video support: yes, gpu list: 1
[08:41:44] Intel Quick Sync Video integrated adapter with index 1
[08:41:44] Impl mfx-gen library path: C:\windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_8d38a8081cfb8dcd\libmfx64-gen.dll
[08:41:44] - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[08:41:44] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[08:41:44] - H.264 encoder: yes
[08:41:44] - preferred implementation: hardware (2) via D3D11
[08:41:44] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[08:41:44] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[08:41:44] - preferred implementation: hardware (2) via D3D11
[08:41:44] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[08:41:44] - AV1 encoder: no
[08:41:44] hb_scan: path=D:\Users\, title_index=1
Input #0, matroska,webm, from 'D:\Users\':
Metadata:
encoder : libmakemkv v1.17.5 (1.3.10/1.5.2) win(x64-release)
creation_time : 2024-01-01T18:53:47.000000Z
Duration: 00:18:05.47, start: 0.000000, bitrate: 7513 kb/s
Chapters:
Chapter #0:0: start 0.083417, end 21.104417
Metadata:
title : Chapter 01
Chapter #0:1: start 21.104417, end 335.918917
Metadata:
title : Chapter 02
Chapter #0:2: start 335.918917, end 668.751417
Metadata:
title : Chapter 03
Chapter #0:3: start 668.751417, end 1084.166417
Metadata:
title : Chapter 04
Chapter #0:4: start 1084.166417, end 1085.467717
Metadata:
title : Chapter 05
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, progressive), 720x480 [SAR 32:27 DAR 16:9], SAR 853:720 DAR 853:480, 29.97 fps, 29.97 tbr, 1k tbn
Metadata:
BPS-eng : 5964085
DURATION-eng : 00:18:05.467716666
NUMBER_OF_FRAMES-eng: 26025
NUMBER_OF_BYTES-eng: 809227289
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-01 18:53:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Side data:
cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s (default)
Metadata:
title : Stereo
BPS-eng : 1536000
DURATION-eng : 00:18:05.458333333
NUMBER_OF_FRAMES-eng: 32564
NUMBER_OF_BYTES-eng: 208408000
SOURCE_ID-eng : 01A0BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-01 18:53:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(eng): Subtitle: dvd_subtitle, 720x480 (default)
Metadata:
BPS-eng : 7562
DURATION-eng : 00:17:56.664677777
NUMBER_OF_FRAMES-eng: 334
NUMBER_OF_BYTES-eng: 1017836
SOURCE_ID-eng : 0120BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-01 18:53:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(eng): Subtitle: subrip
Metadata:
BPS-eng : 143
DURATION-eng : 00:17:55.272000000
NUMBER_OF_FRAMES-eng: 331
NUMBER_OF_BYTES-eng: 19239
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-01 18:53:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[08:41:44] scan: decoding previews for title 1
[08:41:44] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 English (pcm_s16le, 2.0 ch, 1536 kbps)
[08:41:44] WARNING: bitstream PAR 32:27 != container PAR 853:720
[08:41:44] using bitstream PAR 32:27
[08:41:44] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27, color profile: 6-1-6, chroma location: left
[08:41:44] scan: supported video decoders: avcodec hwaccel
[08:41:44] libhb: scan thread found 1 valid title(s)
[08:41:44] Starting Task: Encoding Pass
[08:41:44] work: skipping crop/scale filter
[08:41:44] work: track 1, dithering not supported by codec
[08:41:44] job configuration:
[08:41:44] * source
[08:41:44] + D:\Users\
[08:41:44] + title 1, chapter(s) 1 to 5
[08:41:44] + container: matroska,webm
[08:41:44] + data rate: 7513 kbps
[08:41:44] * destination
[08:41:44] + D:\Users\
[08:41:44] + container: Matroska (libavformat)
[08:41:44] + chapter markers
[08:41:44] * video track
[08:41:44] + decoder: mpeg2video 8-bit (yuv420p)
[08:41:44] + filters
[08:41:44] + Framerate Shaper (mode=0)
[08:41:44] + frame rate: same as source (around 23.976 fps)
[08:41:44] + Format (format=nv12)
[08:41:44] + Output geometry
[08:41:44] + storage dimensions: 720 x 480
[08:41:44] + pixel aspect ratio: 32 : 27
[08:41:44] + display dimensions: 853 x 480
[08:41:44] + encoder: H.265 (Intel Media SDK)
[08:41:44] + preset: balanced
[08:41:44] + options: lowpower=0
[08:41:44] + profile: auto
[08:41:44] + level: auto
[08:41:44] + quality: 25.00 (ICQ)
[08:41:44] + color profile: 6-1-6
[08:41:44] + chroma location: left
[08:41:44] * audio track 1
[08:41:44] + name: Stereo
[08:41:44] + decoder: English (pcm_s16le, 2.0 ch, 1536 kbps) (track 1, id 0x1)
[08:41:44] + bitrate: 1536 kbps, samplerate: 48000 Hz
[08:41:44] + mixdown: Stereo
[08:41:44] + encoder: AAC (libavcodec)
[08:41:44] + bitrate: 160 kbps, samplerate: 48000 Hz
[08:41:45] sync: expecting 26025 video frames
[08:41:45] encqsvInit: using encode-only via system memory path
[08:41:45] encqsvInit: H.265/HEVC Main profile @ level 3.0
[08:41:45] encqsvInit: TargetUsage 4 AsyncDepth 6
[08:41:45] encqsvInit: GopRefDist 8 GopPicSize 48 NumRefFrame 4 IdrInterval 0
[08:41:45] encqsvInit: BFramesMax 7 BRefType pyramid
[08:41:45] encqsvInit: RateControlMethod ICQ ICQQuality 25
[08:41:45] sync: first pts video is 0
[08:41:45] sync: first pts audio 0x1 is 0
[08:41:45] sync: "Chapter 1" (1) at frame 3 time 7507
[08:41:45] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 2.9
[08:41:47] sync: "Chapter 2" (2) at frame 510 time 1910658
[matroska @ 000002203f1f15c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 42 >= 0
avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid argument'
[matroska @ 000002203f1f15c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 42 >= 0
[08:41:50] work: average encoding speed for job is 348.219452 fps
[08:41:51] vfr: 1878 frames output, 0 dropped
[08:41:51] vfr: lost time: 0 (0 frames)
[08:41:51] vfr: gained time: 0 (0 frames) (0 not accounted for)
[08:41:51] pcm_s16le-decoder done: 2425 frames, 0 decoder errors
[08:41:51] mpeg2video-decoder done: 1934 frames, 0 decoder errors
[08:41:51] sync: got 1890 frames, 26025 expected
[08:41:51] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
[08:41:51] mux: track 0, 1854 frames, 9006596 bytes, 914.53 kbps, fifo 2048
[08:41:51] mux: track 1, 3692 frames, 1582265 bytes, 160.66 kbps, fifo 4096
EHW Exception: failed in core.DecreaseReference
Error code -1, hb_qsv_context_clean 245
[08:41:51] Finished work at: Sat Feb 03 08:41:51 2024
[08:41:51] libhb: work result = 4

# Job Failed (4)
nasruddin
Posts: 49
Joined: Mon Jun 05, 2023 6:13 pm

Re: Intel QuickSync performance

Post by nasruddin »

Likewise, changing to 720p causes it to crash inst.

HandBrake 1.7.2 (2023122400)
OS: Microsoft Windows NT 10.0.22631.0
CPU: 13th Gen Intel(R) Core(TM) i7-1355U
Ram: 32479 MB,
GPU Information:
Intel(R) Iris(R) Xe Graphics - 31.0.101.4575
NVIDIA GeForce RTX 3050 4GB Laptop GPU - 31.0.15.4633
Screen: 1920x1080
Temp Dir: C:\Users\bhelm\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\bhelm\AppData\Roaming\HandBrake

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

# Starting Encode ...

[13:40:47] base preset: H.265 QSV 1080p (Modified)
[13:40:48] Remote Process started with Process ID: 20320 using port: 8037. Max Allowed Instances: 1
[13:40:48] Worker: Starting HandBrake Engine ...
[13:40:48] Worker: Parent Process Id 15940
[13:40:48] Worker: Starting Web Server on port 8037 ...
[13:40:48] Worker: Server Started
[13:40:48] Worker: Disconnected worker monitoring enabled!
[13:40:48] Compile-time hardening features are enabled
[13:40:48] nvenc: version 12.1 is available
[13:40:48] nvdec: is available
[13:40:48] CUDA Version: 8.6
[13:40:48] vcn: not available on this system
[13:40:49] qsv: is available on this system
[13:40:49] hb_init: starting libhb thread
[13:40:49] Starting work at: Sun Feb 04 13:40:49 2024
[13:40:49] 1 job(s) to process
[13:40:49] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac"
],
"FallbackEncoder": "none"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
},
{
"Name": "Chapter 2"
},
{
"Name": "Chapter 3"
},
{
"Name": "Chapter 4"
},
{
"Name": "Chapter 5"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "D:\\Users\\bhelm\\Videos\\hbexp\\B2 T01-720p-qsv.mkv",
"Options": {
"IpodAtom": false,
"Optimize": false
},
"Mux": "av_mkv"
},
"Filters": {
"FilterList": [
{
"ID": 19,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "480",
"width": "720"
}
},
{
"ID": 10,
"Settings": {
"mode": "0"
}
}
]
},
"PAR": {
"Num": 32,
"Den": 27
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 5
},
"Title": 1,
"Path": "D:\\Users\\bhelm\\Videos\\hbexp\\B2_t01.mkv",
"HWDecode": 4
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": true,
"Forced": false
},
"SubtitleList": [
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 1,
"Offset": 0,
"Track": 0
},
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 2,
"Offset": 0,
"Track": 1
}
]
},
"Video": {
"Encoder": "qsv_h265",
"Level": "auto",
"MultiPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "lowpower=0",
"Preset": "speed",
"Profile": "auto",
"Quality": 25,
"QSV": {
"Decode": true
},
"HardwareDecode": 0
}
}
[13:40:50] CPU: 13th Gen Intel(R) Core(TM) i7-1355U
[13:40:50] - logical processor count: 12
[13:40:50] Intel Quick Sync Video support: yes, gpu list: 1
[13:40:50] Intel Quick Sync Video integrated adapter with index 1
[13:40:50] Impl mfx-gen library path: C:\windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_8d38a8081cfb8dcd\libmfx64-gen.dll
[13:40:50] - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[13:40:50] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[13:40:50] - H.264 encoder: yes
[13:40:50] - preferred implementation: hardware (2) via D3D11
[13:40:50] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[13:40:50] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[13:40:50] - preferred implementation: hardware (2) via D3D11
[13:40:50] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[13:40:50] - AV1 encoder: no
[13:40:50] hb_scan: path=D:\Users\bhelm\Videos\hbexp\B2_t01.mkv, title_index=1
Input #0, matroska,webm, from 'D:\Users\bhelm\Videos\hbexp\B2_t01.mkv':
Metadata:
encoder : libmakemkv v1.17.5 (1.3.10/1.5.2) win(x64-release)
creation_time : 2024-01-01T18:53:47.000000Z
Duration: 00:18:05.47, start: 0.000000, bitrate: 7513 kb/s
Chapters:
Chapter #0:0: start 0.083417, end 21.104417
Metadata:
title : Chapter 01
Chapter #0:1: start 21.104417, end 335.918917
Metadata:
title : Chapter 02
Chapter #0:2: start 335.918917, end 668.751417
Metadata:
title : Chapter 03
Chapter #0:3: start 668.751417, end 1084.166417
Metadata:
title : Chapter 04
Chapter #0:4: start 1084.166417, end 1085.467717
Metadata:
title : Chapter 05
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, progressive), 720x480 [SAR 32:27 DAR 16:9], SAR 853:720 DAR 853:480, 29.97 fps, 29.97 tbr, 1k tbn
Metadata:
BPS-eng : 5964085
DURATION-eng : 00:18:05.467716666
NUMBER_OF_FRAMES-eng: 26025
NUMBER_OF_BYTES-eng: 809227289
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-01 18:53:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Side data:
cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s (default)
Metadata:
title : Stereo
BPS-eng : 1536000
DURATION-eng : 00:18:05.458333333
NUMBER_OF_FRAMES-eng: 32564
NUMBER_OF_BYTES-eng: 208408000
SOURCE_ID-eng : 01A0BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-01 18:53:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(eng): Subtitle: dvd_subtitle, 720x480 (default)
Metadata:
BPS-eng : 7562
DURATION-eng : 00:17:56.664677777
NUMBER_OF_FRAMES-eng: 334
NUMBER_OF_BYTES-eng: 1017836
SOURCE_ID-eng : 0120BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-01 18:53:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(eng): Subtitle: subrip
Metadata:
BPS-eng : 143
DURATION-eng : 00:17:55.272000000
NUMBER_OF_FRAMES-eng: 331
NUMBER_OF_BYTES-eng: 19239
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-01 18:53:47
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[13:40:50] scan: decoding previews for title 1
[13:40:50] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 English (pcm_s16le, 2.0 ch, 1536 kbps)
[13:40:50] WARNING: bitstream PAR 32:27 != container PAR 853:720
[13:40:50] using bitstream PAR 32:27
[13:40:50] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27, color profile: 6-1-6, chroma location: left
[13:40:50] scan: supported video decoders: avcodec hwaccel
[13:40:50] libhb: scan thread found 1 valid title(s)
[13:40:50] Skipping subtitle scan. No suitable subtitle tracks.
[13:40:50] Starting Task: Encoding Pass
[13:40:50] work: skipping crop/scale filter
[13:40:50] work: track 1, dithering not supported by codec
[13:40:50] job configuration:
[13:40:50] * source
[13:40:50] + D:\Users\bhelm\Videos\hbexp\B2_t01.mkv
[13:40:50] + title 1, chapter(s) 1 to 5
[13:40:50] + container: matroska,webm
[13:40:50] + data rate: 7513 kbps
[13:40:50] * destination
[13:40:50] + D:\Users\bhelm\Videos\hbexp\B2 T01-720p-qsv.mkv
[13:40:50] + container: Matroska (libavformat)
[13:40:50] + chapter markers
[13:40:50] * video track
[13:40:50] + decoder: mpeg2video 8-bit (yuv420p)
[13:40:50] + filters
[13:40:50] + Framerate Shaper (mode=0)
[13:40:50] + frame rate: same as source (around 23.976 fps)
[13:40:50] + Format (format=nv12)
[13:40:50] + Output geometry
[13:40:50] + storage dimensions: 720 x 480
[13:40:50] + pixel aspect ratio: 32 : 27
[13:40:50] + display dimensions: 853 x 480
[13:40:50] + encoder: H.265 (Intel Media SDK)
[13:40:50] + preset: speed
[13:40:50] + options: lowpower=0
[13:40:50] + profile: auto
[13:40:50] + level: auto
[13:40:50] + quality: 25.00 (ICQ)
[13:40:50] + color profile: 6-1-6
[13:40:50] + chroma location: left
[13:40:50] * subtitle track 1, English (VOBSUB) (track 0, id 0x2, Picture) -> Passthrough
[13:40:50] * subtitle track 2, English (UTF-8) (track 1, id 0x3, Text) -> Passthrough
[13:40:50] * audio track 1
[13:40:50] + name: Stereo
[13:40:50] + decoder: English (pcm_s16le, 2.0 ch, 1536 kbps) (track 1, id 0x1)
[13:40:50] + bitrate: 1536 kbps, samplerate: 48000 Hz
[13:40:50] + mixdown: Stereo
[13:40:50] + encoder: AAC (libavcodec)
[13:40:50] + bitrate: 160 kbps, samplerate: 48000 Hz
[13:40:50] sync: expecting 26025 video frames
[13:40:50] encqsvInit: using encode-only via system memory path
[13:40:50] encqsvInit: H.265/HEVC Main profile @ level 3.0
[13:40:50] encqsvInit: TargetUsage 7 AsyncDepth 6
[13:40:50] encqsvInit: GopRefDist 8 GopPicSize 48 NumRefFrame 4 IdrInterval 0
[13:40:50] encqsvInit: BFramesMax 7 BRefType pyramid
[13:40:50] encqsvInit: RateControlMethod ICQ ICQQuality 25
[13:40:50] sync: first pts video is 0
[13:40:50] sync: first pts audio 0x1 is 0
[13:40:50] sync: "Chapter 1" (1) at frame 3 time 7507
[13:40:50] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 2.9
[13:40:50] sync: first pts subtitle 0x2 is 129150
[13:40:50] sync: first pts subtitle 0x3 is 129150
[13:40:51] sync: "Chapter 2" (2) at frame 510 time 1910658
[matroska @ 00000287d0125fc0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 42 >= 0
avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid argument'
[13:40:54] work: average encoding speed for job is 0.000000 fps
[13:40:54] vfr: 1831 frames output, 0 dropped
[13:40:54] vfr: lost time: 0 (0 frames)
[13:40:54] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:40:54] pcm_s16le-decoder done: 2366 frames, 0 decoder errors
[13:40:54] mpeg2video-decoder done: 1896 frames, 0 decoder errors
[13:40:54] sync: got 1851 frames, 26025 expected
[13:40:54] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
[13:40:54] mux: track 0, 1806 frames, 8971596 bytes, 940.86 kbps, fifo 2048
[13:40:54] mux: track 1, 3575 frames, 1531242 bytes, 160.58 kbps, fifo 4096
[13:40:54] mux: track 2, 18 frames, 56776 bytes, 5.95 kbps, fifo 32
[13:40:54] mux: track 3, 18 frames, 1236 bytes, 0.13 kbps, fifo 32
EHW Exception: failed in core.DecreaseReference
EHW Exception: failed in core.DecreaseReference
Error code -1, hb_qsv_context_clean 245
[13:40:54] Finished work at: Sun Feb 04 13:40:54 2024
[13:40:54] libhb: work result = 4

# Job Failed (4)
nasruddin
Posts: 49
Joined: Mon Jun 05, 2023 6:13 pm

Re: Intel QuickSync performance

Post by nasruddin »

Just to add to the fun ...
I had to edit, fix, and then combine some zoom-based off-air recordings, so I converted them using the production standard preset, after some advice I read elsewhere... and then I thought I'd try 1080p qsv to convert the 18GB result into something reasonable. It worked very well, so I changed the encoder preset to bal, and then qual - they all worked, good results, slight difference in much smaller file.

So I went back to the files from the DVD above. None of the MakeMKV files produced from the DVD would convert using 1080p qsv.
However, when I tried the anydvd copy ... the video pieces encoded perfectly. At fast and bal (didn't try quality).

I have tried a few other MakeMKV produced tracks with no problem.

I have to conclude that it is something in this particular DVD thru MakeMKV's processing of it that is causing the failures above.
These files were produced with MakeMKV 1.17.5.
nasruddin
Posts: 49
Joined: Mon Jun 05, 2023 6:13 pm

Re: Intel QuickSync performance

Post by nasruddin »

Also tried with MakeMKV 1.17.6 (which just appeared), using an anydvd copy of the disc.
Exactly the same behavior & log messages on every episode.
So in conclusion it's not the DVD... the problem doesnt come from the anydvd copy ... it hasn't shown up on makemkv copies of anything else...
but it is makemkv that's doing something that causes this preset of handbrake to fail.
User avatar
Ritsuka
HandBrake Team
Posts: 1658
Joined: Fri Jan 12, 2007 11:29 am

Re: Intel QuickSync performance

Post by Ritsuka »

Does it work if you use a different encoder?
nasruddin
Posts: 49
Joined: Mon Jun 05, 2023 6:13 pm

Re: Intel QuickSync performance

Post by nasruddin »

It works with the same preset on its default setting, which is called "speed" (encoder preset all the way to the left)
It seems to work on any of the 1080 nvenc presets (this laptop also has an nvidia GPU), I've tried a couple
I works on the handbrake default 1080p fast and some others
User avatar
Ritsuka
HandBrake Team
Posts: 1658
Joined: Fri Jan 12, 2007 11:29 am

Re: Intel QuickSync performance

Post by Ritsuka »

I think your video has a short frame at the start that breaks QSV. Try setting a constant Framerate.
nasruddin
Posts: 49
Joined: Mon Jun 05, 2023 6:13 pm

Re: Intel QuickSync performance

Post by nasruddin »

2nd try posting (1st seemed to disappear)

Works ok on encoder preset speed, constant framerate
Fails encoder preset balanced
Don't see the different framerate option in the logfile, but it is in the UI, so ...

HandBrake 1.7.2 (2023122400)
OS: Microsoft Windows NT 10.0.22631.0
CPU: 13th Gen Intel(R) Core(TM) i7-1355U
Ram: 32479 MB,
GPU Information:
Intel(R) Iris(R) Xe Graphics - 31.0.101.4575
NVIDIA GeForce RTX 3050 4GB Laptop GPU - 31.0.15.4633
Screen: 1920x1080
Temp Dir: C:\Users\someone\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\someone\AppData\Roaming\HandBrake

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

# Starting Encode ...

[13:31:22] base preset: H.265 QSV 1080p (Modified)
[13:31:22] Remote Process started with Process ID: 29120 using port: 8037. Max Allowed Instances: 1
[13:31:22] Worker: Starting HandBrake Engine ...
[13:31:22] Worker: Parent Process Id 15940
[13:31:22] Worker: Starting Web Server on port 8037 ...
[13:31:22] Worker: Server Started
[13:31:22] Worker: Disconnected worker monitoring enabled!
[13:31:22] Compile-time hardening features are enabled
[13:31:22] nvenc: version 12.1 is available
[13:31:22] nvdec: is available
[13:31:23] CUDA Version: 8.6
[13:31:23] vcn: not available on this system
[13:31:24] qsv: is available on this system
[13:31:24] hb_init: starting libhb thread
[13:31:24] Starting work at: Fri Feb 09 13:31:24 2024
[13:31:24] 1 job(s) to process
[13:31:24] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac"
],
"FallbackEncoder": "none"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
},
{
"Name": "Chapter 2"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "D:\\Users\\someone\\Videos\\hbexp\\whoawhoa howhow\\disk1\\AnyDVD\\junk\\2-B1_T06output_cf.mp4",
"Options": {
"IpodAtom": false,
"Optimize": false
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 19,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "480",
"width": "720"
}
},
{
"ID": 10,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 32,
"Den": 27
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 2
},
"Title": 2,
"Path": "D:\\Users\\someone\\Videos\\howhow-makemkv new version\\B1_t06.mkv",
"HWDecode": 4
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "qsv_h265",
"Level": "auto",
"MultiPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "lowpower=1",
"Preset": "speed",
"Profile": "auto",
"Quality": 25,
"QSV": {
"Decode": true
},
"HardwareDecode": 0
}
}
[13:31:24] CPU: 13th Gen Intel(R) Core(TM) i7-1355U
[13:31:24] - logical processor count: 12
[13:31:24] Intel Quick Sync Video support: yes, gpu list: 1
[13:31:24] Intel Quick Sync Video integrated adapter with index 1
[13:31:24] Impl mfx-gen library path: C:\windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_8d38a8081cfb8dcd\libmfx64-gen.dll
[13:31:24] - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[13:31:24] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[13:31:24] - H.264 encoder: yes
[13:31:24] - preferred implementation: hardware (2) via D3D11
[13:31:24] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[13:31:24] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[13:31:24] - preferred implementation: hardware (2) via D3D11
[13:31:24] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[13:31:24] - AV1 encoder: no
[13:31:24] hb_scan: path=D:\Users\someone\Videos\howhow-makemkv new version\B1_t06.mkv, title_index=2
Input #0, matroska,webm, from 'D:\Users\someone\Videos\howhow-makemkv new version\B1_t06.mkv':
Metadata:
encoder : libmakemkv v1.17.6 (1.3.10/1.5.2) win(x64-release)
creation_time : 2024-02-07T07:36:34.000000Z
Duration: 00:03:19.17, start: 0.000000, bitrate: 6527 kb/s
Chapters:
Chapter #0:0: start 0.066733, end 194.260733
Metadata:
title : Chapter 01
Chapter #0:1: start 194.260733, end 199.165633
Metadata:
title : Chapter 02
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, bottom first), 720x480 [SAR 32:27 DAR 16:9], SAR 853:720 DAR 853:480, 29.97 fps, 29.97 tbr, 1k tbn
Metadata:
BPS-eng : 4984325
DURATION-eng : 00:03:19.165633333
NUMBER_OF_FRAMES-eng: 5969
NUMBER_OF_BYTES-eng: 124087901
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.6 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-02-07 07:36:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Side data:
cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s (default)
Metadata:
title : Stereo
BPS-eng : 1536000
DURATION-eng : 00:03:19.165000000
NUMBER_OF_FRAMES-eng: 5975
NUMBER_OF_BYTES-eng: 38239680
SOURCE_ID-eng : 01A0BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.6 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-02-07 07:36:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[13:31:24] scan: decoding previews for title 2
[13:31:24] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 English (pcm_s16le, 2.0 ch, 1536 kbps)
[13:31:24] WARNING: bitstream PAR 32:27 != container PAR 853:720
[13:31:24] using bitstream PAR 32:27
[13:31:24] scan: 10 previews, 720x480, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27, color profile: 6-1-6, chroma location: left
[13:31:24] scan: supported video decoders: avcodec hwaccel
[13:31:24] libhb: scan thread found 1 valid title(s)
[13:31:24] Starting Task: Encoding Pass
[13:31:24] work: skipping crop/scale filter
[13:31:24] work: track 1, dithering not supported by codec
[13:31:24] job configuration:
[13:31:24] * source
[13:31:24] + D:\Users\someone\Videos\howhow-makemkv new version\B1_t06.mkv
[13:31:24] + title 2, chapter(s) 1 to 2
[13:31:24] + container: matroska,webm
[13:31:24] + data rate: 6527 kbps
[13:31:24] * destination
[13:31:24] + D:\Users\someone\Videos\hbexp\whoawhoa howhow\disk1\AnyDVD\junk\2-B1_T06output_cf.mp4
[13:31:24] + container: MPEG-4 (libavformat)
[13:31:24] + chapter markers
[13:31:24] * video track
[13:31:24] + decoder: mpeg2video 8-bit (yuv420p)
[13:31:24] + filters
[13:31:24] + Framerate Shaper (mode=1)
[13:31:24] + frame rate: 29.970 fps -> constant 29.970 fps
[13:31:24] + Format (format=nv12)
[13:31:24] + Output geometry
[13:31:24] + storage dimensions: 720 x 480
[13:31:24] + pixel aspect ratio: 32 : 27
[13:31:24] + display dimensions: 853 x 480
[13:31:24] + encoder: H.265 (Intel Media SDK)
[13:31:24] + preset: speed
[13:31:24] + options: lowpower=1
[13:31:24] + profile: auto
[13:31:24] + level: auto
[13:31:24] + quality: 25.00 (ICQ)
[13:31:24] + color profile: 6-1-6
[13:31:24] + chroma location: left
[13:31:24] * audio track 1
[13:31:24] + name: Stereo
[13:31:24] + decoder: English (pcm_s16le, 2.0 ch, 1536 kbps) (track 1, id 0x1)
[13:31:24] + bitrate: 1536 kbps, samplerate: 48000 Hz
[13:31:24] + mixdown: Stereo
[13:31:24] + encoder: AAC (libavcodec)
[13:31:24] + bitrate: 160 kbps, samplerate: 48000 Hz
[13:31:24] sync: expecting 5968 video frames
[13:31:24] encqsvInit: using encode-only via system memory (LowPower) path
[13:31:24] encqsvInit: H.265/HEVC Main profile @ level 3.0
[13:31:24] encqsvInit: TargetUsage 7 AsyncDepth 6
[13:31:24] encqsvInit: GopRefDist 1 GopPicSize 64 NumRefFrame 4 IdrInterval 0
[13:31:24] encqsvInit: BFramesMax 0 BRefType pyramid
[13:31:24] encqsvInit: RateControlMethod ICQ ICQQuality 25
[13:31:24] sync: first pts video is 0
[13:31:24] sync: first pts audio 0x1 is 0
[13:31:24] sync: "Chapter 1" (1) at frame 3 time 6006
[13:31:24] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 2.9
[13:31:33] sync: "Chapter 2" (2) at frame 5823 time 17483466
[13:31:33] reader: done. 1 scr changes
[13:31:34] work: average encoding speed for job is 664.124939 fps
[13:31:34] vfr: 5969 frames output, 0 dropped and 0 duped for CFR/PFR
[13:31:34] vfr: lost time: 0 (0 frames)
[13:31:34] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:31:34] pcm_s16le-decoder done: 5975 frames, 0 decoder errors
[13:31:34] mpeg2video-decoder done: 5969 frames, 0 decoder errors
[13:31:34] sync: got 5969 frames, 5968 expected
[13:31:34] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
[13:31:34] mux: track 0, 5969 frames, 66157990 bytes, 2656.96 kbps, fifo 2048
[13:31:34] mux: track 1, 9336 frames, 4084643 bytes, 164.04 kbps, fifo 2048
[13:31:34] Finished work at: Fri Feb 09 13:31:34 2024
[13:31:34] libhb: work result = 0

# Job Completed!

HandBrake 1.7.2 (2023122400)
OS: Microsoft Windows NT 10.0.22631.0
CPU: 13th Gen Intel(R) Core(TM) i7-1355U
Ram: 32479 MB,
GPU Information:
Intel(R) Iris(R) Xe Graphics - 31.0.101.4575
NVIDIA GeForce RTX 3050 4GB Laptop GPU - 31.0.15.4633
Screen: 1920x1080
Temp Dir: C:\Users\someone\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\someone\AppData\Roaming\HandBrake

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

# Starting Encode ...

[13:34:34] base preset: H.265 QSV 1080p (Modified)
[13:34:34] Remote Process started with Process ID: 45456 using port: 8037. Max Allowed Instances: 1
[13:34:34] Worker: Starting HandBrake Engine ...
[13:34:34] Worker: Parent Process Id 15940
[13:34:34] Worker: Starting Web Server on port 8037 ...
[13:34:34] Worker: Server Started
[13:34:35] Worker: Disconnected worker monitoring enabled!
[13:34:35] Compile-time hardening features are enabled
[13:34:35] nvenc: version 12.1 is available
[13:34:35] nvdec: is available
[13:34:35] CUDA Version: 8.6
[13:34:35] vcn: not available on this system
[13:34:36] qsv: is available on this system
[13:34:36] hb_init: starting libhb thread
[13:34:36] Starting work at: Fri Feb 09 13:34:36 2024
[13:34:36] 1 job(s) to process
[13:34:36] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac"
],
"FallbackEncoder": "none"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
},
{
"Name": "Chapter 2"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "D:\\Users\\someone\\Videos\\hbexp\\whoawhoa howhow\\disk1\\AnyDVD\\junk\\2-B1_T06output_cf.mp4",
"Options": {
"IpodAtom": false,
"Optimize": false
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 19,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "480",
"width": "720"
}
},
{
"ID": 10,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 32,
"Den": 27
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 2
},
"Title": 2,
"Path": "D:\\Users\\someone\\Videos\\howhow-makemkv new version\\B1_t06.mkv",
"HWDecode": 4
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "qsv_h265",
"Level": "auto",
"MultiPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "lowpower=1",
"Preset": "balanced",
"Profile": "auto",
"Quality": 25,
"QSV": {
"Decode": true
},
"HardwareDecode": 0
}
}
[13:34:36] CPU: 13th Gen Intel(R) Core(TM) i7-1355U
[13:34:36] - logical processor count: 12
[13:34:36] Intel Quick Sync Video support: yes, gpu list: 1
[13:34:36] Intel Quick Sync Video integrated adapter with index 1
[13:34:36] Impl mfx-gen library path: C:\windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_8d38a8081cfb8dcd\libmfx64-gen.dll
[13:34:36] - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[13:34:36] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[13:34:36] - H.264 encoder: yes
[13:34:36] - preferred implementation: hardware (2) via D3D11
[13:34:36] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[13:34:36] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[13:34:36] - preferred implementation: hardware (2) via D3D11
[13:34:36] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[13:34:36] - AV1 encoder: no
[13:34:36] hb_scan: path=D:\Users\someone\Videos\howhow-makemkv new version\B1_t06.mkv, title_index=2
Input #0, matroska,webm, from 'D:\Users\someone\Videos\howhow-makemkv new version\B1_t06.mkv':
Metadata:
encoder : libmakemkv v1.17.6 (1.3.10/1.5.2) win(x64-release)
creation_time : 2024-02-07T07:36:34.000000Z
Duration: 00:03:19.17, start: 0.000000, bitrate: 6527 kb/s
Chapters:
Chapter #0:0: start 0.066733, end 194.260733
Metadata:
title : Chapter 01
Chapter #0:1: start 194.260733, end 199.165633
Metadata:
title : Chapter 02
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, bottom first), 720x480 [SAR 32:27 DAR 16:9], SAR 853:720 DAR 853:480, 29.97 fps, 29.97 tbr, 1k tbn
Metadata:
BPS-eng : 4984325
DURATION-eng : 00:03:19.165633333
NUMBER_OF_FRAMES-eng: 5969
NUMBER_OF_BYTES-eng: 124087901
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.6 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-02-07 07:36:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Side data:
cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s (default)
Metadata:
title : Stereo
BPS-eng : 1536000
DURATION-eng : 00:03:19.165000000
NUMBER_OF_FRAMES-eng: 5975
NUMBER_OF_BYTES-eng: 38239680
SOURCE_ID-eng : 01A0BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.6 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-02-07 07:36:34
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[13:34:36] scan: decoding previews for title 2
[13:34:36] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 English (pcm_s16le, 2.0 ch, 1536 kbps)
[13:34:36] WARNING: bitstream PAR 32:27 != container PAR 853:720
[13:34:36] using bitstream PAR 32:27
[13:34:36] scan: 10 previews, 720x480, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27, color profile: 6-1-6, chroma location: left
[13:34:36] scan: supported video decoders: avcodec hwaccel
[13:34:36] libhb: scan thread found 1 valid title(s)
[13:34:36] Starting Task: Encoding Pass
[13:34:36] work: skipping crop/scale filter
[13:34:36] work: track 1, dithering not supported by codec
[13:34:36] job configuration:
[13:34:36] * source
[13:34:36] + D:\Users\someone\Videos\howhow-makemkv new version\B1_t06.mkv
[13:34:36] + title 2, chapter(s) 1 to 2
[13:34:36] + container: matroska,webm
[13:34:36] + data rate: 6527 kbps
[13:34:36] * destination
[13:34:36] + D:\Users\someone\Videos\hbexp\whoawhoa howhow\disk1\AnyDVD\junk\2-B1_T06output_cf.mp4
[13:34:36] + container: MPEG-4 (libavformat)
[13:34:36] + chapter markers
[13:34:36] * video track
[13:34:36] + decoder: mpeg2video 8-bit (yuv420p)
[13:34:36] + filters
[13:34:36] + Framerate Shaper (mode=1)
[13:34:36] + frame rate: 29.970 fps -> constant 29.970 fps
[13:34:36] + Format (format=nv12)
[13:34:36] + Output geometry
[13:34:36] + storage dimensions: 720 x 480
[13:34:36] + pixel aspect ratio: 32 : 27
[13:34:36] + display dimensions: 853 x 480
[13:34:36] + encoder: H.265 (Intel Media SDK)
[13:34:36] + preset: balanced
[13:34:36] + options: lowpower=1
[13:34:36] + profile: auto
[13:34:36] + level: auto
[13:34:36] + quality: 25.00 (ICQ)
[13:34:36] + color profile: 6-1-6
[13:34:36] + chroma location: left
[13:34:36] * audio track 1
[13:34:36] + name: Stereo
[13:34:36] + decoder: English (pcm_s16le, 2.0 ch, 1536 kbps) (track 1, id 0x1)
[13:34:36] + bitrate: 1536 kbps, samplerate: 48000 Hz
[13:34:36] + mixdown: Stereo
[13:34:36] + encoder: AAC (libavcodec)
[13:34:36] + bitrate: 160 kbps, samplerate: 48000 Hz
[13:34:36] sync: expecting 5968 video frames
[13:34:36] encqsvInit: using encode-only via system memory (LowPower) path
[13:34:36] encqsvInit: H.265/HEVC Main profile @ level 3.0
[13:34:36] encqsvInit: TargetUsage 4 AsyncDepth 6
[13:34:36] encqsvInit: GopRefDist 8 GopPicSize 64 NumRefFrame 4 IdrInterval 0
[13:34:36] encqsvInit: BFramesMax 7 BRefType pyramid
[13:34:36] encqsvInit: RateControlMethod ICQ ICQQuality 25
[13:34:36] sync: first pts video is 0
[13:34:36] sync: first pts audio 0x1 is 0
[13:34:36] sync: "Chapter 1" (1) at frame 3 time 6006
[13:34:37] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 2.9
[mp4 @ 000002427096a8c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 3003 >= -3003
avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid argument'
[mp4 @ 000002427096a8c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 3003 >= 0
[mp4 @ 000002427096a8c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 3003 >= 3003
[13:34:38] work: average encoding speed for job is 0.000000 fps
[13:34:38] vfr: 1622 frames output, 0 dropped and 0 duped for CFR/PFR
[13:34:38] vfr: lost time: 0 (0 frames)
[13:34:38] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:34:38] pcm_s16le-decoder done: 1691 frames, 0 decoder errors
[13:34:38] mpeg2video-decoder done: 1687 frames, 0 decoder errors
[13:34:38] sync: got 1640 frames, 5968 expected
[13:34:38] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
[13:34:40] mux: track 0, 1596 frames, 9397270 bytes, 1383.11 kbps, fifo 2048
[13:34:40] mux: track 1, 2547 frames, 1120040 bytes, 164.85 kbps, fifo 4096
Error code -1, hb_qsv_context_clean 245
[13:34:40] Finished work at: Fri Feb 09 13:34:40 2024
[13:34:40] libhb: work result = 4

# Job Failed (4)
Post Reply