I haven't been doing much encoding of late, but the cropping was not the problem. Handbrake seems to take a long time to prepare the video and the first pass is the one that takes a long time. Here's my last log in case anyone has an idea. Thanks for any help:
Code: Select all
HandBrake 1.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.19044.0
CPU: AMD Ryzen 7 3700X 8-Core Processor
Ram: 16295 MB,
GPU Information:
Radeon(TM) RX 550 - 30.0.13026.3
Screen: 2560x1440
Temp Dir: C:\Users\Tedeye\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\Tedeye\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[19:33:59] base preset: Fast 1080p30
[19:33:59] Remote Process started with Process ID: 20544 using port: 8037. Max Allowed Instances: 1
[19:34:00] Worker: Starting HandBrake Engine ...
[19:34:00] Worker: Starting Web Server on port 8037 ...
[19:34:00] Worker: Disconnected worker monitoring enabled!
[19:34:00] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[19:34:01] hb_init: starting libhb thread
[19:34:01] Starting work at: Sat Sep 03 19:34:01 2022
[19:34:01] 1 job(s) to process
[19:34:01] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 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",
"copy:mp2"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": true,
"File": "C:\\Users\\Tedeye\\Videos\\BP.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "av_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": 13,
"Settings": {
"crop-bottom": "138",
"crop-left": "58",
"crop-right": "0",
"crop-top": "138",
"height": "804",
"width": "1862"
}
},
{
"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\\Tedeye\\Videos\\Video\\BP\\BP.m2ts"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "x264",
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "main",
"Quality": 22,
"QSV": {
"Decode": false
}
}
}
[19:34:01] CPU: AMD Ryzen 7 3700X 8-Core Processor
[19:34:01] - logical processor count: 16
[19:34:01] Intel Quick Sync Video support: no
[19:34:01] hb_scan: path=C:\Users\Tedeye\Videos\Video\BP\BP.m2ts, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\Users\Tedeye\Videos\Video\BP\BP.m2ts
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(C:\Users\Tedeye\Videos\Video\BP\BP.m2ts\) failed
[19:34:01] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread: libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[19:34:01] dvd: not a dvd - trying as a stream/file instead
[19:34:01] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[19:34:01] Found the following PIDS
[19:34:01] Video PIDS :
[19:34:01] 0x1011 type H.264 (0x1b)
[19:34:01] Audio PIDS :
[19:34:01] 0x1100 type DTS-HD MA (0x86)
[19:34:01] Subtitle PIDS :
[19:34:01] 0x1200 type PGS Subtitle (0x90)
[19:34:01] Other PIDS :
[19:34:01] 0x1001 type Unknown (0xff) (PCR)
[19:34:01] stream id 0x1100 (type 0x86 substream 0x71) audio 0x711100
[19:34:01] stream id 0x1100 (type 0x86 substream 0x0) audio 0x1100
[19:34:01] stream id 0x1200 (type 0x90 substream 0x0) subtitle 0x1200
[19:35:26] stream doesn't seem to have video IDR frames
[19:35:26] scan: decoding previews for title 1
[19:35:26] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[19:35:26] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[19:35:26] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (7.1 ch)
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e2aceb00] non-existing PPS 0 referenced
[h264 @ 00000241e629e500] non-existing PPS 0 referenced
[h264 @ 00000241e629e500] non-existing PPS 0 referenced
[h264 @ 00000241e629e500] non-existing PPS 0 referenced
[h264 @ 00000241e629f2c0] non-existing PPS 0 referenced
[h264 @ 00000241e629f2c0] non-existing PPS 0 referenced
[h264 @ 00000241e629f2c0] non-existing PPS 0 referenced
[h264 @ 00000241e629f2c0] non-existing PPS 0 referenced
[h264 @ 00000241e629f2c0] non-existing PPS 0 referenced
[h264 @ 00000241e629f2c0] non-existing PPS 0 referenced
[h264 @ 00000241e629f2c0] non-existing PPS 0 referenced
[h264 @ 00000241e629f2c0] non-existing PPS 0 referenced
[h264 @ 00000241e629f2c0] non-existing PPS 0 referenced
[h264 @ 00000241e629f2c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec3c40] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ec4580] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e5ee26c0] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[h264 @ 00000241e1802780] non-existing PPS 0 referenced
[19:35:40] stream: 25 good frames, 0 errors (0%)
[19:35:40] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/138/58/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[19:35:40] libhb: scan thread found 1 valid title(s)
[19:35:40] Starting Task: Subtitle Scan
[19:35:40] work: only 1 chapter, disabling chapter markers
[19:35:40] job configuration:
[19:35:40] * source
[19:35:40] + C:\Users\Tedeye\Videos\Video\BP\BP.m2ts
[19:35:40] + title 1, chapter(s) 1 to 1
[19:35:40] * destination
[19:35:40] + C:\Users\Tedeye\Videos\BP.mp4
[19:35:40] + container: MPEG-4 (libavformat)
[19:35:40] + align initial A/V stream timestamps
[19:35:40] * video track
[19:35:40] + decoder: h264 8-bit (yuv420p)
[19:35:40] + bitrate 200 kbps
[19:35:40] + filters
[19:35:40] + 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)
[19:35:40] + Decomb (mode=39)
[19:35:40] + Framerate Shaper (mode=2:rate=27000000/900000)
[19:35:40] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[19:35:40] + Crop and Scale (width=1862:height=804:crop-top=138:crop-bottom=138:crop-left=58:crop-right=0)
[19:35:40] + source: 1920 * 1080, crop (138/138/58/0): 1862 * 804, scale: 1862 * 804
[19:35:40] + Output geometry
[19:35:40] + storage dimensions: 1862 x 804
[19:35:40] + pixel aspect ratio: 1 : 1
[19:35:40] + display dimensions: 1862 x 804
[19:35:40] * Foreign Audio Search: Render/Burn-in, Forced Only
[19:35:40] + subtitle, English [PGS] (track 2, id 0x1200, Picture)
[19:35:40] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[19:35:41] sync: expecting 149315 video frames
[22:10:25] hb_ts_stream_decode - eof
[22:10:25] reader: done. 1 scr changes
[22:10:25] work: average encoding speed for job is 0.000000 fps
[22:10:25] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[22:10:25] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[22:10:25] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[22:10:25] vfr: lost time: 0 (0 frames)
[22:10:25] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:10:25] stream: 148705 good frames, 0 errors (0%)
[22:10:25] h264-decoder done: 0 frames, 1 decoder errors
[22:10:25] sync: got 0 frames, 149315 expected
[22:10:25] Subtitle track 2 (id 0x1200) 'English [PGS]': 1172 hits (0 forced)
[22:10:25] No candidate detected during subtitle scan
[22:10:25] Starting Task: Encoding Pass
[22:10:25] work: track 1, dithering not supported by codec
[22:10:25] work: only 1 chapter, disabling chapter markers
[22:10:25] job configuration:
[22:10:25] * source
[22:10:25] + C:\Users\Tedeye\Videos\Video\\BP.m2ts
[22:10:25] + title 1, chapter(s) 1 to 1
[22:10:25] * destination
[22:10:25] + C:\Users\Tedeye\Videos\BP.mp4
[22:10:25] + container: MPEG-4 (libavformat)
[22:10:25] + align initial A/V stream timestamps
[22:10:25] * video track
[22:10:25] + decoder: h264 8-bit (yuv420p)
[22:10:25] + bitrate 200 kbps
[22:10:25] + filters
[22:10:25] + 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)
[22:10:25] + Decomb (mode=39)
[22:10:25] + Framerate Shaper (mode=2:rate=27000000/900000)
[22:10:25] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[22:10:25] + Crop and Scale (width=1862:height=804:crop-top=138:crop-bottom=138:crop-left=58:crop-right=0)
[22:10:25] + source: 1920 * 1080, crop (138/138/58/0): 1862 * 804, scale: 1862 * 804
[22:10:25] + Output geometry
[22:10:25] + storage dimensions: 1862 x 804
[22:10:25] + pixel aspect ratio: 1 : 1
[22:10:25] + display dimensions: 1862 x 804
[22:10:25] + encoder: H.264 (libx264)
[22:10:25] + preset: fast
[22:10:25] + profile: main
[22:10:25] + level: 4.0
[22:10:25] + quality: 22.00 (RF)
[22:10:25] + color profile: 1-1-1
[22:10:25] + chroma location: left
[22:10:25] * audio track 1
[22:10:25] + decoder: English (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x711100)
[22:10:25] + bitrate: 1536 kbps, samplerate: 48000 Hz
[22:10:25] + mixdown: Stereo
[22:10:25] + encoder: AAC (libavcodec)
[22:10:25] + bitrate: 160 kbps, samplerate: 48000 Hz
[22:10:25] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[22:10:25] sync: expecting 149315 video frames
[22:10:25] encx264: min-keyint: 24, keyint: 240
[22:10:25] encx264: encoding at constant RF 22.000000
[22:10:25] 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
[22:10:25] sync: first pts video is 0
[22:10:25] sync: first pts audio 0x711100 is 0
[22:33:45] hb_ts_stream_decode - eof
[22:33:45] reader: done. 1 scr changes
[22:33:45] work: average encoding speed for job is 106.150795 fps
[22:33:45] comb detect: heavy 296 | light 835 | uncombed 147574 | total 148705
[22:33:45] decomb: deinterlaced 296 | blended 835 | unfiltered 147574 | total 148705
[22:33:45] vfr: 148705 frames output, 0 dropped and 0 duped for CFR/PFR
[22:33:45] vfr: lost time: 0 (0 frames)
[22:33:45] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:33:46] stream: 148705 good frames, 0 errors (0%)
[22:33:46] dca-decoder done: 581460 frames, 0 decoder errors
[22:33:46] h264-decoder done: 148705 frames, 0 decoder errors
[22:33:46] sync: got 148705 frames, 149315 expected
[22:33:46] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:1872 Avg QP:17.42 size: 54031
x264 [info]: frame P:56018 Avg QP:20.62 size: 12936
x264 [info]: frame B:90815 Avg QP:21.28 size: 5251
x264 [info]: consecutive B-frames: 18.0% 1.1% 2.0% 78.9%
x264 [info]: mb I I16..4: 43.4% 0.0% 56.6%
x264 [info]: mb P I16..4: 4.8% 0.0% 2.9% P16..4: 31.0% 6.8% 5.6% 0.0% 0.0% skip:48.9%
x264 [info]: mb B I16..4: 4.1% 0.0% 0.3% B16..8: 18.0% 2.8% 0.1% direct: 9.4% skip:65.3% L0:46.8% L1:49.5% BI: 3.7%
x264 [info]: coded y,uvDC,uvAC intra: 28.9% 47.6% 10.8% inter: 5.8% 14.7% 0.1%
x264 [info]: i16 v,h,dc,p: 43% 21% 16% 20%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 17% 23% 6% 7% 6% 6% 4% 4%
x264 [info]: i8c dc,h,v,p: 64% 16% 17% 4%
x264 [info]: Weighted P-Frames: Y:1.4% UV:0.5%
x264 [info]: ref P L0: 67.0% 33.0%
x264 [info]: ref B L0: 80.0% 20.0%
x264 [info]: ref B L1: 93.8% 6.2%
x264 [info]: kb/s:1680.21
[22:33:46] mux: track 0, 148705 frames, 1302569439 bytes, 1680.12 kbps, fifo 8192
[22:33:46] mux: track 1, 290731 frames, 124565465 bytes, 160.67 kbps, fifo 8192
[22:33:46] Finished work at: Sat Sep 03 22:33:46 2022
[22:33:46] libhb: work result = 0
# Job Completed!