Page 1 of 1

Handbrake 1.0.2 Constant Quality is running 2 pass encoding

Posted: Tue Feb 07, 2017 4:27 pm
by zorat
Please detail your question or problem in as much detail as possible:
I upgraded to Handbrake 1.0.2 and CQ hasn't run 2 pass encryption, it is now running 2 pass, and I can't see how to stop it. I went into AVG bitrate, and made sure it was not selected there

Tell us about your environment. What version of HandBrake? What version of Windows are you running. etc.
I am running Windows 10 64 bit Pro, Handbrake 1.0.2

If there was any exception or error displayed, please copy it and paste it here:

Please include the scan or encode log:

Code: Select all

 HandBrake 1.0.2 (2017012200) - 64bit
OS: Microsoft Windows NT 10.0.14393.0 - 64bit
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Ram: 32727 MB, 
GPU Information:
  NVIDIA GeForce GT 640  - 10.18.13.6175
Screen: 1440x900
Temp Dir: C:\Users\maint\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\maint\AppData\Roaming\HandBrake Team\HandBrake\1.0.2.0

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


# Starting Encode ...

[11:17:59] hb_init: starting libhb thread
[11:17:59] 1 job(s) to process
[11:17:59] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": 1125984256,
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 65536
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      },
      {
        "Name": "Chapter 7"
      },
      {
        "Name": "Chapter 8"
      },
      {
        "Name": "Chapter 9"
      },
      {
        "Name": "Chapter 10"
      },
      {
        "Name": "Chapter 11"
      },
      {
        "Name": "Chapter 12"
      },
      {
        "Name": "Chapter 13"
      },
      {
        "Name": "Chapter 14"
      },
      {
        "Name": "Chapter 15"
      },
      {
        "Name": "Chapter 16"
      },
      {
        "Name": "Chapter 17"
      },
      {
        "Name": "Chapter 18"
      },
      {
        "Name": "Chapter 19"
      },
      {
        "Name": "Chapter 20"
      }
    ],
    "ChapterMarkers": true,
    "File": "D:\\Media\\Blu-ray\\Processed\\Warcraft - Light.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 2097152
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "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": 2,
          "cb-origin-tune": 1.0,
          "cb-patch-size": 7,
          "cb-prefilter": 0,
          "cb-range": 3,
          "cb-strength": 3.0,
          "y-frame-count": 2,
          "y-origin-tune": 1.0,
          "y-patch-size": 7,
          "y-prefilter": 0,
          "y-range": 3,
          "y-strength": 3.0
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "144",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "146",
          "height": "790",
          "width": "1920"
        }
      },
      {
        "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": "D:\\Media\\Blu-ray\\Warcraft_t00.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "slow",
    "Profile": "main",
    "Quality": 18.0,
    "Tune": "film",
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[11:17:59] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[11:17:59]  - Intel microarchitecture Skylake
[11:17:59]  - logical processor count: 8
[11:17:59] Intel Quick Sync Video support: no
[11:17:59] hb_scan: path=D:\Media\Blu-ray\Warcraft_t00.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image D:\Media\Blu-ray\Warcraft_t00.mkv
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[11:17:59] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[11:17:59] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Media\Blu-ray\Warcraft_t00.mkv':
  Metadata:
    title           : Warcraft
  Duration: 02:03:07.38, start: 0.000000, bitrate: N/A
    Chapter #0:0: start 0.000000, end 566.440875
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 566.440875, end 949.406792
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 949.406792, end 1356.188167
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1356.188167, end 1756.171083
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1756.171083, end 2322.945625
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 2322.945625, end 2804.092958
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 2804.092958, end 3182.679500
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 3182.679500, end 3377.332292
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 3377.332292, end 3763.926833
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 3763.926833, end 4068.314250
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 4068.314250, end 4344.590250
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 4344.590250, end 4633.045083
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 4633.045083, end 4965.335375
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 4965.335375, end 5192.145292
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 5192.145292, end 5549.669125
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 5549.669125, end 6025.102417
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 6025.102417, end 6458.410292
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 6458.410292, end 6672.457458
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 6672.457458, end 6838.832000
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 6838.832000, end 7387.380000
    Metadata:
      title           : Chapter 20
    Stream #0:0(eng): Video: h264 (High)
      yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], PAR 1:1 DAR 16:9
      23.98 fps, 1k tbn
    Metadata:
      BPS-eng         : 26919724
      DURATION-eng    : 02:03:07.380000000
      NUMBER_OF_FRAMES-eng: 177120
      NUMBER_OF_BYTES-eng: 24858279259
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.4 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-26 20:09:06
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: truehd
      48000 Hz, 7.1, s32 (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 4834465
      DURATION-eng    : 02:03:07.380000000
      NUMBER_OF_FRAMES-eng: 8864856
      NUMBER_OF_BYTES-eng: 4464254372
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.4 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-26 20:09:06
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 29400
      DURATION-eng    : 01:53:43.212229166
      NUMBER_OF_FRAMES-eng: 2787
      NUMBER_OF_BYTES-eng: 25075981
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.4 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-26 20:09:06
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[11:17:59] scan: decoding previews for title 1
[11:17:59] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)
[11:18:02] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 146/144/0/0, aspect 16:9, PAR 1:1
[11:18:02] scan: supported video decoders: avcodec qsv
[11:18:02] libhb: scan thread found 1 valid title(s)
[11:18:02] starting job
[11:18:02] decomb filter thread started for segment 0
[11:18:02] decomb filter thread started for segment 6
[11:18:02] decomb filter thread started for segment 3
[11:18:02] decomb filter thread started for segment 1
[11:18:02] decomb filter thread started for segment 4
[11:18:02] decomb check thread started for segment 7
[11:18:02] mask filter thread started for segment 0
[11:18:02] decomb filter thread started for segment 7
[11:18:02] mask filter thread started for segment 3
[11:18:02] decomb check thread started for segment 1
[11:18:02] mask filter thread started for segment 6
[11:18:02] decomb check thread started for segment 3
[11:18:02] decomb check thread started for segment 5
[11:18:02] decomb check thread started for segment 4
[11:18:02] decomb check thread started for segment 6
[11:18:02] decomb filter thread started for segment 5
[11:18:02] mask dilate thread started for segment 0
[11:18:02] mask dilate thread started for segment 2
[11:18:02] decomb check thread started for segment 0
[11:18:02] mask filter thread started for segment 2
[11:18:02] mask filter thread started for segment 4
[11:18:02] decomb check thread started for segment 2
[11:18:02] yadif thread started for segment 3
[11:18:02] mask filter thread started for segment 7
[11:18:02] mask erode thread started for segment 0
[11:18:02] mask erode thread started for segment 1
[11:18:02] NLMeans using SSE2 optimizations
[11:18:02] mask erode thread started for segment 2
[11:18:02] mask erode thread started for segment 3
[11:18:02] mask erode thread started for segment 4
[11:18:02] mask erode thread started for segment 5
[11:18:02] mask erode thread started for segment 6
[11:18:02] decomb filter thread started for segment 2
[11:18:02] mask erode thread started for segment 7
[11:18:02] mask dilate thread started for segment 1
[11:18:02] mask filter thread started for segment 1
[11:18:02] mask dilate thread started for segment 3
[11:18:02] mask dilate thread started for segment 5
[11:18:02] job configuration:
[11:18:02]  * source
[11:18:02]    + D:\Media\Blu-ray\Warcraft_t00.mkv
[11:18:02] mask dilate thread started for segment 6
[11:18:02]    + title 1, chapter(s) 1 to 20
[11:18:02]    + container: matroska,webm
[11:18:02]  * destination
[11:18:02]    + D:\Media\Blu-ray\Processed\Warcraft - Light.mkv
[11:18:02]    + container: Matroska (libavformat)
[11:18:02]      + chapter markers
[11:18:02] mask dilate thread started for segment 4
[11:18:02]  * video track
[11:18:02]    + decoder: h264
[11:18:02]    + filters
[11:18:02] mask dilate thread started for segment 7
[11:18:02]      + 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)
[11:18:02] yadif thread started for segment 1
[11:18:02]      + Decomb (mode=39)
[11:18:02] yadif thread started for segment 2
[11:18:02]      + Framerate Shaper (mode=0)
[11:18:02]        + frame rate: same as source (around 23.976 fps)
[11:18:02] yadif thread started for segment 0
[11:18:02] mask filter thread started for segment 5
[11:18:02]      + Denoise (nlmeans) (y-strength=3:y-origin-tune=1:y-patch-size=7:y-range=3:y-frame-count=2:y-prefilter=0:cb-strength=3:cb-origin-tune=1:cb-patch-size=7:cb-range=3:cb-frame-count=2:cb-prefilter=0)
[11:18:02] yadif thread started for segment 4
[11:18:02]      + Crop and Scale (width=1920:height=790:crop-top=146:crop-bottom=144:crop-left=0:crop-right=0)
[11:18:02] yadif thread started for segment 5
[11:18:02]        + source: 1920 * 1080, crop (146/144/0/0): 1920 * 790, scale: 1920 * 790
[11:18:02]    + Output geometry
[11:18:02]      + storage dimensions: 1920 x 790
[11:18:02] yadif thread started for segment 6
[11:18:02]      + pixel aspect ratio: 1 : 1
[11:18:02]      + display dimensions: 1920 x 790
[11:18:02]  * Foreign Audio Search: Render/Burn-in, Forced Only
[11:18:02] yadif thread started for segment 7
[11:18:02]    + subtitle, English (track 2, id 0x2) Picture [PGS]
[11:18:02] NLMeans thread started for segment 0
[11:18:02] NLMeans thread started for segment 1
[11:18:02] NLMeans thread started for segment 2
[11:18:02] NLMeans thread started for segment 3
[11:18:02] NLMeans thread started for segment 4
[11:18:02] NLMeans thread started for segment 5
[11:18:02] NLMeans thread started for segment 6
[11:18:02] NLMeans thread started for segment 7
[11:18:02] sync: expecting 177120 video frames
[11:19:42] reader: done. 1 scr changes
[11:19:42] work: average encoding speed for job is 0.000000 fps
[11:19:42] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[11:19:42] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[11:19:42] vfr: lost time: 0 (0 frames)
[11:19:42] vfr: gained time: 0 (0 frames) (0 not accounted for)
[11:19:43] h264-decoder done: 0 frames, 0 decoder errors
[11:19:43] sync: got 0 frames, 177120 expected
[11:19:43] Subtitle track 2 (id 0x2) 'English': 1394 hits (0 forced)
[11:19:43] No candidate detected during subtitle scan
[11:19:43] starting job
[11:19:43] decomb filter thread started for segment 0
[11:19:43] decomb filter thread started for segment 4
[11:19:43] decomb filter thread started for segment 7
[11:19:43] decomb check thread started for segment 1
[11:19:43] decomb filter thread started for segment 2
[11:19:43] decomb check thread started for segment 6
[11:19:43] decomb filter thread started for segment 6
[11:19:43] decomb check thread started for segment 0
[11:19:43] mask filter thread started for segment 2
[11:19:43] decomb filter thread started for segment 3
[11:19:43] decomb check thread started for segment 3
[11:19:43] decomb check thread started for segment 2
[11:19:43] mask erode thread started for segment 1
[11:19:43] decomb check thread started for segment 4
[11:19:43] decomb check thread started for segment 7
[11:19:43] decomb filter thread started for segment 5
[11:19:43] mask erode thread started for segment 6
[11:19:43] mask filter thread started for segment 1
[11:19:43] mask dilate thread started for segment 4
[11:19:43] mask dilate thread started for segment 7
[11:19:43] mask filter thread started for segment 3
[11:19:43] mask filter thread started for segment 6
[11:19:43] mask filter thread started for segment 7
[11:19:43] mask filter thread started for segment 5
[11:19:43] NLMeans using SSE2 optimizations
[11:19:43] yadif thread started for segment 5
[11:19:43] mask erode thread started for segment 2
[11:19:43] decomb check thread started for segment 5
[11:19:43] mask erode thread started for segment 3
[11:19:43] NLMeans thread started for segment 3
[11:19:43] NLMeans thread started for segment 5
[11:19:43] mask dilate thread started for segment 0
[11:19:43] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP3, FLAC
[11:19:43] Auto Passthru: fallback is AAC (avcodec)
[11:19:43] Auto Passthru: using TrueHD Passthru for track 1
[11:19:43] NLMeans thread started for segment 6
[11:19:43] job configuration:
[11:19:43]  * source
[11:19:43] mask dilate thread started for segment 1
[11:19:43]    + D:\Media\Blu-ray\Warcraft_t00.mkv
[11:19:43]    + title 1, chapter(s) 1 to 20
[11:19:43]    + container: matroska,webm
[11:19:43]  * destination
[11:19:43]    + D:\Media\Blu-ray\Processed\Warcraft - Light.mkv
[11:19:43]    + container: Matroska (libavformat)
[11:19:43]      + chapter markers
[11:19:43]  * video track
[11:19:43]    + decoder: h264
[11:19:43]    + filters
[11:19:43]      + 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)
[11:19:43] decomb filter thread started for segment 1
[11:19:43]      + Decomb (mode=39)
[11:19:43]      + Framerate Shaper (mode=0)
[11:19:43]        + frame rate: same as source (around 23.976 fps)
[11:19:43] mask dilate thread started for segment 3
[11:19:43]      + Denoise (nlmeans) (y-strength=3:y-origin-tune=1:y-patch-size=7:y-range=3:y-frame-count=2:y-prefilter=0:cb-strength=3:cb-origin-tune=1:cb-patch-size=7:cb-range=3:cb-frame-count=2:cb-prefilter=0)
[11:19:43]      + Crop and Scale (width=1920:height=790:crop-top=146:crop-bottom=144:crop-left=0:crop-right=0)
[11:19:43]        + source: 1920 * 1080, crop (146/144/0/0): 1920 * 790, scale: 1920 * 790
[11:19:43]    + Output geometry
[11:19:43] mask dilate thread started for segment 2
[11:19:43]      + storage dimensions: 1920 x 790
[11:19:43]      + pixel aspect ratio: 1 : 1
[11:19:43]      + display dimensions: 1920 x 790
[11:19:43]    + encoder: H.264 (libx264)
[11:19:43]      + preset:  slow
[11:19:43] mask filter thread started for segment 0
[11:19:43]      + tune:    film
[11:19:43]      + profile: main
[11:19:43]      + level:   4.1
[11:19:43]      + quality: 18.00 (RF)
[11:19:43]  * audio track 1
[11:19:43] mask dilate thread started for segment 5
[11:19:43]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[11:19:43]      + samplerate: 48000 Hz
[11:19:43]    + TrueHD Passthru
[11:19:43] yadif thread started for segment 0
[11:19:43] mask dilate thread started for segment 6
[11:19:43] yadif thread started for segment 1
[11:19:43] yadif thread started for segment 2
[11:19:43] mask filter thread started for segment 4
[11:19:43] yadif thread started for segment 4
[11:19:43] yadif thread started for segment 3
[11:19:43] yadif thread started for segment 6
[11:19:43] yadif thread started for segment 7
[11:19:43] mask erode thread started for segment 0
[11:19:43] NLMeans thread started for segment 1
[11:19:43] NLMeans thread started for segment 2
[11:19:43] mask erode thread started for segment 5
[11:19:43] NLMeans thread started for segment 0
[11:19:43] NLMeans thread started for segment 4
[11:19:43] mask erode thread started for segment 4
[11:19:43] NLMeans thread started for segment 7
[11:19:43] mask erode thread started for segment 7
[11:19:43] sync: expecting 177120 video frames
[11:19:43] encx264: min-keyint: 24, keyint: 240
[11:19:43] encx264: encoding at constant RF 18.000000
[11:19:43] encx264: unparsed options: level=4.1:ref=5:deblock=-1,-1:vbv-bufsize=62500:me=umh:b-adapt=2:direct=auto:8x8dct=0:subme=8:psy-rd=1,0.15:vbv-maxrate=50000:rc-lookahead=50
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile Main, level 4.1
[11:19:43] sync: first pts audio 0x1 is 0
[11:19:43] sync: first pts video is 0
[11:19:43] sync: "Chapter 1" (1) at frame 1 time 0

Re: Handbrake 1.0.2 Constant Quality is running 2 pass encoding

Posted: Tue Feb 07, 2017 4:33 pm
by rollin_eng
It is searching for foreign language subtitles, you can turn it off on the subtitles tab.

Re: Handbrake 1.0.2 Constant Quality is running 2 pass encoding

Posted: Thu Feb 09, 2017 3:01 pm
by zorat
Thanks for the advice.