Auto shutdown hangs with 1 second to go (linux mint 20.1)

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
ZennMystic
New User
Posts: 1
Joined: Fri Aug 27, 2021 10:06 pm

Auto shutdown hangs with 1 second to go (linux mint 20.1)

Post by ZennMystic »

Description of problem or question:

I put encodes in the queue. Set it to shutdown when done. But when I get up in the morning computer is stiff on and handbreak window says shunting sown in 1 seconds. My only option then is to click on cancel and Handbrake closes but computer stays on.


Steps to reproduce the problem (If Applicable):


set to shutdown when done

HandBrake version (e.g., 1.0.0):

1.4.0 (x86_64)


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

Linux Mint 20.1 Cinnamon
5.4.0-81-generic


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

Code: Select all

17:42:19] gtkgui: HandBrake 1.4.0 (2021071800) - Linux x86_64 - https://handbrake.fr
[17:42:19] Compile-time hardening features are enabled
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
[17:42:19] hb_init: starting libhb thread
[17:42:19] hb_init: starting libhb thread
[17:42:19] hb_init: starting libhb thread

(ghb:2): GVFS-WARNING **: 17:42:19.272: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(ghb:2): GVFS-WARNING **: 17:42:19.272: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(ghb:2): GVFS-WARNING **: 17:42:19.273: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(ghb:2): GVFS-WARNING **: 17:42:19.300: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(ghb:2): GVFS-WARNING **: 17:42:19.301: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(ghb:2): GVFS-WARNING **: 17:42:19.302: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(ghb:2): GVFS-WARNING **: 17:42:19.304: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(ghb:2): GVFS-WARNING **: 17:42:19.305: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(ghb:2): GVFS-WARNING **: 17:42:19.305: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(ghb:2): GVFS-WARNING **: 17:42:19.307: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(ghb:2): GVFS-WARNING **: 17:42:19.308: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(ghb:2): GVFS-WARNING **: 17:42:19.309: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(ghb:2): GVFS-WARNING **: 17:42:19.469: The peer-to-peer connection failed: Error when getting information for file “/run/user/1000/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.
[17:42:24] CPU: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
[17:42:24]  - Intel microarchitecture Sandy Bridge
[17:42:24]  - logical processor count: 8
[17:42:24] Intel Quick Sync Video support: no
[17:42:24] hb_scan: path=/home/zenn/Downloads/30 Second Timer.mp4, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /home/zenn/Downloads/30 Second Timer.mp4
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/home/zenn/Downloads/30 Second Timer.mp4/) failed
[17:42:24] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[17:42:24] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/zenn/Downloads/30 Second Timer.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    encoder         : Google
  Duration: 00:00:45.02, start: 0.000000, bitrate: 1093 kb/s
  Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 962 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc.
      vendor_id       : [0][0][0][0]
  Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc.
      vendor_id       : [0][0][0][0]
[17:42:24] scan: decoding previews for title 1
[17:42:24] scan: audio 0x1: aac, rate=44100Hz, bitrate=128029 Unknown (AAC LC) (2.0 ch) (128 kbps)
[17:42:24] scan: 10 previews, 1280x720, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1
[17:42:24] libhb: scan thread found 1 valid title(s)
[17:42:54] gtkgui: Custom Preset: /General/Zenn Encodes
[17:42:54] Starting work at: Fri Aug 27 17:42:54 2021

[17:42:54] 1 job(s) to process
[17:42:54] json job:
{
    "Audio": {
        "AudioList": [],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "av_aac"
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 45,
                    "Ticks": 4052070
                },
                "Name": ""
            }
        ],
        "ChapterMarkers": false,
        "File": "/home/zenn/Videos/30 Second Timer (2).mkv",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 2,
                "Settings": {
                    "plane": "0",
                    "skip-bottom": "4",
                    "skip-left": "1",
                    "skip-right": "1",
                    "skip-top": "4"
                }
            },
            {
                "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": 5,
                "Settings": {
                    "mode": "3"
                }
            },
            {
                "ID": 6,
                "Settings": {
                    "mode": 1
                }
            },
            {
                "ID": 7,
                "Settings": {
                    "strength": "weak",
                    "thresh": "50"
                }
            },
            {
                "ID": 13,
                "Settings": {
                    "crop-bottom": 0,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 0,
                    "height": 404,
                    "width": 720
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "/home/zenn/Downloads/30 Second Timer.mp4",
        "Range": {
            "End": 1,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorFormat": 0,
        "ColorMatrix": 1,
        "ColorPrimaries": 1,
        "ColorRange": 1,
        "ColorTransfer": 1,
        "Encoder": "x264",
        "Level": "4.1",
        "Options": "",
        "Preset": "slower",
        "Profile": "high",
        "QSV": {
            "AdapterIndex": 1,
            "AsyncDepth": 0,
            "Decode": false
        },
        "Quality": 22.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[17:42:54] CPU: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
[17:42:54]  - Intel microarchitecture Sandy Bridge
[17:42:54]  - logical processor count: 8
[17:42:54] Intel Quick Sync Video support: no
[17:42:54] hb_scan: path=/home/zenn/Downloads/30 Second Timer.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /home/zenn/Downloads/30 Second Timer.mp4
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/home/zenn/Downloads/30 Second Timer.mp4/) failed
[17:42:54] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[17:42:54] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/zenn/Downloads/30 Second Timer.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    encoder         : Google
  Duration: 00:00:45.02, start: 0.000000, bitrate: 1093 kb/s
  Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 962 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc.
      vendor_id       : [0][0][0][0]
  Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc.
      vendor_id       : [0][0][0][0]
[17:42:54] scan: decoding previews for title 1
[17:42:54] scan: audio 0x1: aac, rate=44100Hz, bitrate=128029 Unknown (AAC LC) (2.0 ch) (128 kbps)
[17:42:55] scan: 10 previews, 1280x720, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1
[17:42:55] libhb: scan thread found 1 valid title(s)
[17:42:55] Starting Task: Encoding Pass
[17:42:55] job configuration:
[17:42:55]  * source
[17:42:55]    + /home/zenn/Downloads/30 Second Timer.mp4
[17:42:55]    + title 1, chapter(s) 1 to 1
[17:42:55]    + container: mov,mp4,m4a,3gp,3g2,mj2
[17:42:55]    + data rate: 1093 kbps
[17:42:55]  * destination
[17:42:55]    + /home/zenn/Videos/30 Second Timer (2).mkv
[17:42:55]    + container: Matroska (libavformat)
[17:42:55]  * video track
[17:42:55]    + decoder: h264 8-bit
[17:42:55]      + bitrate 962 kbps
[17:42:55]    + filters
[17:42:55]      + Detelecine (pullup) (skip-left=1:skip-right=1:skip-top=4:skip-bottom=4:plane=0)
[17:42:55]      + 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)
[17:42:55]      + Deinterlace (mode=35)
[17:42:55]      + Framerate Shaper (mode=1)
[17:42:55]        + frame rate: 29.970 fps -> constant 29.970 fps
[17:42:55]      + Deblock (strength=weak:thresh=50)
[17:42:55]      + Crop and Scale (width=720:height=404:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[17:42:55]        + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 720 * 404
[17:42:55]    + Output geometry
[17:42:55]      + storage dimensions: 720 x 404
[17:42:55]      + pixel aspect ratio: 1 : 1
[17:42:55]      + display dimensions: 720 x 404
[17:42:55]    + encoder: H.264 (libx264)
[17:42:55]      + preset:  slower
[17:42:55]      + profile: high
[17:42:55]      + level:   4.1
[17:42:55]      + quality: 22.00 (RF)
[17:42:55]      + color profile: 1-1-1
[17:42:55] sync: expecting 1349 video frames
[17:42:55] encx264: min-keyint: 30, keyint: 300
[17:42:55] encx264: encoding at constant RF 22.000000
[17:42:55] encx264: unparsed options: level=4.1:ref=8:b-adapt=2:direct=auto:analyse=all:me=umh:subme=9:trellis=2:vbv-bufsize=78125:vbv-maxrate=62500:rc-lookahead=60
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.1, 4:2:0, 8-bit
[17:42:55] sync: first pts video is 0
[17:42:55] sync: Chapter 1 at frame 1 time 0
[17:43:10] reader: done. 1 scr changes
[17:43:13] work: average encoding speed for job is 86.839989 fps
[17:43:13] comb detect: heavy 1 | light 32 | uncombed 1314 | total 1347
[17:43:13] vfr: 1349 frames output, 0 dropped and 2 duped for CFR/PFR
[17:43:13] vfr: lost time: 0 (0 frames)
[17:43:13] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:43:13] h264-decoder done: 1349 frames, 0 decoder errors
[17:43:13] sync: got 1349 frames, 1349 expected
[17:43:13] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:5     Avg QP:17.36  size: 17752
x264 [info]: frame P:444   Avg QP:20.35  size:  3009
x264 [info]: frame B:900   Avg QP:27.02  size:   693
x264 [info]: consecutive B-frames:  8.2%  5.9%  7.6% 78.3%
x264 [info]: mb I  I16..4: 29.1% 36.3% 34.6%
x264 [info]: mb P  I16..4:  7.9% 20.4%  2.6%  P16..4: 10.8%  2.7%  1.7%  0.2%  0.0%    skip:53.7%
x264 [info]: mb B  I16..4:  2.7%  4.8%  0.2%  B16..8:  5.5%  1.2%  0.2%  direct: 4.0%  skip:81.5%  L0:35.1% L1:37.2% BI:27.7%
x264 [info]: 8x8 transform intra:64.3% inter:74.0%
x264 [info]: direct mvs  spatial:99.2% temporal:0.8%
x264 [info]: coded y,uvDC,uvAC intra: 12.3% 38.9% 21.5% inter: 4.0% 8.2% 1.2%
x264 [info]: i16 v,h,dc,p: 50% 41%  7%  2%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 12% 41%  3%  2%  3%  4%  1%  2%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 21% 18%  6%  3%  4%  5%  2%  3%
x264 [info]: i8c dc,h,v,p: 47% 25% 24%  4%
x264 [info]: Weighted P-Frames: Y:14.6% UV:14.6%
x264 [info]: ref P L0: 69.8%  7.5% 13.9%  2.5%  1.6%  1.4%  1.5%  0.9%  0.7%  0.2%
x264 [info]: ref B L0: 81.9%  9.6%  2.9%  1.6%  1.4%  1.5%  1.1%
x264 [info]: ref B L1: 97.4%  2.6%
x264 [info]: kb/s:364.12
[17:43:13] mux: track 0, 1349 frames, 2048477 bytes, 363.81 kbps, fifo 2048
[17:43:13] Finished work at: Fri Aug 27 17:43:13 2021

[17:43:13] libhb: work result = 0

** (ghb:2): WARNING **: 17:43:13.632: CanShutdown failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown

Post Reply