With upcoming changes to data protection and privacy laws in Europe coming into effect soon, we thought this would be a good time to remind everyone that we do have a privacy policy.
This applies to all users and visitors world-wide.

We have made a few changes to the language to make it clearer in relation to this new regulation but fundamentally, the terms and your rights are unchanged.

If you have any questions about this, please feel free to ask in the General Forum

Computer sleeps when running a queue in Handbrake

HandBrake for Mac support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
jeff3820
Posts: 1
Joined: Fri May 18, 2018 5:15 am

Computer sleeps when running a queue in Handbrake

Post by jeff3820 » Fri May 18, 2018 5:30 am

Description of problem or question:
I'm running Handbrake 1.1.0 on a late 2013 8-core Mac Pro. When running a queue of transcoding jobs with Handbrake the Mac will periodically go to sleep. Resuming the Mac from sleep causes Handbrake to resume but it never used to do this...when running Handbrake the computer wouldn't sleep. I have tried clicking the setting box under energy settings to prevent the mac from sleeping when the screen goes blank but periodically Handbrake will still pause/sleep. This is a fairly recent behavior...possibly since 1.1.0 or 1.007



Steps to reproduce the problem (If Applicable):
All described above. Attached log is for a item in the queue where I believe the transcoding job went to sleep



HandBrake version (e.g., 1.0.0):
1.007 - 1.1.0



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Mac OS High Sierra 10.13.4



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake Activity Log for Session: 2018-05-17 20:07:28 -0500
Handbrake Version: 1.1.0 (2018040700)
Junior Prom a22 MED.mp4
Preset: Jeff 1280 22 Web (Modified)
[20:07:28] macgui: QueueCore work done
[20:07:28] macgui: QueueCore scanning specifically for title: 1
[20:07:28] CPU: Intel(R) Xeon(R) CPU E5-1680 v2 @ 3.00GHz
[20:07:28]  - Intel microarchitecture Ivy Bridge
[20:07:28]  - logical processor count: 16
[20:07:28] hb_scan: path=/Users/jeff/Documents/Video Orig/BD/Junior Prom a.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/jeff/Documents/Video Orig/BD/Junior Prom a.mp4
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[20:07:28] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
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
[20:07:28] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/jeff/Documents/Video Orig/BD/Junior Prom a.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : Junior Prom
    album           : RiffTrax Presents
    encoder         : Lavf54.29.104
    copyright       : Copyright 2018 RiffTrax
    description     : This movie has it all and then some: romance, political intrigue, studying, rich uncles, big bands, familial strife, journalism, jazz, soda fountains, swing dance, real estate, and a prom! Bridget and Mary Jo enjoy this 1946 “drama” (according ...
  Duration: 01:09:11.63, start: 0.000000, bitrate: 15191 kb/s
    Stream #0:0(und): Video: h264 (High) [avc1 / 0x31637661]
      yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 14996 kb/s
      23.98 fps, 1199 tbn (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
[20:07:28] scan: decoding previews for title 1
[20:07:28] scan: audio 0x1: aac, rate=48000Hz, bitrate=189375 Unknown (AAC) (2.0 ch)
[20:07:28] scan: 10 previews, 1920x1080, 23.980 fps, autocrop = 0/0/216/216, aspect 16:9, PAR 1:1
[20:07:28] libhb: scan thread found 1 valid title(s)
[20:07:28] macgui: QueueCore scan done
[20:07:28] 1 job(s) to process
[20:07:28] macgui: QueueCore started encoding Junior Prom a22 MED.mp4
[20:07:28] macgui: QueueCore with preset Jeff 1280 22 Web (Modified)
[20:07:28] starting job
[20:07:28] decomb filter thread started for segment 0
[20:07:28] decomb filter thread started for segment 1
[20:07:28] decomb filter thread started for segment 2
[20:07:28] decomb filter thread started for segment 3
[20:07:28] decomb filter thread started for segment 4
[20:07:28] decomb filter thread started for segment 5
[20:07:28] decomb filter thread started for segment 6
[20:07:28] decomb filter thread started for segment 7
[20:07:28] decomb filter thread started for segment 8
[20:07:28] decomb filter thread started for segment 9
[20:07:28] decomb filter thread started for segment 10
[20:07:28] decomb filter thread started for segment 11
[20:07:28] decomb filter thread started for segment 12
[20:07:28] decomb filter thread started for segment 13
[20:07:28] decomb filter thread started for segment 14
[20:07:28] decomb filter thread started for segment 15
[20:07:28] decomb check thread started for segment 0
[20:07:28] decomb check thread started for segment 1
[20:07:28] decomb check thread started for segment 2
[20:07:28] decomb check thread started for segment 4
[20:07:28] decomb check thread started for segment 3
[20:07:28] decomb check thread started for segment 5
[20:07:28] decomb check thread started for segment 6
[20:07:28] decomb check thread started for segment 7
[20:07:28] decomb check thread started for segment 8
[20:07:28] decomb check thread started for segment 9
[20:07:28] decomb check thread started for segment 10
[20:07:28] decomb check thread started for segment 11
[20:07:28] decomb check thread started for segment 12
[20:07:28] decomb check thread started for segment 13
[20:07:28] decomb check thread started for segment 14
[20:07:28] decomb check thread started for segment 15
[20:07:28] mask filter thread started for segment 0
[20:07:28] mask filter thread started for segment 1
[20:07:28] mask filter thread started for segment 2
[20:07:28] mask filter thread started for segment 3
[20:07:28] mask filter thread started for segment 4
[20:07:28] mask filter thread started for segment 5
[20:07:28] mask filter thread started for segment 6
[20:07:28] mask filter thread started for segment 7
[20:07:28] mask filter thread started for segment 8
[20:07:28] mask filter thread started for segment 9
[20:07:28] mask filter thread started for segment 10
[20:07:28] mask filter thread started for segment 11
[20:07:28] mask filter thread started for segment 12
[20:07:28] mask filter thread started for segment 13
[20:07:28] mask filter thread started for segment 14
[20:07:28] mask filter thread started for segment 15
[20:07:28] mask erode thread started for segment 0
[20:07:28] mask erode thread started for segment 1
[20:07:28] mask erode thread started for segment 2
[20:07:28] mask erode thread started for segment 3
[20:07:28] mask erode thread started for segment 4
[20:07:28] mask erode thread started for segment 5
[20:07:28] mask erode thread started for segment 6
[20:07:28] mask erode thread started for segment 7
[20:07:28] mask erode thread started for segment 8
[20:07:28] mask erode thread started for segment 9
[20:07:28] mask erode thread started for segment 10
[20:07:28] mask erode thread started for segment 11
[20:07:28] mask erode thread started for segment 12
[20:07:28] mask erode thread started for segment 13
[20:07:28] mask erode thread started for segment 14
[20:07:28] mask erode thread started for segment 15
[20:07:28] mask dilate thread started for segment 0
[20:07:28] mask dilate thread started for segment 1
[20:07:28] mask dilate thread started for segment 2
[20:07:28] mask dilate thread started for segment 3
[20:07:28] mask dilate thread started for segment 4
[20:07:28] mask dilate thread started for segment 5
[20:07:28] mask dilate thread started for segment 6
[20:07:28] mask dilate thread started for segment 7
[20:07:28] mask dilate thread started for segment 8
[20:07:28] mask dilate thread started for segment 9
[20:07:28] mask dilate thread started for segment 10
[20:07:28] mask dilate thread started for segment 11
[20:07:28] mask dilate thread started for segment 12
[20:07:28] mask dilate thread started for segment 13
[20:07:28] mask dilate thread started for segment 14
[20:07:28] mask dilate thread started for segment 15
[20:07:28] yadif thread started for segment 0
[20:07:28] yadif thread started for segment 1
[20:07:28] yadif thread started for segment 2
[20:07:28] yadif thread started for segment 3
[20:07:28] yadif thread started for segment 4
[20:07:28] yadif thread started for segment 5
[20:07:28] yadif thread started for segment 6
[20:07:28] yadif thread started for segment 7
[20:07:28] yadif thread started for segment 8
[20:07:28] yadif thread started for segment 9
[20:07:28] yadif thread started for segment 10
[20:07:28] yadif thread started for segment 11
[20:07:28] yadif thread started for segment 12
[20:07:28] yadif thread started for segment 13
[20:07:28] yadif thread started for segment 14
[20:07:28] yadif thread started for segment 15
[20:07:28] NLMeans using SSE2 optimizations
[20:07:28] NLMeans thread started for segment 0
[20:07:28] NLMeans thread started for segment 1
[20:07:28] NLMeans thread started for segment 2
[20:07:28] NLMeans thread started for segment 3
[20:07:28] NLMeans thread started for segment 4
[20:07:28] NLMeans thread started for segment 5
[20:07:28] NLMeans thread started for segment 6
[20:07:28] NLMeans thread started for segment 7
[20:07:28] NLMeans thread started for segment 8
[20:07:28] NLMeans thread started for segment 9
[20:07:28] NLMeans thread started for segment 10
[20:07:28] NLMeans thread started for segment 11
[20:07:28] NLMeans thread started for segment 12
[20:07:28] NLMeans thread started for segment 13
[20:07:28] NLMeans thread started for segment 14
[20:07:28] NLMeans thread started for segment 15
[20:07:28] work: only 1 chapter, disabling chapter markers
[20:07:28] job configuration:
[20:07:28]  * source
[20:07:28]    + /Users/jeff/Documents/Video Orig/BD/Junior Prom a.mp4
[20:07:28]    + title 1, chapter(s) 1 to 1
[20:07:28]    + container: mov,mp4,m4a,3gp,3g2,mj2
[20:07:28]    + data rate: 15191 kbps
[20:07:28]  * destination
[20:07:28]    + /Users/jeff/Documents/Video Orig/Video Convert/Junior Prom a22 MED.mp4
[20:07:28]    + container: MPEG-4 (libavformat)
[20:07:28]      + optimized for HTTP streaming (fast start)
[20:07:28]  * video track
[20:07:28]    + decoder: h264
[20:07:28]      + bitrate 14996 kbps
[20:07:28]    + filters
[20:07:28]      + 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)
[20:07:28]      + Decomb (mode=39)
[20:07:28]      + Framerate Shaper (mode=1:rate=27000000/1125938)
[20:07:28]        + frame rate: 23.980 fps -> constant 23.980 fps
[20:07:28]      + Denoise (nlmeans) (y-strength=6:y-origin-tune=0.8:y-patch-size=7:y-range=3:y-frame-count=2:y-prefilter=0:cb-strength=8:cb-origin-tune=0.8:cb-patch-size=7:cb-range=3:cb-frame-count=2:cb-prefilter=0)
[20:07:28]      + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[20:07:28]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1280 * 720
[20:07:28]    + Output geometry
[20:07:28]      + storage dimensions: 1280 x 720
[20:07:28]      + pixel aspect ratio: 1 : 1
[20:07:28]      + display dimensions: 1280 x 720
[20:07:28]    + encoder: H.264 (libx264)
[20:07:28]      + preset:  fast
[20:07:28]      + tune:    film
[20:07:28]      + profile: main
[20:07:28]      + level:   4.1
[20:07:28]      + quality: 22.00 (RF)
[20:07:28]  * audio track 1
[20:07:28]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x1)
[20:07:28]      + bitrate: 189 kbps, samplerate: 48000 Hz
[20:07:28]    + mixdown: Stereo
[20:07:28]    + encoder: AAC (Apple AudioToolbox)
[20:07:28]      + bitrate: 160 kbps, samplerate: 48000 Hz
[20:07:28] sync: expecting 99556 video frames
[20:07:28] encx264: min-keyint: 24, keyint: 240
[20:07:28] encx264: encoding at constant RF 22.000000
[20:07:28] encx264: unparsed options: level=4.1:ref=2:deblock=-1,-1:8x8dct=0:weightp=1:subme=6:psy-rd=1,0.15:vbv-bufsize=62500:vbv-maxrate=50000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 4.1
[20:07:28] sync: first pts video is 0
[20:07:28] sync: "Chapter 1" (1) at frame 1 time 0
[20:07:28] sync: first pts audio 0x1 is 0
[21:16:16] macgui: QueueCore encode canceled
[21:16:16] work: average encoding speed for job is 20.192997 fps
[21:16:16] comb detect: heavy 0 | light 3 | uncombed 83318 | total 83321
[21:16:16] decomb: deinterlaced 0 | blended 3 | unfiltered 83309 | total 83312
[21:16:16] vfr: 83303 frames output, 0 dropped and 0 duped for CFR/PFR
[21:16:16] vfr: lost time: 0 (0 frames)
[21:16:16] vfr: gained time: 0 (0 frames) (0 not accounted for)
[21:16:16] aac-decoder done: 163041 frames, 0 decoder errors
[21:16:16] h264-decoder done: 83388 frames, 0 decoder errors
[21:16:16] sync: got 83353 frames, 99556 expected
[21:16:16] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.980 fps
x264 [info]: frame I:493   Avg QP:16.31  size: 38317
x264 [info]: frame P:21238 Avg QP:22.12  size: 14080
x264 [info]: frame B:61494 Avg QP:24.27  size:  5595
x264 [info]: consecutive B-frames:  1.3%  0.2%  1.1% 97.4%
x264 [info]: mb I  I16..4: 36.6%  0.0% 63.4%
x264 [info]: mb P  I16..4:  2.3%  0.0%  5.4%  P16..4: 36.8% 17.9%  7.4%  0.0%  0.0%    skip:30.2%
x264 [info]: mb B  I16..4:  4.0%  0.0%  0.7%  B16..8: 25.0%  7.9%  0.4%  direct:11.3%  skip:50.6%  L0:45.1% L1:44.3% BI:10.6%
x264 [info]: coded y,uvDC,uvAC intra: 47.5% 0.1% 0.0% inter: 13.7% 0.0% 0.0%
x264 [info]: i16 v,h,dc,p: 42% 19% 22% 17%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 16% 15%  6%  9%  9%  7%  7%  5%
x264 [info]: i8c dc,h,v,p: 100%  0%  0%  0%
x264 [info]: Weighted P-Frames: Y:39.4% UV:0.0%
x264 [info]: ref P L0: 57.3% 42.7%
x264 [info]: ref B L0: 79.0% 21.0%
x264 [info]: ref B L1: 95.2%  4.8%
x264 [info]: kb/s:1525.86
[21:16:17] mux: track 0, 83225 frames, 661937494 bytes, 1523.49 kbps, fifo 2048
[21:16:17] mux: track 1, 162933 frames, 56611962 bytes, 130.30 kbps, fifo 4096
[21:16:17] libhb: work result = 1

Post Reply