NVEnc temporal-aq=1 not recognized

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Diversion
Posts: 16
Joined: Mon May 18, 2020 4:11 pm

NVEnc temporal-aq=1 not recognized

Post by Diversion »

Description of problem or question:
Using the h265 NVEnc Encoder, the advanced option of temporal-aq is not recognized by encavencoder



Steps to reproduce the problem (If Applicable):
Set advanced option of "temporal-aq=1" without quotes and run your job.



HandBrake version (e.g., 1.0.0):
Latest stable.



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 Pro x64



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

[13:01:32]        + source: 1920 * 1040, crop (0/0/0/2): 1918 * 1040, scale: 1918 * 1040
[13:01:32]    + Output geometry
[13:01:32]      + storage dimensions: 1918 x 1040
[13:01:32]      + pixel aspect ratio: 1 : 1
[13:01:32]      + display dimensions: 1918 x 1040
[13:01:32]    + encoder: H.265 (NVEnc)
[13:01:32]      + preset:  slow
[13:01:32]      + options: temporal-aq=1
[13:01:32]      + profile: auto
[13:01:32]      + level:   auto
[13:01:32]      + quality: 32.00 (CQ)
[13:01:32]      + color profile: 1-1-1
[13:01:32]  * subtitle track 1, English [VOBSUB] (track 0, id 0x2, Picture) -> Passthrough, Forced Only
[13:01:32]    + name: English
[13:01:32]  * audio track 1
[13:01:32]    + name: aac-lc vrb 192~213
[13:01:32]    + decoder: English (AAC LC) (2.0 ch) (track 1, id 0x1)
[13:01:32]      + samplerate: 48000 Hz
[13:01:32]    + mixdown: Stereo
[13:01:32]    + dither: none
[13:01:32]    + encoder: AAC (libavcodec)
[13:01:32]      + bitrate: 128 kbps, samplerate: 48000 Hz
[13:01:32] sync: expecting 158858 video frames
[13:01:32] encavcodecInit: H.265 (Nvidia NVENC)
[13:01:32] encavcodec: encoding at rc=vbr 32.00
[13:01:32] encavcodec: encoding with stored aspect 1/1
[13:01:32] encavcodecInit: Unknown avcodec option temporal-aq
[13:01:32] sync: first pts video is 0
[13:01:32] sync: "00:00:00.054" (1) at frame 1 time 0
[13:01:32] sync: first pts audio 0x1 is 0

User avatar
Rodeo
HandBrake Team
Posts: 12531
Joined: Tue Mar 03, 2009 8:55 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Rodeo »

For the NVEnc HEVC encoder, does this work instead?

Code: Select all

temporal_aq=1

Woodstock
Veteran User
Posts: 3660
Joined: Tue Aug 27, 2013 6:39 am

Re: NVEnc temporal-aq=1 not recognized

Post by Woodstock »

By "Latest" in your response to the version number, what do you mean? Current version 1.3.2? Nightly build from last night?

Had you provided the whole log, instead of edited highlights, it would be easier to help you.

Diversion
Posts: 16
Joined: Mon May 18, 2020 4:11 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Diversion »

Woodstock wrote:
Mon May 18, 2020 5:37 pm
By "Latest" in your response to the version number, what do you mean? Current version 1.3.2? Nightly build from last night?

Had you provided the whole log, instead of edited highlights, it would be easier to help you.
1.3.2 (main)..

Diversion
Posts: 16
Joined: Mon May 18, 2020 4:11 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Diversion »

Rodeo wrote:
Mon May 18, 2020 5:35 pm
For the NVEnc HEVC encoder, does this work instead?

Code: Select all

temporal_aq=1
Negative, same thing.

Woodstock
Veteran User
Posts: 3660
Joined: Tue Aug 27, 2013 6:39 am

Re: NVEnc temporal-aq=1 not recognized

Post by Woodstock »

In the full log, which you still haven't provided, there is information on the parameters recognized and passed to the encoder. And about installed hardware and drivers. You obviously HAVE the log, since you cut part of it out to post here.

Have to wonder at this point that there is something in the log you don't want anyone to know about.

Diversion
Posts: 16
Joined: Mon May 18, 2020 4:11 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Diversion »

Woodstock wrote:
Mon May 18, 2020 7:18 pm
In the full log, which you still haven't provided, there is information on the parameters recognized and passed to the encoder. And about installed hardware and drivers. You obviously HAVE the log, since you cut part of it out to post here.

Have to wonder at this point that there is something in the log you don't want anyone to know about.
Here you go; have at it.

Code: Select all

HandBrake 1.3.2 (2020050300)
OS: Microsoft Windows NT 10.0.18363.0
CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Ram: 32700 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 6GB - 26.21.14.4587
Screen: 2560x1440
Temp Dir: C:\Users\User\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\User\AppData\Roaming\HandBrake

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



# Starting Encode ...

[03:47:31] base preset: Fast 1080p30 (Modified)
[15:47:31] hb_init: starting libhb thread
[15:47:31] Starting work at: Mon May 18 15:47:31 2020
[15:47:31] 1 job(s) to process
[15:47:31] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 128,
        "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": [],
    "ChapterMarkers": false,
    "AlignAVStart": true,
    "File": "C:\\Users\\User\\Desktop\\Video-1.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "2",
          "crop-right": "2",
          "crop-top": "0",
          "height": "1040",
          "width": "1916"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 20
    },
    "Title": 1,
    "Path": "C:\\Users\\User\\Downloads\\video.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 0,
        "Offset": 0,
        "Track": -1,
        "Import": {
          "Codeset": "UTF-8",
          "Filename": "C:\\Users\\User\\Downloads\\English.srt",
          "Language": "eng",
          "Format": "SRT"
        }
      }
    ]
  },
  "Video": {
    "Encoder": "nvenc_h265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "temporal-aq=1",
    "Preset": "slow",
    "Profile": "auto",
    "Quality": 32.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[15:47:31] CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
[15:47:31]  - Intel microarchitecture Kaby Lake
[15:47:31]  - logical processor count: 16
[15:47:31] Intel Quick Sync Video support: no
[15:47:31] hb_scan: path=C:\Users\User\Downloads\video.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\User\Downloads\video.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(C:\Users\User\Downloads\video.mp4\) failed
[15:47:31] 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
[15:47:31] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\User\Downloads\video.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : video.mp4
    encoder         : Lavf56.3.100
    comment         : 
  Duration: 01:40:45.92, start: 0.000000, bitrate: 2730 kb/s
    Chapter #0:0: start 0.000000, end 284.410000
    Metadata:
      title           : 00:00:00.000
    Chapter #0:1: start 284.410000, end 543.252000
    Metadata:
      title           : 00:04:44.367
    Chapter #0:2: start 543.252000, end 996.789000
    Metadata:
      title           : 00:09:03.209
    Chapter #0:3: start 996.789000, end 1263.805000
    Metadata:
      title           : 00:16:36.746
    Chapter #0:4: start 1263.805000, end 1646.688000
    Metadata:
      title           : 00:21:03.762
    Chapter #0:5: start 1646.688000, end 2111.361000
    Metadata:
      title           : 00:27:26.645
    Chapter #0:6: start 2111.361000, end 2222.221000
    Metadata:
      title           : 00:35:11.318
    Chapter #0:7: start 2222.221000, end 2422.046000
    Metadata:
      title           : 00:37:02.178
    Chapter #0:8: start 2422.046000, end 2839.379000
    Metadata:
      title           : 00:40:22.003
    Chapter #0:9: start 2839.379000, end 3218.258000
    Metadata:
      title           : 00:47:19.336
    Chapter #0:10: start 3218.258000, end 3569.692000
    Metadata:
      title           : 00:53:38.215
    Chapter #0:11: start 3569.692000, end 3719.175000
    Metadata:
      title           : 00:59:29.649
    Chapter #0:12: start 3719.175000, end 3889.554000
    Metadata:
      title           : 01:01:59.132
    Chapter #0:13: start 3889.554000, end 4307.346000
    Metadata:
      title           : 01:04:49.511
    Chapter #0:14: start 4307.346000, end 4500.330000
    Metadata:
      title           : 01:11:47.303
    Chapter #0:15: start 4500.330000, end 4956.161000
    Metadata:
      title           : 01:15:00.287
    Chapter #0:16: start 4956.161000, end 5126.498000
    Metadata:
      title           : 01:22:36.118
    Chapter #0:17: start 5126.498000, end 5597.969000
    Metadata:
      title           : 01:25:26.455
    Chapter #0:18: start 5597.969000, end 5734.146000
    Metadata:
      title           : 01:33:17.926
    Chapter #0:19: start 5734.146000, end 6045.832000
    Metadata:
      title           : 01:35:34.103
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1040 [SAR 1:1 DAR 24:13], 2500 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 223 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Data: bin_data (text / 0x74786574)
    Metadata:
      handler_name    : SubtitleHandler
[15:47:31] scan: decoding previews for title 1
[15:47:31] scan: audio 0x1: aac, rate=48000Hz, bitrate=223998 English (AAC LC) (5.1 ch) (223 kbps)
[15:47:32] scan: 10 previews, 1920x1040, 23.976 fps, autocrop = 0/0/2/2, aspect 16:9, PAR 1:1
[15:47:32] scan: supported video decoders: avcodec qsv
[15:47:32] libhb: scan thread found 1 valid title(s)
[15:47:32] Starting Task: Encoding Pass
[15:47:32] Skipping vfr filter
[15:47:32] job configuration:
[15:47:32]  * source
[15:47:32]    + C:\Users\User\Downloads\video.mp4
[15:47:32]    + title 1, chapter(s) 1 to 20
[15:47:32]    + container: mov,mp4,m4a,3gp,3g2,mj2
[15:47:32]    + data rate: 2730 kbps
[15:47:32]  * destination
[15:47:32]    + C:\Users\User\Desktop\Video-1.mp4
[15:47:32]    + container: MPEG-4 (libavformat)
[15:47:32]      + align initial A/V stream timestamps
[15:47:32]  * video track
[15:47:32]    + decoder: h264
[15:47:32]      + bitrate 2500 kbps
[15:47:32]    + filters
[15:47:32]      + Crop and Scale (width=1916:height=1040:crop-top=0:crop-bottom=0:crop-left=2:crop-right=2)
[15:47:32]        + source: 1920 * 1040, crop (0/0/2/2): 1916 * 1040, scale: 1916 * 1040
[15:47:32]    + Output geometry
[15:47:32]      + storage dimensions: 1916 x 1040
[15:47:32]      + pixel aspect ratio: 1 : 1
[15:47:32]      + display dimensions: 1916 x 1040
[15:47:32]    + encoder: H.265 (NVEnc)
[15:47:32]      + preset:  slow
[15:47:32]      + options: temporal-aq=1
[15:47:32]      + profile: auto
[15:47:32]      + level:   auto
[15:47:32]      + quality: 32.00 (CQ)
[15:47:32]      + color profile: 1-1-1
[15:47:32]  * subtitle track 1, English [SRT] (track 0, id 0xff000000, Text) -> Passthrough, offset: 0, charset: UTF-8
[15:47:32]  * audio track 1
[15:47:32]    + decoder: English (AAC LC) (5.1 ch) (223 kbps) (track 1, id 0x1)
[15:47:32]      + bitrate: 223 kbps, samplerate: 48000 Hz
[15:47:32]    + mixdown: Stereo
[15:47:32]    + dither: none
[15:47:32]    + encoder: AAC (libavcodec)
[15:47:32]      + bitrate: 128 kbps, samplerate: 48000 Hz
[15:47:32] sync: expecting 144957 video frames
[15:47:32] encavcodecInit: H.265 (Nvidia NVENC)
[15:47:32] encavcodec: encoding at rc=vbr 32.00
[15:47:32] encavcodec: encoding with stored aspect 1/1
[15:47:32] encavcodecInit: Unknown avcodec option temporal-aq
[15:47:32] sync: first pts video is 0
[15:47:32] sync: "00:00:00.000" (1) at frame 1 time 0
[15:47:32] sync: first pts audio 0x1 is 0
[15:47:35] sync: first pts subtitle 0xff000000 is 3303360
Last edited by Rodeo on Tue May 19, 2020 1:24 pm, edited 2 times in total.
Reason: Logs in between [code][/code] blocks please

Woodstock
Veteran User
Posts: 3660
Joined: Tue Aug 27, 2013 6:39 am

Re: NVEnc temporal-aq=1 not recognized

Post by Woodstock »

From what I'm reading, temporal-aq was an h264-only option added in generation 3 of the NVenc engine; I do not see it being available for h265. That would explain the line about "encavcodecInit: Unknown avcodec option temporal-aq".

Does it work if you switch to nvenc_h264?

Diversion
Posts: 16
Joined: Mon May 18, 2020 4:11 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Diversion »

Woodstock wrote:
Mon May 18, 2020 8:58 pm
From what I'm reading, temporal-aq was an h264-only option added in generation 3 of the NVenc engine; I do not see it being available for h265. That would explain the line about "encavcodecInit: Unknown avcodec option temporal-aq".

Does it work if you switch to nvenc_h264?
No errors, so I'm assuming it passed the option through on h264_nvenc. So I have a Tensor Nvidia GPU I can test to see if it's a generational issue. I'll update shortly.

Diversion
Posts: 16
Joined: Mon May 18, 2020 4:11 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Diversion »

I was thinking it might work with h265 on the newer Turing* Nvidia GPUs which have improved h264/265 but it didn't either.. Just to let you, and or the Handbrake team to know, it shows temporal-aq as a NvEnc H265 option:

https://i.imgur.com/RsRyhOf.png

Is this not correct?

User avatar
Rodeo
HandBrake Team
Posts: 12531
Joined: Tue Mar 03, 2009 8:55 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Rodeo »

Can you show the log for the encode with the underscore instead of the hyphen?

Diversion
Posts: 16
Joined: Mon May 18, 2020 4:11 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Diversion »

Rodeo wrote:
Mon May 18, 2020 11:42 pm
Can you show the log for the encode with the underscore instead of the hyphen?
Here you go; it actually doesn't even encode, it just goes to "# Encode Completed ..."

Code: Select all

HandBrake 1.3.2 (2020050300)
OS: Microsoft Windows NT 10.0.18363.0
CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Ram: 32700 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 6GB - 26.21.14.4587
Screen: 2560x1440
Temp Dir: C:\Users\User\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\User\AppData\Roaming\HandBrake

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



# Starting Encode ...

[07:47:48] base preset: Fast 1080p30 (Modified)
[19:47:48] hb_init: starting libhb thread
[19:47:48] Starting work at: Mon May 18 19:47:48 2020
[19:47:48] 1 job(s) to process
[19:47:48] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 128,
        "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": [],
    "ChapterMarkers": false,
    "AlignAVStart": true,
    "File": "C:\\Users\\User\\Desktop\\Video-1.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "2",
          "crop-right": "2",
          "crop-top": "0",
          "height": "1040",
          "width": "1916"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 20
    },
    "Title": 1,
    "Path": "C:\\Users\\User\\Downloads\\video.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "nvenc_h265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "temporal_aq=1",
    "Preset": "slow",
    "Profile": "auto",
    "Quality": 32.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[19:47:48] CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
[19:47:48]  - Intel microarchitecture Kaby Lake
[19:47:48]  - logical processor count: 16
[19:47:48] Intel Quick Sync Video support: no
[19:47:48] hb_scan: path=C:\Users\User\Downloads\video.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\User\Downloads\\video.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(C:\Users\User\Downloads\video.mp4\) failed
[19:47:48] 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
[19:47:48] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\User\Downloads\video.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : 
    encoder         : Lavf56.3.100
    comment         :  
  Duration: 01:40:45.92, start: 0.000000, bitrate: 2730 kb/s
    Chapter #0:0: start 0.000000, end 284.410000
    Metadata:
      title           : 00:00:00.000
    Chapter #0:1: start 284.410000, end 543.252000
    Metadata:
      title           : 00:04:44.367
    Chapter #0:2: start 543.252000, end 996.789000
    Metadata:
      title           : 00:09:03.209
    Chapter #0:3: start 996.789000, end 1263.805000
    Metadata:
      title           : 00:16:36.746
    Chapter #0:4: start 1263.805000, end 1646.688000
    Metadata:
      title           : 00:21:03.762
    Chapter #0:5: start 1646.688000, end 2111.361000
    Metadata:
      title           : 00:27:26.645
    Chapter #0:6: start 2111.361000, end 2222.221000
    Metadata:
      title           : 00:35:11.318
    Chapter #0:7: start 2222.221000, end 2422.046000
    Metadata:
      title           : 00:37:02.178
    Chapter #0:8: start 2422.046000, end 2839.379000
    Metadata:
      title           : 00:40:22.003
    Chapter #0:9: start 2839.379000, end 3218.258000
    Metadata:
      title           : 00:47:19.336
    Chapter #0:10: start 3218.258000, end 3569.692000
    Metadata:
      title           : 00:53:38.215
    Chapter #0:11: start 3569.692000, end 3719.175000
    Metadata:
      title           : 00:59:29.649
    Chapter #0:12: start 3719.175000, end 3889.554000
    Metadata:
      title           : 01:01:59.132
    Chapter #0:13: start 3889.554000, end 4307.346000
    Metadata:
      title           : 01:04:49.511
    Chapter #0:14: start 4307.346000, end 4500.330000
    Metadata:
      title           : 01:11:47.303
    Chapter #0:15: start 4500.330000, end 4956.161000
    Metadata:
      title           : 01:15:00.287
    Chapter #0:16: start 4956.161000, end 5126.498000
    Metadata:
      title           : 01:22:36.118
    Chapter #0:17: start 5126.498000, end 5597.969000
    Metadata:
      title           : 01:25:26.455
    Chapter #0:18: start 5597.969000, end 5734.146000
    Metadata:
      title           : 01:33:17.926
    Chapter #0:19: start 5734.146000, end 6045.832000
    Metadata:
      title           : 01:35:34.103
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1040 [SAR 1:1 DAR 24:13], 2500 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 223 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Data: bin_data (text / 0x74786574)
    Metadata:
      handler_name    : SubtitleHandler
[19:47:48] scan: decoding previews for title 1
[19:47:48] scan: audio 0x1: aac, rate=48000Hz, bitrate=223998 English (AAC LC) (5.1 ch) (223 kbps)
[19:47:49] scan: 10 previews, 1920x1040, 23.976 fps, autocrop = 0/0/2/2, aspect 16:9, PAR 1:1
[19:47:49] scan: supported video decoders: avcodec qsv
[19:47:49] libhb: scan thread found 1 valid title(s)
[19:47:49] Starting Task: Encoding Pass
[19:47:49] Skipping vfr filter
[19:47:49] job configuration:
[19:47:49]  * source
[19:47:49]    + C:\Users\User\Downloads\video.mp4
[19:47:49]    + title 1, chapter(s) 1 to 20
[19:47:49]    + container: mov,mp4,m4a,3gp,3g2,mj2
[19:47:49]    + data rate: 2730 kbps
[19:47:49]  * destination
[19:47:49]    + C:\Users\User\Desktop\Video-1.mp4
[19:47:49]    + container: MPEG-4 (libavformat)
[19:47:49]      + align initial A/V stream timestamps
[19:47:49]  * video track
[19:47:49]    + decoder: h264
[19:47:49]      + bitrate 2500 kbps
[19:47:49]    + filters
[19:47:49]      + Crop and Scale (width=1916:height=1040:crop-top=0:crop-bottom=0:crop-left=2:crop-right=2)
[19:47:49]        + source: 1920 * 1040, crop (0/0/2/2): 1916 * 1040, scale: 1916 * 1040
[19:47:49]    + Output geometry
[19:47:49]      + storage dimensions: 1916 x 1040
[19:47:49]      + pixel aspect ratio: 1 : 1
[19:47:49]      + display dimensions: 1916 x 1040
[19:47:49]    + encoder: H.265 (NVEnc)
[19:47:49]      + preset:  slow
[19:47:49]      + options: temporal_aq=1
[19:47:49]      + profile: auto
[19:47:49]      + level:   auto
[19:47:49]      + quality: 32.00 (CQ)
[19:47:49]      + color profile: 1-1-1
[19:47:49]  * audio track 1
[19:47:49]    + decoder: English (AAC LC) (5.1 ch) (223 kbps) (track 1, id 0x1)
[19:47:49]      + bitrate: 223 kbps, samplerate: 48000 Hz
[19:47:49]    + mixdown: Stereo
[19:47:49]    + dither: none
[19:47:49]    + encoder: AAC (libavcodec)
[19:47:49]      + bitrate: 128 kbps, samplerate: 48000 Hz
[19:47:49] sync: expecting 144957 video frames
[19:47:49] encavcodecInit: H.265 (Nvidia NVENC)
[19:47:49] encavcodec: encoding at rc=vbr 32.00
[19:47:49] encavcodec: encoding with stored aspect 1/1
[hevc_nvenc @ 000001cec0c7de80] No NVENC capable devices found
[19:47:49] encavcodecInit: avcodec_open failed
Failure to initialise thread 'FFMPEG encoder (libavcodec)'
[19:47:49] aac-decoder done: 0 frames, 0 decoder errors
[19:47:49] h264-decoder done: 0 frames, 0 decoder errors
[19:47:49] sync: got 0 frames, 144957 expected
[19:47:49] Finished work at: Mon May 18 19:47:49 2020
[19:47:49] libhb: work result = 3

# Encode Completed
... (((((THIS IS NOT COMPLETE, IT JUST STOPS AFTER STARTING JOB)))))
Last edited by Rodeo on Tue May 19, 2020 1:15 pm, edited 1 time in total.
Reason: Logs in between [code][/code] blocks please

User avatar
BradleyS
Moderator
Posts: 1859
Joined: Thu Aug 09, 2007 12:16 pm

Re: NVEnc temporal-aq=1 not recognized

Post by BradleyS »

I am seeing this here as well with a 1080 Ti. Perhaps a bug. It definitely exists in FFmpeg: https://github.com/FFmpeg/FFmpeg/blob/n ... hevc.c#L99

Diversion
Posts: 16
Joined: Mon May 18, 2020 4:11 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Diversion »

BradleyS wrote:
Tue May 19, 2020 1:46 am
I am seeing this here as well with a 1080 Ti. Perhaps a bug. It definitely exists in FFmpeg: https://github.com/FFmpeg/FFmpeg/blob/n ... hevc.c#L99
My guess is Handbrake isn't passing the argument properly .. My second "wonder" if temporal-aq is even worth it.. Does it help compression, like helps give more quality at a lower bitrate? That's what I wanted to try.. I'm not much of a command line ffmpeg person so i'd rather just see it work in Handbrake to decide if I want to use it or not with nvenc. .

User avatar
BradleyS
Moderator
Posts: 1859
Joined: Thu Aug 09, 2007 12:16 pm

Re: NVEnc temporal-aq=1 not recognized

Post by BradleyS »

Indeed. To be clear I wasn't suggesting using FFmpeg as much as noting that HandBrake does for this purpose, and the option should be available for use. Will investigate.

User avatar
Rodeo
HandBrake Team
Posts: 12531
Joined: Tue Mar 03, 2009 8:55 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Rodeo »

Diversion wrote:
Mon May 18, 2020 11:52 pm
Rodeo wrote:
Mon May 18, 2020 11:42 pm
Can you show the log for the encode with the underscore instead of the hyphen?
Here you go; it actually doesn't even encode, it just goes to "# Encode Completed ..."

Code: Select all

HandBrake 1.3.2 (2020050300)
OS: Microsoft Windows NT 10.0.18363.0
CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Ram: 32700 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 6GB - 26.21.14.4587
Screen: 2560x1440
Temp Dir: C:\Users\User\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\User\AppData\Roaming\HandBrake

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



# Starting Encode ...

[07:47:48] base preset: Fast 1080p30 (Modified)
[19:47:48] hb_init: starting libhb thread
[19:47:48] Starting work at: Mon May 18 19:47:48 2020
[19:47:48] 1 job(s) to process
[19:47:48] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 128,
        "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": [],
    "ChapterMarkers": false,
    "AlignAVStart": true,
    "File": "C:\\Users\\User\\Desktop\\Video-1.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "2",
          "crop-right": "2",
          "crop-top": "0",
          "height": "1040",
          "width": "1916"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 20
    },
    "Title": 1,
    "Path": "C:\\Users\\User\\Downloads\\video.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "nvenc_h265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "temporal_aq=1",
    "Preset": "slow",
    "Profile": "auto",
    "Quality": 32.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[19:47:48] CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
[19:47:48]  - Intel microarchitecture Kaby Lake
[19:47:48]  - logical processor count: 16
[19:47:48] Intel Quick Sync Video support: no
[19:47:48] hb_scan: path=C:\Users\User\Downloads\video.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\User\Downloads\\video.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(C:\Users\User\Downloads\video.mp4\) failed
[19:47:48] 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
[19:47:48] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\User\Downloads\video.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : 
    encoder         : Lavf56.3.100
    comment         :  
  Duration: 01:40:45.92, start: 0.000000, bitrate: 2730 kb/s
    Chapter #0:0: start 0.000000, end 284.410000
    Metadata:
      title           : 00:00:00.000
    Chapter #0:1: start 284.410000, end 543.252000
    Metadata:
      title           : 00:04:44.367
    Chapter #0:2: start 543.252000, end 996.789000
    Metadata:
      title           : 00:09:03.209
    Chapter #0:3: start 996.789000, end 1263.805000
    Metadata:
      title           : 00:16:36.746
    Chapter #0:4: start 1263.805000, end 1646.688000
    Metadata:
      title           : 00:21:03.762
    Chapter #0:5: start 1646.688000, end 2111.361000
    Metadata:
      title           : 00:27:26.645
    Chapter #0:6: start 2111.361000, end 2222.221000
    Metadata:
      title           : 00:35:11.318
    Chapter #0:7: start 2222.221000, end 2422.046000
    Metadata:
      title           : 00:37:02.178
    Chapter #0:8: start 2422.046000, end 2839.379000
    Metadata:
      title           : 00:40:22.003
    Chapter #0:9: start 2839.379000, end 3218.258000
    Metadata:
      title           : 00:47:19.336
    Chapter #0:10: start 3218.258000, end 3569.692000
    Metadata:
      title           : 00:53:38.215
    Chapter #0:11: start 3569.692000, end 3719.175000
    Metadata:
      title           : 00:59:29.649
    Chapter #0:12: start 3719.175000, end 3889.554000
    Metadata:
      title           : 01:01:59.132
    Chapter #0:13: start 3889.554000, end 4307.346000
    Metadata:
      title           : 01:04:49.511
    Chapter #0:14: start 4307.346000, end 4500.330000
    Metadata:
      title           : 01:11:47.303
    Chapter #0:15: start 4500.330000, end 4956.161000
    Metadata:
      title           : 01:15:00.287
    Chapter #0:16: start 4956.161000, end 5126.498000
    Metadata:
      title           : 01:22:36.118
    Chapter #0:17: start 5126.498000, end 5597.969000
    Metadata:
      title           : 01:25:26.455
    Chapter #0:18: start 5597.969000, end 5734.146000
    Metadata:
      title           : 01:33:17.926
    Chapter #0:19: start 5734.146000, end 6045.832000
    Metadata:
      title           : 01:35:34.103
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1040 [SAR 1:1 DAR 24:13], 2500 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 223 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Data: bin_data (text / 0x74786574)
    Metadata:
      handler_name    : SubtitleHandler
[19:47:48] scan: decoding previews for title 1
[19:47:48] scan: audio 0x1: aac, rate=48000Hz, bitrate=223998 English (AAC LC) (5.1 ch) (223 kbps)
[19:47:49] scan: 10 previews, 1920x1040, 23.976 fps, autocrop = 0/0/2/2, aspect 16:9, PAR 1:1
[19:47:49] scan: supported video decoders: avcodec qsv
[19:47:49] libhb: scan thread found 1 valid title(s)
[19:47:49] Starting Task: Encoding Pass
[19:47:49] Skipping vfr filter
[19:47:49] job configuration:
[19:47:49]  * source
[19:47:49]    + C:\Users\User\Downloads\video.mp4
[19:47:49]    + title 1, chapter(s) 1 to 20
[19:47:49]    + container: mov,mp4,m4a,3gp,3g2,mj2
[19:47:49]    + data rate: 2730 kbps
[19:47:49]  * destination
[19:47:49]    + C:\Users\User\Desktop\Video-1.mp4
[19:47:49]    + container: MPEG-4 (libavformat)
[19:47:49]      + align initial A/V stream timestamps
[19:47:49]  * video track
[19:47:49]    + decoder: h264
[19:47:49]      + bitrate 2500 kbps
[19:47:49]    + filters
[19:47:49]      + Crop and Scale (width=1916:height=1040:crop-top=0:crop-bottom=0:crop-left=2:crop-right=2)
[19:47:49]        + source: 1920 * 1040, crop (0/0/2/2): 1916 * 1040, scale: 1916 * 1040
[19:47:49]    + Output geometry
[19:47:49]      + storage dimensions: 1916 x 1040
[19:47:49]      + pixel aspect ratio: 1 : 1
[19:47:49]      + display dimensions: 1916 x 1040
[19:47:49]    + encoder: H.265 (NVEnc)
[19:47:49]      + preset:  slow
[19:47:49]      + options: temporal_aq=1
[19:47:49]      + profile: auto
[19:47:49]      + level:   auto
[19:47:49]      + quality: 32.00 (CQ)
[19:47:49]      + color profile: 1-1-1
[19:47:49]  * audio track 1
[19:47:49]    + decoder: English (AAC LC) (5.1 ch) (223 kbps) (track 1, id 0x1)
[19:47:49]      + bitrate: 223 kbps, samplerate: 48000 Hz
[19:47:49]    + mixdown: Stereo
[19:47:49]    + dither: none
[19:47:49]    + encoder: AAC (libavcodec)
[19:47:49]      + bitrate: 128 kbps, samplerate: 48000 Hz
[19:47:49] sync: expecting 144957 video frames
[19:47:49] encavcodecInit: H.265 (Nvidia NVENC)
[19:47:49] encavcodec: encoding at rc=vbr 32.00
[19:47:49] encavcodec: encoding with stored aspect 1/1
[hevc_nvenc @ 000001cec0c7de80] No NVENC capable devices found
[19:47:49] encavcodecInit: avcodec_open failed
Failure to initialise thread 'FFMPEG encoder (libavcodec)'
[19:47:49] aac-decoder done: 0 frames, 0 decoder errors
[19:47:49] h264-decoder done: 0 frames, 0 decoder errors
[19:47:49] sync: got 0 frames, 144957 expected
[19:47:49] Finished work at: Mon May 18 19:47:49 2020
[19:47:49] libhb: work result = 3

# Encode Completed
... (((((THIS IS NOT COMPLETE, IT JUST STOPS AFTER STARTING JOB)))))
This log doesn't have any "unknown avcodec option" error, so we're passing the option correctly. The HandBrake documentation needs updating to reflect the HEVC-specific syntax (what there FFmpeg thinking, BTW).

And yes, the encode doesn't start, but for a completely different issue:

Code: Select all

[hevc_nvenc @ 000001cec0c7de80] No NVENC capable devices found
Seems possibly like an FFmpeg bug, or poor error propagation. Unfortunately, I don't have any NVEnc-capable hardware, so my ability to debug this is fairly nonexistent.

User avatar
BradleyS
Moderator
Posts: 1859
Joined: Thu Aug 09, 2007 12:16 pm

Re: NVEnc temporal-aq=1 not recognized

Post by BradleyS »

FFmpeg master branch accepts underscore or dash.

The issue I am seeing is the same as:

Code: Select all

 [15:47:32] encavcodecInit: Unknown avcodec option temporal-aq
And related failure using an underscore. I'll have to recheck this when I have time.

User avatar
Rodeo
HandBrake Team
Posts: 12531
Joined: Tue Mar 03, 2009 8:55 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Rodeo »

BradleyS wrote:
Tue May 19, 2020 1:34 pm
FFmpeg master branch accepts underscore or dash.

The issue I am seeing is the same as:

Code: Select all

 [15:47:32] encavcodecInit: Unknown avcodec option temporal-aq
Yes, but HandBrake isn't using FFmpeg master, but 4.2.2. So the error when using the dash (and the HEVC encoder) is to be expected ( also, HandBrake's documentation is incorrect until we release with a newer FFmpeg :P ).

The error when using the underscored needs investigating (though I suspect it's not a HandBrake bug at all, but lies with either FFmpeg or possibly even NVEnc).

User avatar
BradleyS
Moderator
Posts: 1859
Joined: Thu Aug 09, 2007 12:16 pm

Re: NVEnc temporal-aq=1 not recognized

Post by BradleyS »

Rodeo wrote:
Tue May 19, 2020 2:41 pm
Yes, but HandBrake isn't using FFmpeg master, but 4.2.2. So the error when using the dash (and the HEVC encoder) is to be expected ( also, HandBrake's documentation is incorrect until we release with a newer FFmpeg :P ).

The error when using the underscored needs investigating (though I suspect it's not a HandBrake bug at all, but lies with either FFmpeg or possibly even NVEnc).
I know. :)

Only spatial-_aq was listed before I did the last documentation pass and I stalled adding the temporal distinction because I came across this bug and went down a rabbit hole trying to fix. I've not been physically well as of late, so lost track of things. If I'm not making much sense, that's also why. Getting better. :wink:

I'll fix the documentation in the meantime, here.

Diversion
Posts: 16
Joined: Mon May 18, 2020 4:11 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Diversion »

So indeed it's temporal_aq=1 but it bombs the encoding out with no nvenc capable device found on my end.. I wonder if the temporal_aq option only works with the newer Turing NVEnc.. I have access to a Turing gpu to test and i'll report back soon. Volta NVEnc is based on Pascal (basically the same) so I wouldn't be surprised if its not supported.

User avatar
Rodeo
HandBrake Team
Posts: 12531
Joined: Tue Mar 03, 2009 8:55 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Rodeo »

That's my guess, though FFmpeg should perhaps try to do a better job of reporting what's actually happening.

Diversion
Posts: 16
Joined: Mon May 18, 2020 4:11 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Diversion »

Yup - temporal_aq=1 works on a Turing based Nvidia GPU; the Handbrake documentation should probably go into detail about the differences between the older NVenc and the newer NVEnc and which commands work for both:


[12:23:54] + container: Matroska (libavformat)
[12:23:54] * video track
[12:23:54] + decoder: hevc
[12:23:54] + filters
[12:23:54] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[12:23:54] + source: 3840 * 1608, crop (0/0/0/0): 3840 * 1608, scale: 1920 * 1080
[12:23:54] + Output geometry
[12:23:54] + storage dimensions: 1920 x 1080
[12:23:54] + pixel aspect ratio: 90 : 67
[12:23:54] + display dimensions: 2579 x 1080
[12:23:54] + encoder: H.265 (NVEnc)
[12:23:54] + preset: slow
[12:23:54] + options: temporal_aq=1
[12:23:54] + profile: auto
[12:23:54] + level: auto
[12:23:54] + quality: 30.00 (CQ)
[12:23:54] + color profile: 1-1-1
[12:23:54] * subtitle track 1, English [UTF-8] (track 0, id 0x2, Text) -> Passthrough
[12:23:54] + name: English
[12:23:54] * audio track 1
[12:23:54] + decoder: Unknown (AAC LC) (5.1 ch) (track 1, id 0x1)
[12:23:54] + samplerate: 48000 Hz
[12:23:54] + mixdown: Stereo
[12:23:54] + dither: none
[12:23:54] + encoder: AAC (libavcodec)
[12:23:54] + bitrate: 128 kbps, samplerate: 48000 Hz
[12:23:54] sync: expecting 156666 video frames
[12:23:54] encavcodecInit: H.265 (Nvidia NVENC)
[12:23:54] encavcodec: encoding at rc=vbr 30.00
[12:23:54] encavcodec: encoding with stored aspect 90/67
[12:23:55] sync: first pts video is 0
[12:23:55] sync: Chapter 1 at frame 1 time 0
[12:23:55] sync: first pts audio 0x1 is 0
[12:24:06] sync: first pts subtitle 0x2 is 2909250

Diversion
Posts: 16
Joined: Mon May 18, 2020 4:11 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Diversion »

Oh here's the hardware info from that machine:

OS: Microsoft Windows NT 6.2.9200.0
CPU: AMD Ryzen 7 4800H with Radeon Graphics
Ram: 15789 MB,
GPU Information:
NVIDIA GeForce GTX 1660 Ti - 26.21.14.4587 <---- 1660 and higher cards support the "latest" NVenc (1650ti and below are Volta/Pascal based NVEnc)
AMD Radeon(TM) Graphics - 26.20.14001.64002
Screen: 1920x1080

User avatar
BradleyS
Moderator
Posts: 1859
Joined: Thu Aug 09, 2007 12:16 pm

Re: NVEnc temporal-aq=1 not recognized

Post by BradleyS »

Thanks very much for this. FFmpeg should be handling this better (perhaps there's a patch on master?); in the meantime, I'll get the documentation squared away.

Diversion
Posts: 16
Joined: Mon May 18, 2020 4:11 pm

Re: NVEnc temporal-aq=1 not recognized

Post by Diversion »

BradleyS wrote:
Tue May 19, 2020 4:32 pm
Thanks very much for this. FFmpeg should be handling this better (perhaps there's a patch on master?); in the meantime, I'll get the documentation squared away.
Glad I could help get to the bottom of this! Where could I help with the documentation of x265 vs NVEnc guides? I'd love to provide samples of the differences of how good NVenc (Latest generation) is against x265 in a few scenarios. Especially where time of the essence; NVEnc is an upwards of 4x times for probably 99% of the quality of x265.. pending you have the right settings and hardware. Also CQ acts MUCH MUCH differently for NVEnc vs CQ (RF) on x265.

Post Reply