Foreign Audio Scan Only Works Sometimes

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
TheRedneckRam
Posts: 3
Joined: Fri Apr 13, 2018 6:01 am

Foreign Audio Scan Only Works Sometimes

Post by TheRedneckRam »

Edit - Issue understood. No Further Action Needed

Description of problem or question:
I have an issue with the Foreign Audio Scan working sometimes and not other times. I am unsure if the algorithm is just being wonky with some shows or if I am setting something incorrectly.

Steps to reproduce the problem (If Applicable):
No Clue because it works on some episodes and not on others.

HandBrake version (e.g., 1.0.0):
Nightly 20180227205614-369b4f6-master (2018030301) - 64bit

Operating system and version:
Window 10 64bit Creators Update

HandBrake Activity Log ***required***

I am including two logs. The first log is for an episode of Gundam Build Fighters in which the Foreign Audio Scan did not pick up a subtitle track to use. The second log is for an episode of Gundam Iron Blooded Orphans in which the Foreign Audio Scan did its job properly and gave me a subtitle track like I wanted.

Code: Select all

HandBrake Nightly 20180227205614-369b4f6-master (2018030301) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Ram: 16244 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 3GB - 23.21.13.9077
  Intel(R) HD Graphics 630 - 22.20.16.4749
Screen: 1366x768
Temp Dir: C:\Users\Stehen\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\Stehen\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

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


# Starting Encode ...

[07:21:44] hb_init: starting libhb thread
[07:21:44] 1 job(s) to process
[07:21:44] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 1,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "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"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "E:\\!New Encode Holding Area\\E10 - Gunpla Collection.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": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 8
    },
    "Title": 10,
    "Path": "D:\\Video\\Build Fighters Try\\E10 - Gunpla Collection.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 2,
        "Offset": 0,
        "Track": 1
      }
    ]
  },
  "Video": {
    "Encoder": 1024,
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "balanced",
    "Profile": "auto",
    "Quality": 23.0,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[07:21:44] CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
[07:21:44]  - Intel microarchitecture Kaby Lake
[07:21:44]  - logical processor count: 8
[07:21:44] Intel Quick Sync Video support: yes
[07:21:44]  - Intel Media SDK hardware: API 1.24 (minimum: 1.3)
[07:21:44]  - H.264 encoder: yes
[07:21:44]     - preferred implementation: hardware (any) via D3D11
[07:21:44]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[07:21:44]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[07:21:44]     - preferred implementation: hardware (any) via D3D11
[07:21:44]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[07:21:44] hb_scan: path=D:\Video\Build Fighters Try\E10 - Gunpla Collection.mkv, title_index=10
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Video\Build Fighters Try\E10 - Gunpla Collection.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
[07:21:45] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
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
[07:21:45] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Video\Build Fighters Try\E10 - Gunpla Collection.mkv':
  Metadata:
    title           : Build Fighters Try BD2
  Duration: 00:25:12.13, start: 0.000000, bitrate: N/A
    Chapter #0:0: start 0.000000, end 80.455375
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 80.455375, end 170.837333
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 170.837333, end 658.032375
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 658.032375, end 1314.104458
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1314.104458, end 1404.653250
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1404.653250, end 1440.856083
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1440.856083, end 1452.033917
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 1452.033917, end 1512.135625
    Metadata:
      title           : Chapter 08
    Stream #0:0(eng): Video: h264 (High)
      yuv420p, tv, bt709/bt709/bt709
      1920x1080 [PAR 1:1 DAR 16:9], PAR 1:1 DAR 16:9
      23.98 fps, 1k tbn
    Metadata:
      BPS-eng         : 19693459
      DURATION-eng    : 00:25:12.135625000
      NUMBER_OF_FRAMES-eng: 36255
      NUMBER_OF_BYTES-eng: 3722396106
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-03 00:16:43
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: pcm_s16le
      48000 Hz, 2 channels, s16, 1536 kb/s (default)
    Metadata:
      title           : Stereo
      BPS-eng         : 1536000
      DURATION-eng    : 00:25:12.135625000
      NUMBER_OF_FRAMES-eng: 45365
      NUMBER_OF_BYTES-eng: 290330040
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-03 00:16:43
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(jpn): Audio: pcm_s16le
      48000 Hz, 2 channels, s16, 1536 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 1536000
      DURATION-eng    : 00:25:12.135625000
      NUMBER_OF_FRAMES-eng: 45365
      NUMBER_OF_BYTES-eng: 290330040
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-03 00:16:43
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 11987
      DURATION-eng    : 00:24:04.505562500
      NUMBER_OF_FRAMES-eng: 70
      NUMBER_OF_BYTES-eng: 2164415
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-03 00:16:43
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 53200
      DURATION-eng    : 00:24:11.178895833
      NUMBER_OF_FRAMES-eng: 681
      NUMBER_OF_BYTES-eng: 9650423
      SOURCE_ID-eng   : 001201
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-03 00:16:43
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[07:21:45] scan: decoding previews for title 10
[07:21:45] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 English (pcm_s16le) (2.0 ch)
[07:21:45] scan: audio 0x2: pcm_s16le, rate=48000Hz, bitrate=1536000 ??? (pcm_s16le) (2.0 ch)
[07:21:45] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[07:21:45] scan: supported video decoders: avcodec qsv
[07:21:45] libhb: scan thread found 1 valid title(s)
[07:21:46] starting job
[07:21:46] decomb filter thread started for segment 0
[07:21:46] decomb filter thread started for segment 3
[07:21:46] decomb filter thread started for segment 6
[07:21:46] decomb check thread started for segment 0
[07:21:46] decomb filter thread started for segment 4
[07:21:46] decomb filter thread started for segment 5
[07:21:46] mask filter thread started for segment 0
[07:21:46] mask filter thread started for segment 2
[07:21:46] decomb filter thread started for segment 1
[07:21:46] decomb check thread started for segment 1
[07:21:46] decomb check thread started for segment 2
[07:21:46] decomb check thread started for segment 3
[07:21:46] decomb check thread started for segment 4
[07:21:46] decomb check thread started for segment 5
[07:21:46] mask dilate thread started for segment 3
[07:21:46] decomb check thread started for segment 7
[07:21:46] decomb filter thread started for segment 2
[07:21:46] yadif thread started for segment 1
[07:21:46] decomb filter thread started for segment 7
[07:21:46] yadif thread started for segment 6
[07:21:46] job configuration:
[07:21:46]  * source
[07:21:46]    + D:\Video\Build Fighters Try\E10 - Gunpla Collection.mkv
[07:21:46]    + title 10, chapter(s) 1 to 8
[07:21:46]    + container: matroska,webm
[07:21:46] mask filter thread started for segment 4
[07:21:46]  * destination
[07:21:46]    + E:\!New Encode Holding Area\E10 - Gunpla Collection.mkv
[07:21:46]    + container: Matroska (libavformat)
[07:21:46]      + chapter markers
[07:21:46]  * video track
[07:21:46]    + decoder: h264
[07:21:46]    + filters
[07:21:46]      + 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)
[07:21:46] mask filter thread started for segment 5
[07:21:46]      + Decomb (mode=39)
[07:21:46]      + Framerate Shaper (mode=1)
[07:21:46]        + frame rate: 23.976 fps -> constant 23.976 fps
[07:21:46]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[07:21:46]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[07:21:46]    + Output geometry
[07:21:46]      + storage dimensions: 1920 x 1080
[07:21:46]      + pixel aspect ratio: 1 : 1
[07:21:46]      + display dimensions: 1920 x 1080
[07:21:46] mask filter thread started for segment 6
[07:21:46]  * Foreign Audio Search: Render/Burn-in, Forced Only
[07:21:46]    + subtitle, English [PGS] (track 0, id 0x3, Picture)
[07:21:46]    + subtitle, English [PGS] (track 1, id 0x4, Picture)
[07:21:46] mask filter thread started for segment 7
[07:21:46] mask erode thread started for segment 0
[07:21:46] mask erode thread started for segment 1
[07:21:46] mask erode thread started for segment 2
[07:21:46] mask erode thread started for segment 3
[07:21:46] mask erode thread started for segment 4
[07:21:46] mask erode thread started for segment 5
[07:21:46] mask erode thread started for segment 6
[07:21:46] mask erode thread started for segment 7
[07:21:46] mask dilate thread started for segment 0
[07:21:46] mask dilate thread started for segment 1
[07:21:46] mask dilate thread started for segment 2
[07:21:46] decomb check thread started for segment 6
[07:21:46] mask dilate thread started for segment 4
[07:21:46] mask dilate thread started for segment 5
[07:21:46] mask dilate thread started for segment 6
[07:21:46] mask dilate thread started for segment 7
[07:21:46] yadif thread started for segment 0
[07:21:46] mask filter thread started for segment 1
[07:21:46] yadif thread started for segment 2
[07:21:46] yadif thread started for segment 3
[07:21:46] yadif thread started for segment 4
[07:21:46] yadif thread started for segment 5
[07:21:46] mask filter thread started for segment 3
[07:21:46] yadif thread started for segment 7
[07:21:46] sync: expecting 36254 video frames
[07:22:08] reader: done. 1 scr changes
[07:22:08] work: average encoding speed for job is 0.000000 fps
[07:22:08] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[07:22:08] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[07:22:08] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[07:22:08] vfr: lost time: 0 (0 frames)
[07:22:08] vfr: gained time: 0 (0 frames) (0 not accounted for)
[07:22:08] h264-decoder done: 0 frames, 0 decoder errors
[07:22:08] sync: got 0 frames, 36254 expected
[07:22:08] Subtitle track 0 (id 0x3) 'English [PGS]': 51 hits (0 forced)
[07:22:08] Subtitle track 1 (id 0x4) 'English [PGS]': 398 hits (0 forced)
[07:22:08] No candidate detected during subtitle scan
[07:22:08] starting job
[07:22:08] decomb filter thread started for segment 0
[07:22:08] decomb filter thread started for segment 3
[07:22:08] decomb filter thread started for segment 2
[07:22:08] decomb filter thread started for segment 1
[07:22:08] decomb filter thread started for segment 4
[07:22:08] decomb filter thread started for segment 5
[07:22:08] decomb filter thread started for segment 6
[07:22:08] decomb filter thread started for segment 7
[07:22:08] mask filter thread started for segment 3
[07:22:08] decomb check thread started for segment 1
[07:22:08] decomb check thread started for segment 2
[07:22:08] decomb check thread started for segment 3
[07:22:08] decomb check thread started for segment 4
[07:22:08] decomb check thread started for segment 5
[07:22:08] mask dilate thread started for segment 2
[07:22:08] decomb check thread started for segment 7
[07:22:08] mask filter thread started for segment 0
[07:22:08] yadif thread started for segment 1
[07:22:08] mask filter thread started for segment 2
[07:22:08] decomb check thread started for segment 0
[07:22:08] work: track 1, dithering not supported by codec
[07:22:08] work: track 2, dithering not supported by codec
[07:22:08] mask filter thread started for segment 4
[07:22:08] mask filter thread started for segment 5
[07:22:08] job configuration:
[07:22:08]  * source
[07:22:08] mask filter thread started for segment 6
[07:22:08]    + D:\Video\Build Fighters Try\E10 - Gunpla Collection.mkv
[07:22:08]    + title 10, chapter(s) 1 to 8
[07:22:08]    + container: matroska,webm
[07:22:08]  * destination
[07:22:08]    + E:\!New Encode Holding Area\E10 - Gunpla Collection.mkv
[07:22:08]    + container: Matroska (libavformat)
[07:22:08]      + chapter markers
[07:22:08]  * video track
[07:22:08]    + decoder: h264
[07:22:08]    + filters
[07:22:08] mask filter thread started for segment 7
[07:22:08]      + 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)
[07:22:08]      + Decomb (mode=39)
[07:22:08]      + Framerate Shaper (mode=1)
[07:22:08]        + frame rate: 23.976 fps -> constant 23.976 fps
[07:22:08]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[07:22:08] mask erode thread started for segment 1
[07:22:08]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[07:22:08]    + Output geometry
[07:22:08]      + storage dimensions: 1920 x 1080
[07:22:08]      + pixel aspect ratio: 1 : 1
[07:22:08]      + display dimensions: 1920 x 1080
[07:22:08]    + encoder: H.265 10-bit (Intel Media SDK)
[07:22:08]      + preset:  balanced
[07:22:08]      + profile: auto
[07:22:08]      + level:   auto
[07:22:08]      + quality: 23.00 (ICQ)
[07:22:08]  * subtitle track 1, English [PGS] (track 0, id 0x3, Picture) -> Passthrough
[07:22:08]  * subtitle track 2, English [PGS] (track 1, id 0x4, Picture) -> Passthrough
[07:22:08]  * audio track 1
[07:22:08]    + decoder: English (pcm_s16le) (2.0 ch) (track 1, id 0x1)
[07:22:08]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[07:22:08]    + mixdown: Stereo
[07:22:08]    + encoder: AAC (libavcodec)
[07:22:08]      + bitrate: 160 kbps, samplerate: 48000 Hz
[07:22:08] mask erode thread started for segment 0
[07:22:08]  * audio track 2
[07:22:08]    + decoder: ??? (pcm_s16le) (2.0 ch) (track 2, id 0x2)
[07:22:08]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[07:22:08]    + mixdown: Stereo
[07:22:08]    + encoder: AAC (libavcodec)
[07:22:08]      + bitrate: 160 kbps, samplerate: 48000 Hz
[07:22:08] mask erode thread started for segment 2
[07:22:08] mask erode thread started for segment 3
[07:22:08] mask erode thread started for segment 4
[07:22:08] mask erode thread started for segment 5
[07:22:08] mask erode thread started for segment 6
[07:22:08] mask erode thread started for segment 7
[07:22:08] mask dilate thread started for segment 0
[07:22:08] mask dilate thread started for segment 1
[07:22:08] decomb check thread started for segment 6
[07:22:08] mask dilate thread started for segment 3
[07:22:08] mask dilate thread started for segment 4
[07:22:08] mask dilate thread started for segment 5
[07:22:08] mask dilate thread started for segment 6
[07:22:08] mask dilate thread started for segment 7
[07:22:08] yadif thread started for segment 0
[07:22:08] mask filter thread started for segment 1
[07:22:08] yadif thread started for segment 2
[07:22:08] yadif thread started for segment 3
[07:22:08] yadif thread started for segment 4
[07:22:08] yadif thread started for segment 5
[07:22:08] yadif thread started for segment 6
[07:22:08] yadif thread started for segment 7
[07:22:08] sync: expecting 36254 video frames
[07:22:08] encqsvInit: using encode-only path
[07:22:08] encqsvInit: H.265/HEVC Main 10 profile @ level (null)
[07:22:08] encqsvInit: TargetUsage 4 AsyncDepth 5
[07:22:08] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 2
[07:22:08] encqsvInit: BFramesMax 2 BRefType off
[07:22:08] encqsvInit: RateControlMethod ICQ ICQQuality 23
[07:22:08] sync: first pts video is 0
[07:22:08] sync: "Chapter 1" (1) at frame 1 time 0
[07:22:08] sync: first pts audio 0x1 is 0
[07:22:08] sync: first pts audio 0x2 is 0
[07:22:09] sync: first pts subtitle 0x4 is 172710
[07:22:09] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 1.24
[07:22:11] sync: first pts subtitle 0x3 is 773280
[07:22:33] sync: "Chapter 2" (2) at frame 1933 time 7252245
[07:23:04] sync: "Chapter 3" (3) at frame 4100 time 15386621
[07:25:29] sync: "Chapter 4" (4) at frame 15781 time 59234175
[07:29:03] sync: "Chapter 5" (5) at frame 31510 time 118276908
[07:29:32] sync: "Chapter 6" (6) at frame 33682 time 126430053
[07:29:44] sync: "Chapter 7" (7) at frame 34549 time 129684555
[07:29:48] sync: "Chapter 8" (8) at frame 34815 time 130683052
[07:30:06] reader: done. 1 scr changes
[07:30:07] work: average encoding speed for job is 75.736946 fps
[07:30:07] comb detect: heavy 34 | light 1247 | uncombed 34974 | total 36255
[07:30:07] decomb: deinterlaced 34 | blended 1247 | unfiltered 34974 | total 36255
[07:30:07] vfr: 36255 frames output, 0 dropped and 0 duped for CFR/PFR
[07:30:07] vfr: lost time: 0 (0 frames)
[07:30:07] vfr: gained time: 0 (0 frames) (0 not accounted for)
[07:30:07] pcm_s16le-decoder done: 45365 frames, 0 decoder errors
[07:30:07] pcm_s16le-decoder done: 45365 frames, 0 decoder errors
[07:30:07] h264-decoder done: 36255 frames, 0 decoder errors
[07:30:07] sync: got 36255 frames, 36254 expected
[07:30:07] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
[07:30:07] mux: track 0, 36255 frames, 474146464 bytes, 2508.42 kbps, fifo 2048
[07:30:07] mux: track 1, 70882 frames, 29091173 bytes, 153.90 kbps, fifo 4096
[07:30:07] mux: track 2, 70882 frames, 29056039 bytes, 153.72 kbps, fifo 4096
[07:30:07] mux: track 3, 70 frames, 2164415 bytes, 11.45 kbps, fifo 16
[07:30:07] mux: track 4, 681 frames, 9650423 bytes, 51.05 kbps, fifo 64
[07:30:07] libhb: work result = 0

# Encode Completed ...
Second Log In which the Foreign Audio Scan Worked

Code: Select all

HandBrake Nightly 20180227205614-369b4f6-master (2018030301) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Ram: 16244 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 3GB - 23.21.13.9077
  Intel(R) HD Graphics 630 - 22.20.16.4749
Screen: 1366x768
Temp Dir: C:\Users\Stehen\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\Stehen\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

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


# Starting Encode ...

[07:13:39] hb_init: starting libhb thread
[07:13:39] 1 job(s) to process
[07:13:39] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 1,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "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": "E:\\!New Encode Holding Area\\S01E13 - Funeral Rites.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": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 6
    },
    "Title": 13,
    "Path": "D:\\Video\\Gundam IBO Season 1 Part 1\\S01E13 - Funeral Rites.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 2,
        "Offset": 0,
        "Track": 1
      }
    ]
  },
  "Video": {
    "Encoder": 1024,
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "balanced",
    "Profile": "auto",
    "Quality": 23.0,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[07:13:39] CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
[07:13:39]  - Intel microarchitecture Kaby Lake
[07:13:39]  - logical processor count: 8
[07:13:39] Intel Quick Sync Video support: yes
[07:13:39]  - Intel Media SDK hardware: API 1.24 (minimum: 1.3)
[07:13:39]  - H.264 encoder: yes
[07:13:39]     - preferred implementation: hardware (any) via D3D11
[07:13:39]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[07:13:39]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[07:13:39]     - preferred implementation: hardware (any) via D3D11
[07:13:39]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[07:13:39] hb_scan: path=D:\Video\Gundam IBO Season 1 Part 1\S01E13 - Funeral Rites.mkv, title_index=13
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Video\Gundam IBO Season 1 Part 1\S01E13 - Funeral Rites.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
[07:13:39] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
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
[07:13:39] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Video\Gundam IBO Season 1 Part 1\S01E13 - Funeral Rites.mkv':
  Metadata:
    title           : MOBILE_SUIT_GUNDAM_S1P1D2
  Duration: 00:24:29.09, start: 0.000000, bitrate: N/A
    Chapter #0:0: start 0.000000, end 262.011750
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 262.011750, end 352.018333
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 352.018333, end 903.986417
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 903.986417, end 1322.863208
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1322.863208, end 1438.061625
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1438.061625, end 1469.092625
    Metadata:
      title           : Chapter 06
    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         : 24994025
      DURATION-eng    : 00:24:29.092625000
      NUMBER_OF_FRAMES-eng: 35223
      NUMBER_OF_BYTES-eng: 4589815298
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-04 04:57:53
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: ac3
      48000 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      title           : Stereo
      BPS-eng         : 192000
      DURATION-eng    : 00:24:29.120000000
      NUMBER_OF_FRAMES-eng: 45910
      NUMBER_OF_BYTES-eng: 35258880
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-04 04:57:53
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(jpn): Audio: ac3
      48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 192000
      DURATION-eng    : 00:24:29.120000000
      NUMBER_OF_FRAMES-eng: 45910
      NUMBER_OF_BYTES-eng: 35258880
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-04 04:57:53
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 39222
      DURATION-eng    : 00:24:16.851229166
      NUMBER_OF_FRAMES-eng: 780
      NUMBER_OF_BYTES-eng: 7142662
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-04 04:57:53
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 5695
      DURATION-eng    : 00:19:29.689354166
      NUMBER_OF_FRAMES-eng: 77
      NUMBER_OF_BYTES-eng: 832695
      SOURCE_ID-eng   : 001201
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-04 04:57:53
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[07:13:39] scan: decoding previews for title 13
[07:13:39] scan: audio 0x1: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[07:13:39] scan: audio 0x2: ac3, rate=48000Hz, bitrate=192000 ??? (AC3) (2.0 ch)
[07:13:41] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[07:13:41] scan: supported video decoders: avcodec qsv
[07:13:41] libhb: scan thread found 1 valid title(s)
[07:13:41] starting job
[07:13:41] decomb filter thread started for segment 0
[07:13:41] decomb filter thread started for segment 4
[07:13:41] decomb filter thread started for segment 6
[07:13:41] decomb check thread started for segment 0
[07:13:41] decomb filter thread started for segment 1
[07:13:41] decomb filter thread started for segment 5
[07:13:41] decomb filter thread started for segment 2
[07:13:41] decomb filter thread started for segment 7
[07:13:41] decomb filter thread started for segment 3
[07:13:41] decomb check thread started for segment 1
[07:13:41] decomb check thread started for segment 2
[07:13:41] decomb check thread started for segment 3
[07:13:41] decomb check thread started for segment 4
[07:13:41] decomb check thread started for segment 5
[07:13:41] decomb check thread started for segment 6
[07:13:41] decomb check thread started for segment 7
[07:13:41] mask filter thread started for segment 0
[07:13:41] mask filter thread started for segment 1
[07:13:41] mask filter thread started for segment 2
[07:13:41] yadif thread started for segment 7
[07:13:41] job configuration:
[07:13:41]  * source
[07:13:41]    + D:\Video\Gundam IBO Season 1 Part 1\S01E13 - Funeral Rites.mkv
[07:13:41]    + title 13, chapter(s) 1 to 6
[07:13:41] mask filter thread started for segment 4
[07:13:41]    + container: matroska,webm
[07:13:41]  * destination
[07:13:41]    + E:\!New Encode Holding Area\S01E13 - Funeral Rites.mkv
[07:13:41]    + container: Matroska (libavformat)
[07:13:41]      + chapter markers
[07:13:41]  * video track
[07:13:41]    + decoder: h264
[07:13:41]    + filters
[07:13:41]      + 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)
[07:13:41] mask filter thread started for segment 5
[07:13:41]      + Decomb (mode=39)
[07:13:41]      + Framerate Shaper (mode=1)
[07:13:41]        + frame rate: 23.976 fps -> constant 23.976 fps
[07:13:41]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[07:13:41]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[07:13:41]    + Output geometry
[07:13:41]      + storage dimensions: 1920 x 1080
[07:13:41]      + pixel aspect ratio: 1 : 1
[07:13:41] mask filter thread started for segment 6
[07:13:41]      + display dimensions: 1920 x 1080
[07:13:41]  * Foreign Audio Search: Render/Burn-in, Forced Only
[07:13:41]    + subtitle, English [PGS] (track 0, id 0x3, Picture)
[07:13:41]    + subtitle, English [PGS] (track 1, id 0x4, Picture)
[07:13:41] mask filter thread started for segment 7
[07:13:41] mask erode thread started for segment 0
[07:13:41] mask erode thread started for segment 1
[07:13:41] mask erode thread started for segment 3
[07:13:41] mask erode thread started for segment 2
[07:13:41] mask erode thread started for segment 4
[07:13:41] mask erode thread started for segment 5
[07:13:41] mask erode thread started for segment 6
[07:13:41] mask erode thread started for segment 7
[07:13:41] mask dilate thread started for segment 0
[07:13:41] mask dilate thread started for segment 1
[07:13:41] mask dilate thread started for segment 2
[07:13:41] mask dilate thread started for segment 3
[07:13:41] mask dilate thread started for segment 4
[07:13:41] mask dilate thread started for segment 5
[07:13:41] mask dilate thread started for segment 6
[07:13:41] mask dilate thread started for segment 7
[07:13:41] yadif thread started for segment 0
[07:13:41] yadif thread started for segment 1
[07:13:41] yadif thread started for segment 2
[07:13:41] yadif thread started for segment 3
[07:13:41] yadif thread started for segment 4
[07:13:41] yadif thread started for segment 5
[07:13:41] yadif thread started for segment 6
[07:13:41] mask filter thread started for segment 3
[07:13:41] sync: expecting 35222 video frames
[07:14:07] reader: done. 1 scr changes
[07:14:07] work: average encoding speed for job is 0.000000 fps
[07:14:07] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[07:14:07] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[07:14:07] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[07:14:07] vfr: lost time: 0 (0 frames)
[07:14:07] vfr: gained time: 0 (0 frames) (0 not accounted for)
[07:14:07] h264-decoder done: 0 frames, 0 decoder errors
[07:14:07] sync: got 0 frames, 35222 expected
[07:14:07] Subtitle track 0 (id 0x3) 'English [PGS]': 408 hits (0 forced)
[07:14:07] Subtitle track 1 (id 0x4) 'English [PGS]': 40 hits (0 forced)
[07:14:07] Found a subtitle candidate with id 0x4
[07:14:07] starting job
[07:14:07] decomb filter thread started for segment 0
[07:14:07] decomb filter thread started for segment 1
[07:14:07] decomb filter thread started for segment 2
[07:14:07] decomb filter thread started for segment 3
[07:14:07] decomb check thread started for segment 2
[07:14:07] decomb check thread started for segment 4
[07:14:07] decomb filter thread started for segment 6
[07:14:07] decomb filter thread started for segment 7
[07:14:07] mask filter thread started for segment 3
[07:14:07] decomb check thread started for segment 1
[07:14:07] mask filter thread started for segment 7
[07:14:07] mask erode thread started for segment 0
[07:14:07] decomb filter thread started for segment 5
[07:14:07] mask erode thread started for segment 5
[07:14:07] decomb check thread started for segment 6
[07:14:07] mask dilate thread started for segment 1
[07:14:07] mask dilate thread started for segment 4
[07:14:07] mask filter thread started for segment 1
[07:14:07] mask filter thread started for segment 2
[07:14:07] decomb check thread started for segment 0
[07:14:07] yadif thread started for segment 4
[07:14:07] yadif thread started for segment 7
[07:14:07] work: track 1, dithering not supported by codec
[07:14:07] work: track 2, dithering not supported by codec
[07:14:07] mask filter thread started for segment 6
[07:14:07] decomb filter thread started for segment 4
[07:14:07] decomb check thread started for segment 3
[07:14:07] job configuration:
[07:14:07]  * source
[07:14:07]    + D:\Video\Gundam IBO Season 1 Part 1\S01E13 - Funeral Rites.mkv
[07:14:07]    + title 13, chapter(s) 1 to 6
[07:14:07]    + container: matroska,webm
[07:14:07]  * destination
[07:14:07]    + E:\!New Encode Holding Area\S01E13 - Funeral Rites.mkv
[07:14:07]    + container: Matroska (libavformat)
[07:14:07] mask erode thread started for segment 1
[07:14:07]      + chapter markers
[07:14:07]  * video track
[07:14:07]    + decoder: h264
[07:14:07]    + filters
[07:14:07]      + 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)
[07:14:07] mask erode thread started for segment 2
[07:14:07]      + Decomb (mode=39)
[07:14:07]      + Framerate Shaper (mode=1)
[07:14:07]        + frame rate: 23.976 fps -> constant 23.976 fps
[07:14:07]      + Subtitle renderer ()
[07:14:07] mask erode thread started for segment 3
[07:14:07]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[07:14:07]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[07:14:07]    + Output geometry
[07:14:07]      + storage dimensions: 1920 x 1080
[07:14:07]      + pixel aspect ratio: 1 : 1
[07:14:07]      + display dimensions: 1920 x 1080
[07:14:07]    + encoder: H.265 10-bit (Intel Media SDK)
[07:14:07]      + preset:  balanced
[07:14:07]      + profile: auto
[07:14:07]      + level:   auto
[07:14:07]      + quality: 23.00 (ICQ)
[07:14:07]  * subtitle track 1, English [PGS] (track 1, id 0x4, Picture) -> Render/Burn-in
[07:14:07]  * subtitle track 2, English [PGS] (track 0, id 0x3, Picture) -> Passthrough
[07:14:07]  * audio track 1
[07:14:07]    + decoder: English (AC3) (2.0 ch) (track 1, id 0x1)
[07:14:07]      + bitrate: 192 kbps, samplerate: 48000 Hz
[07:14:07] mask erode thread started for segment 4
[07:14:07]    + mixdown: Stereo
[07:14:07]    + encoder: AAC (libavcodec)
[07:14:07]      + bitrate: 160 kbps, samplerate: 48000 Hz
[07:14:07]  * audio track 2
[07:14:07]    + decoder: ??? (AC3) (2.0 ch) (track 2, id 0x2)
[07:14:07]      + bitrate: 192 kbps, samplerate: 48000 Hz
[07:14:07]    + mixdown: Stereo
[07:14:07]    + encoder: AAC (libavcodec)
[07:14:07]      + bitrate: 160 kbps, samplerate: 48000 Hz
[07:14:07] decomb check thread started for segment 5
[07:14:07] mask erode thread started for segment 6
[07:14:07] mask erode thread started for segment 7
[07:14:07] mask dilate thread started for segment 0
[07:14:07] decomb check thread started for segment 7
[07:14:07] mask dilate thread started for segment 2
[07:14:07] mask dilate thread started for segment 3
[07:14:07] mask filter thread started for segment 0
[07:14:07] mask dilate thread started for segment 5
[07:14:07] mask dilate thread started for segment 6
[07:14:07] mask dilate thread started for segment 7
[07:14:07] yadif thread started for segment 0
[07:14:07] yadif thread started for segment 1
[07:14:07] yadif thread started for segment 2
[07:14:07] yadif thread started for segment 3
[07:14:07] mask filter thread started for segment 4
[07:14:07] yadif thread started for segment 5
[07:14:07] yadif thread started for segment 6
[07:14:07] mask filter thread started for segment 5
[07:14:07] sync: expecting 35222 video frames
[07:14:07] encqsvInit: using encode-only path
[07:14:07] encqsvInit: H.265/HEVC Main 10 profile @ level (null)
[07:14:07] encqsvInit: TargetUsage 4 AsyncDepth 5
[07:14:07] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 2
[07:14:07] encqsvInit: BFramesMax 2 BRefType off
[07:14:07] encqsvInit: RateControlMethod ICQ ICQQuality 23
[07:14:07] sync: first pts video is 0
[07:14:07] sync: "Chapter 1" (1) at frame 1 time 0
[07:14:07] sync: first pts audio 0x1 is 0
[07:14:07] sync: first pts audio 0x2 is 0
[07:14:08] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 1.24
[07:14:11] sync: first pts subtitle 0x3 is 953460
[07:15:34] sync: "Chapter 2" (2) at frame 6283 time 23581057
[07:15:36] sync: first pts subtitle 0x4 is 24076530
[07:16:02] sync: "Chapter 3" (3) at frame 8443 time 31689157
[07:18:52] sync: "Chapter 4" (4) at frame 21678 time 81370038
[07:20:55] sync: "Chapter 5" (5) at frame 31721 time 119068950
[07:21:34] sync: "Chapter 6" (6) at frame 34480 time 129425546
[07:21:42] reader: done. 1 scr changes
[07:21:44] work: average encoding speed for job is 77.242638 fps
[07:21:44] comb detect: heavy 78 | light 945 | uncombed 34200 | total 35223
[07:21:44] decomb: deinterlaced 78 | blended 945 | unfiltered 34200 | total 35223
[07:21:44] vfr: 35223 frames output, 0 dropped and 0 duped for CFR/PFR
[07:21:44] vfr: lost time: 0 (0 frames)
[07:21:44] vfr: gained time: 0 (0 frames) (0 not accounted for)
[07:21:44] ac3-decoder done: 45910 frames, 0 decoder errors
[07:21:44] ac3-decoder done: 45910 frames, 0 decoder errors
[07:21:44] h264-decoder done: 35223 frames, 0 decoder errors
[07:21:44] sync: got 35223 frames, 35222 expected
[07:21:44] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
[07:21:44] mux: track 0, 35223 frames, 483323766 bytes, 2631.81 kbps, fifo 2048
[07:21:44] mux: track 1, 68866 frames, 29344088 bytes, 159.79 kbps, fifo 4096
[07:21:44] mux: track 2, 68866 frames, 29430299 bytes, 160.25 kbps, fifo 4096
[07:21:44] mux: track 3, 780 frames, 7142662 bytes, 38.89 kbps, fifo 64
[07:21:44] libhb: work result = 0

# Encode Completed ...
This problem doesn't just happen with different shows either. The problem also occurred with several episodes from the same show where Foreign Audio Scan worked for about 4 episodes out of 13.
Last edited by TheRedneckRam on Wed Apr 18, 2018 6:20 am, edited 1 time in total.
Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: Foreign Audio Scan Only Works Sometimes

Post by Woodstock »

Using Foreign audio scan to choose the "proper" subtitle track requires that one track have 10% or fewer subtitles than others.
[07:22:08] Subtitle track 0 (id 0x3) 'English [PGS]': 51 hits (0 forced)
[07:22:08] Subtitle track 1 (id 0x4) 'English [PGS]': 398 hits (0 forced)
[07:22:08] No candidate detected during subtitle scan
51 is greater than 10% of 398.
[07:14:07] Subtitle track 0 (id 0x3) 'English [PGS]': 408 hits (0 forced)
[07:14:07] Subtitle track 1 (id 0x4) 'English [PGS]': 40 hits (0 forced)
[07:14:07] Found a subtitle candidate with id 0x4
40 is less than 10% of 408.

So, while handbrake couldn't figure out which to use by its rules, you have a better idea of which to choose.
Deleted User 11865

Re: Foreign Audio Scan Only Works Sometimes

Post by Deleted User 11865 »

Threshold used to be 20%, but apparently it was causing issues and was modified a long time ago. Unfortunately the developer who pushed the change didn't document it in the source and I don't recall ever finding any related forum topic explaining it either.
Deleted User 11865

Re: Foreign Audio Scan Only Works Sometimes

Post by Deleted User 11865 »

BTW Woodstock, this is a great example of how Foreign Audio Search + Forced Only works fine (in that packet count heuristics are used to determine the candidate) even though there are no forced subtitle packets anywhere in the input tracks ;)
TheRedneckRam
Posts: 3
Joined: Fri Apr 13, 2018 6:01 am

Re: Foreign Audio Scan Only Works Sometimes

Post by TheRedneckRam »

Ah, I see now. The 10% thing was a bit confusing to me because I couldn’t figure out the whole 10% of what part. It makes sense if it is using a 10% of the more frequent of two metric. I was originally thinking it meant something like “chooses x track if the total length of time on screen is 10% or less of the runtime length of video”.

Well I’ll just go back to doing it the old way where I checked every series in VLC to see which subitle track I need then manually select for that track to be burned in. I was thinking I could get away with a little less work and save time if I switched to using the foreign audio scan feature, but given the unpredictable nature of the foreign text subtitles in anime, I’ll just go with the more accurate method of manually setting them.

Thanks for your help guys.
Post Reply