Cannot embed srt into video clip.
Here is the log:
HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 10.0.17763.0
CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Ram: 8064 MB,
GPU Information:
Intel(R) HD Graphics 620 - 22.20.16.4749
Screen: 1600x900
Temp Dir: C:\Users\solejar\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\solejar\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[21:22:12] hb_init: starting libhb thread
[21:22:13] 1 job(s) to process
[21:22:13] json job:
{
"Audio": {
"AudioList": [],
"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": true,
"File": "C:\\Users\\solejar\\Desktop\\First Man 2018\\Result-01.mp4",
"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": 11,
"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\\solejar\\Desktop\\First Man 2018\\Proba sa novim.mp4"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": [
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 0,
"Offset": 0,
"Track": -1,
"SRT": {
"Codeset": "UTF-8",
"Filename": "C:\\Users\\solejar\\Desktop\\First Man 2018\\Proba sa novim.srt",
"Language": "eng"
}
}
]
},
"Video": {
"Encoder": "x264",
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "main",
"Quality": 22.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[21:22:13] CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
[21:22:13] - Intel microarchitecture Kaby Lake
[21:22:13] - logical processor count: 4
[21:22:13] Intel Quick Sync Video support: yes
[21:22:13] - Intel Media SDK hardware: API 1.24 (minimum: 1.3)
[21:22:13] - H.264 encoder: yes
[21:22:13] - preferred implementation: hardware (any) via D3D11
[21:22:13] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[21:22:13] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[21:22:13] - preferred implementation: hardware (any) via D3D11
[21:22:13] - capabilities (hardware): bpyramid icq vsinfo opt1
[21:22:13] hb_scan: path=C:\Users\solejar\Desktop\First Man 2018\Proba sa novim.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\solejar\Desktop\First Man 2018\Proba sa novim.mp4
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
[21:22:13] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[21:22:13] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\solejar\Desktop\First Man 2018\Proba sa novim.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2019-05-10T22:39:08.000000Z
Duration: 00:00:20.54, start: 0.000000, bitrate: 6344 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 380 kb/s (default)
Metadata:
creation_time : 2019-05-10T22:39:08.000000Z
handler_name : Mainconcept MP4 Sound Media Handler
Stream #0:1(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 5966 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
creation_time : 2019-05-10T22:39:08.000000Z
handler_name : Mainconcept MP4 Video Media Handler
encoder : AVC Coding
[21:22:13] scan: decoding previews for title 1
[21:22:13] scan: audio 0x0: aac, rate=48000Hz, bitrate=380520 English (AAC LC) (2.0 ch)
[21:22:13] scan: 10 previews, 1280x720, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[21:22:13] scan: supported video decoders: avcodec qsv
[21:22:13] libhb: scan thread found 1 valid title(s)
[21:22:13] starting job
[21:22:13] decomb filter thread started for segment 0
[21:22:13] decomb check thread started for segment 0
[21:22:13] decomb filter thread started for segment 1
[21:22:13] decomb filter thread started for segment 2
[21:22:13] decomb filter thread started for segment 3
[21:22:13] decomb check thread started for segment 2
[21:22:13] decomb check thread started for segment 3
[21:22:13] decomb check thread started for segment 1
[21:22:13] mask filter thread started for segment 0
[21:22:13] mask filter thread started for segment 1
[21:22:13] mask filter thread started for segment 2
[21:22:13] mask filter thread started for segment 3
[21:22:13] mask erode thread started for segment 0
[21:22:13] mask erode thread started for segment 1
[21:22:13] mask erode thread started for segment 2
[21:22:13] mask erode thread started for segment 3
[21:22:13] mask dilate thread started for segment 0
[21:22:13] mask dilate thread started for segment 1
[21:22:13] mask dilate thread started for segment 2
[21:22:13] mask dilate thread started for segment 3
[21:22:13] yadif thread started for segment 0
[21:22:13] yadif thread started for segment 1
[21:22:13] yadif thread started for segment 2
[21:22:13] yadif thread started for segment 3
[21:22:13] work: only 1 chapter, disabling chapter markers
[21:22:13] job configuration:
[21:22:13] * source
[21:22:13] + C:\Users\solejar\Desktop\First Man 2018\Proba sa novim.mp4
[21:22:13] + title 1, chapter(s) 1 to 1
[21:22:13] + container: mov,mp4,m4a,3gp,3g2,mj2
[21:22:13] + data rate: 6344 kbps
[21:22:13] * destination
[21:22:13] + C:\Users\solejar\Desktop\First Man 2018\Result-01.mp4
[21:22:13] + container: MPEG-4 (libavformat)
[21:22:13] + align initial A/V stream timestamps
[21:22:13] * video track
[21:22:13] + decoder: h264
[21:22:13] + bitrate 5966 kbps
[21:22:13] + filters
[21:22:13] + 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)
[21:22:13] + Decomb (mode=39)
[21:22:13] + Framerate Shaper (mode=2:rate=27000000/900000)
[21:22:13] + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[21:22:13] + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[21:22:13] + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 1280 * 720
[21:22:13] + Output geometry
[21:22:13] + storage dimensions: 1280 x 720
[21:22:13] + pixel aspect ratio: 1 : 1
[21:22:13] + display dimensions: 1280 x 720
[21:22:13] + encoder: H.264 (libx264)
[21:22:13] + preset: fast
[21:22:13] + profile: main
[21:22:13] + level: 4.0
[21:22:13] + quality: 22.00 (RF)
[21:22:13] + color profile: 1-1-1
[21:22:13] * subtitle track 1, English [SRT] (track 0, id 0xff, Text) -> Passthrough, offset: 0, charset: UTF-8
[21:22:13] sync: expecting 615 video frames
[21:22:13] encx264: min-keyint: 30, keyint: 300
[21:22:13] encx264: encoding at constant RF 22.000000
[21:22:13] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[21:22:13] sync: first pts video is 0
[21:22:13] sync: "Chapter 1" (1) at frame 1 time 0
[21:22:37] reader: done. 1 scr changes
[21:22:43] work: average encoding speed for job is 22.530964 fps
[21:22:43] comb detect: heavy 0 | light 11 | uncombed 604 | total 615
[21:22:43] decomb: deinterlaced 0 | blended 11 | unfiltered 604 | total 615
[21:22:43] vfr: 615 frames output, 0 dropped and 0 duped for CFR/PFR
[21:22:43] vfr: lost time: 0 (0 frames)
[21:22:43] vfr: gained time: 0 (0 frames) (0 not accounted for)
[21:22:43] h264-decoder done: 615 frames, 0 decoder errors
[21:22:43] sync: got 615 frames, 615 expected
[21:22:43] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:3 Avg QP:22.06 size: 45199
x264 [info]: frame P:163 Avg QP:24.02 size: 31788
x264 [info]: frame B:449 Avg QP:26.75 size: 12762
x264 [info]: consecutive B-frames: 0.7% 3.9% 6.3% 89.1%
x264 [info]: mb I I16..4: 36.1% 0.0% 63.9%
x264 [info]: mb P I16..4: 12.8% 0.0% 15.6% P16..4: 38.3% 21.6% 6.8% 0.0% 0.0% skip: 4.9%
x264 [info]: mb B I16..4: 6.4% 0.0% 3.2% B16..8: 42.7% 14.5% 0.8% direct:14.2% skip:18.3% L0:46.7% L1:43.5% BI: 9.8%
x264 [info]: coded y,uvDC,uvAC intra: 41.3% 72.5% 30.3% inter: 18.7% 43.2% 1.1%
x264 [info]: i16 v,h,dc,p: 38% 26% 16% 20%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 17% 16% 6% 5% 7% 5% 8% 4%
x264 [info]: i8c dc,h,v,p: 41% 19% 30% 11%
x264 [info]: Weighted P-Frames: Y:3.1% UV:3.1%
x264 [info]: ref P L0: 69.0% 31.0%
x264 [info]: ref B L0: 88.1% 11.9%
x264 [info]: ref B L1: 95.8% 4.2%
x264 [info]: kb/s:4306.86
[21:22:43] mux: track 0, 615 frames, 11047239 bytes, 4299.82 kbps, fifo 1024
[21:22:43] mux: track 1, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[21:22:43] libhb: work result = 0
# Encode Completed ...
subtitles
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.
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.
Re: subtitles
solejar, the subtitles are passed through on your encode:
[21:22:13] * subtitle track 1, English [SRT] (track 0, id 0xff, Text) -> Passthrough, offset: 0, charset: UTF-8
If they do not display in the result, was the original SRT file actually UTF-8 encoded? Are the time stamps on the subtitles actually within the times of the video?
[21:22:13] * subtitle track 1, English [SRT] (track 0, id 0xff, Text) -> Passthrough, offset: 0, charset: UTF-8
If they do not display in the result, was the original SRT file actually UTF-8 encoded? Are the time stamps on the subtitles actually within the times of the video?
Re: subtitles
Mod Note: Topic Split since this was unrelated to the other topic.
Re: subtitles
My bad.
The start time in SRT was different than one in the video.
SRT started after video has finished.
EVERYTHING works now.
Thank you for the hint.
The start time in SRT was different than one in the video.
SRT started after video has finished.
EVERYTHING works now.
Thank you for the hint.
Re: subtitles
What language/character code combination covers Cyrillic (Ukrainian) alphabet in Handbrake?
I have tried Russian, Serbian, Macedonian and Any with all ISO8859-1 to ISO8859-16 and ANSI, but all I got was some garbage embedded in the used video.
SRT file contains Ukrainian characters like Я, Є, Ю, С, П etc.
Here is the log for Russian/ISO8859-5 combination:
HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 10.0.17763.0
CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Ram: 8064 MB,
GPU Information:
Intel(R) HD Graphics 620 - 22.20.16.4749
Screen: 1600x900
Temp Dir: C:\Users\solejar\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\solejar\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[18:15:32] hb_init: starting libhb thread
[18:15:32] 1 job(s) to process
[18:15:32] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"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": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": true,
"File": "C:\\Users\\solejar\\Desktop\\First Man 2018\\Ukrainian subs.mp4",
"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": 11,
"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\\solejar\\Desktop\\First Man 2018\\Proba sa novim.mp4"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": [
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 0,
"Offset": 0,
"Track": -1,
"SRT": {
"Codeset": "ISO-8859-5",
"Filename": "C:\\Users\\solejar\\Desktop\\First Man 2018\\Proba sa novim.srt",
"Language": "rus"
}
}
]
},
"Video": {
"Encoder": "x264",
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "main",
"Quality": 22.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[18:15:32] CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
[18:15:32] - Intel microarchitecture Kaby Lake
[18:15:32] - logical processor count: 4
[18:15:32] Intel Quick Sync Video support: yes
[18:15:32] - Intel Media SDK hardware: API 1.24 (minimum: 1.3)
[18:15:32] - H.264 encoder: yes
[18:15:32] - preferred implementation: hardware (any) via D3D11
[18:15:32] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[18:15:32] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[18:15:32] - preferred implementation: hardware (any) via D3D11
[18:15:32] - capabilities (hardware): bpyramid icq vsinfo opt1
[18:15:32] hb_scan: path=C:\Users\solejar\Desktop\First Man 2018\Proba sa novim.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\solejar\Desktop\First Man 2018\Proba sa novim.mp4
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
[18:15:32] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[18:15:32] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\solejar\Desktop\First Man 2018\Proba sa novim.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2019-05-10T22:39:08.000000Z
Duration: 00:00:20.54, start: 0.000000, bitrate: 6344 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 380 kb/s (default)
Metadata:
creation_time : 2019-05-10T22:39:08.000000Z
handler_name : Mainconcept MP4 Sound Media Handler
Stream #0:1(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 5966 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
creation_time : 2019-05-10T22:39:08.000000Z
handler_name : Mainconcept MP4 Video Media Handler
encoder : AVC Coding
[18:15:32] scan: decoding previews for title 1
[18:15:32] scan: audio 0x0: aac, rate=48000Hz, bitrate=380520 English (AAC LC) (2.0 ch)
[18:15:33] scan: 10 previews, 1280x720, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[18:15:33] scan: supported video decoders: avcodec qsv
[18:15:33] libhb: scan thread found 1 valid title(s)
[18:15:33] starting job
[18:15:33] decomb filter thread started for segment 0
[18:15:33] decomb filter thread started for segment 1
[18:15:33] decomb filter thread started for segment 2
[18:15:33] decomb filter thread started for segment 3
[18:15:33] decomb check thread started for segment 0
[18:15:33] decomb check thread started for segment 1
[18:15:33] decomb check thread started for segment 2
[18:15:33] decomb check thread started for segment 3
[18:15:33] mask filter thread started for segment 0
[18:15:33] mask filter thread started for segment 1
[18:15:33] mask filter thread started for segment 2
[18:15:33] work: only 1 chapter, disabling chapter markers
[18:15:33] job configuration:
[18:15:33] * source
[18:15:33] + C:\Users\solejar\Desktop\First Man 2018\Proba sa novim.mp4
[18:15:33] + title 1, chapter(s) 1 to 1
[18:15:33] + container: mov,mp4,m4a,3gp,3g2,mj2
[18:15:33] + data rate: 6344 kbps
[18:15:33] * destination
[18:15:33] + C:\Users\solejar\Desktop\First Man 2018\Ukrainian subs.mp4
[18:15:33] + container: MPEG-4 (libavformat)
[18:15:33] + align initial A/V stream timestamps
[18:15:33] * video track
[18:15:33] + decoder: h264
[18:15:33] + bitrate 5966 kbps
[18:15:33] + filters
[18:15:33] + 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)
[18:15:33] + Decomb (mode=39)
[18:15:33] + Framerate Shaper (mode=2:rate=27000000/900000)
[18:15:33] + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[18:15:33] + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[18:15:33] + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 1280 * 720
[18:15:33] + Output geometry
[18:15:33] + storage dimensions: 1280 x 720
[18:15:33] + pixel aspect ratio: 1 : 1
[18:15:33] + display dimensions: 1280 x 720
[18:15:33] + encoder: H.264 (libx264)
[18:15:33] + preset: fast
[18:15:33] + profile: main
[18:15:33] + level: 4.0
[18:15:33] + quality: 22.00 (RF)
[18:15:33] + color profile: 1-1-1
[18:15:33] * subtitle track 1, ??????? [SRT] (track 0, id 0xff, Text) -> Passthrough, offset: 0, charset: ISO-8859-5
[18:15:33] * audio track 1
[18:15:33] + decoder: English (AAC LC) (2.0 ch) (track 1, id 0x0)
[18:15:33] + bitrate: 380 kbps, samplerate: 48000 Hz
[18:15:33] + mixdown: Stereo
[18:15:33] + dither: none
[18:15:33] + encoder: AAC (libavcodec)
[18:15:33] + bitrate: 160 kbps, samplerate: 48000 Hz
[18:15:33] mask filter thread started for segment 3
[18:15:33] mask erode thread started for segment 0
[18:15:33] mask erode thread started for segment 1
[18:15:33] mask erode thread started for segment 2
[18:15:33] mask erode thread started for segment 3
[18:15:33] mask dilate thread started for segment 0
[18:15:33] mask dilate thread started for segment 1
[18:15:33] mask dilate thread started for segment 2
[18:15:33] mask dilate thread started for segment 3
[18:15:33] yadif thread started for segment 0
[18:15:33] yadif thread started for segment 1
[18:15:33] yadif thread started for segment 2
[18:15:33] yadif thread started for segment 3
[18:15:33] sync: expecting 615 video frames
[18:15:33] encx264: min-keyint: 30, keyint: 300
[18:15:33] encx264: encoding at constant RF 22.000000
[18:15:33] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[18:15:33] sync: first pts video is 0
[18:15:33] sync: "Chapter 1" (1) at frame 1 time 0
[18:15:33] sync: first pts audio 0x0 is 0
[18:15:33] sync: first pts subtitle 0xff is 0
[18:15:35] sync: subtitle 0xff duration <= 0, PTS 0
[18:15:59] reader: done. 1 scr changes
[18:16:05] work: average encoding speed for job is 20.772911 fps
[18:16:05] comb detect: heavy 0 | light 11 | uncombed 604 | total 615
[18:16:05] decomb: deinterlaced 0 | blended 11 | unfiltered 604 | total 615
[18:16:06] vfr: 615 frames output, 0 dropped and 0 duped for CFR/PFR
[18:16:06] vfr: lost time: 0 (0 frames)
[18:16:06] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:16:06] aac-decoder done: 963 frames, 0 decoder errors
[18:16:06] h264-decoder done: 615 frames, 0 decoder errors
[18:16:06] sync: got 615 frames, 615 expected
[18:16:06] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:3 Avg QP:22.06 size: 45199
x264 [info]: frame P:163 Avg QP:24.02 size: 31788
x264 [info]: frame B:449 Avg QP:26.75 size: 12762
x264 [info]: consecutive B-frames: 0.7% 3.9% 6.3% 89.1%
x264 [info]: mb I I16..4: 36.1% 0.0% 63.9%
x264 [info]: mb P I16..4: 12.8% 0.0% 15.6% P16..4: 38.3% 21.6% 6.8% 0.0% 0.0% skip: 4.9%
x264 [info]: mb B I16..4: 6.4% 0.0% 3.2% B16..8: 42.7% 14.5% 0.8% direct:14.2% skip:18.3% L0:46.7% L1:43.5% BI: 9.8%
x264 [info]: coded y,uvDC,uvAC intra: 41.3% 72.5% 30.3% inter: 18.7% 43.2% 1.1%
x264 [info]: i16 v,h,dc,p: 38% 26% 16% 20%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 17% 16% 6% 5% 7% 5% 8% 4%
x264 [info]: i8c dc,h,v,p: 41% 19% 30% 11%
x264 [info]: Weighted P-Frames: Y:3.1% UV:3.1%
x264 [info]: ref P L0: 69.0% 31.0%
x264 [info]: ref B L0: 88.1% 11.9%
x264 [info]: ref B L1: 95.8% 4.2%
x264 [info]: kb/s:4306.86
[18:16:06] mux: track 0, 615 frames, 11047239 bytes, 4292.85 kbps, fifo 1024
[18:16:06] mux: track 1, 964 frames, 415227 bytes, 161.35 kbps, fifo 1024
[18:16:06] mux: track 2, 2 frames, 146 bytes, 0.06 kbps, fifo 8
[18:16:06] libhb: work result = 0
# Encode Completed ...
I have tried Russian, Serbian, Macedonian and Any with all ISO8859-1 to ISO8859-16 and ANSI, but all I got was some garbage embedded in the used video.
SRT file contains Ukrainian characters like Я, Є, Ю, С, П etc.
Here is the log for Russian/ISO8859-5 combination:
HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 10.0.17763.0
CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Ram: 8064 MB,
GPU Information:
Intel(R) HD Graphics 620 - 22.20.16.4749
Screen: 1600x900
Temp Dir: C:\Users\solejar\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\solejar\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[18:15:32] hb_init: starting libhb thread
[18:15:32] 1 job(s) to process
[18:15:32] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"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": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": true,
"File": "C:\\Users\\solejar\\Desktop\\First Man 2018\\Ukrainian subs.mp4",
"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": 11,
"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\\solejar\\Desktop\\First Man 2018\\Proba sa novim.mp4"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": [
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 0,
"Offset": 0,
"Track": -1,
"SRT": {
"Codeset": "ISO-8859-5",
"Filename": "C:\\Users\\solejar\\Desktop\\First Man 2018\\Proba sa novim.srt",
"Language": "rus"
}
}
]
},
"Video": {
"Encoder": "x264",
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "main",
"Quality": 22.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[18:15:32] CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
[18:15:32] - Intel microarchitecture Kaby Lake
[18:15:32] - logical processor count: 4
[18:15:32] Intel Quick Sync Video support: yes
[18:15:32] - Intel Media SDK hardware: API 1.24 (minimum: 1.3)
[18:15:32] - H.264 encoder: yes
[18:15:32] - preferred implementation: hardware (any) via D3D11
[18:15:32] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[18:15:32] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[18:15:32] - preferred implementation: hardware (any) via D3D11
[18:15:32] - capabilities (hardware): bpyramid icq vsinfo opt1
[18:15:32] hb_scan: path=C:\Users\solejar\Desktop\First Man 2018\Proba sa novim.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\solejar\Desktop\First Man 2018\Proba sa novim.mp4
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
[18:15:32] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[18:15:32] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\solejar\Desktop\First Man 2018\Proba sa novim.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2019-05-10T22:39:08.000000Z
Duration: 00:00:20.54, start: 0.000000, bitrate: 6344 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 380 kb/s (default)
Metadata:
creation_time : 2019-05-10T22:39:08.000000Z
handler_name : Mainconcept MP4 Sound Media Handler
Stream #0:1(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 5966 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
creation_time : 2019-05-10T22:39:08.000000Z
handler_name : Mainconcept MP4 Video Media Handler
encoder : AVC Coding
[18:15:32] scan: decoding previews for title 1
[18:15:32] scan: audio 0x0: aac, rate=48000Hz, bitrate=380520 English (AAC LC) (2.0 ch)
[18:15:33] scan: 10 previews, 1280x720, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[18:15:33] scan: supported video decoders: avcodec qsv
[18:15:33] libhb: scan thread found 1 valid title(s)
[18:15:33] starting job
[18:15:33] decomb filter thread started for segment 0
[18:15:33] decomb filter thread started for segment 1
[18:15:33] decomb filter thread started for segment 2
[18:15:33] decomb filter thread started for segment 3
[18:15:33] decomb check thread started for segment 0
[18:15:33] decomb check thread started for segment 1
[18:15:33] decomb check thread started for segment 2
[18:15:33] decomb check thread started for segment 3
[18:15:33] mask filter thread started for segment 0
[18:15:33] mask filter thread started for segment 1
[18:15:33] mask filter thread started for segment 2
[18:15:33] work: only 1 chapter, disabling chapter markers
[18:15:33] job configuration:
[18:15:33] * source
[18:15:33] + C:\Users\solejar\Desktop\First Man 2018\Proba sa novim.mp4
[18:15:33] + title 1, chapter(s) 1 to 1
[18:15:33] + container: mov,mp4,m4a,3gp,3g2,mj2
[18:15:33] + data rate: 6344 kbps
[18:15:33] * destination
[18:15:33] + C:\Users\solejar\Desktop\First Man 2018\Ukrainian subs.mp4
[18:15:33] + container: MPEG-4 (libavformat)
[18:15:33] + align initial A/V stream timestamps
[18:15:33] * video track
[18:15:33] + decoder: h264
[18:15:33] + bitrate 5966 kbps
[18:15:33] + filters
[18:15:33] + 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)
[18:15:33] + Decomb (mode=39)
[18:15:33] + Framerate Shaper (mode=2:rate=27000000/900000)
[18:15:33] + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[18:15:33] + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[18:15:33] + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 1280 * 720
[18:15:33] + Output geometry
[18:15:33] + storage dimensions: 1280 x 720
[18:15:33] + pixel aspect ratio: 1 : 1
[18:15:33] + display dimensions: 1280 x 720
[18:15:33] + encoder: H.264 (libx264)
[18:15:33] + preset: fast
[18:15:33] + profile: main
[18:15:33] + level: 4.0
[18:15:33] + quality: 22.00 (RF)
[18:15:33] + color profile: 1-1-1
[18:15:33] * subtitle track 1, ??????? [SRT] (track 0, id 0xff, Text) -> Passthrough, offset: 0, charset: ISO-8859-5
[18:15:33] * audio track 1
[18:15:33] + decoder: English (AAC LC) (2.0 ch) (track 1, id 0x0)
[18:15:33] + bitrate: 380 kbps, samplerate: 48000 Hz
[18:15:33] + mixdown: Stereo
[18:15:33] + dither: none
[18:15:33] + encoder: AAC (libavcodec)
[18:15:33] + bitrate: 160 kbps, samplerate: 48000 Hz
[18:15:33] mask filter thread started for segment 3
[18:15:33] mask erode thread started for segment 0
[18:15:33] mask erode thread started for segment 1
[18:15:33] mask erode thread started for segment 2
[18:15:33] mask erode thread started for segment 3
[18:15:33] mask dilate thread started for segment 0
[18:15:33] mask dilate thread started for segment 1
[18:15:33] mask dilate thread started for segment 2
[18:15:33] mask dilate thread started for segment 3
[18:15:33] yadif thread started for segment 0
[18:15:33] yadif thread started for segment 1
[18:15:33] yadif thread started for segment 2
[18:15:33] yadif thread started for segment 3
[18:15:33] sync: expecting 615 video frames
[18:15:33] encx264: min-keyint: 30, keyint: 300
[18:15:33] encx264: encoding at constant RF 22.000000
[18:15:33] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[18:15:33] sync: first pts video is 0
[18:15:33] sync: "Chapter 1" (1) at frame 1 time 0
[18:15:33] sync: first pts audio 0x0 is 0
[18:15:33] sync: first pts subtitle 0xff is 0
[18:15:35] sync: subtitle 0xff duration <= 0, PTS 0
[18:15:59] reader: done. 1 scr changes
[18:16:05] work: average encoding speed for job is 20.772911 fps
[18:16:05] comb detect: heavy 0 | light 11 | uncombed 604 | total 615
[18:16:05] decomb: deinterlaced 0 | blended 11 | unfiltered 604 | total 615
[18:16:06] vfr: 615 frames output, 0 dropped and 0 duped for CFR/PFR
[18:16:06] vfr: lost time: 0 (0 frames)
[18:16:06] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:16:06] aac-decoder done: 963 frames, 0 decoder errors
[18:16:06] h264-decoder done: 615 frames, 0 decoder errors
[18:16:06] sync: got 615 frames, 615 expected
[18:16:06] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:3 Avg QP:22.06 size: 45199
x264 [info]: frame P:163 Avg QP:24.02 size: 31788
x264 [info]: frame B:449 Avg QP:26.75 size: 12762
x264 [info]: consecutive B-frames: 0.7% 3.9% 6.3% 89.1%
x264 [info]: mb I I16..4: 36.1% 0.0% 63.9%
x264 [info]: mb P I16..4: 12.8% 0.0% 15.6% P16..4: 38.3% 21.6% 6.8% 0.0% 0.0% skip: 4.9%
x264 [info]: mb B I16..4: 6.4% 0.0% 3.2% B16..8: 42.7% 14.5% 0.8% direct:14.2% skip:18.3% L0:46.7% L1:43.5% BI: 9.8%
x264 [info]: coded y,uvDC,uvAC intra: 41.3% 72.5% 30.3% inter: 18.7% 43.2% 1.1%
x264 [info]: i16 v,h,dc,p: 38% 26% 16% 20%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 17% 16% 6% 5% 7% 5% 8% 4%
x264 [info]: i8c dc,h,v,p: 41% 19% 30% 11%
x264 [info]: Weighted P-Frames: Y:3.1% UV:3.1%
x264 [info]: ref P L0: 69.0% 31.0%
x264 [info]: ref B L0: 88.1% 11.9%
x264 [info]: ref B L1: 95.8% 4.2%
x264 [info]: kb/s:4306.86
[18:16:06] mux: track 0, 615 frames, 11047239 bytes, 4292.85 kbps, fifo 1024
[18:16:06] mux: track 1, 964 frames, 415227 bytes, 161.35 kbps, fifo 1024
[18:16:06] mux: track 2, 2 frames, 146 bytes, 0.06 kbps, fifo 8
[18:16:06] libhb: work result = 0
# Encode Completed ...