Random, not reproduceable bug (2 pass encoding instead of crf)

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 section of the forum is now closed to new topics.

*******************************
Post Reply
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Random, not reproduceable bug (2 pass encoding instead of crf)

Post by linuxuser »

Since a while it happens from time to time, that a 2 pass encoding is started, instead of a crf-encoding. This is more an info, than a bug report. But I do something special. I start Handbrake more than once and don't use a queue. I do this, because often I have to do finetuning and have to start with different parameters again. Especially i don't want to enter the tags again, which I have, if I use a queue. I started 8 handbrake-instances and everything worked fine, but sometimes I see "pass ..." while crf is defined. This happened now with 2 handbrake instances.

My system
Ubuntu 14.04
handbrake-gtk 6559svnppa1~trusty1

I noticed this a few weeks ago too, so the problem should exist since a while. I have to restart the pc, to get rid of it.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5583
Joined: Sat Feb 09, 2008 7:21 pm

Re: Random, not reproduceable bug (2 pass encoding instead of crf)

Post by JohnAStebbins »

ACTIVITY LOG

Without it, we have absolutely no idea what settings you used or what the characteristics of the source video were and can therefore offer no help whatsoever.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: Random, not reproduceable bug (2 pass encoding instead of crf)

Post by linuxuser »

Thanks, if it happen next time, I will post it. I wanted to mention the problem only, so maybe someone else can confirm this.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: Random, not reproduceable bug (2 pass encoding instead of crf)

Post by linuxuser »

The problem appeared again with only 1 handbrake window open. The filename has been changed / removed.

Image
[00:04:24] gtkgui: HandBrake svn6559 (2014112601) - Linux x86_64 - https://handbrake.fr
[00:04:24] hb_init: starting libhb thread
[00:04:24] hb_init: starting libhb thread

(ghb:4597): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
[00:04:36] CPU:
[00:04:36] - logical processor count: 8
[00:04:36] OpenCL: library not available
[00:04:36] hb_scan: path=/videos/d.mkv, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /videos/d.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /videos/d.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/videos/d.mkv) failed
[00:04:36] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[00:04:36] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/videos/d.mkv':
Duration: 02:00:53.64, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0,000000, end 437,840000
Metadata:
title : Chapter 01
Chapter #0.1: start 437,840000, end 1014,520000
Metadata:
title : Chapter 02
Chapter #0.2: start 1014,520000, end 1853,280000
Metadata:
title : Chapter 03
Chapter #0.3: start 1853,280000, end 2431,520000
Metadata:
title : Chapter 04
Chapter #0.4: start 2431,520000, end 3004,560000
Metadata:
title : Chapter 05
Chapter #0.5: start 3004,560000, end 3770,000000
Metadata:
title : Chapter 06
Chapter #0.6: start 3770,000000, end 4607,200000
Metadata:
title : Chapter 07
Chapter #0.7: start 4607,200000, end 5715,840000
Metadata:
title : Chapter 08
Chapter #0.8: start 5715,840000, end 7253,640000
Metadata:
title : Chapter 09
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 8199 kb/s, 25 fps, 1k tbn, 50 tbc
Stream #0.1(ger): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
Metadata:
title : Surround 5.1
Stream #0.2(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s
Metadata:
title : Surround 5.1
Stream #0.3(ger): Subtitle: dvdsub (default)
[00:04:36] scan: decoding previews for title 1
[00:04:36] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (5.1 ch)
[00:04:36] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[00:04:36] scan: 10 previews, 720x576, 25,000 fps, autocrop = 2/0/4/0, aspect 16:9, PAR 64:45
[00:04:37] libhb: scan thread found 1 valid title(s)
[00:10:19] CPU:
[00:10:19] - logical processor count: 8
[00:10:19] OpenCL: library not available
[00:10:19] hb_scan: path=/videos/d.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /videos/d.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /videos/d.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/videos/d.mkv) failed
[00:10:19] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[00:10:19] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/videos/d.mkv':
Duration: 02:00:53.64, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0,000000, end 437,840000
Metadata:
title : Chapter 01
Chapter #0.1: start 437,840000, end 1014,520000
Metadata:
title : Chapter 02
Chapter #0.2: start 1014,520000, end 1853,280000
Metadata:
title : Chapter 03
Chapter #0.3: start 1853,280000, end 2431,520000
Metadata:
title : Chapter 04
Chapter #0.4: start 2431,520000, end 3004,560000
Metadata:
title : Chapter 05
Chapter #0.5: start 3004,560000, end 3770,000000
Metadata:
title : Chapter 06
Chapter #0.6: start 3770,000000, end 4607,200000
Metadata:
title : Chapter 07
Chapter #0.7: start 4607,200000, end 5715,840000
Metadata:
title : Chapter 08
Chapter #0.8: start 5715,840000, end 7253,640000
Metadata:
title : Chapter 09
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 8199 kb/s, 25 fps, 1k tbn, 50 tbc
Stream #0.1(ger): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
Metadata:
title : Surround 5.1
Stream #0.2(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s
Metadata:
title : Surround 5.1
Stream #0.3(ger): Subtitle: dvdsub (default)
[00:10:19] scan: decoding previews for title 1
[00:10:19] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (5.1 ch)
[00:10:19] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[00:10:19] scan: 10 previews, 720x576, 25,000 fps, autocrop = 2/0/4/0, aspect 16:9, PAR 64:45
[00:10:19] libhb: scan thread found 1 valid title(s)
[00:10:21] gtkgui: Modified Custom Preset: DVD
[00:10:21] 2 job(s) to process
[00:10:21] starting job
[00:10:21] yadif thread started for segment 0
[00:10:21] yadif thread started for segment 1
[00:10:21] yadif thread started for segment 3
[00:10:21] yadif thread started for segment 2
[00:10:21] yadif thread started for segment 4
[00:10:21] yadif thread started for segment 5
[00:10:21] yadif thread started for segment 6
[00:10:21] decomb filter thread started for segment 0
[00:10:21] yadif thread started for segment 7
[00:10:21] decomb filter thread started for segment 1
[00:10:21] decomb filter thread started for segment 2
[00:10:21] decomb filter thread started for segment 4
[00:10:21] decomb filter thread started for segment 3
[00:10:21] decomb filter thread started for segment 5
[00:10:21] decomb filter thread started for segment 6
[00:10:21] decomb filter thread started for segment 7
[00:10:21] decomb check thread started for segment 0
[00:10:21] decomb check thread started for segment 1
[00:10:21] decomb check thread started for segment 2
[00:10:21] decomb check thread started for segment 3
[00:10:21] decomb check thread started for segment 4
[00:10:21] decomb check thread started for segment 5
[00:10:21] decomb check thread started for segment 6
[00:10:21] decomb check thread started for segment 7
[00:10:21] mask filter thread started for segment 0
[00:10:21] mask filter thread started for segment 1
[00:10:21] mask filter thread started for segment 2
[00:10:21] mask filter thread started for segment 3
[00:10:21] mask filter thread started for segment 4
[00:10:21] mask filter thread started for segment 5
[00:10:21] mask filter thread started for segment 6
[00:10:21] mask filter thread started for segment 7
[00:10:21] mask erode thread started for segment 0
[00:10:21] mask erode thread started for segment 1
[00:10:21] mask erode thread started for segment 2
[00:10:21] mask erode thread started for segment 3
[00:10:21] mask erode thread started for segment 4
[00:10:21] mask erode thread started for segment 5
[00:10:21] mask erode thread started for segment 7
[00:10:21] mask erode thread started for segment 6
[00:10:21] mask dilate thread started for segment 0
[00:10:21] mask dilate thread started for segment 1
[00:10:21] mask dilate thread started for segment 2
[00:10:21] mask dilate thread started for segment 4
[00:10:21] mask dilate thread started for segment 5
[00:10:21] mask dilate thread started for segment 3
[00:10:21] mask dilate thread started for segment 7
[00:10:21] mask dilate thread started for segment 6
[00:10:21] NLMeans Denoise thread started for segment 0
[00:10:21] NLMeans Denoise thread started for segment 1
[00:10:21] NLMeans Denoise thread started for segment 2
[00:10:21] NLMeans Denoise thread started for segment 3
[00:10:21] NLMeans Denoise thread started for segment 4
[00:10:21] NLMeans Denoise thread started for segment 5
[00:10:21] NLMeans Denoise thread started for segment 6
[00:10:21] NLMeans Denoise thread started for segment 7
[00:10:21] sync: expecting 181341 video frames
[00:10:21] job configuration:
[00:10:21] * source
[00:10:21] + /videos/d.mkv
[00:10:21] + title 1, chapter(s) 1 to 9
[00:10:21] + container: matroska,webm
[00:10:21] * destination
[00:10:21] + /videos/movies/d.mkv
[00:10:21] + container: Matroska (libavformat)
[00:10:21] + chapter markers
[00:10:21] * video track
[00:10:21] + decoder: mpeg2video
[00:10:21] + bitrate 8199 kbps
[00:10:21] + filters
[00:10:21] + Decomb (default settings)
[00:10:21] + Framerate Shaper (0:27000000:1080000)
[00:10:21] + frame rate: same as source (around 25,000 fps)
[00:10:21] + Denoise (nlmeans) (default settings)
[00:10:21] + Crop and Scale (1024:576:2:2:6:0)
[00:10:21] + source: 720 * 576, crop (2/2/6/0): 714 * 572, scale: 1024 * 576
[00:10:21] + dimensions: 1024 * 576, mod 2
[00:10:21] * Foreign Audio Search: Passthrough, Forced Only, Default
[00:10:21] + subtitle, German (track 3, id 0x3) Picture [VOBSUB]
[00:11:35] reader: done. 1 scr changes
[00:11:35] work: average encoding speed for job is 0,000000 fps
[00:11:35] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[00:11:35] render: lost time: 0 (0 frames)
[00:11:35] render: gained time: 0 (0 frames) (0 not accounted for)
[00:11:35] mpeg2video-decoder done: 0 frames, 0 decoder errors, 0 drops
[00:11:35] Subtitle track 3 (id 0x3) 'German': 753 hits (0 forced)
[00:11:35] No candidate detected during subtitle scan
[00:11:35] starting job
[00:11:35] yadif thread started for segment 0
[00:11:35] yadif thread started for segment 1
[00:11:35] yadif thread started for segment 2
[00:11:35] yadif thread started for segment 3
[00:11:35] yadif thread started for segment 4
[00:11:35] yadif thread started for segment 5
[00:11:35] yadif thread started for segment 6
[00:11:35] yadif thread started for segment 7
[00:11:35] decomb filter thread started for segment 0
[00:11:35] decomb filter thread started for segment 1
[00:11:35] decomb filter thread started for segment 2
[00:11:35] decomb filter thread started for segment 4
[00:11:35] decomb filter thread started for segment 5
[00:11:35] decomb filter thread started for segment 3
[00:11:35] decomb filter thread started for segment 6
[00:11:35] decomb filter thread started for segment 7
[00:11:35] decomb check thread started for segment 0
[00:11:35] decomb check thread started for segment 1
[00:11:35] decomb check thread started for segment 2
[00:11:35] decomb check thread started for segment 4
[00:11:35] decomb check thread started for segment 3
[00:11:35] decomb check thread started for segment 5
[00:11:35] decomb check thread started for segment 6
[00:11:35] decomb check thread started for segment 7
[00:11:35] mask filter thread started for segment 0
[00:11:35] mask filter thread started for segment 2
[00:11:35] mask filter thread started for segment 3
[00:11:35] mask filter thread started for segment 1
[00:11:35] mask filter thread started for segment 4
[00:11:35] mask filter thread started for segment 5
[00:11:35] mask filter thread started for segment 6
[00:11:35] mask filter thread started for segment 7
[00:11:35] mask erode thread started for segment 0
[00:11:35] mask erode thread started for segment 1
[00:11:35] mask erode thread started for segment 2
[00:11:35] mask erode thread started for segment 3
[00:11:35] mask erode thread started for segment 4
[00:11:35] mask erode thread started for segment 5
[00:11:35] mask erode thread started for segment 6
[00:11:35] mask erode thread started for segment 7
[00:11:35] mask dilate thread started for segment 0
[00:11:35] mask dilate thread started for segment 1
[00:11:35] mask dilate thread started for segment 2
[00:11:35] mask dilate thread started for segment 3
[00:11:35] mask dilate thread started for segment 4
[00:11:35] mask dilate thread started for segment 5
[00:11:35] mask dilate thread started for segment 7
[00:11:35] mask dilate thread started for segment 6
[00:11:35] NLMeans Denoise thread started for segment 0
[00:11:35] NLMeans Denoise thread started for segment 1
[00:11:35] NLMeans Denoise thread started for segment 2
[00:11:35] NLMeans Denoise thread started for segment 3
[00:11:35] NLMeans Denoise thread started for segment 4
[00:11:35] NLMeans Denoise thread started for segment 6
[00:11:35] NLMeans Denoise thread started for segment 5
[00:11:35] NLMeans Denoise thread started for segment 7
[00:11:35] sync: expecting 181341 video frames
[00:11:36] job configuration:
[00:11:36] * source
[00:11:36] + /videos/d.mkv
[00:11:36] + title 1, chapter(s) 1 to 9
[00:11:36] + container: matroska,webm
[00:11:36] * destination
[00:11:36] + /videos/movies/d.mkv
[00:11:36] + container: Matroska (libavformat)
[00:11:36] + chapter markers
[00:11:36] * video track
[00:11:36] + decoder: mpeg2video
[00:11:36] + bitrate 8199 kbps
[00:11:36] + filters
[00:11:36] + Decomb (default settings)
[00:11:36] + Framerate Shaper (0:27000000:1080000)
[00:11:36] + frame rate: same as source (around 25,000 fps)
[00:11:36] + Denoise (nlmeans) (default settings)
[00:11:36] + Crop and Scale (1024:576:2:2:6:0)
[00:11:36] + source: 720 * 576, crop (2/2/6/0): 714 * 572, scale: 1024 * 576
[00:11:36] + dimensions: 1024 * 576, mod 2
[00:11:36] + encoder: H.264 (libx264)
[00:11:36] + preset: medium
[00:11:36] + tune: film
[00:11:36] + quality: 20,00 (RF)
[00:11:36] * audio track 1
[00:11:36] + decoder: Deutsch (AC3) (5.1 ch) (track 1, id 0x1)
[00:11:36] + bitrate: 448 kbps, samplerate: 48000 Hz
[00:11:36] + AC3 Passthru
[00:11:36] * audio track 2
[00:11:36] + decoder: English (AC3) (5.1 ch) (track 2, id 0x2)
[00:11:36] + bitrate: 448 kbps, samplerate: 48000 Hz
[00:11:36] + mixdown: 5.1 Channels
[00:11:36] + encoder: AAC (libavcodec)
[00:11:36] + bitrate: 256 kbps, samplerate: 48000 Hz
[00:11:36] reader: first SCR -3600 id 0x0 DTS -3600
[00:11:36] encx264: encoding at constant RF 20,000000
[00:11:36] encx264: unparsed options: deblock=-1,-1:psy-rd=1,00,0,15
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
x264 [info]: profile High, level 3.1
User avatar
JohnAStebbins
HandBrake Team
Posts: 5583
Joined: Sat Feb 09, 2008 7:21 pm

Re: Random, not reproduceable bug (2 pass encoding instead of crf)

Post by JohnAStebbins »

The first pass is searching for subtitles. You have "Foreign audio search" enabled. It will only do this when your source has subtitles to search, so that is why it does not happen all the time.
linuxuser
Bright Spark User
Posts: 184
Joined: Fri Jan 06, 2012 7:47 pm

Re: Random, not reproduceable bug (2 pass encoding instead of crf)

Post by linuxuser »

Thanks, but I wonder now, while I don't see this gain. I think it is better discussed in this thread, because it is no bug obviously: viewtopic.php?f=6&t=31218&e=1&view=unread#unread
Post Reply