HandBrake / HandBrake

HandBrake's main development repository
https://handbrake.fr
Other
17.05k stars 1.31k forks source link

Job Failure Within aq Range of 1 - 15 #3676

Closed NickDeBeenSAE closed 3 years ago

NickDeBeenSAE commented 3 years ago

Problem Description

Fails even if the aq-strength is within its value of 0.1:

Activity Log, Crash Log or any other details

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.22000.0
CPU: AMD Ryzen 5 3600 6-Core Processor
Ram: 32681 MB,
GPU Information:
NVIDIA GeForce GTX 1080 Ti - 30.0.14.7111
Screen: 1920x1080
Temp Dir: C:\Users\nickd\AppData\Local\Temp
Install Dir: B:\HandBrake
Data Dir: C:\Users\nickd\AppData\Roaming\HandBrake

Starting Encode ...
[09:34:55] base preset: Production Max (Modified)
[09:34:55] hb_init: starting libhb thread
[09:34:55] Starting work at: Thu Jul 08 09:34:55 2021
[09:34:55] 1 job(s) to process
[09:34:55] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 320,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": true,
"File": "B:\Video's to Render\Yu-Gi-Oh! Legacy Of The Duelist Link Evolution 20210707141247-10.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": true
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 12,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "2160",
"width": "3840"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 10,
"Path": "F:\PS5\CREATE\Video Clips\Yu-Gi-Oh! Legacy of the Duelist _ Link Evolution\Yu-Gi-Oh! Legacy of the Duelist _ Link Evolution_20210707141247.webm"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "nvenc_h264",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "keyint=12:min-keyint=1:ref=1:bframes=0:qcomp=0.8:aq-strength=0.1:dct-decimate=0:fast-pskip=0:deblock=-2,-2",
"Preset": "slow",
"Profile": "auto",
"Quality": 2.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[09:34:55] CPU: AMD Ryzen 5 3600 6-Core Processor
[09:34:55] - logical processor count: 12
[09:34:55] Intel Quick Sync Video support: no
[09:34:55] hb_scan: path=F:\PS5\CREATE\Video Clips\Yu-Gi-Oh! Legacy of the Duelist _ Link Evolution\Yu-Gi-Oh! Legacy of the Duelist _ Link Evolution_20210707141247.webm, title_index=10
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image F:\PS5\CREATE\Video Clips\Yu-Gi-Oh! Legacy of the Duelist _ Link Evolution\Yu-Gi-Oh! Legacy of the Duelist _ Link Evolution_20210707141247.webm
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(F:\PS5\CREATE\Video Clips\Yu-Gi-Oh! Legacy of the Duelist _ Link Evolution\Yu-Gi-Oh! Legacy of the Duelist _ Link Evolution_20210707141247.webm) failed
[09:34:55] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[09:34:55] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'F:\PS5\CREATE\Video Clips\Yu-Gi-Oh! Legacy of the Duelist _ Link Evolution\Yu-Gi-Oh! Legacy of the Duelist _ Link Evolution_20210707141247.webm':
Metadata:
encoder : mkvmux-1.0.0
Duration: 00:07:16.77, start: -0.003000, bitrate: 42444 kb/s
Stream #0:0: Video: vp9 (Profile 0), yuv420p(pc, bt709), 3840x2160, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc (default)
Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp (default)
[09:34:55] scan: decoding previews for title 10
[09:34:55] scan: audio 0x1: opus, rate=48000Hz, bitrate=1 Unknown (Opus) (2.0 ch)
[09:34:56] scan: 10 previews, 3840x2160, 59.940 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[09:34:56] libhb: scan thread found 1 valid title(s)
[09:34:56] Starting Task: Encoding Pass
[09:34:56] Skipping crop/scale filter
[09:34:56] work: only 1 chapter, disabling chapter markers
[09:34:56] job configuration:
[09:34:56] * source
[09:34:56] + F:\PS5\CREATE\Video Clips\Yu-Gi-Oh! Legacy of the Duelist _ Link Evolution\Yu-Gi-Oh! Legacy of the Duelist _ Link Evolution_20210707141247.webm
[09:34:56] + title 10, chapter(s) 1 to 1
[09:34:56] + container: matroska,webm
[09:34:56] + data rate: 42444 kbps
[09:34:56] * destination
[09:34:56] + B:\Video's to Render\Yu-Gi-Oh! Legacy Of The Duelist Link Evolution 20210707141247-10.mp4
[09:34:56] + container: MPEG-4 (libavformat)
[09:34:56] + optimized for HTTP streaming (fast start)
[09:34:56] + align initial A/V stream timestamps
[09:34:56] * video track
[09:34:56] + decoder: vp9
[09:34:56] + filter
[09:34:56] + Framerate Shaper (mode=1)
[09:34:56] + frame rate: 59.940 fps -> constant 59.940 fps
[09:34:56] + Output geometry
[09:34:56] + storage dimensions: 3840 x 2160
[09:34:56] + pixel aspect ratio: 1 : 1
[09:34:56] + display dimensions: 3840 x 2160
[09:34:56] + encoder: H.264 (NVEnc)
[09:34:56] + preset: slow
[09:34:56] + options: keyint=12:min-keyint=1:ref=1:bframes=0:qcomp=0.8:aq-strength=0.1:dct-decimate=0:fast-pskip=0:deblock=-2,-2
[09:34:56] + profile: auto
[09:34:56] + level: auto
[09:34:56] + quality: 2.00 (CQ)
[09:34:56] + color profile: 1-1-1
[09:34:56] * audio track 1
[09:34:56] + decoder: Unknown (Opus) (2.0 ch) (track 1, id 0x1)
[09:34:56] + samplerate: 48000 Hz
[09:34:56] + mixdown: Stereo
[09:34:56] + dither: none
[09:34:56] + encoder: AAC (libavcodec)
[09:34:56] + bitrate: 320 kbps, samplerate: 48000 Hz
[09:34:56] sync: expecting 26179 video frames
[09:34:56] encavcodecInit: H.264 (Nvidia NVENC)
[09:34:56] encavcodec: encoding at rc=vbr 2.00
[09:34:56] encavcodec: encoding with stored aspect 1/1
[h264_nvenc @ 00000179511a8600] Value 0.100000 for parameter 'aq-strength' out of range [1 - 15]
[h264_nvenc @ 00000179511a8600] Error setting option aq-strength to value 0.1.
[09:34:56] encavcodecInit: avcodec_open failed
Failure to initialise thread 'FFMPEG encoder (libavcodec)'
Failure to initialise thread 'FFMPEG encoder (libavcodec)'
[09:34:56] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[09:34:56] vfr: lost time: 0 (0 frames)
[09:34:56] vfr: gained time: 0 (0 frames) (0 not accounted for)
[09:34:56] opus-decoder done: 0 frames, 0 decoder errors
[09:34:56] vp9-decoder done: 0 frames, 0 decoder errors
[09:34:56] sync: got 0 frames, 26179 expected
[09:34:56] Finished work at: Thu Jul 08 09:34:56 2021
[09:34:56] libhb: work result = 3

What Operating System are you running?

Windows 11 Development Preview

What version of HandBrake are you running?

1.3.3

Where did you download HandBrake from?

The Handbrake website.

FlaTechNole21 commented 3 years ago

Full integers only. 1 is the lowest you can use. Also, spatial-aq=1 would also be required.

This is the latest documentation I found: https://handbrake.fr/docs/en/latest/technical/video-nvenc.html

NickDeBeenSAE commented 3 years ago

Full integers only. 1 is the lowest you can use. Also, spatial-aq=1 would also be required.

This is the latest documentation I found: https://handbrake.fr/docs/en/latest/technical/video-nvenc.html

Roger, I will add that to the advanced encoding string.

NickDeBeenSAE commented 3 years ago

Where is Handbrakes Command Line Interface? I found this in the link sent.

NickDeBeenSAE commented 3 years ago

I have Handbrakes CLI, but its useless:

C:\Users\nickd\Desktop>HandbrakeCLI.exe --encopts="option1=value1:option2=value2" [13:43:44] Compile-time hardening features are enabled [13:43:44] Nvenc version 11.1

[13:43:44] hb_init: starting libhb thread [13:43:44] thread 1 started ("libhb") Missing input device. Run HandbrakeCLI.exe --help for syntax.

galad87 commented 3 years ago

It would be better to continue this on https://forum.handbrake.fr or in the Discussions session, this is not an HandBrake issue.