Im encoding TS files to MP4 hardsubs, but subtitles are always missing at the end of videos. Sometimes only seconds (1 or 2 not important lines), but sometimes it is more than 1 minute (over 20 lines).
Is there a way how to fix it?
Steps to reproduce the problem (If Applicable):
When I open a TS file (TV program) in HandBrake - it always show bad duration. For example, this one file is 25:15 long, but HandBrake show only 24:09 (Title:1 Angle:1 Range: Chapters 1 Duration: 00:24:09). I have no problem with audio or video encoding - the final MP4 has always good duration (25:15), but burned subtitles always ends after bad duration (24:09).
I also tried to do softsub with handbrake - but it was the same - lines after bad duration (24:09) were erased...
(well, softsub is no problem with another software, but I want to do hardsubs with HandBrake)
HandBrake version:
HandBrake 1.7.0 (2023111500)
Operating system and version):
Microsoft Windows NT 10.0.19045.0
HandBrake Activity Log
Code: Select all
HandBrake 1.7.0 (2023111500)
OS: Microsoft Windows NT 10.0.19045.0
CPU: Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
Ram: 7966 MB,
GPU Information:
Intel(R) UHD Graphics 630 - 31.0.101.2115
Screen: 1536x864
Temp Dir: C:\Users\admin\AppData\Local\Temp\
Install Dir: C:\Users\admin\Desktop\HandBrake\
Data Dir: C:\Users\admin\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[21:28:46] base preset: en 720 (Modified)
[21:28:46] Remote Process started with Process ID: 2268 using port: 8037. Max Allowed Instances: 1
[21:28:46] Worker: Starting HandBrake Engine ...
[21:28:46] Worker: Parent Process Id 9208
[21:28:46] Worker: Starting Web Server on port 8037 ...
[21:28:46] Worker: Server Started
[21:28:47] Worker: Disconnected worker monitoring enabled!
[21:28:47] Compile-time hardening features are enabled
[21:28:57] qsv: is available on this system
Cannot load nvEncodeAPI64.dll
[21:28:57] vcn: not available on this system
starting libhb thread
[21:28:57] thread 3 started ("libhb")
[21:28:57] thread 4 started ("work")
[21:28:57] Starting work at: Sat Nov 18 21:28:57 2023
[21:28:57] 1 job(s) to process
[21:28:57] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 192,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 48000,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:eac3",
"copy:truehd",
"copy:dts",
"copy:dtshd",
"copy:mp3",
"copy:flac"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [],
"ChapterMarkers": false,
"AlignAVStart": true,
"File": "C:\\Users\\admin\\Desktop\\6.mp4",
"Options": {
"IpodAtom": false,
"Optimize": false
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 5,
"Settings": {
"mode": "23"
}
},
{
"ID": 19,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "720",
"width": "1280"
}
},
{
"ID": 10,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "C:\\Users\\admin\\Desktop\\6.ts"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": [
{
"Burn": true,
"Default": false,
"Forced": false,
"ID": 0,
"Offset": 0,
"Track": -1,
"Import": {
"Codeset": "UTF-8",
"Filename": "C:\\Users\\admin\\Desktop\\6.ass",
"Language": "eng",
"Format": "SSA"
}
}
]
},
"Video": {
"Encoder": "x264",
"Level": "5.0",
"Bitrate": 2500,
"MultiPass": true,
"Turbo": true,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "veryslow",
"Profile": "high",
"QSV": {
"Decode": false
},
"HardwareDecode": 0
}
}
[21:28:57] CPU: Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
[21:28:57] - Intel microarchitecture Kaby Lake
[21:28:57] - logical processor count: 6
[21:28:57] Intel Quick Sync Video support: yes, gpu list: 0
[21:28:57] Intel Quick Sync Video integrated adapter with index 0
[21:28:57] Impl mfxhw64 library path: C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_01a51642df54e3fe\libmfxhw64.dll
[21:28:57] - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
[21:28:57] - Decode support: h264 hevc (8bit: yes, 10bit: yes)
[21:28:57] - H.264 encoder: yes
[21:28:57] - preferred implementation: hardware (1) via D3D11
[21:28:57] - capabilities (hardware): breftype icq+la+i+downs vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[21:28:57] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[21:28:57] - preferred implementation: hardware (1) via D3D11
[21:28:57] - capabilities (hardware): bpyramid icq vsinfo masteringinfo cllinfo opt1
[21:28:57] - AV1 encoder: no
[21:28:57] hb_scan: path=C:\Users\admin\Desktop\6.ts, title_index=1
[21:28:57] thread 5 started ("scan")
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\Users\admin\Desktop\6.ts
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
[21:28:57] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
liblibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
dvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[21:28:57] dvd: not a dvd - trying as a stream/file instead
[21:28:57] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[21:28:57] Found the following PIDS
[21:28:57] Video PIDS :
[21:28:57] 0x1100 type MPEG2 (0x2)
[21:28:57] Audio PIDS :
[21:28:57] 0x1101 type AAC (0xf)
[21:28:57] Subtitle PIDS :
[21:28:57] Other PIDS :
[21:28:57] 0x1001 type Unknown (0xff) (PCR)
[21:28:57] stream id 0x1101 (type 0xf substream 0x0) audio 0x1101
[21:28:57] scan: decoding previews for title 1
[21:28:57] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[21:28:57] scan: preview 1
[21:28:57] fifo_close: trashing 0 buffer(s)
[21:28:57] scan: audio 0x1101: aac, rate=48000Hz, bitrate=240750 Unknown (AAC LC, 2.0 ch, 240 kbps)
[21:28:57] scan: preview 2
[21:28:57] scan: preview 3
[21:28:57] Interlacing detected in preview frame 3
[21:28:57] scan: preview 4
[21:28:57] Interlacing detected in preview frame 4
[21:28:57] scan: preview 5
[21:28:57] Interlacing detected in preview frame 5
[21:28:57] scan: preview 6
[21:28:57] Interlacing detected in preview frame 6
[21:28:57] scan: preview 7
[21:28:57] Interlacing detected in preview frame 7
[21:28:57] scan: preview 8
[21:28:58] scan: preview 9
[21:28:58] scan: preview 10
[21:28:58] stream: 10 good frames, 0 errors (0%)
[21:28:58] using bitstream PAR 4:3
[21:28:58] crop: [0] 0/0/0/0
[21:28:58] crop: [1] 0/0/0/0
[21:28:58] crop: [2] 0/0/0/0
[21:28:58] crop: [3] 0/0/0/0
[21:28:58] crop: [4] 0/0/0/0
[21:28:58] crop: [5] 0/0/0/0
[21:28:58] crop: [6] 0/0/0/0
[21:28:58] crop: [7] 0/0/0/0
[21:28:58] crop: [8] 0/0/0/0
[21:28:58] crop: [9] 0/0/0/0
[21:28:58] crop: less_than_median_frame_count: 0,
[21:28:58] scan: 10 previews, 1440x1080, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 4:3, color profile: 1-1-1, chroma location: left
[21:28:58] Title is likely interlaced or telecined (5 out of 10 previews). You should do something about that.
[21:28:58] Freed 7 buffers of size 1024
[21:28:58] Freed 1 buffers of size 2048
[21:28:58] Freed 1 buffers of size 4096
[21:28:58] Freed 1 buffers of size 8192
[21:28:58] Freed 1 buffers of size 16384
[21:28:58] Freed 1 buffers of size 32768
[21:28:58] Freed 1 buffers of size 65536
[21:28:58] Freed 2 buffers of size 131072
[21:28:58] Allocated 398336 bytes of buffers on this pass and Freed 398336 bytes, 0 bytes leaked
[21:28:58] thread 5 exited ("scan")
[21:28:58] thread 5 joined ("scan")
[21:28:58] libhb: scan thread found 1 valid title(s)
[21:28:58] Adding multi-pass encode
[21:28:58] Starting Task: Analysis Pass
[21:28:58] [ass] libass API version: 0x1701000
[21:28:58] [ass] libass source: tarball: 0.17.1
[21:28:58] [ass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.2.2 (COMPLEX)
[21:28:58] [ass] Using font provider directwrite (with GDI)
[21:28:58] work: track 1, dithering not supported by codec
[21:28:58] job configuration:
[21:28:58] * source
[21:28:58] + C:\Users\admin\Desktop\6.ts
[21:28:58] + title 1, chapter(s) 1 to 1
[21:28:58] * destination
[21:28:58] + C:\Users\admin\Desktop\6.mp4
[21:28:58] + container: MPEG-4 (libavformat)
[21:28:58] + align initial A/V stream timestamps
[21:28:58] * video track
[21:28:58] + decoder: mpeg2video 8-bit (yuv420p)
[21:28:58] + bitrate 200 kbps
[21:28:58] + filters
[21:28:58] + Decomb (mode=23)
[21:28:58] + Framerate Shaper (mode=1)
[21:28:58] + frame rate: 29.970 fps -> constant 29.970 fps
[21:28:58] + Subtitle renderer ()
[21:28:58] + AVFilter (zscale='width=1280:height=720:filter=lanczos',format='pix_fmts=yuv420p')
[21:28:58] + zscale: width=1280, height=720, filter=lanczos
[21:28:58] + format: pix_fmts=yuv420p
[21:28:58] + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[21:28:58] + source: 1440 * 1080, crop (0/0/0/0): 1440 * 1080, scale: 1280 * 720
[21:28:58] + Output geometry
[21:28:58] + storage dimensions: 1280 x 720
[21:28:58] + pixel aspect ratio: 1 : 1
[21:28:58] + display dimensions: 1280 x 720
[21:28:58] + encoder: H.264 (libx264)
[21:28:58] + preset: veryslow
[21:28:58] + profile: high
[21:28:58] + level: 5.0
[21:28:58] + bitrate: 2500 kbps, pass: 1
[21:28:58] + fast first pass
[21:28:58] + options: ref=1:8x8dct=0:me=dia:trellis=0
[21:28:58] analyse=i4x4 (if originally enabled, else analyse=none)
[21:28:58] subq=2 (if originally greater than 2, else subq unchanged)
[21:28:58] + color profile: 1-1-1
[21:28:58] + chroma location: left
[21:28:58] * subtitle track 1, English (SSA) (track 0, id 0xff000000, Text) -> Render/Burn-in, offset: 0
[21:28:58] * audio track 1
[21:28:58] + decoder: Unknown (AAC LC, 2.0 ch, 240 kbps) (track 1, id 0x1101)
[21:28:58] + bitrate: 240 kbps, samplerate: 48000 Hz
[21:28:58] + mixdown: Stereo
[21:28:58] + encoder: AAC (libavcodec)
[21:28:58] + bitrate: 192 kbps, samplerate: 48000 Hz
[21:28:58] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[21:28:58] sync: expecting 43430 video frames
[21:28:58] thread 6 started ("Audio Synchronization")
[21:28:58] thread 7 started ("Subtitle Synchronization")
[21:28:58] encx264: min-keyint: 30, keyint: 300
[21:28:58] encx264: encoding at average bitrate 2500
[21:28:58] encx264: unparsed options: level=5.0:ref=16:bframes=8:b-adapt=2:direct=auto:analyse=all:me=umh:merange=24:subme=10:trellis=2:vbv-bufsize=168750:vbv-maxrate=168750:rc-lookahead=60
[21:28:58] encx264: opening libx264 (pass 1)
x264 [info]: using SAR=1/1
x264 [warning]: VBV bitrate (168750) > level limit (135000)
x264 [warning]: VBV buffer (168750) > level limit (135000)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 UnalignedStack
x264 [info]: profile Main, level 5.0, 4:2:0, 8-bit
[21:28:58] thread 8 started ("Muxer")
[21:28:58] thread 9 started ("Reader")
[21:28:58] thread a started ("Audio decoder (libavcodec)")
[21:28:58] thread b started ("SSA Subtitle Decoder")
[21:28:58] thread c started ("Video decoder (libavcodec)")
[21:28:58] thread d started ("Video Synchronization")
[21:28:58] thread e started ("AVCodec Audio encoder (libavcodec)")
[21:28:58] thread f started ("H.264/AVC encoder (libx264)")
[21:28:58] thread 10 started ("Muxer")
[21:28:58] thread 11 started ("Decomb")
[21:28:58] thread 12 started ("Framerate Shaper")
[21:28:58] thread 13 started ("Subtitle renderer")
[21:28:58] thread 14 started ("AVFilter")
[21:28:58] thread b exited ("SSA Subtitle Decoder")
[21:28:58] sync: first pts video is 0
[21:28:58] sync: first pts audio 0x1101 is 0
[21:28:58] sync: first pts subtitle 0xff000000 is 0
[21:28:58] thread 15 started ("yadif_filter_segment")
[21:28:58] thread 16 started ("yadif_filter_segment")
[21:28:58] thread 17 started ("yadif_filter_segment")
[21:28:58] thread 18 started ("yadif_filter_segment")
[21:28:58] thread 19 started ("yadif_filter_segment")
[21:28:58] thread 1a started ("yadif_filter_segment")
[21:28:58] [ass] fontselect: (Tahoma, 700, 0) -> Tahoma-Bold, 0, Tahoma-Bold
[21:29:57] [ass] Glyph 0x5730 not found, selecting one more font for (Tahoma, 700, 0)
[21:29:57] [ass] fontselect: (Tahoma, 700, 0) -> YuGothicUI-Semibold, 2, YuGothicUI-Semibold
[21:31:21] [ass] fontselect: (Arial, 400, 0) -> ArialMT, 0, ArialMT
[21:35:08] [ass] fontselect: (Tahoma, 700, 100) -> Tahoma-Bold, 0, Tahoma-Bold
[21:51:18] hb_ts_stream_decode - eof
[21:51:18] reader: done. 1 scr changes
[21:51:18] thread 9 exited ("Reader")
[21:51:21] thread 10 exited ("Muxer")
[21:51:21] thread 10 joined ("Muxer")
[21:51:21] work: average encoding speed for job is 33.818443 fps
[21:51:21] thread d exited ("Video Synchronization")
[21:51:21] thread 14 exited ("AVFilter")
[21:51:21] thread 7 exited ("Subtitle Synchronization")
[21:51:21] thread 12 exited ("Framerate Shaper")
[21:51:21] thread c exited ("Video decoder (libavcodec)")
[21:51:21] thread 6 exited ("Audio Synchronization")
[21:51:21] thread a exited ("Audio decoder (libavcodec)")
[21:51:22] thread 13 exited ("Subtitle renderer")
[21:51:22] thread 11 exited ("Decomb")
[21:51:22] thread 11 joined ("Decomb")
[21:51:22] decomb: deinterlaced 90804 | blended 0 | unfiltered 0 | total 90804
[21:51:22] thread 15 exited ("yadif_filter_segment")
[21:51:22] thread 19 exited ("yadif_filter_segment")
[21:51:22] thread 18 exited ("yadif_filter_segment")
[21:51:22] thread 17 exited ("yadif_filter_segment")
[21:51:22] thread 16 exited ("yadif_filter_segment")
[21:51:22] thread 1a exited ("yadif_filter_segment")
[21:51:22] thread 15 joined ("yadif_filter_segment")
[21:51:22] thread 16 joined ("yadif_filter_segment")
[21:51:22] thread 17 joined ("yadif_filter_segment")
[21:51:22] thread 18 joined ("yadif_filter_segment")
[21:51:22] thread 19 joined ("yadif_filter_segment")
[21:51:22] thread 1a joined ("yadif_filter_segment")
[21:51:22] thread 12 joined ("Framerate Shaper")
[21:51:22] vfr: 45403 frames output, 45401 dropped and 0 duped for CFR/PFR
[21:51:22] vfr: lost time: 0 (0 frames)
[21:51:22] vfr: gained time: 0 (0 frames) (0 not accounted for)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] thread 13 joined ("Subtitle renderer")
[21:51:22] thread e exited ("AVCodec Audio encoder (libavcodec)")
[21:51:22] thread 8 exited ("Muxer")
[21:51:22] thread f exited ("H.264/AVC encoder (libx264)")
[21:51:22] thread 14 joined ("AVFilter")
[21:51:22] thread 9 joined ("Reader")
[21:51:22] thread a joined ("Audio decoder (libavcodec)")
[21:51:22] thread b joined ("SSA Subtitle Decoder")
[21:51:22] thread c joined ("Video decoder (libavcodec)")
[21:51:22] thread d joined ("Video Synchronization")
[21:51:22] thread e joined ("AVCodec Audio encoder (libavcodec)")
[21:51:22] thread f joined ("H.264/AVC encoder (libx264)")
[21:51:22] stream: 45402 good frames, 0 errors (0%)
[21:51:22] aac-decoder done: 71012 frames, 0 decoder errors
[21:51:22] mpeg2video-decoder done: 45402 frames, 0 decoder errors
[21:51:22] sync: got 45402 frames, 43430 expected
[21:51:22] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
[21:51:22] thread 6 joined ("Audio Synchronization")
[21:51:22] thread 7 joined ("Subtitle Synchronization")
[21:51:22] encavcodecaudio: closing libavcodec
[aac @ 000001a030568640] Ignoring attempt to flush encoder that doesn't support it
[aac @ 000001a030568640] Qavg: 1112.627
x264 [info]: frame I:322 Avg QP:21.33 size:177581
x264 [info]: frame P:9722 Avg QP:24.08 size: 29838
x264 [info]: frame B:35359 Avg QP:29.02 size: 3722
x264 [info]: consecutive B-frames: 1.6% 2.1% 8.5% 22.7% 15.9% 38.8% 4.7% 3.0% 2.7%
x264 [info]: mb I I16..4: 16.3% 0.0% 83.7%
x264 [info]: mb P I16..4: 10.1% 0.0% 0.0% P16..4: 56.8% 0.0% 0.0% 0.0% 0.0% skip:33.1%
x264 [info]: mb B I16..4: 0.9% 0.0% 0.0% B16..8: 14.0% 0.0% 0.0% direct: 4.8% skip:80.3% L0:32.7% L1:42.4% BI:24.9%
x264 [info]: final ratefactor: 23.07
x264 [info]: direct mvs spatial:99.9% temporal:0.1%
x264 [info]: coded y,uvDC,uvAC intra: 57.6% 54.4% 29.8% inter: 10.2% 6.2% 1.1%
x264 [info]: i16 v,h,dc,p: 37% 26% 21% 17%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 20% 14% 4% 11% 7% 7% 7% 9%
x264 [info]: i8c dc,h,v,p: 49% 22% 23% 6%
x264 [info]: Weighted P-Frames: Y:0.1% UV:0.0%
x264 [info]: kb/s:2528.82
[21:51:22] thread 8 joined ("Muxer")
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] fifo_close: trashing 0 buffer(s)
[21:51:22] Freed 320 buffers of size 1024
[21:51:22] Freed 5 buffers of size 2048
[21:51:22] Freed 32 buffers of size 4096
[21:51:22] Freed 15 buffers of size 8192
[21:51:22] Freed 32 buffers of size 16384
[21:51:22] Freed 14 buffers of size 32768
[21:51:22] Freed 12 buffers of size 65536
[21:51:22] Freed 8 buffers of size 131072
[21:51:22] Freed 1 buffers of size 262144
[21:51:22] Freed 1 buffers of size 524288
[21:51:22] Freed 1 buffers of size 2097152
[21:51:22] Freed 24 buffers of size 4194304
[21:51:22] Allocated 106956800 bytes of buffers on this pass and Freed 106956800 bytes, 0 bytes leaked
[21:51:22] Starting Task: Encoding Pass
[21:51:22] [ass] libass API version: 0x1701000
[21:51:22] [ass] libass source: tarball: 0.17.1
[21:51:22] [ass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.2.2 (COMPLEX)
[21:51:22] [ass] Using font provider directwrite (with GDI)
[21:51:22] work: track 1, dithering not supported by codec
[21:51:22] job configuration:
[21:51:22] * source
[21:51:22] + C:\Users\admin\Desktop\6.ts
[21:51:22] + title 1, chapter(s) 1 to 1
[21:51:22] * destination
[21:51:22] + C:\Users\admin\Desktop\6.mp4
[21:51:22] + container: MPEG-4 (libavformat)
[21:51:22] + align initial A/V stream timestamps
[21:51:22] * video track
[21:51:22] + decoder: mpeg2video 8-bit (yuv420p)
[21:51:22] + bitrate 200 kbps
[21:51:22] + filters
[21:51:22] + Decomb (mode=23)
[21:51:22] + Framerate Shaper (mode=1)
[21:51:22] + frame rate: 29.970 fps -> constant 29.970 fps
[21:51:22] + Subtitle renderer ()
[21:51:22] + AVFilter (zscale='width=1280:height=720:filter=lanczos',format='pix_fmts=yuv420p')
[21:51:22] + zscale: width=1280, height=720, filter=lanczos
[21:51:22] + format: pix_fmts=yuv420p
[21:51:22] + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[21:51:22] + source: 1440 * 1080, crop (0/0/0/0): 1440 * 1080, scale: 1280 * 720
[21:51:22] + Output geometry
[21:51:22] + storage dimensions: 1280 x 720
[21:51:22] + pixel aspect ratio: 1 : 1
[21:51:22] + display dimensions: 1280 x 720
[21:51:22] + encoder: H.264 (libx264)
[21:51:22] + preset: veryslow
[21:51:22] + profile: high
[21:51:22] + level: 5.0
[21:51:22] + bitrate: 2500 kbps, pass: 2
[21:51:22] + color profile: 1-1-1
[21:51:22] + chroma location: left
[21:51:22] * subtitle track 1, English (SSA) (track 0, id 0xff000000, Text) -> Render/Burn-in, offset: 0
[21:51:22] * audio track 1
[21:51:22] + decoder: Unknown (AAC LC, 2.0 ch, 240 kbps) (track 1, id 0x1101)
[21:51:22] + bitrate: 240 kbps, samplerate: 48000 Hz
[21:51:22] + mixdown: Stereo
[21:51:22] + encoder: AAC (libavcodec)
[21:51:22] + bitrate: 192 kbps, samplerate: 48000 Hz
[21:51:22] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[21:51:22] sync: expecting 45402 video frames
[21:51:22] thread 1d started ("Audio Synchronization")
[21:51:22] thread 1e started ("Subtitle Synchronization")
[21:51:22] encx264: min-keyint: 30, keyint: 300
[21:51:22] encx264: encoding at average bitrate 2500
[21:51:22] encx264: unparsed options: level=5.0:ref=16:bframes=8:b-adapt=2:direct=auto:analyse=all:me=umh:merange=24:subme=10:trellis=2:vbv-bufsize=168750:vbv-maxrate=168750:rc-lookahead=60
[21:51:22] encx264: opening libx264 (pass 2)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 UnalignedStack
x264 [info]: profile High, level 5.0, 4:2:0, 8-bit
[21:51:24] Writing Metadata to output file...
[21:51:24] thread 1f started ("Muxer")
[21:51:24] thread 20 started ("Reader")
[21:51:24] thread 21 started ("Audio decoder (libavcodec)")
[21:51:24] thread 22 started ("SSA Subtitle Decoder")
[21:51:24] thread 23 started ("Video decoder (libavcodec)")
[21:51:24] thread 24 started ("Video Synchronization")
[21:51:24] thread 25 started ("AVCodec Audio encoder (libavcodec)")
[21:51:24] thread 26 started ("H.264/AVC encoder (libx264)")
[21:51:24] thread 27 started ("Muxer")
[21:51:24] thread 28 started ("Decomb")
[21:51:24] thread 29 started ("Framerate Shaper")
[21:51:24] thread 2a started ("Subtitle renderer")
[21:51:24] thread 2b started ("AVFilter")
[21:51:24] thread 22 exited ("SSA Subtitle Decoder")
[21:51:24] sync: first pts video is 0
[21:51:24] sync: first pts audio 0x1101 is 0
[21:51:24] sync: first pts subtitle 0xff000000 is 0
[21:51:24] thread 2c started ("yadif_filter_segment")
[21:51:24] thread 2d started ("yadif_filter_segment")
[21:51:24] thread 2e started ("yadif_filter_segment")
[21:51:24] thread 2f started ("yadif_filter_segment")
[21:51:24] thread 30 started ("yadif_filter_segment")
[21:51:24] thread 31 started ("yadif_filter_segment")
[21:51:24] [ass] fontselect: (Tahoma, 700, 0) -> Tahoma-Bold, 0, Tahoma-Bold
[21:54:51] [ass] Glyph 0x5730 not found, selecting one more font for (Tahoma, 700, 0)
[21:54:51] [ass] fontselect: (Tahoma, 700, 0) -> YuGothicUI-Semibold, 2, YuGothicUI-Semibold
[21:58:33] [ass] fontselect: (Arial, 400, 0) -> ArialMT, 0, ArialMT
[22:09:56] [ass] fontselect: (Tahoma, 700, 100) -> Tahoma-Bold, 0, Tahoma-Bold
[22:51:51] hb_ts_stream_decode - eof
[22:51:51] reader: done. 1 scr changes
[22:51:51] thread 20 exited ("Reader")
[22:52:04] thread 27 exited ("Muxer")
[22:52:04] thread 27 joined ("Muxer")
[22:52:04] work: average encoding speed for job is 12.494649 fps
[22:52:04] thread 1d exited ("Audio Synchronization")
[22:52:04] thread 21 exited ("Audio decoder (libavcodec)")
[22:52:04] thread 1e exited ("Subtitle Synchronization")
[22:52:04] thread 29 exited ("Framerate Shaper")
[22:52:04] thread 2b exited ("AVFilter")
[22:52:04] thread 25 exited ("AVCodec Audio encoder (libavcodec)")
[22:52:04] thread 1f exited ("Muxer")
[22:52:04] thread 28 exited ("Decomb")
[22:52:04] thread 28 joined ("Decomb")
[22:52:04] decomb: deinterlaced 90804 | blended 0 | unfiltered 0 | total 90804
[22:52:04] thread 2c exited ("yadif_filter_segment")
[22:52:04] thread 31 exited ("yadif_filter_segment")
[22:52:04] thread 2e exited ("yadif_filter_segment")
[22:52:04] thread 30 exited ("yadif_filter_segment")
[22:52:04] thread 2f exited ("yadif_filter_segment")
[22:52:04] thread 2d exited ("yadif_filter_segment")
[22:52:04] thread 2c joined ("yadif_filter_segment")
[22:52:04] thread 2d joined ("yadif_filter_segment")
[22:52:04] thread 2e joined ("yadif_filter_segment")
[22:52:04] thread 2f joined ("yadif_filter_segment")
[22:52:04] thread 30 joined ("yadif_filter_segment")
[22:52:04] thread 31 joined ("yadif_filter_segment")
[22:52:04] thread 29 joined ("Framerate Shaper")
[22:52:04] vfr: 45403 frames output, 45401 dropped and 0 duped for CFR/PFR
[22:52:04] vfr: lost time: 0 (0 frames)
[22:52:04] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] thread 2a exited ("Subtitle renderer")
[22:52:04] thread 2a joined ("Subtitle renderer")
[22:52:04] thread 24 exited ("Video Synchronization")
[22:52:04] thread 23 exited ("Video decoder (libavcodec)")
[22:52:04] thread 2b joined ("AVFilter")
[22:52:04] thread 20 joined ("Reader")
[22:52:04] thread 21 joined ("Audio decoder (libavcodec)")
[22:52:04] thread 22 joined ("SSA Subtitle Decoder")
[22:52:04] thread 23 joined ("Video decoder (libavcodec)")
[22:52:04] thread 24 joined ("Video Synchronization")
[22:52:04] thread 25 joined ("AVCodec Audio encoder (libavcodec)")
[22:52:04] thread 26 exited ("H.264/AVC encoder (libx264)")
[22:52:04] thread 26 joined ("H.264/AVC encoder (libx264)")
[22:52:04] stream: 45402 good frames, 0 errors (0%)
[22:52:04] aac-decoder done: 71012 frames, 0 decoder errors
[22:52:04] mpeg2video-decoder done: 45402 frames, 0 decoder errors
[22:52:04] sync: got 45402 frames, 45402 expected
[22:52:04] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
[22:52:04] thread 1d joined ("Audio Synchronization")
[22:52:04] thread 1e joined ("Subtitle Synchronization")
[22:52:04] encavcodecaudio: closing libavcodec
[aac @ 000001a02d655880] Ignoring attempt to flush encoder that doesn't support it
[aac @ 000001a02d655880] Qavg: 1112.627
x264 [info]: frame I:322 Avg QP:22.69 size:169872
x264 [info]: frame P:9722 Avg QP:26.06 size: 28880
x264 [info]: frame B:35359 Avg QP:32.06 size: 3896
x264 [info]: consecutive B-frames: 1.6% 2.1% 8.5% 22.7% 15.9% 38.8% 4.7% 3.0% 2.7%
x264 [info]: mb I I16..4: 7.4% 55.8% 36.8%
x264 [info]: mb P I16..4: 1.1% 5.3% 1.1% P16..4: 36.3% 11.7% 11.0% 0.4% 0.1% skip:33.0%
x264 [info]: mb B I16..4: 0.1% 0.3% 0.0% B16..8: 27.5% 3.8% 0.9% direct: 1.7% skip:65.6% L0:40.4% L1:50.5% BI: 9.1%
x264 [info]: 8x8 transform intra:66.6% inter:62.5%
x264 [info]: direct mvs spatial:97.5% temporal:2.5%
x264 [info]: coded y,uvDC,uvAC intra: 71.1% 60.5% 32.8% inter: 9.9% 6.0% 1.1%
x264 [info]: i16 v,h,dc,p: 26% 34% 7% 33%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 8% 6% 8% 13% 15% 11% 13% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 15% 5% 8% 12% 12% 11% 10% 12%
x264 [info]: i8c dc,h,v,p: 36% 28% 21% 15%
x264 [info]: Weighted P-Frames: Y:0.1% UV:0.0%
x264 [info]: ref P L0: 54.8% 15.2% 14.5% 2.9% 3.2% 1.8% 2.0% 0.8% 0.9% 0.7% 0.7% 0.5% 0.6% 0.5% 0.6% 0.4%
x264 [info]: ref B L0: 86.2% 6.7% 2.5% 1.1% 0.7% 0.6% 0.5% 0.3% 0.2% 0.2% 0.2% 0.2% 0.2% 0.1% 0.1%
x264 [info]: ref B L1: 96.9% 3.1%
x264 [info]: kb/s:2499.01
[22:52:04] mux: file size, 511441087 bytes
[22:52:04] mux: track 0, 45403 frames, 473220308 bytes, 2498.89 kbps, fifo 4096
[22:52:04] mux: video bitrate error, -210983 bytes
[22:52:04] mux: track 1, 71013 frames, 36594387 bytes, 193.24 kbps, fifo 8192
[22:52:04] mux: overhead, 13.97 bytes per frame
[22:52:04] thread 1f joined ("Muxer")
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] fifo_close: trashing 0 buffer(s)
[22:52:04] Freed 320 buffers of size 1024
[22:52:04] Freed 32 buffers of size 2048
[22:52:04] Freed 32 buffers of size 4096
[22:52:04] Freed 32 buffers of size 8192
[22:52:04] Freed 32 buffers of size 16384
[22:52:04] Freed 32 buffers of size 32768
[22:52:04] Freed 32 buffers of size 65536
[22:52:04] Freed 32 buffers of size 131072
[22:52:04] Freed 10 buffers of size 262144
[22:52:04] Freed 6 buffers of size 524288
[22:52:04] Freed 1 buffers of size 2097152
[22:52:04] Freed 25 buffers of size 4194304
[22:52:04] Allocated 121372672 bytes of buffers on this pass and Freed 121372672 bytes, 0 bytes leaked
[22:52:04] Finished work at: Sat Nov 18 22:52:04 2023
[22:52:04] thread 4 exited ("work")
[22:52:04] thread 4 joined ("work")
[22:52:04] libhb: work result = 0
[22:52:04] thread 3 exited ("libhb")
[22:52:04] thread 3 joined ("libhb")
# Job Completed!