Doesn't Save Framerate Option

Discuss encoding for devices and presets.
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
Snaptrap
Posts: 25
Joined: Sat Dec 05, 2009 4:27 am

Doesn't Save Framerate Option

Post by Snaptrap »

Description of problem or question: When I create a preset for my videos, it saves everything except for framerate. This option always loads as 'same as source'. This problem only exists with customized settings. If I build the new preset from built-in preset, the option sets. Unfortunately there is no built-in preset with the desired framerate to do this.




Steps to reproduce the problem (If Applicable): Load video, set to MKV, select 23.976 as framerate, save preset.




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 x64




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) i9-10900K CPU @ 3.70GHz
Ram: 31616 MB, 
GPU Information:
  Intel(R) UHD Graphics 630 - 27.20.100.9466
Screen: 3440x1440
Temp Dir: C:\Users\Gunstar\AppData\Local\Temp\
Install Dir: D:\Backup Archive\Software\HandBrake
Data Dir: C:\Users\Gunstar\AppData\Roaming\HandBrake

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


# Starting Encode ...

[02:53:30] base preset: UHD MP4 AAC 7.1
[14:53:30] hb_init: starting libhb thread
[14:53:30] Starting work at: Sun May 16 14:53:30 2021
[14:53:30] 1 job(s) to process
[14:53:30] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 1536,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 9,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "AAC 7.1",
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "av_aac"
  },
  "Destination": {
    "ChapterList": [],
    "ChapterMarkers": false,
    "AlignAVStart": false,
    "File": "D:\\Backup Archive\\Media Files\\Converts\\A Beautiful Day in the Neighborhood-1.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "2076",
          "width": "3840"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/1126125"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\Backup Archive\\Media Files\\Videos\\Movies\\UHD\\A Beautiful Day in the Neighborhood.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "qsv_h265_10bit",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "target-usage=1:num-ref-frame=16:gop-ref-dist=16:b-pyramid=1:trellis=3:",
    "Preset": "quality",
    "Profile": "auto",
    "Quality": 15.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[14:53:30] CPU: Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
[14:53:30]  - logical processor count: 20
[14:53:30] Intel Quick Sync Video support: yes
[14:53:30]  - Intel Media SDK hardware: API 1.34 (minimum: 1.3)
[14:53:30]  - H.264 encoder: yes
[14:53:30]     - preferred implementation: hardware (any) via D3D11
[14:53:30]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[14:53:30]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[14:53:30]     - preferred implementation: hardware (any) via D3D11
[14:53:30]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[14:53:30] hb_scan: path=D:\Backup Archive\Media Files\Videos\Movies\UHD\A Beautiful Day in the Neighborhood.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Backup Archive\Media Files\Videos\Movies\UHD\A Beautiful Day in the Neighborhood.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(D:\Backup Archive\Media Files\Videos\Movies\UHD\A Beautiful Day in the Neighborhood.mkv\) failed
[14:53:30] 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:53:30] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Backup Archive\Media Files\Videos\Movies\UHD\A Beautiful Day in the Neighborhood.mkv':
  Metadata:
    encoder         : libebml v1.3.10 + libmatroska v1.5.2
    creation_time   : 2020-10-19T19:34:59.000000Z
  Duration: 01:48:44.96, start: 0.000000, bitrate: 9356 kb/s
    Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2076 [SAR 1:1 DAR 320:173], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
    Metadata:
      title           : MPEG-H
      BPS-eng         : 8319388
      DURATION-eng    : 01:48:44.935000000
      NUMBER_OF_FRAMES-eng: 156442
      NUMBER_OF_BYTES-eng: 6785433263
      _STATISTICS_WRITING_APP-eng: mkvmerge v46.0.0 ('No Deeper Escape') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-10-19 19:34:59
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 7.1, fltp (default)
    Metadata:
      title           : AAC 7.1
      BPS-eng         : 1034710
      DURATION-eng    : 01:48:44.949000000
      NUMBER_OF_FRAMES-eng: 305857
      NUMBER_OF_BYTES-eng: 843929328
      _STATISTICS_WRITING_APP-eng: mkvmerge v46.0.0 ('No Deeper Escape') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-10-19 19:34:59
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[14:53:30] scan: decoding previews for title 1
[14:53:30] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 English (AAC LC) (7.1 ch)
[14:53:34] scan: 10 previews, 3840x2076, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[14:53:34] scan: supported video decoders: avcodec qsv
[14:53:34] libhb: scan thread found 1 valid title(s)
[14:53:34] Starting Task: Encoding Pass
[14:53:34] Skipping crop/scale filter
[14:53:34] job configuration:
[14:53:34]  * source
[14:53:34]    + D:\Backup Archive\Media Files\Videos\Movies\UHD\A Beautiful Day in the Neighborhood.mkv
[14:53:34]    + title 1, chapter(s) 1 to 1
[14:53:34]    + container: matroska,webm
[14:53:34]    + data rate: 9356 kbps
[14:53:34]  * destination
[14:53:34]    + D:\Backup Archive\Media Files\Converts\A Beautiful Day in the Neighborhood-1.mkv
[14:53:34]    + container: Matroska (libavformat)
[14:53:34]  * video track
[14:53:34]    + decoder: hevc
[14:53:34]    + filter
[14:53:34]      + Framerate Shaper (mode=1:rate=27000000/1126125)
[14:53:34]        + frame rate: 23.976 fps -> constant 23.976 fps
[14:53:34]    + Output geometry
[14:53:34]      + storage dimensions: 3840 x 2076
[14:53:34]      + pixel aspect ratio: 1 : 1
[14:53:34]      + display dimensions: 3840 x 2076
[14:53:34]    + encoder: H.265 10-bit (Intel Media SDK)
[14:53:34]      + preset:  quality
[14:53:34]      + options: target-usage=1:num-ref-frame=16:gop-ref-dist=16:b-pyramid=1:trellis=3:
[14:53:34]      + profile: auto
[14:53:34]      + level:   auto
[14:53:34]      + quality: 15.00 (ICQ)
[14:53:34]      + color profile: 9-16-9
[14:53:34]  * audio track 1
[14:53:34]    + name: AAC 7.1
[14:53:34]    + decoder: English (AAC LC) (7.1 ch) (track 1, id 0x1)
[14:53:34]      + samplerate: 48000 Hz
[14:53:34]    + mixdown: 7.1 Channels
[14:53:34]    + dither: none
[14:53:34]    + encoder: AAC (libavcodec)
[14:53:34]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[14:53:34] sync: expecting 156442 video frames
[14:53:34] hb_d3d11va_device_check: QSV adapter with id 0 has been found
[14:53:34] encqsvInit: hb_qsv_param_parse: unsupported option trellis
[14:53:34] encqsvInit: using encode-only path
[14:53:34] encqsvInit: H.265/HEVC Main 10 profile @ level (null)
[14:53:34] encqsvInit: TargetUsage 1 AsyncDepth 5
[14:53:34] encqsvInit: GopRefDist 16 GopPicSize 32 NumRefFrame 15
[14:53:34] encqsvInit: BFramesMax 15 BRefType pyramid
[14:53:34] encqsvInit: RateControlMethod ICQ ICQQuality 15
[14:53:35] sync: first pts audio 0x1 is 0
[14:53:35] sync: first pts video is 1890
[14:53:35] sync: Chapter 1 at frame 1 time 1890
[14:53:35] qsv_enc_init: using 'hardware (1) via D3D11' implementation, API: 1.34

# Encode Stopped

[14:53:45] work: average encoding speed for job is 19.421713 fps
[14:53:45] vfr: 174 frames output, 0 dropped and 0 duped for CFR/PFR
[14:53:45] vfr: lost time: 0 (0 frames)
[14:53:45] vfr: gained time: 0 (0 frames) (0 not accounted for)
[14:53:45] aac-decoder done: 534 frames, 0 decoder errors
[14:53:45] hevc-decoder done: 237 frames, 0 decoder errors
[14:53:45] sync: got 198 frames, 156442 expected
[14:53:45] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
[14:53:45] mux: track 0, 149 frames, 337349 bytes, 325.16 kbps, fifo 256
[14:53:45] mux: track 1, 388 frames, 127469 bytes, 122.86 kbps, fifo 512
[14:53:45] Finished work at: Sun May 16 14:53:45 2021
[14:53:45] libhb: work result = 1

# Encode Completed ...


Snaptrap
Posts: 25
Joined: Sat Dec 05, 2009 4:27 am

Re: Doesn't Save Framerate Option

Post by Snaptrap »

Problem seems to only exist with the Intel QSV feature.
Antoni0
New User
Posts: 1
Joined: Fri Jun 03, 2022 9:13 am

Re: Doesn't Save Framerate Option

Post by Antoni0 »

Hi!
The same problem occurs also with:
HP-Laptop-15
Ubuntu 20.04.4 LTS
Gnome 3.36.8
HandBrake 1.3.1 (x86_64)
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Doesn't Save Framerate Option

Post by Woodstock »

Handbrake 1.3.x is two major versions old, and this problem supposedly existed .2 versions after yours.

Have you tried a current version? 1.5.1 has been current for some time. Have you also tried a release version (handbrake from Ubuntu is unsupported)?
Post Reply