Preview Function takes 2-3 minutes to show selected video

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************

Please be aware we are now using GitHub for issue tracking and feature requests.

- This forum is now closed to new topics.
- Existing topics will remain open for a short while as the transition over occurs.
*******************************
Post Reply
No-ID
New User
Posts: 1
Joined: Wed Jul 19, 2017 1:47 pm

Preview Function takes 2-3 minutes to show selected video

Post by No-ID » Wed Jul 19, 2017 2:36 pm

When using Handbrake preview function the live preview button is pressed and the green bar progresses to the end - showing the brief encoding is happening. The problem is the video file does not launch for 2-3 minutes afterwards. I don't know what it is doing in this time but it actually looks like its doing nothing directly after the preview encode. On the previous version the preview was available immediately. Typically I use the 30 second preview on a M2TS file. Actual encoding is fine I just cant seem to use the live preview

I set the encoder ;Picture >anamorphic >none / Video>framerate>same as source>constant framerate Quality: constant quality>6

HandBrake 1.0.7 (2017040900) - 64bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
Ram: 16359 MB,
GPU Information:
NVIDIA GeForce GTX 560 Ti - 9.18.13.4052
Screen: 1920x1080
Temp Dir: C:\Users\IPD\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\IPD\AppData\Roaming\HandBrake Team\HandBrake\1.0.7.0

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


# Starting Encode ...

[15:16:15] hb_init: starting libhb thread
[15:16:15] 1 job(s) to process
[15:16:15] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 256,
"DRC": 0.0,
"Encoder": 65536,
"Gain": 2.0,
"Mixdown": 6,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
1073807360,
1073743872,
1074003968,
1073750016,
1090519040,
1074790400,
1074266112,
1107296256
],
"FallbackEncoder": 2048
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"File": "G:\\Movie 2\\DS\\DS_preview.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": 131072
},
"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": "138",
"crop-left": "0",
"crop-right": "0",
"crop-top": "138",
"height": "804",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "preview",
"Start": 2,
"End": 2700000,
"SeekPoints": 35
},
"Title": 1,
"Path": "G:\\Movie 2\\DS\\MainMovie\\DS\\BDMV\\STREAM\\00801.m2ts"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": 16,
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Quality": 6.0,
"OpenCL": false,
"HWDecode": false,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[15:16:15] CPU: Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
[15:16:15] - Intel microarchitecture Sandy Bridge
[15:16:15] - logical processor count: 8
[15:16:15] Intel Quick Sync Video support: no
[15:16:15] hb_scan: path=G:\Movie 2\DS\MainMovie\DS\BDMV\STREAM\00801.m2ts, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image G:\Movie 2\DS\MainMovie\DS\BDMV\STREAM\00801.m2ts
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[15:16:15] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[15:16:15] dvd: not a dvd - trying as a stream/file instead
[15:16:15] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[15:16:15] Found the following PIDS
[15:16:15] Video PIDS :
[15:16:15] 0x1011 type H.264 (0x1b)
[15:16:15] Audio PIDS :
[15:16:15] 0x1100 type DTS-HD MA (0x86)
[15:16:15] 0x1101 type AC3 (0x81)
[15:16:15] 0x1102 type AC3 (0x81)
[15:16:15] Subtitle PIDS :
[15:16:15] 0x1200 type PGS Subtitle (0x90)
[15:16:15] 0x1201 type PGS Subtitle (0x90)
[15:16:15] Other PIDS :
[15:16:15] 0x1001 type Unknown (0xff) (PCR)
[15:16:15] stream id 0x1100 (type 0x86 substream 0x71) audio 0x711100
[15:16:15] stream id 0x1100 (type 0x86 substream 0x0) audio 0x1100
[15:16:15] stream id 0x1101 (type 0x81 substream 0x0) audio 0x1101
[15:16:15] stream id 0x1102 (type 0x81 substream 0x0) audio 0x1102
[15:16:15] stream id 0x1200 (type 0x90 substream 0x0) subtitle 0x1200
[15:16:15] stream id 0x1201 (type 0x90 substream 0x0) subtitle 0x1201
[15:16:16] scan: decoding previews for title 1
[15:16:16] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[15:16:16] scan: audio 0x1102: ac3, rate=48000Hz, bitrate=192000 Unknown (AC3) (2.0 ch)
[15:16:16] scan: audio 0x1101: ac3, rate=48000Hz, bitrate=320000 Unknown (AC3) (2.0 ch)
[15:16:16] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Unknown (DTS) (5.1 ch)
[15:16:16] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1536000 Unknown (DTS-HD MA) (5.1 ch)
[15:16:18] stream: 17 good frames, 0 errors (0%)
[15:16:18] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/138/0/0, aspect 16:9, PAR 1:1
[15:16:18] scan: supported video decoders: avcodec qsv
[15:16:18] libhb: scan thread found 1 valid title(s)
[15:16:18] starting job
[15:16:18] decomb filter thread started for segment 0
[15:16:18] decomb filter thread started for segment 1
[15:16:18] decomb filter thread started for segment 2
[15:16:18] decomb filter thread started for segment 3
[15:16:18] decomb filter thread started for segment 4
[15:16:18] decomb filter thread started for segment 5
[15:16:18] decomb filter thread started for segment 6
[15:16:18] decomb filter thread started for segment 7
[15:16:18] decomb check thread started for segment 0
[15:16:18] decomb check thread started for segment 1
[15:16:18] decomb check thread started for segment 2
[15:16:18] decomb check thread started for segment 3
[15:16:18] decomb check thread started for segment 4
[15:16:18] decomb check thread started for segment 5
[15:16:18] decomb check thread started for segment 6
[15:16:18] decomb check thread started for segment 7
[15:16:18] mask filter thread started for segment 0
[15:16:18] mask filter thread started for segment 1
[15:16:18] mask filter thread started for segment 2
[15:16:18] mask filter thread started for segment 3
[15:16:18] mask filter thread started for segment 4
[15:16:18] mask filter thread started for segment 5
[15:16:18] mask filter thread started for segment 6
[15:16:18] mask filter thread started for segment 7
[15:16:18] mask erode thread started for segment 0
[15:16:18] mask erode thread started for segment 1
[15:16:18] mask erode thread started for segment 2
[15:16:18] mask erode thread started for segment 3
[15:16:18] mask erode thread started for segment 4
[15:16:18] mask erode thread started for segment 5
[15:16:18] mask erode thread started for segment 6
[15:16:18] mask erode thread started for segment 7
[15:16:18] mask dilate thread started for segment 0
[15:16:18] mask dilate thread started for segment 1
[15:16:18] mask dilate thread started for segment 2
[15:16:18] mask dilate thread started for segment 3
[15:16:18] mask dilate thread started for segment 4
[15:16:18] mask dilate thread started for segment 5
[15:16:18] mask dilate thread started for segment 6
[15:16:18] mask dilate thread started for segment 7
[15:16:18] yadif thread started for segment 0
[15:16:18] yadif thread started for segment 1
[15:16:18] yadif thread started for segment 2
[15:16:18] yadif thread started for segment 3
[15:16:18] yadif thread started for segment 4
[15:16:18] yadif thread started for segment 5
[15:16:18] yadif thread started for segment 6
[15:16:18] yadif thread started for segment 7
[15:16:18] work: only 1 chapter, disabling chapter markers
[15:16:18] job configuration:
[15:16:18] * source
[15:16:18] + G:\Movie 2\DS\MainMovie\DS\BDMV\STREAM\00801.m2ts
[15:16:18] + title 1, start 00:00:0.00 stop 00:00:30.00
[15:16:18] * destination
[15:16:18] + G:\Movie 2\DS\DS_preview.mp4
[15:16:18] + container: MPEG-4 (libavformat)
[15:16:18] * video track
[15:16:18] + decoder: h264
[15:16:18] + bitrate 200 kbps
[15:16:18] + filters
[15:16:18] + 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)
[15:16:18] + Decomb (mode=39)
[15:16:18] + Framerate Shaper (mode=1)
[15:16:18] + frame rate: 23.976 fps -> constant 23.976 fps
[15:16:18] + Crop and Scale (width=1920:height=804:crop-top=138:crop-bottom=138:crop-left=0:crop-right=0)
[15:16:18] + source: 1920 * 1080, crop (138/138/0/0): 1920 * 804, scale: 1920 * 804
[15:16:18] + Output geometry
[15:16:18] + storage dimensions: 1920 x 804
[15:16:18] + pixel aspect ratio: 1 : 1
[15:16:18] + display dimensions: 1920 x 804
[15:16:18] * Foreign Audio Search: Render/Burn-in, Forced Only
[15:16:18] + subtitle, Unknown (track 4, id 0x1200) Picture [PGS]
[15:16:18] + subtitle, Unknown (track 5, id 0x1201) Picture [PGS]
[15:16:18] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[15:16:18] sync: expecting 743 video frames
[15:18:50] hb_ts_stream_decode - eof
[15:18:50] reader: done. 1 scr changes
[15:18:50] work: average encoding speed for job is 0.000000 fps
[15:18:50] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[15:18:50] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[15:18:50] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[15:18:50] vfr: lost time: 0 (0 frames)
[15:18:50] vfr: gained time: 0 (0 frames) (0 not accounted for)
[15:18:50] stream: 160948 good frames, 0 errors (0%)
[15:18:50] sync: got 0 frames, 743 expected
[15:18:50] Subtitle track 4 (id 0x1200) 'Unknown': 1575 hits (0 forced)
[15:18:50] Subtitle track 5 (id 0x1201) 'Unknown': 1916 hits (0 forced)
[15:18:50] No candidate detected during subtitle scan
[15:18:50] starting job
[15:18:50] decomb filter thread started for segment 0
[15:18:50] decomb filter thread started for segment 1
[15:18:50] decomb filter thread started for segment 2
[15:18:50] decomb filter thread started for segment 3
[15:18:50] decomb filter thread started for segment 4
[15:18:50] decomb filter thread started for segment 5
[15:18:50] decomb filter thread started for segment 6
[15:18:50] decomb filter thread started for segment 7
[15:18:50] decomb check thread started for segment 0
[15:18:50] decomb check thread started for segment 1
[15:18:50] decomb check thread started for segment 2
[15:18:50] decomb check thread started for segment 3
[15:18:50] decomb check thread started for segment 4
[15:18:50] decomb check thread started for segment 5
[15:18:50] decomb check thread started for segment 6
[15:18:50] decomb check thread started for segment 7
[15:18:50] mask filter thread started for segment 0
[15:18:50] mask filter thread started for segment 1
[15:18:50] mask filter thread started for segment 2
[15:18:50] mask filter thread started for segment 3
[15:18:50] mask filter thread started for segment 4
[15:18:50] mask filter thread started for segment 5
[15:18:50] mask filter thread started for segment 6
[15:18:50] mask filter thread started for segment 7
[15:18:50] mask erode thread started for segment 0
[15:18:50] mask erode thread started for segment 1
[15:18:50] mask erode thread started for segment 2
[15:18:50] mask erode thread started for segment 3
[15:18:50] mask erode thread started for segment 4
[15:18:50] mask erode thread started for segment 5
[15:18:50] mask erode thread started for segment 6
[15:18:50] mask erode thread started for segment 7
[15:18:50] mask dilate thread started for segment 0
[15:18:50] mask dilate thread started for segment 1
[15:18:50] mask dilate thread started for segment 2
[15:18:50] mask dilate thread started for segment 3
[15:18:50] mask dilate thread started for segment 4
[15:18:50] mask dilate thread started for segment 5
[15:18:50] mask dilate thread started for segment 6
[15:18:50] mask dilate thread started for segment 7
[15:18:50] yadif thread started for segment 0
[15:18:50] yadif thread started for segment 1
[15:18:50] yadif thread started for segment 2
[15:18:50] yadif thread started for segment 3
[15:18:50] yadif thread started for segment 4
[15:18:50] yadif thread started for segment 5
[15:18:50] yadif thread started for segment 6
[15:18:50] yadif thread started for segment 7
[15:18:50] work: track 1, dithering not supported by codec
[15:18:50] work: only 1 chapter, disabling chapter markers
[15:18:50] job configuration:
[15:18:50] * source
[15:18:50] + G:\Movie 2\DS\MainMovie\DS\BDMV\STREAM\00801.m2ts
[15:18:50] + title 1, start 00:00:0.00 stop 00:00:30.00
[15:18:50] * destination
[15:18:50] + G:\Movie 2\DS\DS_preview.mp4
[15:18:50] + container: MPEG-4 (libavformat)
[15:18:50] * video track
[15:18:50] + decoder: h264
[15:18:50] + bitrate 200 kbps
[15:18:50] + filters
[15:18:50] + 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)
[15:18:50] + Decomb (mode=39)
[15:18:50] + Framerate Shaper (mode=1)
[15:18:50] + frame rate: 23.976 fps -> constant 23.976 fps
[15:18:50] + Crop and Scale (width=1920:height=804:crop-top=138:crop-bottom=138:crop-left=0:crop-right=0)
[15:18:50] + source: 1920 * 1080, crop (138/138/0/0): 1920 * 804, scale: 1920 * 804
[15:18:50] + Output geometry
[15:18:50] + storage dimensions: 1920 x 804
[15:18:50] + pixel aspect ratio: 1 : 1
[15:18:50] + display dimensions: 1920 x 804
[15:18:50] + encoder: MPEG-4 (libavcodec)
[15:18:50] + quality: 6.00 (QP)
[15:18:50] * audio track 1
[15:18:50] + decoder: Unknown (DTS) (5.1 ch) (track 1, id 0x711100)
[15:18:50] + bitrate: 1536 kbps, samplerate: 48000 Hz
[15:18:50] + mixdown: Dolby Pro Logic II
[15:18:50] + gain: 2dB
[15:18:50] + encoder: AAC (libavcodec)
[15:18:50] + bitrate: 256 kbps, samplerate: 48000 Hz
[15:18:50] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[15:18:50] sync: expecting 743 video frames
[15:18:50] encavcodecInit: MPEG-4 ASP encoder
[15:18:50] encavcodec: encoding at constant quantizer 708
[15:18:50] encavcodec: encoding with stored aspect 1/1
[15:18:50] sync: first pts audio 0x711100 is 0
[15:18:50] sync: first pts video is 67226
[15:18:57] sync: reached audio 0x711100 pts 2700480, exiting early
[15:18:57] sync: reached video pts 2702358, exiting early
[15:18:58] work: average encoding speed for job is 95.055992 fps
[15:18:58] comb detect: heavy 0 | light 5 | uncombed 697 | total 702
[15:18:58] decomb: deinterlaced 0 | blended 5 | unfiltered 697 | total 702
[15:18:58] vfr: 719 frames output, 0 dropped and 17 duped for CFR/PFR
[15:18:58] vfr: lost time: 0 (0 frames)
[15:18:58] vfr: gained time: 0 (0 frames) (0 not accounted for)
[15:18:58] stream: 818 good frames, 0 errors (0%)
[15:18:58] dca-decoder done: 3154 frames, 0 decoder errors
[15:18:58] h264-decoder done: 786 frames, 0 decoder errors
[15:18:58] sync: got 702 frames, 743 expected
[15:18:58] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
[15:18:58] mux: track 0, 719 frames, 15205558 bytes, 4050.76 kbps, fifo 1024
[15:18:58] mux: track 1, 1407 frames, 961616 bytes, 256.17 kbps, fifo 2048
[15:18:58] libhb: work result = 0

# Encode Completed ...

User avatar
BradleyS
Moderator
Posts: 1354
Joined: Thu Aug 09, 2007 12:16 pm

Re: Preview Function takes 2-3 minutes to show selected video

Post by BradleyS » Thu Jul 20, 2017 9:35 am

Probably related to Foreign Audio Scan, which looks for subtitles in a language other than the main audio. It requires reading the entire source, so if you're working with multi-gigabyte files that could be it.

We're considering ways to improve this behavior, but for now you can speed up preview encodes by disabling the Foreign Audio Scan track on the Subtitles tab. Just remember to turn it back on for your main encode, as you'll want them if present.

Post Reply