Page 1 of 1

Subtitles issues on convertions from M4V to MKV

Posted: Thu May 07, 2020 6:46 pm
by jonmonra
Hello people,
It has been a while since I use the tool and I am getting back to it due to some videos I have on .M4V and wanted to convert them to .MKV

The M4V file has two audio channel and two subtitles on it (no Burn it)

I do the process of setting things up for the conversion:

- Set audio as needed.
- Detect subtitles.
- Convert the file.

At the end I get the MKV file with the two Audios and two subtitles, however the subtitles displays one time and after that they wont display any more.

I tried different settings on the subtitle end with same results.

( enabled/disabled the Forced Only option, remove the foreign audio Scan, etc)

Adding the subs as Importing the srt, works OK but at the end is more work to be done When you have to do the process 25 times.

I use latest VLC to test the files.

Looking forward for any tip in order to solve the issue.

Thanks...





HandBrake version 1.3.2

Operating system and version Windows 10 pro version 1909 build 18363

HandBrake Activity Log ***required***

HandBrake 1.3.2 (2020050300)
OS: Microsoft Windows NT 10.0.18363.0
CPU: Intel(R) Core(TM) i7-5700HQ CPU @ 2.70GHz
Ram: 16263 MB,
GPU Information:
NVIDIA GeForce GTX 970M - 26.21.14.4587
Intel(R) HD Graphics 5600 - 20.19.15.5126
Screen: 1920x1080
Temp Dir: C:\Users\MSI User\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\MSI User\AppData\Roaming\HandBrake

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


# Starting Encode ...

[12:39:23] base preset: SW-Rebelds
[12:39:23] hb_init: starting libhb thread
[12:39:23] Starting work at: Thu May 07 12:39:23 2020
[12:39:23] 1 job(s) to process
[12:39:23] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 192,
"DRC": 0.0,
"Encoder": "ac3",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 48000,
"Name": "Español Latino 2 Channels @80 Kbps HE-AACFDK ~ ChocoCryspy",
"Track": 0,
"DitherMethod": 0
},
{
"Bitrate": 192,
"DRC": 0.0,
"Encoder": "ac3",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 48000,
"Name": "English 6 Channels (Surround) @192 Kbps HE-AACFDK ~ ChocoCryspy",
"Track": 1,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "C:\\Users\\MSI User\\Desktop\\Season 4\\S04e02 - Heroes Of Mandalore Pt2-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": 12,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "720",
"width": "1280"
}
},
{
"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": 1
},
"Title": 1,
"Path": "C:\\Users\\MSI User\\Desktop\\Season 4\\S04E02 - Heroes Of Mandalore Pt2.m4v"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": [
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 1,
"Offset": 0,
"Track": 0,
"Name": "Español Latino (SRT) ~ ChocoCryspy"
},
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 2,
"Offset": 0,
"Track": 1,
"Name": "English (SRT) ~ ChocoCryspy"
}
]
},
"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": 21.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[12:39:23] CPU: Intel(R) Core(TM) i7-5700HQ CPU @ 2.70GHz
[12:39:23] - logical processor count: 8
[12:39:23] Intel Quick Sync Video support: yes
[12:39:23] - Intel Media SDK hardware: API 1.20 (minimum: 1.3)
[12:39:23] - H.264 encoder: yes
[12:39:23] - preferred implementation: hardware (any) via D3D11
[12:39:23] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[12:39:23] - H.265 encoder: no
[12:39:23] hb_scan: path=C:\Users\MSI User\Desktop\Season 4\S04E02 - Heroes Of Mandalore Pt2.m4v, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\MSI User\Desktop\Season 4\S04E02 - Heroes Of Mandalore Pt2.m4v
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(C:\Users\MSI User\Desktop\Season 4\S04E02 - Heroes Of Mandalore Pt2.m4v\) failed
[12:39:23] 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
[12:39:23] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\MSI User\Desktop\Season 4\S04E02 - Heroes Of Mandalore Pt2.m4v':
Metadata:
major_brand : M4V
minor_version : 0
compatible_brands: M4V M4A mp42isom
creation_time : 2019-03-13T17:08:38.000000Z
title : Heroes of Mandalore, Pt. 2
artist : Star Wars Rebels
album_artist : Star Wars Rebels
album : Star Wars Rebels, Season 4
genre : Kids
date : 2017-10-16T07:00:00Z
track : 2/17
disc : 1/1
show : Star Wars Rebels
episode_id : 402
season_number : 4
episode_sort : 2
sort_show : Star Wars Rebels
description : When Sabine discovers the Empire has resurrected a devastating weapon she created and plans to use
synopsis : When Sabine discovers the Empire has resurrected a devastating weapon she created and plans to use it against her people, she must decide whether to destroy it or use it herself.
encoder : MkvToMp4 [www.mkvtomp4.ru] version: 0.224 (x64)
hd_video : 2
media_type : 10
account_type : 255
iTunEXTC : us-tv|TV-Y7|200|
Duration: 00:22:05.48, start: 0.000000, bitrate: 3480 kb/s
Stream #0:0(eng): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv), 1920x1080, 3194 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 100k tbn, 23.98 tbc (default)
Metadata:
creation_time : 2019-03-13T17:08:38.000000Z
encoder : H.265
title : Star Wars Rebels S04E02 Heroes Of Mandalore (2) ~ ChocoCryspy
Stream #0:1(lat): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 79 kb/s (default)
Metadata:
creation_time : 2019-03-13T17:08:38.000000Z
title : Español Latino 2 Channels @80 Kbps HE-AACFDK ~ ChocoCryspy
Stream #0:2(eng): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 192 kb/s
Metadata:
creation_time : 2019-03-13T17:08:38.000000Z
title : English 6 Channels (Surround) @192 Kbps HE-AACFDK ~ ChocoCryspy
Stream #0:3(lat): Subtitle: mov_text (tx3g / 0x67337874), 1920x162, 0 kb/s (default)
Metadata:
rotate : 0
creation_time : 2019-03-13T17:08:38.000000Z
title : Español Latino (SRT) ~ ChocoCryspy
Stream #0:4(eng): Subtitle: mov_text (tx3g / 0x67337874), 1920x162, 0 kb/s
Metadata:
rotate : 0
creation_time : 2019-03-13T17:08:38.000000Z
title : English (SRT) ~ ChocoCryspy
Stream #0:5: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 800x800 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc (attached pic)
[12:39:23] scan: decoding previews for title 1
[12:39:23] scan: audio 0x1: aac, rate=48000Hz, bitrate=79999 lingua latina (HE-AAC) (2.0 ch) (79 kbps)
[12:39:23] scan: audio 0x2: aac, rate=48000Hz, bitrate=192000 English (HE-AAC) (5.1 ch) (192 kbps)
[12:39:24] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[12:39:24] scan: supported video decoders: avcodec qsv
[12:39:24] libhb: scan thread found 1 valid title(s)
[12:39:24] Skipping subtitle scan. No suitable subtitle tracks.
[12:39:24] Starting Task: Encoding Pass
[12:39:24] work: only 1 chapter, disabling chapter markers
[12:39:24] job configuration:
[12:39:24] * source
[12:39:24] + C:\Users\MSI User\Desktop\Season 4\S04E02 - Heroes Of Mandalore Pt2.m4v
[12:39:24] + title 1, chapter(s) 1 to 1
[12:39:24] + container: mov,mp4,m4a,3gp,3g2,mj2
[12:39:24] + data rate: 3480 kbps
[12:39:24] * destination
[12:39:24] + C:\Users\MSI User\Desktop\Season 4\S04e02 - Heroes Of Mandalore Pt2-1.mkv
[12:39:24] + container: Matroska (libavformat)
[12:39:24] * video track
[12:39:24] + decoder: hevc
[12:39:24] + bitrate 3194 kbps
[12:39:24] + filters
[12:39:24] + 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)
[12:39:24] + Decomb (mode=39)
[12:39:24] + Framerate Shaper (mode=2:rate=27000000/900000)
[12:39:24] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[12:39:24] + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[12:39:24] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1280 * 720
[12:39:24] + Output geometry
[12:39:24] + storage dimensions: 1280 x 720
[12:39:24] + pixel aspect ratio: 1 : 1
[12:39:24] + display dimensions: 1280 x 720
[12:39:24] + encoder: H.265 (libx265)
[12:39:24] + preset: slow
[12:39:24] + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[12:39:24] + profile: main
[12:39:24] + level: auto
[12:39:24] + quality: 21.00 (RF)
[12:39:24] + color profile: 1-1-1
[12:39:24] * subtitle track 1, lingua latina [TX3G] (track 0, id 0x3, Text) -> Passthrough
[12:39:24] + name: Español Latino (SRT) ~ ChocoCryspy
[12:39:24] * subtitle track 2, English [TX3G] (track 1, id 0x4, Text) -> Passthrough
[12:39:24] + name: English (SRT) ~ ChocoCryspy
[12:39:24] * audio track 1
[12:39:24] + name: Español Latino 2 Channels @80 Kbps HE-AACFDK ~ ChocoCryspy
[12:39:24] + decoder: lingua latina (HE-AAC) (2.0 ch) (79 kbps) (track 1, id 0x1)
[12:39:24] + bitrate: 79 kbps, samplerate: 48000 Hz
[12:39:24] + mixdown: Stereo
[12:39:24] + dither: none
[12:39:24] + encoder: AC3 (libavcodec)
[12:39:24] + bitrate: 192 kbps, samplerate: 48000 Hz
[12:39:24] * audio track 2
[12:39:24] + name: English 6 Channels (Surround) @192 Kbps HE-AACFDK ~ ChocoCryspy
[12:39:24] + decoder: English (HE-AAC) (5.1 ch) (192 kbps) (track 2, id 0x2)
[12:39:24] + bitrate: 192 kbps, samplerate: 48000 Hz
[12:39:24] + mixdown: Stereo
[12:39:24] + dither: none
[12:39:24] + encoder: AC3 (libavcodec)
[12:39:24] + bitrate: 192 kbps, samplerate: 48000 Hz
[12:39:24] sync: expecting 31779 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.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-3.1 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 3 / wpp(12 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-21.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock sao
[12:39:24] sync: first pts video is 0
[12:39:24] sync: "Chapter 1" (1) at frame 1 time 0
[12:39:24] sync: first pts audio 0x2 is 0
[12:39:24] sync: first pts audio 0x1 is 3600
[12:39:43] sync: first pts subtitle 0x3 is 1569060
[12:39:43] sync: first pts subtitle 0x4 is 1569060

# Encode Stopped

[12:43:47] work: average encoding speed for job is 13.530149 fps
[12:43:48] comb detect: heavy 1100 | light 823 | uncombed 1624 | total 3547
[12:43:48] decomb: deinterlaced 1091 | blended 823 | unfiltered 1624 | total 3538
[12:43:48] vfr: 3529 frames output, 0 dropped and 0 duped for CFR/PFR
[12:43:48] vfr: lost time: 0 (0 frames)
[12:43:48] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:43:48] aac-decoder done: 3552 frames, 0 decoder errors
[12:43:48] aac-decoder done: 3552 frames, 0 decoder errors
[12:43:48] hevc-decoder done: 3613 frames, 0 decoder errors
[12:43:48] sync: got 3565 frames, 31779 expected
[12:43:48] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I: 49, Avg QP:19.23 kb/s: 6332.49
x265 [info]: frame P: 970, Avg QP:20.87 kb/s: 2969.52
x265 [info]: frame B: 2469, Avg QP:25.72 kb/s: 637.49
x265 [info]: Weighted P-Frames: Y:1.8% UV:0.6%
x265 [info]: consecutive B-frames: 15.9% 6.5% 13.5% 47.5% 16.7%
encoded 3488 frames in 263.83s (13.22 fps), 1366.02 kb/s, Avg QP:24.28
[12:43:48] mux: track 0, 3487 frames, 24849862 bytes, 1337.00 kbps, fifo 2048
[12:43:48] mux: track 1, 4645 frames, 3567360 bytes, 191.94 kbps, fifo 2048
[12:43:48] mux: track 2, 4645 frames, 3567360 bytes, 191.94 kbps, fifo 2048
[12:43:48] mux: track 3, 32 frames, 1593 bytes, 0.09 kbps, fifo 32
[12:43:48] mux: track 4, 38 frames, 1797 bytes, 0.10 kbps, fifo 32
[12:43:48] Finished work at: Thu May 07 12:43:48 2020
[12:43:48] libhb: work result = 1

# Encode Completed ...

Re: Subtitles issues on convertions from M4V to MKV

Posted: Fri May 15, 2020 7:01 pm
by jonmonra
Anyone with an idea on the issue?

Thanks!