Page 1 of 1

Program prevents spleep mode. Ogg audio conversion is unnecessary

Posted: Mon Nov 05, 2018 5:37 pm
by vkams
Description of problem or question:
1. Program prevents sleep mode, when job isn't finished, although it's paused.
(I can still put it in hibernation.)

2. How to prevent conversion of original ogg-vorbis audio track ? Let it be simply muxed with video.

Steps to reproduce the problem (If Applicable):
You can check the program preventing sleeping mode, if you run CMD with admin rights and then powercfg /requests .



HandBrake version (e.g., 1.0.0):
1.1.2



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


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

Code: Select all

HandBrake 1.1.2 (2018090500) - 64bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: AMD Phenom(tm) II X6 1090T Processor
Ram: 16382 MB, 
GPU Information:
  ATI Radeon HD 6250 - 15.200.1062.1004
Screen: 1920x1080
Temp Dir: C:\Users\Володя\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Володя\AppData\Roaming\HandBrake

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


# Starting Encode ...

[19:40:54] hb_init: starting libhb thread
[19:40:54] 1 job(s) to process
[19:40:54] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\0\\The Swiss Alps Timelapse.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 2097152
  },
  "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": {
          "cb-size": 7,
          "cb-strength": 0.25,
          "y-size": 7,
          "y-strength": 0.25
        }
      },
      {
        "ID": 11,
        "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": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\YouTube\\8K ¦ 4K The Swiss Alps Timelapse.webm"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "auto",
    "Bitrate": 7000,
    "TwoPass": true,
    "Turbo": true,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[19:40:54] CPU: AMD Phenom(tm) II X6 1090T Processor
[19:40:54]  - logical processor count: 6
[19:40:54] Intel Quick Sync Video support: no
[19:40:54] hb_scan: path=D:\YouTube\8K ¦ 4K The Swiss Alps Timelapse.webm, title_index=1
src/libbluray/disc/disc.c:323: failed opening UDF image D:\YouTube\8K В¦ 4K The Swiss Alps Timelapse.webm
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
[19:40:54] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[19:40:54] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\YouTube\8K В¦ 4K The Swiss Alps Timelapse.webm':
  Duration: 00:03:12.57, start: 0.000000, bitrate: N/A
    Stream #0:0(eng): Video: vp9
      yuv420p, 3840x2160, PAR 1:1 DAR 16:9
      24 fps, 1k tbn (default)
    Stream #0:1(eng): Audio: vorbis
      44100 Hz, stereo, fltp (default)
[19:40:54] scan: decoding previews for title 1
[19:40:54] scan: audio 0x1: vorbis, rate=44100Hz, bitrate=1 English (Vorbis) (2.0 ch)
[19:41:01] scan: 10 previews, 3840x2160, 24.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[19:41:01] libhb: scan thread found 1 valid title(s)
[19:41:02] Skipping subtitle scan.  No suitable subtitle tracks.
[19:41:02] starting job
[19:41:02] decomb filter thread started for segment 0
[19:41:02] decomb filter thread started for segment 1
[19:41:02] decomb filter thread started for segment 2
[19:41:02] decomb filter thread started for segment 3
[19:41:02] decomb filter thread started for segment 4
[19:41:02] decomb filter thread started for segment 5
[19:41:02] decomb check thread started for segment 0
[19:41:02] decomb check thread started for segment 1
[19:41:02] decomb check thread started for segment 2
[19:41:02] decomb check thread started for segment 3
[19:41:02] decomb check thread started for segment 4
[19:41:02] decomb check thread started for segment 5
[19:41:02] mask filter thread started for segment 0
[19:41:02] mask filter thread started for segment 1
[19:41:02] mask filter thread started for segment 2
[19:41:02] mask filter thread started for segment 3
[19:41:02] mask filter thread started for segment 4
[19:41:02] mask filter thread started for segment 5
[19:41:02] mask erode thread started for segment 0
[19:41:02] mask erode thread started for segment 1
[19:41:02] mask erode thread started for segment 2
[19:41:02] mask erode thread started for segment 3
[19:41:02] mask erode thread started for segment 4
[19:41:02] mask erode thread started for segment 5
[19:41:02] mask dilate thread started for segment 0
[19:41:02] mask dilate thread started for segment 1
[19:41:02] mask dilate thread started for segment 2
[19:41:02] mask dilate thread started for segment 3
[19:41:02] mask dilate thread started for segment 4
[19:41:02] mask dilate thread started for segment 5
[19:41:02] yadif thread started for segment 0
[19:41:02] yadif thread started for segment 1
[19:41:02] yadif thread started for segment 2
[19:41:02] yadif thread started for segment 3
[19:41:02] yadif thread started for segment 4
[19:41:02] yadif thread started for segment 5
[19:41:02] MTFrame thread started for segment 0
[19:41:02] MTFrame thread started for segment 1
[19:41:02] MTFrame thread started for segment 2
[19:41:02] MTFrame thread started for segment 3
[19:41:02] MTFrame thread started for segment 4
[19:41:02] work: track 1, dithering not supported by codec
[19:41:02] MTFrame thread started for segment 5
[19:41:02] work: only 1 chapter, disabling chapter markers
[19:41:02] job configuration:
[19:41:02]  * source
[19:41:02]    + D:\YouTube\8K ¦ 4K The Swiss Alps Timelapse.webm
[19:41:02]    + title 1, chapter(s) 1 to 1
[19:41:02]    + container: matroska,webm
[19:41:02]  * destination
[19:41:02]    + C:\0\The Swiss Alps Timelapse.mkv
[19:41:02]    + container: Matroska (libavformat)
[19:41:02]  * video track
[19:41:02]    + decoder: vp9
[19:41:02]    + filters
[19:41:02]      + 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:41:02]      + Decomb (mode=39)
[19:41:02]      + Framerate Shaper (mode=0)
[19:41:02]        + frame rate: same as source (around 24.000 fps)
[19:41:02]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[19:41:02]        + source: 3840 * 2160, crop (0/0/0/0): 3840 * 2160, scale: 1920 * 1080
[19:41:02]      + Sharpen (unsharp) (y-strength=0.25:y-size=7:cb-strength=0.25:cb-size=7)
[19:41:02]    + Output geometry
[19:41:02]      + storage dimensions: 1920 x 1080
[19:41:02]      + pixel aspect ratio: 1 : 1
[19:41:02]      + display dimensions: 1920 x 1080
[19:41:02]    + encoder: H.264 (libx264)
[19:41:02]      + preset:  fast
[19:41:02]      + profile: main
[19:41:02]      + level:   auto
[19:41:02]      + bitrate: 7000 kbps, pass: 1
[19:41:02]      + fast first pass
[19:41:02]      + options: ref=1:8x8dct=0:me=dia:trellis=0
[19:41:02]                 analyse=i4x4 (if originally enabled, else analyse=none)
[19:41:02]                 subq=2 (if originally greater than 2, else subq unchanged)
[19:41:02]  * audio track 1
[19:41:02]    + decoder: English (Vorbis) (2.0 ch) (track 1, id 0x1)
[19:41:02]      + samplerate: 44100 Hz
[19:41:02]    + mixdown: Stereo
[19:41:02]    + encoder: AAC (libavcodec)
[19:41:02]      + bitrate: 160 kbps, samplerate: 48000 Hz
[19:41:02] sync: expecting 4621 video frames
[19:41:02] encx264: min-keyint: 24, keyint: 240
[19:41:02] encx264: encoding at average bitrate 7000
[19:41:02] encx264: unparsed options: ref=2:8x8dct=0:weightp=1:subme=6:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT
x264 [info]: profile Main, level 4.0
[19:41:03] sync: first pts video is 0
[19:41:03] sync: "Chapter 1" (1) at frame 1 time 0
[19:41:03] sync: first pts audio 0x1 is 270
[19:53:02] reader: done. 1 scr changes
[19:53:08] work: average encoding speed for job is 6.341248 fps
[19:53:08] comb detect: heavy 912 | light 727 | uncombed 2982 | total 4621
[19:53:09] decomb: deinterlaced 912 | blended 727 | unfiltered 2982 | total 4621
[19:53:09] vfr: lost time: 0 (0 frames)
[19:53:09] vfr: gained time: 0 (0 frames) (0 not accounted for)
[19:53:09] vorbis-decoder done: 13347 frames, 0 decoder errors
[19:53:09] vp9-decoder done: 4621 frames, 0 decoder errors
[19:53:09] sync: got 4621 frames, 4621 expected
[19:53:09] sync: framerate min 24.000 fps, max 24.000 fps, avg 24.000 fps
x264 [info]: frame I:33    Avg QP:17.30  size:268344
x264 [info]: frame P:1233  Avg QP:20.80  size: 77235
x264 [info]: frame B:3355  Avg QP:23.16  size: 13389
x264 [info]: consecutive B-frames:  2.0%  2.6%  2.9% 92.5%
x264 [info]: mb I  I16..4: 42.3%  0.0% 57.7%
x264 [info]: mb P  I16..4: 24.8%  0.0%  0.0%  P16..4: 56.8%  0.0%  0.0%  0.0%  0.0%    skip:18.4%
x264 [info]: mb B  I16..4:  4.5%  0.0%  0.0%  B16..8: 18.7%  0.0%  0.0%  direct:10.4%  skip:66.4%  L0:36.2% L1:42.3% BI:21.5%
x264 [info]: final ratefactor: 21.55
x264 [info]: coded y,uvDC,uvAC intra: 26.2% 33.3% 6.4% inter: 14.2% 11.9% 0.3%
x264 [info]: i16 v,h,dc,p: 28% 34% 23% 15%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 24% 22%  4% 10%  4%  8%  4%  9%
x264 [info]: i8c dc,h,v,p: 58% 26% 12%  4%
x264 [info]: Weighted P-Frames: Y:22.1% UV:11.8%
x264 [info]: kb/s:6191.17
[19:53:09] starting job
[19:53:09] decomb filter thread started for segment 0
[19:53:09] decomb filter thread started for segment 1
[19:53:09] decomb filter thread started for segment 2
[19:53:09] decomb filter thread started for segment 4
[19:53:09] decomb check thread started for segment 0
[19:53:09] decomb filter thread started for segment 3
[19:53:09] decomb check thread started for segment 2
[19:53:09] decomb check thread started for segment 4
[19:53:09] mask filter thread started for segment 0
[19:53:09] mask filter thread started for segment 3
[19:53:09] mask filter thread started for segment 4
[19:53:09] decomb check thread started for segment 1
[19:53:09] mask erode thread started for segment 0
[19:53:09] decomb check thread started for segment 3
[19:53:09] mask filter thread started for segment 2
[19:53:09] mask filter thread started for segment 1
[19:53:09] mask erode thread started for segment 2
[19:53:09] decomb filter thread started for segment 5
[19:53:09] mask erode thread started for segment 3
[19:53:09] mask erode thread started for segment 1
[19:53:09] decomb check thread started for segment 5
[19:53:09] mask filter thread started for segment 5
[19:53:09] mask erode thread started for segment 4
[19:53:09] mask dilate thread started for segment 0
[19:53:09] mask erode thread started for segment 5
[19:53:09] mask dilate thread started for segment 1
[19:53:09] mask dilate thread started for segment 2
[19:53:09] mask dilate thread started for segment 3
[19:53:09] mask dilate thread started for segment 4
[19:53:09] mask dilate thread started for segment 5
[19:53:09] yadif thread started for segment 0
[19:53:09] yadif thread started for segment 1
[19:53:09] yadif thread started for segment 2
[19:53:09] yadif thread started for segment 3
[19:53:09] yadif thread started for segment 4
[19:53:09] yadif thread started for segment 5
[19:53:09] MTFrame thread started for segment 0
[19:53:09] MTFrame thread started for segment 1
[19:53:09] MTFrame thread started for segment 2
[19:53:09] MTFrame thread started for segment 3
[19:53:09] MTFrame thread started for segment 4
[19:53:09] MTFrame thread started for segment 5
[19:53:09] work: track 1, dithering not supported by codec
[19:53:09] work: only 1 chapter, disabling chapter markers
[19:53:09] job configuration:
[19:53:09]  * source
[19:53:09]    + D:\YouTube\8K ¦ 4K The Swiss Alps Timelapse.webm
[19:53:09]    + title 1, chapter(s) 1 to 1
[19:53:09]    + container: matroska,webm
[19:53:09]  * destination
[19:53:09]    + C:\0\The Swiss Alps Timelapse.mkv
[19:53:09]    + container: Matroska (libavformat)
[19:53:09]  * video track
[19:53:09]    + decoder: vp9
[19:53:09]    + filters
[19:53:09]      + 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:53:09]      + Decomb (mode=39)
[19:53:09]      + Framerate Shaper (mode=0)
[19:53:09]        + frame rate: same as source (around 24.000 fps)
[19:53:09]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[19:53:09]        + source: 3840 * 2160, crop (0/0/0/0): 3840 * 2160, scale: 1920 * 1080
[19:53:09]      + Sharpen (unsharp) (y-strength=0.25:y-size=7:cb-strength=0.25:cb-size=7)
[19:53:09]    + Output geometry
[19:53:09]      + storage dimensions: 1920 x 1080
[19:53:09]      + pixel aspect ratio: 1 : 1
[19:53:09]      + display dimensions: 1920 x 1080
[19:53:09]    + encoder: H.264 (libx264)
[19:53:09]      + preset:  fast
[19:53:09]      + profile: main
[19:53:09]      + level:   auto
[19:53:09]      + bitrate: 7000 kbps, pass: 2
[19:53:09]  * audio track 1
[19:53:09]    + decoder: English (Vorbis) (2.0 ch) (track 1, id 0x1)
[19:53:09]      + samplerate: 44100 Hz
[19:53:09]    + mixdown: Stereo
[19:53:09]    + encoder: AAC (libavcodec)
[19:53:09]      + bitrate: 160 kbps, samplerate: 48000 Hz
[19:53:09] sync: expecting 4621 video frames
[19:53:09] encx264: min-keyint: 24, keyint: 240
[19:53:09] encx264: encoding at average bitrate 7000
[19:53:09] encx264: unparsed options: ref=2:8x8dct=0:weightp=1:subme=6:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT
x264 [info]: profile Main, level 4.0
[19:53:10] sync: first pts video is 0
[19:53:10] sync: "Chapter 1" (1) at frame 1 time 0
[19:53:10] sync: first pts audio 0x1 is 270
[20:04:19] reader: done. 1 scr changes
[20:04:26] work: average encoding speed for job is 6.815450 fps
[20:04:26] comb detect: heavy 912 | light 727 | uncombed 2982 | total 4621
[20:04:26] decomb: deinterlaced 912 | blended 727 | unfiltered 2982 | total 4621
[20:04:26] vfr: lost time: 0 (0 frames)
[20:04:26] vfr: gained time: 0 (0 frames) (0 not accounted for)
[20:04:26] vorbis-decoder done: 13347 frames, 0 decoder errors
[20:04:26] vp9-decoder done: 4621 frames, 0 decoder errors
[20:04:26] sync: got 4621 frames, 4621 expected
[20:04:26] sync: framerate min 24.000 fps, max 24.000 fps, avg 24.000 fps
x264 [info]: frame I:33    Avg QP:17.57  size:281841
x264 [info]: frame P:1233  Avg QP:20.63  size: 84080
x264 [info]: frame B:3355  Avg QP:23.04  size: 16587
x264 [info]: consecutive B-frames:  2.0%  2.6%  2.9% 92.5%
x264 [info]: mb I  I16..4: 38.9%  0.0% 61.1%
x264 [info]: mb P  I16..4: 14.3%  0.0%  5.0%  P16..4: 35.7% 16.8% 12.0%  0.0%  0.0%    skip:16.1%
x264 [info]: mb B  I16..4:  5.1%  0.0%  0.8%  B16..8: 22.1%  8.0%  0.9%  direct:11.5%  skip:51.6%  L0:42.8% L1:42.4% BI:14.8%
x264 [info]: coded y,uvDC,uvAC intra: 24.9% 40.7% 7.6% inter: 15.5% 21.5% 0.5%
x264 [info]: i16 v,h,dc,p: 30% 34% 19% 17%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 28% 27%  4%  6%  4%  9%  3%  7%
x264 [info]: i8c dc,h,v,p: 59% 26% 11%  4%
x264 [info]: Weighted P-Frames: Y:22.1% UV:11.8%
x264 [info]: ref P L0: 77.1% 22.9%
x264 [info]: ref B L0: 83.6% 16.4%
x264 [info]: ref B L1: 92.9%  7.1%
x264 [info]: kb/s:7006.16
[20:04:26] mux: track 0, 4621 frames, 168620860 bytes, 7004.59 kbps, fifo 1024
[20:04:26] mux: track 1, 9027 frames, 3843993 bytes, 159.68 kbps, fifo 2048
[20:04:26] libhb: work result = 0

# Encode Completed ...


Re: Program prevents spleep mode. Ogg audio conversion is unnecessary

Posted: Mon Nov 05, 2018 8:26 pm
by Deleted User 11865
We don't do Vorbis passthrough. Patches welcome.

No idea about sleep being prevented while paused.