Partial / Cut-off Titles after Encode (Meta Data) - No longer matches filename

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
Alieo
Posts: 6
Joined: Mon Jul 29, 2019 4:24 pm

Partial / Cut-off Titles after Encode (Meta Data) - No longer matches filename

Post by Alieo »

Description of problem or question:
The .mkv files that I'm encoding are ending up with their titles being cut-off when viewed in VLC.

I create .mkv files using MakeMKV, I name every file manually. After I run it through Handbrake, the 'title' in the metadata is cut-off.

It seems to always cut off at the same place. For instance, if I have a show 'Show Title - S01E01 - Episode 1', after running through Handbrake the meta data for the title will be listed as 'Show Title - S01E01'.

I have been creating .mkv files and encoding with handbrake for a long time now and have never had this issue.

I can confirm that after the .mkv files are created using MakeMKV that the filenames and titles are correct and matching. After running them through Handbrake, the filenames look fine but the meta data for the title no longer matches the filename and only contains part of the title/filename.

Has anyone else experienced this? What do I do?

My solution right now is setting all titles manually using MKVToolNix. I have some batch files I run to set titles for files under special circumstances. Typically though, I don't have to do this, I only do this for special cases but now it seems I will have to do it for every .mkv I try to encode using Handbrake.

Lastly, I noticed that while the file is being encoded, it appears fine in VLC, the title matches the filename. As soon as the encode finishes or if I cancel the encode, the title becomes cut-off and no longer matches the filename.

I recently upgraded to 1.4.2 but I tried reverting back to 1.4.1 and the problem persists. Again, never had this problem before. Been encoding for years.

Steps to reproduce the problem (If Applicable):
1. Create .mkv file using MakeMKV
2. Encode using Handbrake
3. Wait for encode to finish or cancel encode and the meta data for the title will be cut-off.



HandBrake version (e.g., 1.0.0):
1.4.2 (first occurrence)
1.4.1 (after upgrading to 1.4.2 and reverting back to 1.4.1)





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



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

Code: Select all

HandBrake 1.4.2 (2021100300)
OS: Microsoft Windows NT 10.0.19042.0
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Ram: 16336 MB, 
GPU Information:
  NVIDIA GeForce GTX 1070 - 27.21.14.5671
Screen: 1920x1080
Temp Dir: C:\Users\anon\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\anon\AppData\Roaming\HandBrake

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


# Starting Encode ...
[16:15:00] base preset: H.265 MKV 1080p
Remote Process started with Process ID: 6072 using port: 8037. Max Allowed Instances: 1
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Disconnected worker monitoring enabled!
[16:15:01] Compile-time hardening features are enabled
[16:15:01] hb_init: starting libhb thread
[16:15:01] Starting work at: Tue Oct 19 16:15:01 2021
[16:15:01] 1 job(s) to process
[16:15:01] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 320,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "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",
      "copy:mp2"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\HandBrake\\Show Title - S03E01 - Episode 1.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "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": 13,
        "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": 4
    },
    "Title": 1,
    "Path": "D:\\MakeMKV\\Season Three - Disc One\\Show Title - S03E01 - Episode 1.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": true,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0
      }
    ]
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "strong-intra-smoothing=0:rect=0:aq-mode=1",
    "Preset": "slow",
    "Profile": "main",
    "Quality": 22,
    "QSV": {
      "Decode": false
    }
  }
}
[16:15:01] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[16:15:01]  - Intel microarchitecture Kaby Lake
[16:15:01]  - logical processor count: 8
[16:15:01] Intel Quick Sync Video support: no
[16:15:01] hb_scan: path=D:\MakeMKV\Season Three - Disc One\Show Title - S03E01 - Episode 1.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image D:\MakeMKV\Season Three - Disc One\Show Title - S03E01 - Episode 1.mkv
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(D:\MakeMKV\\Season Three - Disc One\Show Title - S03E01 - Episode 1.mkv\) failed
[16:15:01] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdrlibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
ead: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[16:15:01] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\MakeMKV\Season Three - Disc One\Show Title - S03E01 - Episode 1.mkv':
  Metadata:
    title           : Show Title - S03E01 - Episode 1
    encoder         : libmakemkv v1.16.3 (1.3.10/1.5.2) win(x64-release)
    creation_time   : 2021-10-19T20:56:31.000000Z
  Duration: 00:27:07.25, start: 0.000000, bitrate: 30569 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 570.695125
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 570.695125, end 1084.041292
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 1084.041292, end 1516.348167
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1516.348167, end 1627.250625
      Metadata:
        title           : Chapter 04
  Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 21549548
      DURATION-eng    : 00:27:07.250625000
      NUMBER_OF_FRAMES-eng: 39015
      NUMBER_OF_BYTES-eng: 4383312776
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-10-19 20:56:31
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit) (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 3893028
      DURATION-eng    : 00:27:07.253333333
      NUMBER_OF_FRAMES-eng: 152555
      NUMBER_OF_BYTES-eng: 791867816
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-10-19 20:56:31
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1509000
      DURATION-eng    : 00:27:07.253333333
      NUMBER_OF_FRAMES-eng: 152555
      NUMBER_OF_BYTES-eng: 306940660
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-10-19 20:56:31
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:3(eng): Audio: dts (DTS-HD MA), 48000 Hz, stereo, s32p (24 bit)
    Metadata:
      title           : Stereo
      BPS-eng         : 2064743
      DURATION-eng    : 00:27:07.253333333
      NUMBER_OF_FRAMES-eng: 152555
      NUMBER_OF_BYTES-eng: 419982504
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-10-19 20:56:31
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:4(eng): Audio: dts (DTS), 48000 Hz, stereo, fltp, 1536 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 1509000
      DURATION-eng    : 00:27:07.253333333
      NUMBER_OF_FRAMES-eng: 152555
      NUMBER_OF_BYTES-eng: 306940660
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-10-19 20:56:31
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080
    Metadata:
      BPS-eng         : 36708
      DURATION-eng    : 00:27:01.557437500
      NUMBER_OF_FRAMES-eng: 688
      NUMBER_OF_BYTES-eng: 7440664
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-10-19 20:56:31
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[16:15:01] scan: decoding previews for title 1
[16:15:01] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[16:15:01] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[16:15:01] scan: audio 0x3: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (2.0 ch)
[16:15:01] scan: audio 0x4: dca, rate=48000Hz, bitrate=1536000 English (DTS) (2.0 ch) (1536 kbps)
[16:15:01] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1
[16:15:01] libhb: scan thread found 1 valid title(s)
[16:15:01] Starting Task: Subtitle Scan
[16:15:01] Skipping crop/scale filter
[16:15:01] job configuration:
[16:15:01]  * source
[16:15:01]    + D:\MakeMKV\Season Three - Disc One\Show Title - S03E01 - Episode 1.mkv
[16:15:01]    + title 1, chapter(s) 1 to 4
[16:15:01]    + container: matroska,webm
[16:15:01]    + data rate: 30569 kbps
[16:15:01]  * destination
[16:15:01]    + D:\HandBrake\Show Title - S03E01 - Episode 1.mkv
[16:15:01]    + container: Matroska (libavformat)
[16:15:01]      + chapter markers
[16:15:01]  * video track
[16:15:01]    + decoder: h264 8-bit (yuv420p)
[16:15:01]    + filters
[16:15:01]      + 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:15:01]      + Decomb (mode=39)
[16:15:01]      + Framerate Shaper (mode=1)
[16:15:01]        + frame rate: 23.976 fps -> constant 23.976 fps
[16:15:01]    + Output geometry
[16:15:01]      + storage dimensions: 1920 x 1080
[16:15:01]      + pixel aspect ratio: 1 : 1
[16:15:01]      + display dimensions: 1920 x 1080
[16:15:01]  * Foreign Audio Search: Passthrough, Forced Only, Default
[16:15:01]    + subtitle, English [PGS] (track 0, id 0x5, Picture)
[16:15:01] sync: expecting 39014 video frames
[16:15:16] reader: done. 1 scr changes
[16:15:16] work: average encoding speed for job is 0.000000 fps
[16:15:16] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[16:15:16] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[16:15:16] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[16:15:16] vfr: lost time: 0 (0 frames)
[16:15:16] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:15:17] h264-decoder done: 0 frames, 0 decoder errors
[16:15:17] sync: got 0 frames, 39014 expected
[16:15:17] Subtitle track 0 (id 0x5) 'English [PGS]': 344 hits (0 forced)
[16:15:17] No candidate detected during subtitle scan
[16:15:17] Starting Task: Encoding Pass
[16:15:17] Skipping crop/scale filter
[16:15:17] work: track 1, dithering not supported by codec
[16:15:17] job configuration:
[16:15:17]  * source
[16:15:17]    + D:\MakeMKV\Season Three - Disc One\Show Title - S03E01 - Episode 1.mkv
[16:15:17]    + title 1, chapter(s) 1 to 4
[16:15:17]    + container: matroska,webm
[16:15:17]    + data rate: 30569 kbps
[16:15:17]  * destination
[16:15:17]    + D:\HandBrake\Show Title - S03E01 - Episode 1.mkv
[16:15:17]    + container: Matroska (libavformat)
[16:15:17]      + chapter markers
[16:15:17]  * video track
[16:15:17]    + decoder: h264 8-bit (yuv420p)
[16:15:17]    + filters
[16:15:17]      + 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:15:17]      + Decomb (mode=39)
[16:15:17]      + Framerate Shaper (mode=1)
[16:15:17]        + frame rate: 23.976 fps -> constant 23.976 fps
[16:15:17]    + Output geometry
[16:15:17]      + storage dimensions: 1920 x 1080
[16:15:17]      + pixel aspect ratio: 1 : 1
[16:15:17]      + display dimensions: 1920 x 1080
[16:15:17]    + encoder: H.265 (libx265)
[16:15:17]      + preset:  slow
[16:15:17]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[16:15:17]      + profile: main
[16:15:17]      + level:   auto
[16:15:17]      + quality: 22.00 (RF)
[16:15:17]      + color profile: 1-1-1
[16:15:17]  * subtitle track 1, English [PGS] (track 0, id 0x5, Picture) -> Passthrough
[16:15:17]  * audio track 1
[16:15:17]    + name: Surround 5.1
[16:15:17]    + decoder: English (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[16:15:17]      + samplerate: 48000 Hz
[16:15:17]    + mixdown: 5.1 Channels
[16:15:17]    + encoder: AAC (libavcodec)
[16:15:17]      + bitrate: 320 kbps, samplerate: 48000 Hz
[16:15:17] sync: expecting 39014 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][clang 12.0.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-22.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp lslices=4 deblock sao
[16:15:17] sync: first pts video is 0
[16:15:17] sync: "Chapter 1" (1) at frame 1 time 0
[16:15:17] sync: first pts audio 0x1 is 0
[16:15:17] sync: first pts subtitle 0x5 is 281520
[16:30:03] sync: "Chapter 2" (2) at frame 13687 time 51373822
[16:40:43] sync: "Chapter 3" (3) at frame 25995 time 97574977
[16:48:34] sync: "Chapter 4" (4) at frame 36360 time 136482596
[16:49:44] reader: done. 1 scr changes
[16:49:50] work: average encoding speed for job is 18.843054 fps
[16:49:50] comb detect: heavy 228 | light 603 | uncombed 38184 | total 39015
[16:49:50] decomb: deinterlaced 228 | blended 603 | unfiltered 38184 | total 39015
[16:49:50] vfr: 39015 frames output, 0 dropped and 0 duped for CFR/PFR
[16:49:50] vfr: lost time: 0 (0 frames)
[16:49:50] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:49:50] dca-decoder done: 152555 frames, 0 decoder errors
[16:49:50] h264-decoder done: 39015 frames, 0 decoder errors
[16:49:50] sync: got 39015 frames, 39014 expected
[16:49:50] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:    412, Avg QP:18.67  kb/s: 10642.41
x265 [info]: frame P:  10212, Avg QP:21.79  kb/s: 2183.06
x265 [info]: frame B:  28391, Avg QP:27.82  kb/s: 363.22
x265 [info]: Weighted P-Frames: Y:0.9% UV:0.7%
x265 [info]: consecutive B-frames: 9.8% 6.7% 24.0% 25.4% 34.1%
encoded 39015 frames in 2073.32s (18.82 fps), 948.10 kb/s, Avg QP:26.15
[16:49:50] mux: track 0, 39015 frames, 193006534 bytes, 948.85 kbps, fifo 4096
[16:49:50] mux: track 1, 76278 frames, 64909688 bytes, 319.11 kbps, fifo 8192
[16:49:50] mux: track 2, 688 frames, 7440664 bytes, 36.58 kbps, fifo 128
[16:49:50] Finished work at: Tue Oct 19 16:49:50 2021
[16:49:50] libhb: work result = 0

# Job Completed!

Post Reply