Why does queue encoding from time A to time B require the step of "Searching for start time, XX.XX%" (during which the process pauses while position is seeked), yet preview encoding doesn't require this extra search?
Steps to reproduce the problem (If Applicable):
Encode only the last minute or so of a "long" video (using "seconds" drop-down in 'Range'). "Searching…" activates during encode.
Now go to 'Preview', skip to the last preview tick and just set to a minimal preview size (30 or 60 seconds). Preview encode begins immediately, no needing to seek.
HandBrake version (e.g., 1.0.0):
1.3.1 (present in all previous versions I tried down to 0.10.5).
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 Pro 1909 x64 (build 18363.535).
HandBrake Activity Log:
Truncated encode via queue
Code: Select all
HandBrake Nightly 20191229213216-0b089e9-master (2019122901)
OS: Microsoft Windows NT 6.2.9200.0
CPU: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Ram: 8169 MB,
GPU Information:
NVIDIA GeForce GTX 460M - 23.21.13.8857
Screen: 1920x1080
Temp Dir: C:\Users\David\AppData\Local\Temp\
Install Dir: X:\Installers\HandBrake-20191229-0b089e9d1_x86_64-Win_GUI
Data Dir: C:\Users\David\AppData\Roaming\HandBrake\Nightly
-------------------------------------------
# Starting Encode ...
[03:46:05] base preset: Detel
[03:46:05] hb_init: starting libhb thread
[03:46:05] Starting work at: Sun Jan 05 03:46:05 2020
[03:46:05] 1 job(s) to process
[03:46:05] json job:
{
"Audio": {
"AudioList": [
{
"DRC": 0.0,
"Encoder": "copy",
"Gain": 0.0,
"Mixdown": -1,
"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": false,
"File": "X:\\----------.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "mkv"
},
"Filters": {
"FilterList": [
{
"ID": 2,
"Settings": {
"skip-bottom": "0",
"skip-left": "0",
"skip-right": "0",
"skip-top": "1"
}
},
{
"ID": 12,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "0"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "time",
"Start": 351000000,
"End": 362880000
},
"Title": 1,
"Path": "N:\\Music\\-----\\----------.mpg"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "x264",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "rc-lookahead=60:bframes=8:ref=4:merange=64:analyse=all:trellis=2",
"Preset": "veryfast",
"Profile": "auto",
"Quality": 22.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[03:46:05] CPU: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
[03:46:05] - Intel microarchitecture Sandy Bridge
[03:46:05] - logical processor count: 8
[03:46:05] Intel Quick Sync Video support: no
[03:46:05] hb_scan: path=N:\Music\-----\----------.mpg, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image N:\Music\-----\----------.mpg
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(N:\Music\-----\----------.mpg\) failed
[03:46:05] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[03:46:05] dvd: not a dvd - trying as a stream/file instead
[03:46:05] file is MPEG Program Stream
[03:46:06] Probing 1 unknown stream
[03:46:06] Probe: Found stream mpegvideo. stream id 0xe0-0x0
[03:46:06] Found the following streams
[03:46:06] Video Streams :
[03:46:06] 0xe0-0x0 type MPEG2 (0x2)
[03:46:06] Audio Streams :
[03:46:06] 0xbd-0x80 type AC3 (0x81)
[03:46:06] Subtitle Streams :
[03:46:06] Other Streams :
[03:46:06] stream id 0xbd (type 0x81 substream 0x80) audio 0x8000bd
[03:46:08] scan: decoding previews for title 1
[03:46:08] file is MPEG Program Stream
[03:46:08] Probing 1 unknown stream
[03:46:08] Probe: Found stream mpegvideo. stream id 0xe0-0x0
[03:46:08] scan: audio 0x8000bd: ac3, rate=48000Hz, bitrate=256000 Unknown (AC3) (2.0 ch) (256 kbps)
[03:46:10] stream: 343 good frames, 0 errors (0%)
[03:46:10] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[03:46:10] libhb: scan thread found 1 valid title(s)
[03:46:10] Starting Task: Encoding Pass
[03:46:10] Skipping crop/scale filter
[03:46:10] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP3, FLAC
[03:46:10] Auto Passthru: fallback is AC3
[03:46:10] Auto Passthru: using AC3 Passthru for track 1
[03:46:10] work: only 1 chapter, disabling chapter markers
[03:46:10] job configuration:
[03:46:10] * source
[03:46:10] + N:\Music\-----\----------.mpg
[03:46:10] + title 1, start 01:05:0.00 stop 01:07:12.00
[03:46:10] * destination
[03:46:10] + X:\----------.mkv
[03:46:10] + container: Matroska (libavformat)
[03:46:10] * video track
[03:46:10] + decoder: mpeg2video
[03:46:10] + bitrate 200 kbps
[03:46:10] + filters
[03:46:10] + Detelecine (pullup) (skip-left=0:skip-right=0:skip-top=1:skip-bottom=0)
[03:46:10] + Framerate Shaper (mode=0)
[03:46:10] + frame rate: same as source (around 29.970 fps)
[03:46:10] + Output geometry
[03:46:10] + storage dimensions: 1920 x 1080
[03:46:10] + pixel aspect ratio: 1 : 1
[03:46:10] + display dimensions: 1920 x 1080
[03:46:10] + encoder: H.264 (libx264)
[03:46:10] + preset: veryfast
[03:46:10] + options: rc-lookahead=60:bframes=8:ref=4:merange=64:analyse=all:trellis=2
[03:46:10] + profile: auto
[03:46:10] + level: auto
[03:46:10] + quality: 22.00 (RF)
[03:46:10] + color profile: 1-1-1
[03:46:10] * audio track 1
[03:46:10] + decoder: Unknown (AC3) (2.0 ch) (256 kbps) (track 1, id 0x8000bd)
[03:46:10] + bitrate: 256 kbps, samplerate: 48000 Hz
[03:46:10] + AC3 Passthru
[03:46:10] file is MPEG Program Stream
[03:46:11] Probing 1 unknown stream
[03:46:11] Probe: Found stream mpegvideo. stream id 0xe0-0x0
[03:46:11] sync: expecting 3986 video frames
[03:46:11] encx264: min-keyint: 30, keyint: 300
[03:46:11] encx264: encoding at constant RF 22.000000
[03:46:11] encx264: unparsed options: rc-lookahead=60:bframes=8:ref=4:merange=64:analyse=all:trellis=2:weightp=1:subme=2:mixed-refs=0
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.0, 4:2:0, 8-bit
[03:52:25] sync: first pts audio 0x8000bd is 0
[03:52:25] sync: first pts video is 2652
[03:54:15] sync: reached audio 0x8000bd pts 11880000, exiting early
[03:54:15] sync: reached video pts 11882520, exiting early
[03:54:17] work: average encoding speed for job is 36.070190 fps
[03:54:17] vfr: lost time: 1954953 (0 frames)
[03:54:17] vfr: gained time: 1954953 (2596 frames) (0 not accounted for)
[03:54:17] stream: 4896204 good frames, 0 errors (0%)
[03:54:17] ac3-decoder done: 126921 frames, 0 decoder errors
[03:54:17] mpeg2video-decoder done: 121710 frames, 0 decoder errors
[03:54:17] sync: got 3956 frames, 3986 expected
[03:54:17] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:14 Avg QP:13.63 size: 73360
x264 [info]: frame P:726 Avg QP:16.77 size: 31226
x264 [info]: frame B:2565 Avg QP:19.67 size: 10117
x264 [info]: consecutive B-frames: 1.9% 3.4% 4.9% 11.9% 50.4% 13.6% 7.8% 1.7% 4.4%
x264 [info]: mb I I16..4: 43.1% 42.1% 14.8%
x264 [info]: mb P I16..4: 28.1% 23.0% 1.2% P16..4: 21.5% 2.9% 1.0% 0.3% 0.1% skip:21.9%
x264 [info]: mb B I16..4: 2.1% 3.1% 0.1% B16..8: 15.8% 2.6% 0.3% direct:14.9% skip:61.1% L0:46.9% L1:45.7% BI: 7.4%
x264 [info]: 8x8 transform intra:47.7% inter:53.7%
x264 [info]: coded y,uvDC,uvAC intra: 25.5% 62.7% 15.0% inter: 4.6% 24.9% 1.0%
x264 [info]: i16 v,h,dc,p: 72% 17% 8% 3%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 25% 30% 2% 2% 2% 2% 2% 3%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 24% 13% 6% 7% 7% 7% 6% 7%
x264 [info]: i8c dc,h,v,p: 46% 24% 23% 7%
x264 [info]: Weighted P-Frames: Y:5.1% UV:4.0%
x264 [info]: ref P L0: 78.7% 14.6% 6.5% 0.1%
x264 [info]: ref B L0: 88.6% 9.6% 1.8%
x264 [info]: ref B L1: 97.1% 2.9%
x264 [info]: kb/s:3008.93
[03:54:17] mux: track 0, 3305 frames, 49646188 bytes, 3008.13 kbps, fifo 1024
[03:54:17] mux: track 1, 4125 frames, 4224000 bytes, 255.94 kbps, fifo 2048
[03:54:17] Finished work at: Sun Jan 05 03:54:17 2020
[03:54:17] libhb: work result = 0
# Encode Completed ...
Code: Select all
HandBrake Nightly 20191229213216-0b089e9-master (2019122901)
OS: Microsoft Windows NT 6.2.9200.0
CPU: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Ram: 8169 MB,
GPU Information:
NVIDIA GeForce GTX 460M - 23.21.13.8857
Screen: 1920x1080
Temp Dir: C:\Users\David\AppData\Local\Temp\
Install Dir: X:\Installers\HandBrake-20191229-0b089e9d1_x86_64-Win_GUI
Data Dir: C:\Users\David\AppData\Roaming\HandBrake\Nightly
-------------------------------------------
# Starting Encode ...
[04:01:03] hb_init: starting libhb thread
[04:01:03] Starting work at: Sun Jan 05 04:01:03 2020
[04:01:03] 1 job(s) to process
[04:01:03] json job:
{
"Audio": {
"AudioList": [
{
"DRC": 0.0,
"Encoder": "copy",
"Gain": 0.0,
"Mixdown": -1,
"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": false,
"File": "X:\\----------_preview.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "mkv"
},
"Filters": {
"FilterList": [
{
"ID": 2,
"Settings": {
"skip-bottom": "0",
"skip-left": "0",
"skip-right": "0",
"skip-top": "1"
}
},
{
"ID": 12,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "0"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "preview",
"Start": 20,
"End": 5400000,
"SeekPoints": 20
},
"Title": 1,
"Path": "N:\\Music\\-----\\----------.mpg"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "x264",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "rc-lookahead=60:bframes=8:ref=4:merange=64:analyse=all:trellis=2",
"Preset": "veryfast",
"Profile": "auto",
"Quality": 22.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[04:01:03] CPU: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
[04:01:03] - Intel microarchitecture Sandy Bridge
[04:01:03] - logical processor count: 8
[04:01:03] Intel Quick Sync Video support: no
[04:01:03] hb_scan: path=N:\Music\-----\----------.mpg, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image N:\Music\-----\----------.mpg
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(N:\Music\-----\----------.mpg\) failed
[04:01:03] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[04:01:03] dvd: not a dvd - trying as a stream/file instead
[04:01:03] file is MPEG Program Stream
[04:01:03] Probing 1 unknown stream
[04:01:03] Probe: Found stream mpegvideo. stream id 0xe0-0x0
[04:01:03] Found the following streams
[04:01:03] Video Streams :
[04:01:03] 0xe0-0x0 type MPEG2 (0x2)
[04:01:03] Audio Streams :
[04:01:03] 0xbd-0x80 type AC3 (0x81)
[04:01:03] Subtitle Streams :
[04:01:03] Other Streams :
[04:01:03] stream id 0xbd (type 0x81 substream 0x80) audio 0x8000bd
[04:01:03] scan: decoding previews for title 1
[04:01:03] file is MPEG Program Stream
[04:01:03] Probing 1 unknown stream
[04:01:03] Probe: Found stream mpegvideo. stream id 0xe0-0x0
[04:01:03] scan: audio 0x8000bd: ac3, rate=48000Hz, bitrate=256000 Unknown (AC3) (2.0 ch) (256 kbps)
[04:01:03] stream: 343 good frames, 0 errors (0%)
[04:01:03] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[04:01:03] libhb: scan thread found 1 valid title(s)
[04:01:03] Starting Task: Encoding Pass
[04:01:03] Skipping crop/scale filter
[04:01:03] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP3, FLAC
[04:01:03] Auto Passthru: fallback is AC3
[04:01:03] Auto Passthru: using AC3 Passthru for track 1
[04:01:03] work: only 1 chapter, disabling chapter markers
[04:01:03] job configuration:
[04:01:03] * source
[04:01:03] + N:\Music\-----\----------.mpg
[04:01:03] + title 1, start 00:00:0.00 stop 00:01:0.00
[04:01:03] * destination
[04:01:03] + X:\----------_preview.mkv
[04:01:03] + container: Matroska (libavformat)
[04:01:03] * video track
[04:01:03] + decoder: mpeg2video
[04:01:03] + bitrate 200 kbps
[04:01:03] + filters
[04:01:03] + Detelecine (pullup) (skip-left=0:skip-right=0:skip-top=1:skip-bottom=0)
[04:01:03] + Framerate Shaper (mode=0)
[04:01:03] + frame rate: same as source (around 29.970 fps)
[04:01:03] + Output geometry
[04:01:03] + storage dimensions: 1920 x 1080
[04:01:03] + pixel aspect ratio: 1 : 1
[04:01:03] + display dimensions: 1920 x 1080
[04:01:03] + encoder: H.264 (libx264)
[04:01:03] + preset: veryfast
[04:01:03] + options: rc-lookahead=60:bframes=8:ref=4:merange=64:analyse=all:trellis=2
[04:01:03] + profile: auto
[04:01:03] + level: auto
[04:01:03] + quality: 22.00 (RF)
[04:01:03] + color profile: 1-1-1
[04:01:03] * audio track 1
[04:01:03] + decoder: Unknown (AC3) (2.0 ch) (256 kbps) (track 1, id 0x8000bd)
[04:01:03] + bitrate: 256 kbps, samplerate: 48000 Hz
[04:01:03] + AC3 Passthru
[04:01:03] file is MPEG Program Stream
[04:01:04] Probing 1 unknown stream
[04:01:04] Probe: Found stream mpegvideo. stream id 0xe0-0x0
[04:01:04] sync: expecting 1828 video frames
[04:01:04] encx264: min-keyint: 30, keyint: 300
[04:01:04] encx264: encoding at constant RF 22.000000
[04:01:04] encx264: unparsed options: rc-lookahead=60:bframes=8:ref=4:merange=64:analyse=all:trellis=2:weightp=1:subme=2:mixed-refs=0
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.0, 4:2:0, 8-bit
[04:01:04] sync: first pts audio 0x8000bd is 0
[04:01:04] sync: first pts video is 3690
[04:01:50] sync: reached audio 0x8000bd pts 5400000, exiting early
[04:01:50] sync: reached video pts 5400081, exiting early
[04:01:53] work: average encoding speed for job is 39.049423 fps
[04:01:54] vfr: lost time: 894894 (0 frames)
[04:01:54] vfr: gained time: 894894 (1184 frames) (0 not accounted for)
[04:01:54] stream: 87301 good frames, 0 errors (0%)
[04:01:54] ac3-decoder done: 2645 frames, 0 decoder errors
[04:01:54] mpeg2video-decoder done: 2527 frames, 0 decoder errors
[04:01:54] sync: got 1797 frames, 1828 expected
[04:01:54] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:22 Avg QP:15.10 size: 58720
x264 [info]: frame P:351 Avg QP:16.55 size: 30030
x264 [info]: frame B:1126 Avg QP:19.48 size: 9341
x264 [info]: consecutive B-frames: 4.3% 5.7% 4.2% 12.3% 45.7% 13.2% 6.1% 4.3% 4.2%
x264 [info]: mb I I16..4: 42.9% 48.3% 8.7%
x264 [info]: mb P I16..4: 29.6% 23.5% 0.8% P16..4: 22.5% 2.1% 0.6% 0.2% 0.0% skip:20.7%
x264 [info]: mb B I16..4: 2.0% 3.6% 0.1% B16..8: 13.2% 1.7% 0.1% direct:17.3% skip:62.0% L0:46.4% L1:48.2% BI: 5.5%
x264 [info]: 8x8 transform intra:48.6% inter:60.0%
x264 [info]: coded y,uvDC,uvAC intra: 25.9% 66.0% 19.2% inter: 3.4% 29.6% 1.8%
x264 [info]: i16 v,h,dc,p: 74% 15% 8% 3%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 24% 29% 3% 2% 2% 2% 2% 2%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 24% 15% 6% 6% 6% 6% 5% 5%
x264 [info]: i8c dc,h,v,p: 44% 24% 24% 8%
x264 [info]: Weighted P-Frames: Y:12.8% UV:11.1%
x264 [info]: ref P L0: 76.9% 14.9% 7.2% 0.9%
x264 [info]: ref B L0: 86.3% 11.3% 2.4%
x264 [info]: ref B L1: 96.2% 3.8%
x264 [info]: kb/s:2982.11
[04:01:54] mux: track 0, 1499 frames, 22350239 bytes, 2978.71 kbps, fifo 1024
[04:01:54] mux: track 1, 1875 frames, 1920000 bytes, 255.89 kbps, fifo 1024
[04:01:54] Finished work at: Sun Jan 05 04:01:54 2020
[04:01:54] libhb: work result = 0
# Encode Completed ...