CLI Parameters Explaination

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
Arctic0ne
Posts: 2
Joined: Sat Jan 19, 2019 6:15 pm

CLI Parameters Explaination

Post by Arctic0ne » Sat Jan 19, 2019 6:51 pm

Description of problem or question:
I'm currently ripping a cartoon series from DVD, and it has a mix of progressive and interlaced frames. Turning Interlace Detection off causes a serious drop in quality, and the Default setting for Interlace Detection isn't sensitive enough to pick up all of the smaller interlaced details (Mouths moving, far away characters, etc.). So, I'm trying to figure out how to make the interlace detection more sensitive, but I'm at a complete loss as to what the CLI parameters are supposed to even mean. There is no explanation that I can find anywhere on what these parameters affect, or what values are accepted. Is there a place I can find a breakdown of all these settings? Interlace Detection is the most important thing to me right now, but I'd like to know what all the parameters really do.

Default settings:

mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16 Default
mode=3:spatial-metric=2:motion-thresh=3:spatial-thresh=3:filter-mode=2:block-thresh=40:block-width=16:block-height=16 LessSensitive
mode=0:spatial-metric=2:motion-thresh=2:spatial-thresh=3:filter-mode=1:block-thresh=80:block-width=16:block-height=16 Fast

The most I've been able to do is try to deduce what settings affect what based on the above default profiles. I've ripped several examples, messing with one option at a time, but I'm not getting much in the way of promising results.

Steps to reproduce the problem (If Applicable):

N/A


HandBrake version (e.g., 1.0.0):

1.2.0


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

Windows 10 LTSB


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

Code: Select all

HandBrake 1.2.0 (2018121700)
OS: Microsoft Windows NT 10.0.14393.0
Ram: 8072 MB, 
GPU Information:
  Intel(R) HD Graphics 530 - 21.20.16.4551
Screen: 2560x1440
Temp Dir: C:\Users\admin\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\admin\AppData\Roaming\HandBrake

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


# Starting Encode ...

[13:35:14] hb_init: starting libhb thread
[13:35:14] 1 job(s) to process
[13:35:14] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": "copy:ac3",
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "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"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\Encodes\\Futurama_\\Season 1\\E01.Space Pilot 3000 Default.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "31"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 9,
        "Settings": {
          "cb-frame-count": 3,
          "cb-origin-tune": 0.15,
          "cb-patch-size": 5,
          "cb-prefilter": 0,
          "cb-range": 7,
          "cb-strength": 2.25,
          "y-frame-count": 3,
          "y-origin-tune": 0.15,
          "y-patch-size": 5,
          "y-prefilter": 0,
          "y-range": 7,
          "y-strength": 3.0
        }
      },
      {
        "ID": 12,
        "Settings": {
          "cb-kernel": "isolap",
          "cb-strength": 0.05625,
          "y-kernel": "isolap",
          "y-strength": 0.075
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "480",
          "width": "720"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 8,
    "Den": 9
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "time",
      "Start": 0,
      "End": 16200000
    },
    "Title": 1,
    "Path": "E:\\"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0
      }
    ]
  },
  "Video": {
    "Encoder": "x264",
    "Level": "5.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "veryslow",
    "Profile": "high",
    "Quality": 9.0,
    "Tune": "grain",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[13:35:14] CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
[13:35:14]  - Intel microarchitecture Skylake
[13:35:14]  - logical processor count: 8
[13:35:14] Intel Quick Sync Video support: yes
[13:35:14]  - Intel Media SDK hardware: API 1.19 (minimum: 1.3)
[13:35:14]  - H.264 encoder: yes
[13:35:14]     - preferred implementation: hardware (any) via D3D11
[13:35:14]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[13:35:14]  - H.265 encoder: yes (8bit: yes, 10bit: no)
[13:35:14]     - preferred implementation: hardware (any) via D3D11
[13:35:14]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[13:35:14] hb_scan: path=E:\, title_index=1
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
[13:35:14] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open E:\ for reading
libdvdread: Device E:\ inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file E:\.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open E:\ for reading
libdvdread: Device E:\ inaccessible, CSS authentication not available.
[13:35:14] scan: DVD has 12 title(s)
[13:35:14] scan: scanning title 1
[13:35:14] scan: opening IFO for VTS 4
[13:35:14] scan: duration is 00:23:18 (1398100 ms)
[13:35:14] pgc_id: 1, pgn: 1: pgc: 00000242C80FDF00
[13:35:14] scan: vts=4, ttn=1, cells=0->9, blocks=0->600726, 600727 blocks
[13:35:14] scan: checking audio 1
[13:35:14] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=1
[13:35:14] scan: checking audio 2
[13:35:14] scan: id=0x81bd, lang=español (AC3), 3cc=spa ext=1
[13:35:14] scan: checking audio 3
[13:35:14] scan: id=0x82bd, lang=Francais (AC3), 3cc=fra ext=1
[13:35:14] scan: checking audio 4
[13:35:14] scan: id=0x83bd, lang=English (AC3), 3cc=eng ext=1
[13:35:14] scan: checking subtitle 1
[13:35:14] scan: id=0x20bd, lang=English Closed Caption (4:3) [VOBSUB], 3cc=eng ext=5
[13:35:14] scan: checking subtitle 2
[13:35:14] scan: id=0x21bd, lang=español (4:3) [VOBSUB], 3cc=spa ext=1
[13:35:14] scan: checking subtitle 3
[13:35:14] scan: id=0x22bd, lang=Francais (4:3) [VOBSUB], 3cc=fra ext=1
[13:35:14] scan: checking subtitle 4
[13:35:14] scan: id=0x23bd, lang=español (4:3) [VOBSUB], 3cc=spa ext=1
[13:35:14] scan: title 1 has 6 chapters
[13:35:14] scan: chap 1 c=0->1, b=0->96794 (96795), 215199 ms
[13:35:14] scan: chap 2 c=2->2, b=96795->248395 (151601), 335400 ms
[13:35:14] scan: chap 3 c=3->3, b=248396->407485 (159090), 358867 ms
[13:35:14] scan: chap 4 c=4->4, b=407486->590166 (182681), 404767 ms
[13:35:14] scan: chap 5 c=5->8, b=590167->600721 (10555), 83367 ms
[13:35:14] scan: chap 6 c=9->9, b=600722->600726 (5), 500 ms
[13:35:14] scan: aspect = 4:3
[13:35:14] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[13:35:14] scan: title angle(s) 1
[ac3 @ 00000242d349e780] frame sync error
[13:35:14] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround)
[ac3 @ 00000242d34a0300] frame sync error
[13:35:14] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=192000 español (AC3) (2.0 ch) (Dolby Surround)
[ac3 @ 00000242d34a1540] frame sync error
[13:35:14] scan: audio 0x82bd: ac3, rate=48000Hz, bitrate=192000 Francais (AC3) (2.0 ch) (Dolby Surround)
[ac3 @ 00000242d34a2780] frame sync error
[13:35:14] scan: audio 0x83bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround)
[13:35:14] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/6/4, aspect 4:3, PAR 8:9
[13:35:14] libhb: scan thread found 1 valid title(s)
[13:35:14] starting job
[13:35:14] decomb filter thread started for segment 0
[13:35:14] decomb filter thread started for segment 1
[13:35:14] decomb filter thread started for segment 2
[13:35:14] decomb filter thread started for segment 3
[13:35:14] decomb filter thread started for segment 4
[13:35:14] decomb filter thread started for segment 5
[13:35:14] decomb filter thread started for segment 6
[13:35:14] decomb filter thread started for segment 7
[13:35:14] decomb check thread started for segment 0
[13:35:14] decomb check thread started for segment 1
[13:35:14] decomb check thread started for segment 2
[13:35:14] decomb check thread started for segment 3
[13:35:14] decomb check thread started for segment 4
[13:35:14] decomb check thread started for segment 5
[13:35:14] decomb check thread started for segment 6
[13:35:14] decomb check thread started for segment 7
[13:35:14] mask filter thread started for segment 0
[13:35:14] mask filter thread started for segment 1
[13:35:14] mask filter thread started for segment 2
[13:35:14] mask filter thread started for segment 3
[13:35:14] mask filter thread started for segment 4
[13:35:14] mask filter thread started for segment 5
[13:35:14] mask filter thread started for segment 6
[13:35:14] mask filter thread started for segment 7
[13:35:14] mask erode thread started for segment 0
[13:35:14] mask erode thread started for segment 1
[13:35:14] mask erode thread started for segment 2
[13:35:14] mask erode thread started for segment 3
[13:35:14] mask erode thread started for segment 4
[13:35:14] mask erode thread started for segment 5
[13:35:14] mask erode thread started for segment 6
[13:35:14] mask erode thread started for segment 7
[13:35:14] mask dilate thread started for segment 0
[13:35:14] mask dilate thread started for segment 1
[13:35:14] mask dilate thread started for segment 2
[13:35:14] mask dilate thread started for segment 3
[13:35:14] mask dilate thread started for segment 4
[13:35:14] mask dilate thread started for segment 5
[13:35:14] mask dilate thread started for segment 6
[13:35:14] mask dilate thread started for segment 7
[13:35:14] yadif thread started for segment 0
[13:35:14] yadif thread started for segment 1
[13:35:14] yadif thread started for segment 2
[13:35:14] yadif thread started for segment 3
[13:35:14] yadif thread started for segment 4
[13:35:14] yadif thread started for segment 5
[13:35:14] yadif thread started for segment 6
[13:35:14] yadif thread started for segment 7
[13:35:14] eedi2 thread started for plane 0
[13:35:14] eedi2 thread started for plane 1
[13:35:14] eedi2 thread started for plane 2
[13:35:14] NLMeans using SSE2 optimizations
[13:35:14] NLMeans thread started for segment 0
[13:35:14] NLMeans thread started for segment 1
[13:35:14] NLMeans thread started for segment 2
[13:35:14] NLMeans thread started for segment 3
[13:35:14] NLMeans thread started for segment 4
[13:35:14] NLMeans thread started for segment 5
[13:35:14] NLMeans thread started for segment 6
[13:35:14] NLMeans thread started for segment 7
[13:35:14] MTFrame thread started for segment 0
[13:35:14] MTFrame thread started for segment 1
[13:35:14] MTFrame thread started for segment 2
[13:35:14] MTFrame thread started for segment 3
[13:35:14] MTFrame thread started for segment 4
[13:35:14] MTFrame thread started for segment 5
[13:35:14] MTFrame thread started for segment 6
[13:35:14] MTFrame thread started for segment 7
[13:35:14] job configuration:
[13:35:14]  * source
[13:35:14]    + E:\
[13:35:14]    + title 1, start 00:00:0.00 stop 00:03:0.00
[13:35:14]  * destination
[13:35:14]    + D:\Encodes\Futurama_\Season 1\E01.Space Pilot 3000 Default.mkv
[13:35:14]    + container: Matroska (libavformat)
[13:35:14]      + chapter markers
[13:35:14]  * video track
[13:35:14]    + decoder: mpeg2video
[13:35:14]      + bitrate 200 kbps
[13:35:14]    + filters
[13:35:14]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[13:35:14]      + Decomb (mode=63)
[13:35:14]      + Framerate Shaper (mode=1)
[13:35:14]        + frame rate: 23.976 fps -> constant 23.976 fps
[13:35:14]      + Denoise (nlmeans) (y-strength=3:y-origin-tune=0.15:y-patch-size=5:y-range=7:y-frame-count=3:y-prefilter=0:cb-strength=2.25:cb-origin-tune=0.15:cb-patch-size=5:cb-range=7:cb-frame-count=3:cb-prefilter=0)
[13:35:14]      + Crop and Scale (width=720:height=480:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[13:35:14]        + source: 720 * 480, crop (0/0/0/0): 720 * 480, scale: 720 * 480
[13:35:14]      + Sharpen (lapsharp) (y-strength=0.075:y-kernel=isolap:cb-strength=0.05625:cb-kernel=isolap)
[13:35:14]    + Output geometry
[13:35:14]      + storage dimensions: 720 x 480
[13:35:14]      + pixel aspect ratio: 8 : 9
[13:35:14]      + display dimensions: 640 x 480
[13:35:14]    + encoder: H.264 (libx264)
[13:35:14]      + preset:  veryslow
[13:35:14]      + tune:    grain
[13:35:14]      + profile: high
[13:35:14]      + level:   5.1
[13:35:14]      + quality: 9.00 (RF)
[13:35:14]      + color profile: 6-1-6
[13:35:14]  * subtitle track 1, English Closed Caption (4:3) [VOBSUB] (track 0, id 0x20bd, Picture) -> Passthrough
[13:35:14]  * audio track 1
[13:35:14]    + decoder: English (AC3) (2.0 ch) (Dolby Surround) (track 1, id 0x80bd)
[13:35:14]      + bitrate: 192 kbps, samplerate: 48000 Hz
[13:35:14]    + AC3 Passthru
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open E:\ for reading
libdvdread: Device E:\ inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file E:\.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open E:\ for reading
libdvdread: Device E:\ inaccessible, CSS authentication not available.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[13:35:14] sync: expecting 4339 video frames
[13:35:14] encx264: min-keyint: 24, keyint: 240
[13:35:14] encx264: encoding at constant RF 9.000000
[13:35:14] encx264: unparsed options: level=5.1:ref=16:bframes=8:b-adapt=2:direct=auto:deblock=-2,-2:analyse=all:me=umh:merange=24:subme=10:trellis=2:dct-decimate=0:psy-rd=1,0.25:deadzone-inter=6:deadzone-intra=6:vbv-bufsize=300000:vbv-maxrate=300000:ipratio=1.1:qcomp=0.8:aq-strength=0.5:rc-lookahead=60
x264 [info]: using SAR=8/9
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile High, level 5.1, 4:2:0, 8-bit
[13:35:15] sync: first pts video is 0
[13:35:15] sync: "Chapter 1" (1) at frame 1 time 0
[13:35:15] sync: first pts audio 0x80bd is 0
[13:35:25] sync: first pts subtitle 0x20bd is 594594
[13:36:19] 29.729700s: Film -> Video
[13:36:19] 29.763067s: Video -> Film
[13:36:41] 38.505135s: Film -> Video
[13:36:42] 38.605232s: Video -> Film
[13:36:45] 40.073368s: Film -> Video
[13:36:45] 40.140099s: Video -> Film
[13:37:01] 44.778069s: Film -> Video
[13:37:01] 44.811432s: Video -> Film
[13:37:11] 48.281567s: Film -> Video
[13:37:11] 48.314934s: Video -> Film
[13:37:18] 51.117733s: Film -> Video
[13:37:31] 56.039368s: Video -> Film
[13:38:22] 77.844421s: Film -> Video
[13:38:26] 79.554543s: Video -> Film
[13:38:42] 86.653236s: Film -> Video
[13:38:42] 86.686600s: Video -> Film
[13:38:54] 92.492401s: Film -> Video
[13:38:57] 93.593498s: Video -> Film
[13:39:14] 99.732964s: Film -> Video
[13:39:14] 99.766335s: Video -> Film
[13:39:21] 103.436668s: Film -> Video
[13:39:21] 103.470032s: Video -> Film
[13:39:29] 107.140366s: Film -> Video
[13:39:29] 107.207100s: Video -> Film
[13:39:32] 108.341568s: Film -> Video
[13:39:32] 108.408302s: Video -> Film
[13:39:42] 112.245468s: Film -> Video
[13:39:48] 114.013901s: Video -> Film
[13:39:53] 115.882431s: Film -> Video
[13:39:56] 116.616501s: Video -> Film
[13:40:04] 120.520401s: Film -> Video
[13:40:04] 120.587135s: Video -> Film
[13:41:32] 157.624130s: Film -> Video
[13:41:32] 157.657501s: Video -> Film
[13:41:36] 159.392563s: Film -> Video
[13:41:52] 164.639481s: Video -> Film
[13:41:59] 168.535034s: Film -> Video
[13:41:59] 168.568405s: Video -> Film
[13:42:17] 176.376205s: Film -> Video
[13:42:17] 176.409561s: Video -> Film
[13:42:27] sync: reached audio 0x80bd pts 16200000, exiting early
[13:42:27] sync: reached video pts 16202688, exiting early
[13:42:36] work: average encoding speed for job is 10.304597 fps
[13:42:37] comb detect: heavy 414 | light 157 | uncombed 3887 | total 4458
[13:42:37] decomb: deinterlaced 828 | blended 314 | unfiltered 3887 | total 5029
[13:42:37] vfr: 4317 frames output, 712 dropped and 0 duped for CFR/PFR
[13:42:37] vfr: lost time: 0 (0 frames)
[13:42:37] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:42:37] ac3-decoder done: 10217 frames, 0 decoder errors
[13:42:37] mpeg2video-decoder done: 8060 frames, 0 decoder errors
[13:42:37] sync: got 4458 frames, 4339 expected
[13:42:37] sync: framerate min 23.981 fps, max 40.179 fps, avg 24.763 fps
x264 [info]: frame I:48    Avg QP: 6.10  size: 83581
x264 [info]: frame P:1240  Avg QP: 9.12  size: 25645
x264 [info]: frame B:3029  Avg QP: 9.70  size:  7904
x264 [info]: consecutive B-frames:  6.8%  6.0% 10.6% 44.0% 12.4% 13.2%  1.9%  2.2%  2.9%
x264 [info]: mb I  I16..4: 30.6% 16.8% 52.6%
x264 [info]: mb P  I16..4:  5.1%  4.3%  4.2%  P16..4: 30.9%  6.5% 20.0%  1.4%  1.5%    skip:26.2%
x264 [info]: mb B  I16..4:  1.0%  0.8%  0.7%  B16..8: 24.0%  6.4%  4.9%  direct: 6.5%  skip:55.6%  L0:46.6% L1:44.8% BI: 8.6%
x264 [info]: 8x8 transform intra:29.2% inter:19.9%
x264 [info]: direct mvs  spatial:99.2% temporal:0.8%
x264 [info]: coded y,uvDC,uvAC intra: 60.5% 79.8% 78.9% inter: 16.7% 25.2% 23.5%
x264 [info]: i16 v,h,dc,p: 58% 23% 16%  4%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 20% 44%  3%  3%  3%  4%  4%  5%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 22% 19%  7%  6%  5%  6%  6%  7%
x264 [info]: i8c dc,h,v,p: 44% 32% 19%  5%
x264 [info]: Weighted P-Frames: Y:2.4% UV:1.9%
x264 [info]: ref P L0: 57.0%  2.3% 12.5%  5.5%  4.9%  4.1%  3.2%  1.8%  1.5%  1.4%  1.3%  1.1%  1.0%  0.9%  0.9%  0.7%
x264 [info]: ref B L0: 73.0%  8.8%  4.6%  2.9%  2.4%  2.1%  1.5%  0.9%  0.8%  0.7%  0.6%  0.6%  0.5%  0.4%  0.2%
x264 [info]: ref B L1: 96.7%  3.3%
x264 [info]: kb/s:2654.93
[13:42:37] mux: track 0, 4317 frames, 59751978 bytes, 2654.22 kbps, fifo 2048
[13:42:37] mux: track 1, 5625 frames, 4320000 bytes, 191.90 kbps, fifo 2048
[13:42:37] mux: track 2, 46 frames, 41982 bytes, 1.86 kbps, fifo 32
[13:42:37] libhb: work result = 0

# Encode Completed ...


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

Re: CLI Parameters Explaination

Post by BradleyS » Sat Jan 19, 2019 8:05 pm

You might try lowering the block threshold.

Arctic0ne
Posts: 2
Joined: Sat Jan 19, 2019 6:15 pm

Re: CLI Parameters Explaination

Post by Arctic0ne » Sat Jan 19, 2019 8:50 pm

That has been the most promising setting I've played with, but it's still not perfect. Is there any place where these settings are explained? I'm assuming that the block-thresh and block-height and -width are used to basically split the frame up into 16x16 pixel squares, and if 40 of them are interlaced, it applies the deinterlacing filter to that frame.

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

Re: CLI Parameters Explaination

Post by BradleyS » Sat Jan 19, 2019 9:55 pm

Bingo. Obviously (now, at least), you could also experiment with changing the block dimensions as well.

Unfortunately, not much of this is documented outside the code itself.

Post Reply