NVenc reference frames

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.
Post Reply
MaxOne72
Posts: 4
Joined: Wed Jul 01, 2020 10:39 pm

NVenc reference frames

Post by MaxOne72 »

Description of problem or question:
Is there any way of in creasing reference frames when using NVenc encoder?



Steps to reproduce the problem (If Applicable):
Encoded several different sources.



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 20H2



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.19042.0
CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
Ram: 16344 MB, 
GPU Information:
  NVIDIA GeForce GTX 970 - 27.21.14.6089
Screen: 1920x1080
Temp Dir: C:\Users\MaxOne72\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\MaxOne72\AppData\Roaming\HandBrake

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


# Starting Encode ...

[11:41:44] base preset: MKV to MP4 1920x1080, 5.1 ACC 448 (Modified)
[23:41:44] hb_init: starting libhb thread
[23:41:44] Starting work at: Sun Dec 27 23:41:44 2020
[23:41:44] 1 job(s) to process
[23:41:44] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 448,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "Surround 5.1",
        "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": "G:\\Video Ripps\\Encoded Video\\TV\\Rick and Morty\\Season 4\\Rick And Morty S04e01.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": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 5
    },
    "Title": 1,
    "Path": "G:\\Video Ripps\\Orginal Ripps\\TV\\Rick and Morty\\Season 4\\Rick and Morty S04E01.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "nvenc_h264",
    "Level": "auto",
    "Bitrate": 3875,
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "slow",
    "Profile": "auto",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[23:41:44] CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
[23:41:44]  - Intel microarchitecture Skylake
[23:41:44]  - logical processor count: 8
[23:41:44] Intel Quick Sync Video support: no
[23:41:44] hb_scan: path=G:\Video Ripps\Orginal Ripps\TV\Rick and Morty\Season 4\Rick and Morty S04E01.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image G:\Video Ripps\Orginal Ripps\TV\Rick and Morty\Season 4\Rick and Morty S04E01.mkv
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(G:\Video Ripps\Orginal Ripps\TV\Rick and Morty\Season 4\Rick and Morty S04E01.mkv\) failed
[23:41:44] 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
[23:41:44] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'G:\Video Ripps\Orginal Ripps\TV\Rick and Morty\Season 4\Rick and Morty S04E01.mkv':
  Metadata:
    title           : Rick and Morty - Season 4
    encoder         : libmakemkv v1.15.3 (1.3.10/1.5.2) win(x64-release)
    creation_time   : 2020-12-28T04:36:48.000000Z
  Duration: 00:22:31.81, start: 0.000000, bitrate: 16706 kb/s
    Chapter #0:0: start 0.000000, end 97.847750
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 97.847750, end 682.890542
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 682.890542, end 1272.271000
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1272.271000, end 1303.302000
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1303.302000, end 1351.808792
    Metadata:
      title           : Chapter 05
    Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 13308576
      DURATION-eng    : 00:22:31.808791666
      NUMBER_OF_FRAMES-eng: 32411
      NUMBER_OF_BYTES-eng: 2248830082
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-12-28 04:36:48
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: truehd, 48000 Hz, 5.1(side), s32 (24 bit) (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 2847149
      DURATION-eng    : 00:22:31.767500000
      NUMBER_OF_FRAMES-eng: 1622121
      NUMBER_OF_BYTES-eng: 481085348
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-12-28 04:36:48
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 00:22:31.776000000
      NUMBER_OF_FRAMES-eng: 42243
      NUMBER_OF_BYTES-eng: 75699456
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-12-28 04:36:48
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080
    Metadata:
      BPS-eng         : 90356
      DURATION-eng    : 00:22:15.980479166
      NUMBER_OF_FRAMES-eng: 1136
      NUMBER_OF_BYTES-eng: 15089385
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-12-28 04:36:48
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[23:41:45] scan: decoding previews for title 1
[23:41:45] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (5.1 ch)
[23:41:45] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[23:41:45] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[23:41:45] scan: supported video decoders: avcodec qsv
[23:41:45] libhb: scan thread found 1 valid title(s)
[23:41:45] Starting Task: Subtitle Scan
[23:41:45] Skipping vfr filter
[23:41:45] Skipping crop/scale filter
[23:41:45] job configuration:
[23:41:45]  * source
[23:41:45]    + G:\Video Ripps\Orginal Ripps\TV\Rick and Morty\Season 4\Rick and Morty S04E01.mkv
[23:41:45]    + title 1, chapter(s) 1 to 5
[23:41:45]    + container: matroska,webm
[23:41:45]    + data rate: 16706 kbps
[23:41:45]  * destination
[23:41:45]    + G:\Video Ripps\Encoded Video\TV\Rick and Morty\Season 4\Rick And Morty S04e01.mp4
[23:41:45]    + container: MPEG-4 (libavformat)
[23:41:45]      + optimized for HTTP streaming (fast start)
[23:41:45]      + align initial A/V stream timestamps
[23:41:45]  * video track
[23:41:45]    + decoder: h264
[23:41:45]    + Output geometry
[23:41:45]      + storage dimensions: 1920 x 1080
[23:41:45]      + pixel aspect ratio: 1 : 1
[23:41:45]      + display dimensions: 1920 x 1080
[23:41:45]  * Foreign Audio Search: Render/Burn-in, Forced Only
[23:41:45]    + subtitle, English [PGS] (track 0, id 0x3, Picture)
[23:41:45] sync: expecting 32410 video frames
[23:41:51] reader: done. 1 scr changes
[23:41:51] work: average encoding speed for job is 0.000000 fps
[23:41:51] h264-decoder done: 0 frames, 0 decoder errors
[23:41:51] sync: got 0 frames, 32410 expected
[23:41:51] Subtitle track 0 (id 0x3) 'English [PGS]': 568 hits (0 forced)
[23:41:51] No candidate detected during subtitle scan
[23:41:51] Starting Task: Encoding Pass
[23:41:51] Skipping vfr filter
[23:41:51] Skipping crop/scale filter
[23:41:51] job configuration:
[23:41:51]  * source
[23:41:51]    + G:\Video Ripps\Orginal Ripps\TV\Rick and Morty\Season 4\Rick and Morty S04E01.mkv
[23:41:51]    + title 1, chapter(s) 1 to 5
[23:41:51]    + container: matroska,webm
[23:41:51]    + data rate: 16706 kbps
[23:41:51]  * destination
[23:41:51]    + G:\Video Ripps\Encoded Video\TV\Rick and Morty\Season 4\Rick And Morty S04e01.mp4
[23:41:51]    + container: MPEG-4 (libavformat)
[23:41:51]      + optimized for HTTP streaming (fast start)
[23:41:51]      + align initial A/V stream timestamps
[23:41:51]  * video track
[23:41:51]    + decoder: h264
[23:41:51]    + Output geometry
[23:41:51]      + storage dimensions: 1920 x 1080
[23:41:51]      + pixel aspect ratio: 1 : 1
[23:41:51]      + display dimensions: 1920 x 1080
[23:41:51]    + encoder: H.264 (NVEnc)
[23:41:51]      + preset:  slow
[23:41:51]      + profile: auto
[23:41:51]      + level:   auto
[23:41:51]      + bitrate: 3875 kbps, pass: 0
[23:41:51]      + color profile: 1-1-1
[23:41:51]  * audio track 1
[23:41:51]    + name: Surround 5.1
[23:41:51]    + decoder: English (TrueHD) (5.1 ch) (track 1, id 0x1)
[23:41:51]      + samplerate: 48000 Hz
[23:41:51]    + mixdown: 5.1 Channels
[23:41:51]    + dither: none
[23:41:51]    + encoder: AAC (libavcodec)
[23:41:51]      + bitrate: 448 kbps, samplerate: 48000 Hz
[23:41:51] sync: expecting 32410 video frames
[23:41:51] encavcodecInit: H.264 (Nvidia NVENC)
[23:41:51] encavcodec: encoding at rc=cbr_hq Bitrate 3875
[23:41:51] encavcodec: encoding with stored aspect 1/1
[23:41:51] sync: first pts audio 0x1 is 0
[23:41:51] sync: first pts video is 0
[23:41:51] sync: "Chapter 1" (1) at frame 1 time 0
[23:41:59] sync: "Chapter 2" (2) at frame 2347 time 8806297
[23:42:49] sync: "Chapter 3" (3) at frame 16374 time 61460148
[23:43:36] sync: "Chapter 4" (4) at frame 30505 time 114504390
[23:43:38] sync: "Chapter 5" (5) at frame 31249 time 117297180
[23:43:41] reader: done. 1 scr changes
[23:43:42] work: average encoding speed for job is 292.712128 fps
[23:43:42] truehd-decoder done: 1622121 frames, 0 decoder errors
[23:43:42] h264-decoder done: 32411 frames, 0 decoder errors
[23:43:42] sync: got 32411 frames, 32410 expected
[23:43:42] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
[23:43:48] mux: track 0, 32411 frames, 654676051 bytes, 3874.37 kbps, fifo 512
[23:43:48] mux: track 1, 63365 frames, 75372198 bytes, 446.05 kbps, fifo 2048
[23:43:48] Finished work at: Sun Dec 27 23:43:48 2020
[23:43:48] libhb: work result = 0

# Encode Completed ...
Last edited by Rodeo on Mon Dec 28, 2020 10:15 pm, edited 1 time in total.
Reason: Logs in between [code][/code] blocks please
musicvid
Veteran User
Posts: 3822
Joined: Sat Jun 27, 2009 1:19 am

Re: NVenc reference frames

Post by musicvid »

No, those kinds of external controls are not exposed.
Post Reply