HB 1.3.1 will not encode an MKV that 1.2.2 will encode

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
Crunch_the_Numbers
Posts: 2
Joined: Sun Jan 12, 2020 9:53 pm

HB 1.3.1 will not encode an MKV that 1.2.2 will encode

Post by Crunch_the_Numbers »

Description of problem or question:
I was unable to encode an MKV file using HB 1.3.0. I updated to 1.3.1, but was still unable to encode it. I had a copy of HB 1.2.2 & that build successfully encodes the MKV. 1.3.1 does the subtitle scan (1 of 2), but immediately fails when starting scan 2 of 2. I've included the Activity Log from 1.3.1, but I also have the Activity Log that 1.2.2 produced.

Steps to reproduce the problem (If Applicable):
attempt to encode using 1.3.0 or 1.3.1

HandBrake version (e.g., 1.0.0):
1.3.1

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

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

Code: Select all

HandBrake 1.3.1 (2020010400)
OS: Microsoft Windows NT 10.0.18362.0
CPU: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
Ram: 16308 MB, 
GPU Information:
  Intel(R) UHD Graphics 620 - 25.20.100.6472
  NVIDIA GeForce GTX 1050 - 23.21.13.9140
Screen: 3000x2000
Temp Dir: C:\Users\User\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\User\AppData\Roaming\HandBrake

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


# Starting Encode ...

[03:57:08] base preset: Apple 1080p30 Surround
[15:57:08] hb_init: starting libhb thread
[15:57:08] Starting work at: Sun Jan 12 15:57:08 2020
[15:57:08] 1 job(s) to process
[15:57:08] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": "ac3",
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "Surround 5.1",
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "DRC": 0.0,
        "Encoder": "ac3",
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "Surround 5.1",
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "SOMETHING HE SAID"
      },
      {
        "Name": "GOING TO LAST"
      },
      {
        "Name": "SHAKE IT BABY (CREDITS)"
      },
      {
        "Name": "WINTER WAKE"
      },
      {
        "Name": "STAY HERE WITH ME"
      },
      {
        "Name": "HOLLY/JUDY DUET"
      },
      {
        "Name": "HAPPY BIRTHDAY"
      },
      {
        "Name": "I HAVE A SYNDROME"
      },
      {
        "Name": "SIGN ON THE JOB"
      },
      {
        "Name": "KARAOKE NIGHT"
      },
      {
        "Name": "RETURN ENGAGEMENT"
      },
      {
        "Name": "WHAT DO WOMEN WANT?"
      },
      {
        "Name": "GERRY'S THINGS"
      },
      {
        "Name": "TRAVEL PLANS"
      },
      {
        "Name": "IRELAND"
      },
      {
        "Name": "WRONG SONG"
      },
      {
        "Name": "BOATING NEWS"
      },
      {
        "Name": "WILLIE FOR DINNER"
      },
      {
        "Name": "BILLY FROM THE BAND"
      },
      {
        "Name": "MUM AND DAD"
      },
      {
        "Name": "MIND IF WE WALK?"
      },
      {
        "Name": "END OF LIFE AS WE KNOW IT"
      },
      {
        "Name": "THE SHOE FITS"
      },
      {
        "Name": "SOMEBODY'S GERRY"
      },
      {
        "Name": "FINAL DELIVERY"
      },
      {
        "Name": "FRIENDS FOREVER"
      },
      {
        "Name": "SEE YOU AROUND"
      },
      {
        "Name": "DEDICATION AND END CREDITS"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "M:\\Video Source Files\\Movie MKV Source files\\_Burn Queue\\P.S. I Love You (2007)-1(1).m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mp4"
  },
  "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": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 28
    },
    "Title": 1,
    "Path": "M:\\Video Source Files\\Movie MKV Source files\\P.S. I Love You\\P.S. I Love You (2007).mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 0,
        "Offset": 0,
        "Track": -1,
        "Import": {
          "Codeset": "UTF-8",
          "Filename": "M:\\Video Source Files\\Movie MKV Source files\\P.S. I Love You\\P.S. I Love You (2007).SRT",
          "Language": "eng",
          "Format": "SSA"
        }
      }
    ]
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "high",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[15:57:08] CPU: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
[15:57:08]  - Intel microarchitecture Kaby Lake
[15:57:08]  - logical processor count: 8
[15:57:08] Intel Quick Sync Video support: yes
[15:57:08]  - Intel Media SDK hardware: API 1.27 (minimum: 1.3)
[15:57:08]  - H.264 encoder: yes
[15:57:08]     - preferred implementation: hardware (any) via D3D11
[15:57:08]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[15:57:08]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[15:57:08]     - preferred implementation: hardware (any) via D3D11
[15:57:08]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[15:57:08] hb_scan: path=M:\Video Source Files\Movie MKV Source files\P.S. I Love You\P.S. I Love You (2007).mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image M:\Video Source Files\Movie MKV Source files\P.S. I Love You\P.S. I Love You (2007).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(M:\Video Source Files\Movie MKV Source files\P.S. I Love You\P.S. I Love You (2007).mkv\) failed
[15:57:08] 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
[15:57:08] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'M:\Video Source Files\Movie MKV Source files\P.S. I Love You\P.S. I Love You (2007).mkv':
  Metadata:
    encoder         : libmakemkv v1.14.4 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2019-06-26T11:09:33.000000Z
  Duration: 02:06:02.93, start: 0.000000, bitrate: 20259 kb/s
    Chapter #0:0: start 0.000000, end 317.608958
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 317.608958, end 618.284333
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 618.284333, end 824.573750
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 824.573750, end 1356.688667
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1356.688667, end 1546.044500
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1546.044500, end 1726.933542
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1726.933542, end 1919.959708
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 1919.959708, end 2260.758500
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 2260.758500, end 2535.241042
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 2535.241042, end 2837.084250
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2837.084250, end 3023.687333
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 3023.687333, end 3187.392542
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 3187.392542, end 3445.775667
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 3445.775667, end 3637.050083
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 3637.050083, end 3821.400917
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 3821.400917, end 4146.308833
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 4146.308833, end 4426.380292
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 4426.380292, end 4745.407333
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 4745.407333, end 4959.454500
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 4959.454500, end 5145.265125
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 5145.265125, end 5343.546542
    Metadata:
      title           : Chapter 21
    Chapter #0:21: start 5343.546542, end 5794.246792
    Metadata:
      title           : Chapter 22
    Chapter #0:22: start 5794.246792, end 6114.358250
    Metadata:
      title           : Chapter 23
    Chapter #0:23: start 6114.358250, end 6345.922917
    Metadata:
      title           : Chapter 24
    Chapter #0:24: start 6345.922917, end 6702.862833
    Metadata:
      title           : Chapter 25
    Chapter #0:25: start 6702.862833, end 7075.818750
    Metadata:
      title           : Chapter 26
    Chapter #0:26: start 7075.818750, end 7246.239000
    Metadata:
      title           : Chapter 27
    Chapter #0:27: start 7246.239000, end 7562.930375
    Metadata:
      title           : Chapter 28
    Stream #0:0(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p(bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 18112027
      DURATION-eng    : 02:06:02.930375000
      NUMBER_OF_FRAMES-eng: 181329
      NUMBER_OF_BYTES-eng: 17122499180
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-26 11:09:33
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: truehd, 48000 Hz, 5.1(side), s32 (24 bit) (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1456694
      DURATION-eng    : 02:06:02.930333333
      NUMBER_OF_FRAMES-eng: 9075517
      NUMBER_OF_BYTES-eng: 1377109948
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-26 11:09:33
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 640000
      DURATION-eng    : 02:06:02.944000000
      NUMBER_OF_FRAMES-eng: 236342
      NUMBER_OF_BYTES-eng: 605035520
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-26 11:09:33
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 38416
      DURATION-eng    : 02:04:26.563270833
      NUMBER_OF_FRAMES-eng: 3437
      NUMBER_OF_BYTES-eng: 35854965
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.4 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-26 11:09:33
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[15:57:09] scan: decoding previews for title 1
[15:57:09] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (5.1 ch)
[15:57:09] scan: audio 0x2: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
[15:57:10] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[15:57:10] libhb: scan thread found 1 valid title(s)
[15:57:11] Starting Task: Subtitle Scan
[15:57:11] Skipping crop/scale filter
[15:57:11] job configuration:
[15:57:11]  * source
[15:57:11]    + M:\Video Source Files\Movie MKV Source files\P.S. I Love You\P.S. I Love You (2007).mkv
[15:57:11]    + title 1, chapter(s) 1 to 28
[15:57:11]    + container: matroska,webm
[15:57:11]    + data rate: 20259 kbps
[15:57:11]  * destination
[15:57:11]    + M:\Video Source Files\Movie MKV Source files\_Burn Queue\P.S. I Love You (2007)-1(1).m4v
[15:57:11]    + container: MPEG-4 (libavformat)
[15:57:11]      + chapter markers
[15:57:11]  * video track
[15:57:11]    + decoder: vc1
[15:57:11]    + filters
[15:57:11]      + 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)
[15:57:11]      + Decomb (mode=39)
[15:57:11]      + Framerate Shaper (mode=2:rate=27000000/900000)
[15:57:11]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[15:57:11]    + Output geometry
[15:57:11]      + storage dimensions: 1920 x 1080
[15:57:11]      + pixel aspect ratio: 1 : 1
[15:57:11]      + display dimensions: 1920 x 1080
[15:57:11]  * Foreign Audio Search: Render/Burn-in, Forced Only
[15:57:11]    + subtitle, English [PGS] (track 0, id 0x3, Picture)
[15:57:11] sync: expecting 181328 video frames
[16:24:48] reader: done. 1 scr changes
[16:24:48] work: average encoding speed for job is 0.000000 fps
[16:24:48] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[16:24:48] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[16:24:48] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[16:24:48] vfr: lost time: 0 (0 frames)
[16:24:48] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:24:48] vc1-decoder done: 0 frames, 0 decoder errors
[16:24:48] sync: got 0 frames, 181328 expected
[16:24:48] Subtitle track 0 (id 0x3) 'English [PGS]': 1721 hits (0 forced)
[16:24:48] No candidate detected during subtitle scan
[16:24:48] Starting Task: Encoding Pass
[16:24:48] Skipping crop/scale filter
[16:24:48] work: mixdown not specified, track 1 setting mixdown 5.1 Channels
[16:24:48] work: bitrate not specified, track 1 setting bitrate 640 Kbps
[16:24:48] work: mixdown not specified, track 2 setting mixdown 5.1 Channels
[16:24:48] work: bitrate not specified, track 2 setting bitrate 640 Kbps
[16:24:48] job configuration:
[16:24:48]  * source
[16:24:48]    + M:\Video Source Files\Movie MKV Source files\P.S. I Love You\P.S. I Love You (2007).mkv
[16:24:48]    + title 1, chapter(s) 1 to 28
[16:24:48]    + container: matroska,webm
[16:24:48]    + data rate: 20259 kbps
[16:24:48]  * destination
[16:24:48]    + M:\Video Source Files\Movie MKV Source files\_Burn Queue\P.S. I Love You (2007)-1(1).m4v
[16:24:48]    + container: MPEG-4 (libavformat)
[16:24:48]      + chapter markers
[16:24:48]  * video track
[16:24:48]    + decoder: vc1
[16:24:48]    + filters
[16:24:48]      + 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)
[16:24:48]      + Decomb (mode=39)
[16:24:48]      + Framerate Shaper (mode=2:rate=27000000/900000)
[16:24:48]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[16:24:48]    + Output geometry
[16:24:48]      + storage dimensions: 1920 x 1080
[16:24:48]      + pixel aspect ratio: 1 : 1
[16:24:48]      + display dimensions: 1920 x 1080
[16:24:48]    + encoder: H.264 (libx264)
[16:24:48]      + preset:  medium
[16:24:48]      + profile: high
[16:24:48]      + level:   4.0
[16:24:48]      + quality: 22.00 (RF)
[16:24:48]      + color profile: 1-1-1
[16:24:48]  * subtitle track 1, English [SSA] (track 0, id 0xff000000, Text) -> Passthrough, offset: 0
[16:24:48]  * audio track 1
[16:24:48]    + name: Surround 5.1
[16:24:48]    + decoder: English (TrueHD) (5.1 ch) (track 1, id 0x1)
[16:24:48]      + samplerate: 48000 Hz
[16:24:48]    + mixdown: 5.1 Channels
[16:24:48]    + dither: none
[16:24:48]    + encoder: AC3 (libavcodec)
[16:24:48]      + bitrate: 640 kbps, samplerate: 48000 Hz
[16:24:48]  * audio track 2
[16:24:48]    + name: Surround 5.1
[16:24:48]    + decoder: English (TrueHD) (5.1 ch) (track 1, id 0x1)
[16:24:48]      + samplerate: 48000 Hz
[16:24:48]    + mixdown: 5.1 Channels
[16:24:48]    + dither: none
[16:24:48]    + encoder: AC3 (libavcodec)
[16:24:48]      + bitrate: 640 kbps, samplerate: 48000 Hz
Failure to initialise thread 'SSA Subtitle Decoder'
[16:24:52] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[16:24:52] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[16:24:52] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[16:24:52] vfr: lost time: 0 (0 frames)
[16:24:52] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:24:52] truehd-decoder done: 0 frames, 0 decoder errors
[16:24:52] truehd-decoder done: 0 frames, 0 decoder errors
[16:24:52] Finished work at: Sun Jan 12 16:24:52 2020
[16:24:52] libhb: work result = 3

# Encode Completed ...
Deleted User 11865

Re: HB 1.3.1 will not encode an MKV that 1.2.2 will encode

Post by Deleted User 11865 »

You're including an external subtitle file which is causing the encode to fail. HandBrake 1.2.x cannot import external subtitles in SSA format, hence why it doesn't fail.

AFAICT you're importing an SRT file as SSA; I'm not 100% sure how the Windows GUI works in that regard so maybe it's mis-detecting the input subtitle format? Otherwise make sure you select the correct format when importing the subtitle track.
Crunch_the_Numbers wrote: Mon Jan 13, 2020 12:40 am

Code: Select all

    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 0,
        "Offset": 0,
        "Track": -1,
        "Import": {
          "Codeset": "UTF-8",
          "Filename": "M:\\Video Source Files\\Movie MKV Source files\\P.S. I Love You\\P.S. I Love You (2007).SRT",
          "Language": "eng",
          "Format": "SSA"
        }
      }
Crunch_the_Numbers
Posts: 2
Joined: Sun Jan 12, 2020 9:53 pm

Re: HB 1.3.1 will not encode an MKV that 1.2.2 will encode

Post by Crunch_the_Numbers »

Thank you.

The Windows GUI only provides a Char Code reference. Both HB versions default to UTF-8 & I don't see any SSA selection in the list.

The only "code-like" thing I see within the SRT are that a couple of entries are trying to apply italics:
e.g. <i>...</i>

Do you have any idea how/why it could be jumping to an specific format? I thought the point of SRT was that it was pretty much plain text.
Deleted User 11865

Re: HB 1.3.1 will not encode an MKV that 1.2.2 will encode

Post by Deleted User 11865 »

Can you post a screenshot of the subtitles tab in the current Windows GUI? I don't have access to a Windows system right now.
Post Reply