Hello. I am using qsv encoding for videos and using higher ICQ (lower quality). Whether using H264 or H265, the output video always "flickers" once per second. The lower the quality I use, the more obvious the flicker occurs. Choosing nvenc, amf, or x264 does not have this problem. Here is a piece of 5-seconds video using 45 ICQ: https://drive.google.com/file/d/1EQaGBf ... share_link
Steps to reproduce the problem (If Applicable):
HandBrake version (e.g., 1.0.0):
1.6.1 (2023012300)
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 21H2
Intel I5 12400 with UHD730
HandBrake Activity Log ***required***
Code: Select all
HandBrake 1.6.1 (2023012300)
OS: Microsoft Windows NT 10.0.19044.0
CPU: 12th Gen Intel(R) Core(TM) i5-12400
Ram: 32058 MB,
GPU Information:
NVIDIA GeForce RTX 2060 - 31.0.15.3179
Intel(R) UHD Graphics 730 - 30.0.101.1371
Screen: 2048x1152
Temp Dir: D:\Tools\HandBrake\tmp\
Install Dir: D:\Tools\HandBrake\
Data Dir: D:\Tools\HandBrake\storage\HandBrake
-------------------------------------------
# Starting Encode ...
[12:28:54] base preset: Archive_Low (ICQ34) (Modified)
[12:28:54] hb_init: starting libhb thread
[12:28:54] Starting work at: Sun May 21 12:28:54 2023
[12:28:54] 1 job(s) to process
[12:28:54] json job:
{
"Audio": {
"AudioList": [
{
"DRC": 0,
"Encoder": "copy:aac",
"Gain": 0,
"Mixdown": -1,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac"
]
},
"Destination": {
"ChapterList": [
{
"Name": "\u7AE0\u8282 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": true,
"File": "C:\\Users\\Steven\\Videos\\2023-04-17 23-40-26_quality45_2023-5-21-12-28.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 14,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1440",
"width": "2560"
}
},
{
"ID": 7,
"Settings": {
"mode": "2",
"rate": "27000000/450000"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "C:\\Users\\Steven\\Videos\\2023-04-17 23-40-26.flv"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "nvenc_h264",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "medium",
"Profile": "auto",
"Quality": 45,
"QSV": {
"Decode": false
},
"HardwareDecode": 4
}
}
[12:28:54] CPU: 12th Gen Intel(R) Core(TM) i5-12400
[12:28:54] - Intel microarchitecture Alder Lake performance hybrid architecture
[12:28:54] - logical processor count: 12
[12:28:54] Intel Quick Sync Video support: yes, gpu list: 1
[12:28:54] Intel Quick Sync Video integrated adapter with index 1
[12:28:54] Impl mfx-gen library path: C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_08a52cf2f322ba79\libmfx64-gen.dll
[12:28:54] - Intel Media SDK hardware: API 2.6 (minimum: 1.3)
[12:28:54] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[12:28:54] - H.264 encoder: yes
[12:28:54] - preferred implementation: hardware (2) via D3D11
[12:28:54] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[12:28:54] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[12:28:54] - preferred implementation: hardware (2) via D3D11
[12:28:54] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[12:28:54] - AV1 encoder: no
[12:28:54] hb_scan: path=C:\Users\Steven\Videos\2023-04-17 23-40-26.flv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\Users\Steven\Videos\2023-04-17 23-40-26.flv
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:28:54] 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:28:54] dvd: not a dvd - trying as a stream/file instead
Input #0, flv, from 'C:\Users\Steven\Videos\2023-04-17 23-40-26.flv':
Metadata:
encoder : Lavf59.27.100
Duration: 00:01:11.18, start: 0.033000, bitrate: 15121 kb/s
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709/bt709/iec61966-2-1, progressive), 2560x1440 [SAR 1:1 DAR 16:9], 2500 kb/s, 60 fps, 60 tbr, 1k tbn
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 320 kb/s
[12:28:54] scan: decoding previews for title 1
[12:28:54] scan: audio 0x1: aac, rate=48000Hz, bitrate=320000 Unknown (AAC LC) (2.0 ch) (320 kbps)
[12:28:55] scan: 10 previews, 2560x1440, 60.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-13-1, chroma location: left
[12:28:55] scan: supported video decoders: avcodec qsv nvdec
[12:28:55] libhb: scan thread found 1 valid title(s)
[12:28:55] qsv: integrated qsv adapter with index 1 has been selected
[12:28:55] Skipping subtitle scan. No suitable subtitle tracks.
[12:28:55] Starting Task: Encoding Pass
[12:28:55] Skipping crop/scale filter
[12:28:55] work: only 1 chapter, disabling chapter markers
[12:28:55] job configuration:
[12:28:55] * source
[12:28:55] + C:\Users\Steven\Videos\2023-04-17 23-40-26.flv
[12:28:55] + title 1, chapter(s) 1 to 1
[12:28:55] + container: flv
[12:28:55] + data rate: 15121 kbps
[12:28:55] * destination
[12:28:55] + C:\Users\Steven\Videos\2023-04-17 23-40-26_quality45_2023-5-21-12-28.mp4
[12:28:55] + container: MPEG-4 (libavformat)
[12:28:55] + align initial A/V stream timestamps
[12:28:55] * video track
[12:28:55] + decoder: h264 8-bit (yuv420p)
[12:28:55] + bitrate 2500 kbps
[12:28:55] + filter
[12:28:55] + Framerate Shaper (mode=2:rate=27000000/450000)
[12:28:55] + frame rate: 60.000 fps -> peak rate limited to 60.000 fps
[12:28:55] + Output geometry
[12:28:55] + storage dimensions: 2560 x 1440
[12:28:55] + pixel aspect ratio: 1 : 1
[12:28:55] + display dimensions: 2560 x 1440
[12:28:55] + encoder: H.264 (NVEnc)
[12:28:55] + preset: medium
[12:28:55] + profile: auto
[12:28:55] + level: auto
[12:28:55] + quality: 45.00 (CQ)
[12:28:55] + color profile: 1-13-1
[12:28:55] + chroma location: left
[12:28:55] * audio track 1
[12:28:55] + decoder: Unknown (AAC LC) (2.0 ch) (320 kbps) (track 1, id 0x1)
[12:28:55] + bitrate: 320 kbps, samplerate: 48000 Hz
[12:28:55] + AAC Passthru
[12:28:55] sync: expecting 4270 video frames
[12:28:55] encavcodecInit: H.264 (Nvidia NVENC)
[12:28:55] encavcodec: encoding at rc=vbr, multipass=fullres, 45.00
[12:28:55] encavcodec: encoding with stored aspect 1/1
[12:28:55] sync: first pts video is 0
[12:28:55] sync: "章节 1" (1) at frame 1 time 0
[12:28:55] sync: first pts audio 0x1 is 0
[12:29:14] reader: done. 1 scr changes
[12:29:14] work: average encoding speed for job is 227.747498 fps
[12:29:14] vfr: 4267 frames output, 0 dropped and 0 duped for CFR/PFR
[12:29:14] vfr: lost time: 0 (0 frames)
[12:29:14] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:29:14] aac-decoder done: 3333 frames, 0 decoder errors
[12:29:14] h264-decoder done: 4267 frames, 0 decoder errors
[12:29:14] sync: got 4267 frames, 4270 expected
[12:29:14] sync: framerate min 30.303 fps, max 60.000 fps, avg 59.972 fps
[12:29:14] mux: track 0, 4267 frames, 12526443 bytes, 1408.45 kbps, fifo 4096
[12:29:14] mux: track 1, 3333 frames, 2852040 bytes, 320.68 kbps, fifo 4096
[12:29:14] Finished work at: Sun May 21 12:29:14 2023
[12:29:14] libhb: work result = 0
# Job Completed!