I wish to add some sharpness to a VR180 equirectangular video with unsharp filter. It is simply an mp4, the resolution is 5400x2700
I do not ask resize or format conversion.
I set the encoder to H264 Nvidia NVENC
Encode does not start
I am not skilled with these things, but I also made some attempts with ffmpeg, getting other errors. BUT, using an old command for CPU encoding, that I was using before buying the 1080 Ti, the encoding works. This is the command:
ffmpeg -i "Q:\zyxel4\001.mp4" -c:v libx264 -b:v 36M -vf "unsharp=luma_msize_x=3:luma_msize_y=3:luma_amount=1.5" -s 5400x2700 -dst_range 1 -pix_fmt yuvj420p -color_range 2 -movflags +write_colr -y -c:a copy "Q:\zyxel4\001b.mp4"
Some one say that NVENC hardware encoding works only up to 4k (3840x1920). Is it true ?
Please help.
HandBrake version (e.g., 1.0.0):
1.3.3
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 pro v.2004 build 19041.867
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.19041.0
CPU: AMD Ryzen 5 3600 6-Core Processor
Ram: 32717 MB,
GPU Information:
NVIDIA GeForce GTX 1080 Ti - 27.21.14.6140
Screen: 3840x2160
Temp Dir: C:\Users\Sergio\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Sergio\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[02:40:39] base preset: Production Max (Modified)
[14:40:39] hb_init: starting libhb thread
[14:40:39] Starting work at: Fri Mar 26 14:40:39 2021
[14:40:39] 1 job(s) to process
[14:40:39] 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": false,
"File": "Q:\\Zyxel4\\001-handbrake.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 14,
"Settings": {
"cb-size": 7,
"cb-strength": 0.25,
"y-size": 7,
"y-strength": 0.25
}
},
{
"ID": 12,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "2700",
"width": "5400"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "Q:\\Zyxel4\\001.mp4"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "nvenc_h264",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "slow",
"Profile": "auto",
"Quality": 10.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[14:40:39] CPU: AMD Ryzen 5 3600 6-Core Processor
[14:40:39] - logical processor count: 12
[14:40:39] Intel Quick Sync Video support: no
[14:40:39] hb_scan: path=Q:\Zyxel4\001.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image Q:\Zyxel4\001.mp4
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(Q:\Zyxel4\001.mp4\) failed
[14:40:39] 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
[14:40:39] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Q:\Zyxel4\001.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf57.56.101
Duration: 00:43:45.13, start: 0.000000, bitrate: 36100 kb/s
Stream #0:0(und): Video: hevc (Main) (hev1 / 0x31766568), yuv420p(tv, progressive), 5400x2700, 35891 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 194 kb/s (default)
Metadata:
handler_name : SoundHandler
[14:40:39] scan: decoding previews for title 1
[14:40:39] scan: audio 0x1: aac, rate=48000Hz, bitrate=194195 English (AAC LC) (2.0 ch) (194 kbps)
[14:40:45] scan: 10 previews, 5400x2700, 59.940 fps, autocrop = 0/0/0/0, aspect 2.00:1, PAR 1:1
[14:40:45] scan: supported video decoders: avcodec qsv
[14:40:45] libhb: scan thread found 1 valid title(s)
[14:40:45] Starting Task: Encoding Pass
[14:40:45] Skipping crop/scale filter
[14:40:45] MTFrame thread started for segment 0
[14:40:45] MTFrame thread started for segment 2
[14:40:45] MTFrame thread started for segment 1
[14:40:45] MTFrame thread started for segment 3
[14:40:45] MTFrame thread started for segment 4
[14:40:45] MTFrame thread started for segment 5
[14:40:45] MTFrame thread started for segment 6
[14:40:45] MTFrame thread started for segment 7
[14:40:45] MTFrame thread started for segment 8
[14:40:45] MTFrame thread started for segment 9
[14:40:45] MTFrame thread started for segment 10
[14:40:45] MTFrame thread started for segment 11
[14:40:46] work: only 1 chapter, disabling chapter markers
[14:40:46] job configuration:
[14:40:46] * source
[14:40:46] + Q:\Zyxel4\001.mp4
[14:40:46] + title 1, chapter(s) 1 to 1
[14:40:46] + container: mov,mp4,m4a,3gp,3g2,mj2
[14:40:46] + data rate: 36100 kbps
[14:40:46] * destination
[14:40:46] + Q:\Zyxel4\001-handbrake.mp4
[14:40:46] + container: MPEG-4 (libavformat)
[14:40:46] * video track
[14:40:46] + decoder: hevc
[14:40:46] + bitrate 35891 kbps
[14:40:46] + filters
[14:40:46] + Framerate Shaper (mode=1)
[14:40:46] + frame rate: 59.940 fps -> constant 59.940 fps
[14:40:46] + Sharpen (unsharp) (y-strength=0.25:y-size=7:cb-strength=0.25:cb-size=7)
[14:40:46] + Output geometry
[14:40:46] + storage dimensions: 5400 x 2700
[14:40:46] + pixel aspect ratio: 1 : 1
[14:40:46] + display dimensions: 5400 x 2700
[14:40:46] + encoder: H.264 (NVEnc)
[14:40:46] + preset: slow
[14:40:46] + profile: auto
[14:40:46] + level: auto
[14:40:46] + quality: 10.00 (CQ)
[14:40:46] + color profile: 1-1-1
[14:40:46] * audio track 1
[14:40:46] + decoder: English (AAC LC) (2.0 ch) (194 kbps) (track 1, id 0x1)
[14:40:46] + bitrate: 194 kbps, samplerate: 48000 Hz
[14:40:46] + mixdown: Stereo
[14:40:46] + dither: none
[14:40:46] + encoder: AAC (libavcodec)
[14:40:46] + bitrate: 320 kbps, samplerate: 48000 Hz
[14:40:46] sync: expecting 157350 video frames
[14:40:46] encavcodecInit: H.264 (Nvidia NVENC)
[14:40:46] encavcodec: encoding at rc=vbr 10.00
[14:40:46] encavcodec: encoding with stored aspect 1/1
[h264_nvenc @ 000002b2f22dc9c0] No NVENC capable devices found
[14:40:46] encavcodecInit: avcodec_open failed
Failure to initialise thread 'FFMPEG encoder (libavcodec)'
[14:40:46] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[14:40:46] vfr: lost time: 0 (0 frames)
[14:40:46] vfr: gained time: 0 (0 frames) (0 not accounted for)
[14:40:46] aac-decoder done: 0 frames, 0 decoder errors
[14:40:46] hevc-decoder done: 0 frames, 0 decoder errors
[14:40:46] sync: got 0 frames, 157350 expected
[14:40:46] Finished work at: Fri Mar 26 14:40:46 2021
[14:40:46] libhb: work result = 3
# Encode Completed ...