[Support] Djoss - HandBrake


Recommended Posts

9 minutes ago, Djoss said:

 

Having the watch and output folders pointing to the same location won't work.

 

From what I understand, it seems that you try to accomplish something like this:

 

 

 

 

Got it.  So I'll need a PostProcessing output folder and a script that will copy (and overwrite) the file back to /mnt/cache/Media/ after it's done.

Link to comment
  • 4 weeks later...

So far I like this docker application. Great Job!!!

 

I have managed to create my two presets to match as close as possible to the ones that I use for the Windows version of HandBrake. The one issue that I am running into is for the subtitles. Using the docker app it would appear that it is always setting the first subtitle as default. How do I change this to not have it selected as default? Basically I do not want any of the tracks set to default.

Link to comment
On 3/12/2019 at 11:36 AM, chris_netsmart said:

I first like to say, thanks for Djoss for a great docker. but sayign that I have a few questions.

 

I have follow this website  Handbrake  

I have set up a role that all my handbrake output files are to be MKA format within my handbrake docker as this is going to my default.

but I would like to know is how to excluded any unwanted files which I don't want converting like a already MKA file ?

 

I also like to know how I can monitor the progress of a converting file which I have place in the watch folder, as when I go to handbrake and click on queue or activity, it is not clear on want file it is doing.

 

and lastly, how can I limit the amount of CPU usage the docker use when it is converting.

If you want to monitor file progress.  Here is a REALLY ugly script I came up with.

 

#!/bin/bash
#
# A simple loop to display what file handbrake is working on and what the current status is.
#
#############################################################################################################################
#
#Example line:
#[autovideoconverter] Starting conversion of '/watch/Hercules (1997).mkv' (935bbed22b281c68d6e1840256fede3f) using preset 'Fast 480p30'...
#
#Find the last line in the log that contains the word "Starting"
#Set AWK's Field seperator to a single quote and print fields 2 and 4 to extract the movie title and preset
#Set AWK's Field seperator to a "/" and print the 3rd field to remove the path before the movie title
#Tail the log and print the last line to provide status.

#Final output:
#Hercules (1997).mkv Fast 480p30
#Encoding: 99.65 % (152.25 fps, avg 121.85 fps, ETA 00h00m04s)
#Encoding: 99.74 % (138.93 fps, avg 121.84 fps, ETA 00h00m03s)
#Encoding: 99.86 % (126.57 fps, avg 121.85 fps, ETA 00h00m02s)
#Encoding: 99.97 % (122.81 fps, avg 121.85 fps, ETA 00h00m01s)
#Encoding: 99.97 % (122.81 fps, avg 121.85 fps, ETA 00h00m01s)
#
#Last line will be encoding status or one of the below

#Change detected in watch folder '/watch'.
#Processing watch folder '/watch'...
#Waiting 5 seconds before processing '/watch/Hercules (1997).mkv'...
#Skipping '/watch/Hercules (1997).mkv': currently being copied.
#Starting conversion of '/watch/Hercules (1997).mkv' (935bbed22b281c68d6e1840256fede3f) using preset 'Fast 480p30'...
#1 title(s) to process.
#Conversion ended successfully.
#Removed /watch/Hercules (1997).mkv'.
#Watch folder '/watch' processing terminated.
############################################################################################################################


while :
do
clear
docker logs HandBrake | grep Starting | tail -1 | awk -F"'" '{print $2,$4}' | awk -F"/" '{print $3}'
docker logs HandBrake --tail 1 | cut -d' ' -f 2-
sleep 5
docker logs HandBrake --tail 1 | cut -d' ' -f 2-
sleep 5
docker logs HandBrake --tail 1 | cut -d' ' -f 2-
sleep 5
docker logs HandBrake --tail 1 | cut -d' ' -f 2-
sleep 5
done

Link to comment
On 4/27/2019 at 3:28 PM, StanC said:

So far I like this docker application. Great Job!!!

 

I have managed to create my two presets to match as close as possible to the ones that I use for the Windows version of HandBrake. The one issue that I am running into is for the subtitles. Using the docker app it would appear that it is always setting the first subtitle as default. How do I change this to not have it selected as default? Basically I do not want any of the tracks set to default.

How did you configured the subtitles track selection?

Are you using mkv as the output?

Link to comment

Hello i have two unraid servers server 1 is my main server that has my plex media server on it and server 2 is where i get my h264 media i then use hadbrake to convert them to h265.

on server 2 i have a nfs share mounted and mapped in the container i can see the drive and the file and folders in it but when i try to add a job to the queue it says it can not read or write too the destination. 

 

is there a way to get this to work?

Link to comment
20 hours ago, Nicon4454 said:

ok so i reread the post and i have done that but it still has not solved the problem.

So you configured the mode to "RW/Slave"?  If yes, then your folder probably not have the right permissions.

Check them with:

ls -l /mnt/disks

 

Link to comment
1 hour ago, mbc0 said:

When in auto mode is there any way of telling which file is currently being encoded?  If I open up the log I can see the progress but cannot scroll back far enough to see which file?

Enter this command in the unraid terminal and it will give you the last file Handbrake opened for processing:

grep Opening /mnt/cache/appdata/HandBrake/log/hb/conversion.log | tail -1

Adjust the path to wherever you have your Handbrake appdata

Link to comment
3 hours ago, mbc0 said:

Hi,

 

When in auto mode is there any way of telling which file is currently being encoded?  If I open up the log I can see the progress but cannot scroll back far enough to see which file?

 

Many Thanks 🙂

If you open the UI you will also see it.

Or the next version that will be out today or tomorrow will contain the filename in the progress log messages.

  • Like 1
Link to comment
On 5/4/2019 at 4:38 AM, mbc0 said:

Hi,

 

When in auto mode is there any way of telling which file is currently being encoded?  If I open up the log I can see the progress but cannot scroll back far enough to see which file?

 

Many Thanks 🙂

With the latest version you now have the filename of the video being encoded in progress messages.

  • Like 1
Link to comment
11 hours ago, andreidelait said:

HI,

 

I'm having some trouble with QSV.

I've added /dev/dri as a device. Do I need to do anything else?

When I choose H.264 QSV, encode fails. I've tried different files, different settings but I get the same error.

What are the errors exactly?

Also, did you check in the container's log messages about QSV to make sure it is properly detected?

Link to comment

I don't get a lgo file because the encode does not start.

Here is the contaier log

 

08/05/2019 19:58:07 errors, etc) it may be disabled:
08/05/2019 19:58:07 - use '-nowf' to disable wireframing completely.
08/05/2019 19:58:07 - use '-nowcr' to disable the Copy Rectangle after the
08/05/2019 19:58:07 moved window is released in the new position.
08/05/2019 19:58:07 Also see the -help entry for tuning parameters.
08/05/2019 19:58:07 You can press 3 Alt_L's (Left "Alt" key) in a row to
08/05/2019 19:58:07 repaint the screen, also see the -fixscreen option for
08/05/2019 19:58:07 periodic repaints.
08/05/2019 19:58:07 GrabServer control via XTEST.
08/05/2019 19:58:07
08/05/2019 19:58:07 Scroll Detection: -scrollcopyrect mode is in effect to
08/05/2019 19:58:07 use RECORD extension to try to detect scrolling windows
08/05/2019 19:58:07 (induced by either user keystroke or mouse input).
08/05/2019 19:58:07 If this yields undesired behavior (poor response, painting
08/05/2019 19:58:07 errors, etc) it may be disabled via: '-noscr'
08/05/2019 19:58:07 Also see the -help entry for tuning parameters.
08/05/2019 19:58:07 You can press 3 Alt_L's (Left "Alt" key) in a row to
08/05/2019 19:58:07 repaint the screen, also see the -fixscreen option for
08/05/2019 19:58:07 periodic repaints.
08/05/2019 19:58:07
08/05/2019 19:58:07 XKEYBOARD: number of keysyms per keycode 7 is greater
08/05/2019 19:58:07 than 4 and 51 keysyms are mapped above 4.
08/05/2019 19:58:07 Automatically switching to -xkb mode.
08/05/2019 19:58:07 If this makes the key mapping worse you can
08/05/2019 19:58:07 disable it with the "-noxkb" option.
08/05/2019 19:58:07 Also, remember "-remap DEAD" for accenting characters.
08/05/2019 19:58:07
08/05/2019 19:58:07 X FBPM extension not supported.
Xlib: extension "DPMS" missing on display ":0".
08/05/2019 19:58:07 X display is not capable of DPMS.
08/05/2019 19:58:07 --------------------------------------------------------
08/05/2019 19:58:07
08/05/2019 19:58:07 Default visual ID: 0x21
08/05/2019 19:58:07 Read initial data from X display into framebuffer.
08/05/2019 19:58:07 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
08/05/2019 19:58:07
08/05/2019 19:58:07 X display :0 is 32bpp depth=24 true color
08/05/2019 19:58:07
08/05/2019 19:58:07 Listening for VNC connections on TCP port 5900
08/05/2019 19:58:07
08/05/2019 19:58:07 Xinerama is present and active (e.g. multi-head).
08/05/2019 19:58:07 Xinerama: number of sub-screens: 1
08/05/2019 19:58:07 Xinerama: no blackouts needed (only one sub-screen)
08/05/2019 19:58:07
08/05/2019 19:58:07 fb read rate: 2259 MB/sec
08/05/2019 19:58:07 fast read: reset -wait ms to: 10
08/05/2019 19:58:07 fast read: reset -defer ms to: 10
08/05/2019 19:58:07 The X server says there are 10 mouse buttons.
08/05/2019 19:58:07 screen setup finished.
08/05/2019 19:58:07

The VNC desktop is: 11b36fc03c7e:0

0

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:

x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching

[services.d] starting app...
[app] starting HandBrake...
[services.d] done.

(ghb:1010): GLib-GIO-CRITICAL **: 19:58:09.729: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
GLib-GIO-Message: 19:58:09.849: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
08/05/2019 19:58:11 Got connection from client 127.0.0.1
08/05/2019 19:58:11 other clients:
08/05/2019 19:58:11 Got 'ws' WebSockets handshake
08/05/2019 19:58:11 Got protocol: binary
08/05/2019 19:58:11 - webSocketsHandshake: using binary/raw encoding
08/05/2019 19:58:11 - WebSockets client version hybi-13
08/05/2019 19:58:11 Disabled X server key autorepeat.
08/05/2019 19:58:11 to force back on run: 'xset r on' (3 times)
08/05/2019 19:58:11 incr accepted_client=1 for 127.0.0.1:43012 sock=10
08/05/2019 19:58:11 Client Protocol Version 3.8
08/05/2019 19:58:11 Protocol version sent 3.8, using 3.8
08/05/2019 19:58:11 rfbProcessClientSecurityType: executing handler for type 1
08/05/2019 19:58:11 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
08/05/2019 19:58:11 Pixel format for client 127.0.0.1:
08/05/2019 19:58:11 32 bpp, depth 24, little endian
08/05/2019 19:58:11 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
08/05/2019 19:58:11 no translation needed
08/05/2019 19:58:11 Enabling NewFBSize protocol extension for client 127.0.0.1
08/05/2019 19:58:11 Enabling full-color cursor updates for client 127.0.0.1
08/05/2019 19:58:11 Using image quality level 6 for client 127.0.0.1
08/05/2019 19:58:11 Using JPEG subsampling 0, Q79 for client 127.0.0.1
08/05/2019 19:58:11 Using compression level 9 for client 127.0.0.1
08/05/2019 19:58:11 Enabling LastRect protocol extension for client 127.0.0.1
08/05/2019 19:58:11 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
08/05/2019 19:58:11 Using tight encoding for client 127.0.0.1
08/05/2019 19:58:11 client 1 network rate 1289.5 KB/sec (99180.3 eff KB/sec)
08/05/2019 19:58:11 client 1 latency: 0.7 ms
08/05/2019 19:58:11 dt1: 0.0054, dt2: 0.0346 dt3: 0.0007 bytes: 51150
08/05/2019 19:58:11 link_rate: LR_LAN - 1 ms, 1289 KB/s
08/05/2019 19:58:12 client_set_net: 127.0.0.1 0.0000
08/05/2019 19:58:12 created xdamage object: 0x20002c
08/05/2019 19:58:18 copy_tiles: allocating first_line at size 41
08/05/2019 19:58:21 created selwin: 0x20002d
08/05/2019 19:58:21 called initialize_xfixes()
08/05/2019 19:59:36 got closure, reason 1001
08/05/2019 19:59:36 rfbProcessClientNormalMessage: read: Connection reset by peer
08/05/2019 19:59:36 client_count: 0
08/05/2019 19:59:36 Restored X server key autorepeat to: 1
08/05/2019 19:59:36 Client 127.0.0.1 gone
08/05/2019 19:59:36 Statistics events Transmit/ RawEquiv ( saved)
08/05/2019 19:59:36 ServerCutText : 1 | 8/ 8 ( 0.0%)
08/05/2019 19:59:36 FramebufferUpdate : 436 | 0/ 0 ( 0.0%)
08/05/2019 19:59:36 LastRect : 356 | 4272/ 4272 ( 0.0%)
08/05/2019 19:59:36 tight : 1632 | 1713811/ 42417408 ( 96.0%)
08/05/2019 19:59:36 RichCursor : 1 | 1374/ 1374 ( 0.0%)
08/05/2019 19:59:36 TOTALS : 2426 | 1719465/ 42423062 ( 95.9%)
08/05/2019 19:59:36 Statistics events Received/ RawEquiv ( saved)
08/05/2019 19:59:36 KeyEvent : 13 | 104/ 104 ( 0.0%)
08/05/2019 19:59:36 PointerEvent : 1443 | 8658/ 8658 ( 0.0%)
08/05/2019 19:59:36 FramebufferUpdate : 437 | 4370/ 4370 ( 0.0%)
08/05/2019 19:59:36 SetEncodings : 1 | 56/ 56 ( 0.0%)
08/05/2019 19:59:36 SetPixelFormat : 1 | 20/ 20 ( 0.0%)
08/05/2019 19:59:36 TOTALS : 1895 | 13208/ 13208 ( 0.0%)
08/05/2019 19:59:36 destroyed xdamage object: 0x20002c
08/05/2019 21:24:16 Got connection from client 127.0.0.1
08/05/2019 21:24:16 other clients:
08/05/2019 21:24:16 Got 'ws' WebSockets handshake
08/05/2019 21:24:16 Got protocol: binary
08/05/2019 21:24:16 - webSocketsHandshake: using binary/raw encoding
08/05/2019 21:24:16 - WebSockets client version hybi-13
08/05/2019 21:24:16 Disabled X server key autorepeat.
08/05/2019 21:24:16 to force back on run: 'xset r on' (3 times)
08/05/2019 21:24:16 incr accepted_client=2 for 127.0.0.1:60678 sock=10
08/05/2019 21:24:16 Client Protocol Version 3.8
08/05/2019 21:24:16 Protocol version sent 3.8, using 3.8
08/05/2019 21:24:16 rfbProcessClientSecurityType: executing handler for type 1
08/05/2019 21:24:16 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
08/05/2019 21:24:16 Pixel format for client 127.0.0.1:
08/05/2019 21:24:16 32 bpp, depth 24, little endian
08/05/2019 21:24:16 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
08/05/2019 21:24:16 no translation needed
08/05/2019 21:24:16 Enabling NewFBSize protocol extension for client 127.0.0.1
08/05/2019 21:24:16 Enabling full-color cursor updates for client 127.0.0.1
08/05/2019 21:24:16 Using image quality level 6 for client 127.0.0.1
08/05/2019 21:24:16 Using JPEG subsampling 0, Q79 for client 127.0.0.1
08/05/2019 21:24:16 Using compression level 9 for client 127.0.0.1
08/05/2019 21:24:16 Enabling LastRect protocol extension for client 127.0.0.1
08/05/2019 21:24:16 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
08/05/2019 21:24:16 Using tight encoding for client 127.0.0.1
08/05/2019 21:24:18 client_set_net: 127.0.0.1 0.0000
08/05/2019 21:24:18 created xdamage object: 0x20002e
08/05/2019 21:24:19 got closure, reason 1001
08/05/2019 21:24:19 rfbProcessClientNormalMessage: read: Connection reset by peer
08/05/2019 21:24:19 client_count: 0
08/05/2019 21:24:19 Restored X server key autorepeat to: 1
08/05/2019 21:24:19 Client 127.0.0.1 gone
08/05/2019 21:24:19 Statistics events Transmit/ RawEquiv ( saved)
08/05/2019 21:24:19 FramebufferUpdate : 8 | 0/ 0 ( 0.0%)
08/05/2019 21:24:19 LastRect : 8 | 96/ 96 ( 0.0%)
08/05/2019 21:24:19 tight : 67 | 72131/ 4101156 ( 98.2%)
08/05/2019 21:24:19 RichCursor : 1 | 1374/ 1374 ( 0.0%)
08/05/2019 21:24:19 TOTALS : 84 | 73601/ 4102626 ( 98.2%)
08/05/2019 21:24:19 Statistics events Received/ RawEquiv ( saved)
08/05/2019 21:24:19 KeyEvent : 1 | 8/ 8 ( 0.0%)
08/05/2019 21:24:19 PointerEvent : 73 | 438/ 438 ( 0.0%)
08/05/2019 21:24:19 FramebufferUpdate : 9 | 90/ 90 ( 0.0%)
08/05/2019 21:24:19 SetEncodings : 1 | 56/ 56 ( 0.0%)
08/05/2019 21:24:19 SetPixelFormat : 1 | 20/ 20 ( 0.0%)
08/05/2019 21:24:19 TOTALS : 85 | 612/ 612 ( 0.0%)
08/05/2019 21:24:19 destroyed xdamage object: 0x20002e
[services.d] stopping services
[services.d] stopping app...
[services.d] stopping openbox...
[services.d] stopping statusmonitor...
[services.d] stopping logmonitor...
[services.d] stopping x11vnc...
caught signal: 15
08/05/2019 21:25:00 deleted 40 tile_row polling images.
[services.d] stopping xvfb...
[services.d] stopping autovideoconverter...
[services.d] stopping nginx...
[services.d] stopping certsmonitor...
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] 95-check-optical-drive.sh: executing...
[cont-init.d] 95-check-optical-drive.sh: looking for usable optical drives...
[cont-init.d] 95-check-optical-drive.sh: no usable optical drive found.
[cont-init.d] 95-check-optical-drive.sh: exited 0.
[cont-init.d] 95-check-qsv.sh: executing...
[cont-init.d] 95-check-qsv.sh: Processor: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
[cont-init.d] 95-check-qsv.sh: exited 0.
[cont-init.d] handbrake.sh: executing...
[cont-init.d] handbrake.sh: core dump file location: core
[cont-init.d] handbrake.sh: core dump file size: 0 (blocks)
[cont-init.d] handbrake.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting nginx...
[services.d] starting autovideoconverter...
[nginx] starting...
[services.d] starting xvfb...
[xvfb] starting...
[autovideoconverter] starting...
[autovideoconverter] Processing watch folder '/watch'...
[autovideoconverter] Watch folder '/watch' processing terminated.
[services.d] starting certsmonitor...
[services.d] starting logmonitor...
[certsmonitor] disabling service: secure connection not enabled.
[logmonitor] no file to monitor: disabling service...
[services.d] starting statusmonitor...
[services.d] starting x11vnc...
[statusmonitor] no file to monitor: disabling service...
[services.d] starting openbox...
[x11vnc] starting...
[openbox] starting...
09/05/2019 12:04:57 passing arg to libvncserver: -rfbport
09/05/2019 12:04:57 passing arg to libvncserver: 5900
09/05/2019 12:04:57 passing arg to libvncserver: -rfbportv6
09/05/2019 12:04:57 passing arg to libvncserver: -1
09/05/2019 12:04:57 passing arg to libvncserver: -httpportv6
09/05/2019 12:04:57 passing arg to libvncserver: -1
09/05/2019 12:04:57 passing arg to libvncserver: -desktop
09/05/2019 12:04:57 passing arg to libvncserver: HandBrake
09/05/2019 12:04:57 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 986
09/05/2019 12:04:57 Using X display :0
09/05/2019 12:04:57 rootwin: 0x43 reswin: 0x200001 dpy: 0x6c4999e0
09/05/2019 12:04:57
09/05/2019 12:04:57 ------------------ USEFUL INFORMATION ------------------
09/05/2019 12:04:57 X DAMAGE available on display, using it for polling hints.
09/05/2019 12:04:57 To disable this behavior use: '-noxdamage'
09/05/2019 12:04:57
09/05/2019 12:04:57 Most compositing window managers like 'compiz' or 'beryl'
09/05/2019 12:04:57 cause X DAMAGE to fail, and so you may not see any screen
09/05/2019 12:04:57 updates via VNC. Either disable 'compiz' (recommended) or
09/05/2019 12:04:57 supply the x11vnc '-noxdamage' command line option.
09/05/2019 12:04:57 X COMPOSITE available on display, using it for window polling.
09/05/2019 12:04:57 To disable this behavior use: '-noxcomposite'
09/05/2019 12:04:57
09/05/2019 12:04:57 Wireframing: -wireframe mode is in effect for window moves.
09/05/2019 12:04:57 If this yields undesired behavior (poor response, painting
09/05/2019 12:04:57 errors, etc) it may be disabled:
09/05/2019 12:04:57 - use '-nowf' to disable wireframing completely.
09/05/2019 12:04:57 - use '-nowcr' to disable the Copy Rectangle after the
09/05/2019 12:04:57 moved window is released in the new position.
09/05/2019 12:04:57 Also see the -help entry for tuning parameters.
09/05/2019 12:04:57 You can press 3 Alt_L's (Left "Alt" key) in a row to
09/05/2019 12:04:57 repaint the screen, also see the -fixscreen option for
09/05/2019 12:04:57 periodic repaints.
09/05/2019 12:04:57 GrabServer control via XTEST.
09/05/2019 12:04:57
09/05/2019 12:04:57 Scroll Detection: -scrollcopyrect mode is in effect to
09/05/2019 12:04:57 use RECORD extension to try to detect scrolling windows
09/05/2019 12:04:57 (induced by either user keystroke or mouse input).
09/05/2019 12:04:57 If this yields undesired behavior (poor response, painting
09/05/2019 12:04:57 errors, etc) it may be disabled via: '-noscr'
09/05/2019 12:04:57 Also see the -help entry for tuning parameters.
09/05/2019 12:04:57 You can press 3 Alt_L's (Left "Alt" key) in a row to
09/05/2019 12:04:57 repaint the screen, also see the -fixscreen option for
09/05/2019 12:04:57 periodic repaints.
09/05/2019 12:04:57
09/05/2019 12:04:57 XKEYBOARD: number of keysyms per keycode 7 is greater
09/05/2019 12:04:57 than 4 and 51 keysyms are mapped above 4.
09/05/2019 12:04:57 Automatically switching to -xkb mode.
09/05/2019 12:04:57 If this makes the key mapping worse you can
09/05/2019 12:04:57 disable it with the "-noxkb" option.
09/05/2019 12:04:57 Also, remember "-remap DEAD" for accenting characters.
09/05/2019 12:04:57
09/05/2019 12:04:57 X FBPM extension not supported.
Xlib: extension "DPMS" missing on display ":0".
09/05/2019 12:04:57 X display is not capable of DPMS.
09/05/2019 12:04:57 --------------------------------------------------------
09/05/2019 12:04:57
09/05/2019 12:04:57 Default visual ID: 0x21
09/05/2019 12:04:57 Read initial data from X display into framebuffer.
09/05/2019 12:04:57 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
09/05/2019 12:04:57
09/05/2019 12:04:57 X display :0 is 32bpp depth=24 true color
09/05/2019 12:04:57
09/05/2019 12:04:57 Listening for VNC connections on TCP port 5900
09/05/2019 12:04:57
09/05/2019 12:04:57 Xinerama is present and active (e.g. multi-head).
09/05/2019 12:04:57 Xinerama: number of sub-screens: 1
09/05/2019 12:04:57 Xinerama: no blackouts needed (only one sub-screen)
09/05/2019 12:04:57
09/05/2019 12:04:57 fb read rate: 2272 MB/sec
09/05/2019 12:04:57 fast read: reset -wait ms to: 10
09/05/2019 12:04:57 fast read: reset -defer ms to: 10
09/05/2019 12:04:57 The X server says there are 10 mouse buttons.
09/05/2019 12:04:57 screen setup finished.
09/05/2019 12:04:57

The VNC desktop is: 11b36fc03c7e:0

0

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:

x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching

[services.d] starting app...
[app] starting HandBrake...
[services.d] done.

(ghb:1017): GLib-GIO-CRITICAL **: 12:04:59.524: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
GLib-GIO-Message: 12:04:59.654: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

This looks a bit strange

(ghb:1017): GLib-GIO-CRITICAL **: 12:04:59.524: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
GLib-GIO-Message: 12:04:59.654: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

 

Sorry for the lack of details but I have no clue what else to check at this point.

 

I also got some errors in activity maybe this is more rellevant

[13:13:08] gtkgui: HandBrake 1.2.2 (2019050500) - Linux x86_64 - https://handbrake.fr
[13:13:08] hb_display_init: attempting VA driver 'iHD'
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva error: /opt/intel/mediasdk/lib64/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
[13:13:08] hb_display_init: attempting VA driver 'i965'
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /opt/intel/mediasdk/lib64/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
[13:13:08] hb_init: starting libhb thread
[13:13:08] hb_init: starting libhb thread
[13:13:08] hb_init: starting libhb thread
[13:13:15] gtkgui: Modified Preset: /General/Fast 1080p30
[13:13:15] 1 job(s) to process
[13:13:15] CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
[13:13:15]  - Intel microarchitecture Haswell
[13:13:15]  - logical processor count: 8
[13:13:15] Intel Quick Sync Video support: yes
[13:13:15]  - Intel Media SDK hardware: API 1.28 (minimum: 1.3)
[13:13:15]  - H.264 encoder: yes
[13:13:15]     - preferred implementation: hardware (any) via D3D11
[13:13:15]     - capabilities (hardware):  breftype la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[13:13:15]  - H.265 encoder: no

[13:13:16]  * video track
[13:13:16]    + decoder: h264
[13:13:16]      + bitrate 11985 kbps
[13:13:16]    + filters
[13:13:16]      + 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)
[13:13:16]      + Decomb (mode=39)
[13:13:16]      + Framerate Shaper (mode=2:rate=27000000/900000)
[13:13:16]        + frame rate: 24.000 fps -> peak rate limited to 30.000 fps
[13:13:16]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[13:13:16]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[13:13:16]    + Output geometry
[13:13:16]      + storage dimensions: 1920 x 1080
[13:13:16]      + pixel aspect ratio: 1 : 1
[13:13:16]      + display dimensions: 1920 x 1080
[13:13:16]    + encoder: H.264 (Intel Media SDK)
[13:13:16]      + preset:  balanced
[13:13:16]      + profile: auto
[13:13:16]      + level:   auto
[13:13:16]      + quality: 15.00 (QP)
[13:13:16]      + color profile: 1-1-1
[13:13:16]  * audio track 1
[13:13:16]    + decoder: Unknown (AC3) (2.0 ch) (track 1, id 0x1)
[13:13:16]      + bitrate: 192 kbps, samplerate: 48000 Hz
[13:13:16]    + mixdown: Stereo
[13:13:16]    + dither: triangular
[13:13:16]    + encoder: AAC (libfdk_aac)
[13:13:16]      + bitrate: 160 kbps, samplerate: 48000 Hz
[13:13:16] yadif thread started for segment 6
[13:13:16] yadif thread started for segment 7
[13:13:16] sync: expecting 7213 video frames
[13:13:16] hb_display_init: using VA driver 'i965'
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /opt/intel/mediasdk/lib64/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
[13:13:16] encqsvInit: using encode-only path
[13:13:16] encqsvInit: H.264/AVC High profile @ level 4.0
[13:13:16] encqsvInit: TargetUsage 4 AsyncDepth 4
[13:13:16] encqsvInit: GopRefDist 4 GopPicSize 32 NumRefFrame 3
[13:13:16] encqsvInit: BFramesMax 3 BRefType pyramid
[13:13:16] encqsvInit: RateControlMethod CQP with QPI 15 QPP 17 QPB 19
[13:13:16] sync: first pts video is 0
[13:13:16] sync: Chapter 1 at frame 1 time 0
[13:13:16] sync: first pts audio 0x1 is 0
[13:13:16] qsv_enc_init: using 'hardware (1) via VAAPI' implementation, API: 1.28
libva info: VAEncMiscParameterBufferQualityLevel.quality_level (4) out of range (max 2).
Error code -12,	hb_qsv_wait_on_sync	602
[13:13:16] encqsv: MFXVideoENCODE_EncodeFrameAsync failed (-17)
[13:13:16] work: average encoding speed for job is 0.000000 fps
[13:13:17] comb detect: heavy 0 | light 0 | uncombed 49 | total 49
[13:13:17] decomb: deinterlaced 0 | blended 0 | unfiltered 45 | total 45
[13:13:17] vfr: 41 frames output, 0 dropped and 0 duped for CFR/PFR
[13:13:17] vfr: lost time: 0 (0 frames)
[13:13:17] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:13:17] ac3-decoder done: 118 frames, 0 decoder errors
[13:13:17] h264-decoder done: 88 frames, 0 decoder errors
[13:13:17] sync: got 50 frames, 7213 expected
[13:13:17] sync: framerate min 24.000 fps, max 24.000 fps, avg 24.000 fps
[13:13:17] mux: track 0, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[13:13:17] mux: track 1, 96 frames, 41323 bytes, 161.92 kbps, fifo 128
[13:13:17] libhb: work result = 4

 

Edited by andreidelait
Added some more log info
Link to comment
15 hours ago, andreidelait said:

I don't get a lgo file because the encode does not start.

Here is the contaier log

 


08/05/2019 19:58:07 errors, etc) it may be disabled:
08/05/2019 19:58:07 - use '-nowf' to disable wireframing completely.
08/05/2019 19:58:07 - use '-nowcr' to disable the Copy Rectangle after the
08/05/2019 19:58:07 moved window is released in the new position.
08/05/2019 19:58:07 Also see the -help entry for tuning parameters.
08/05/2019 19:58:07 You can press 3 Alt_L's (Left "Alt" key) in a row to
08/05/2019 19:58:07 repaint the screen, also see the -fixscreen option for
08/05/2019 19:58:07 periodic repaints.
08/05/2019 19:58:07 GrabServer control via XTEST.
08/05/2019 19:58:07
08/05/2019 19:58:07 Scroll Detection: -scrollcopyrect mode is in effect to
08/05/2019 19:58:07 use RECORD extension to try to detect scrolling windows
08/05/2019 19:58:07 (induced by either user keystroke or mouse input).
08/05/2019 19:58:07 If this yields undesired behavior (poor response, painting
08/05/2019 19:58:07 errors, etc) it may be disabled via: '-noscr'
08/05/2019 19:58:07 Also see the -help entry for tuning parameters.
08/05/2019 19:58:07 You can press 3 Alt_L's (Left "Alt" key) in a row to
08/05/2019 19:58:07 repaint the screen, also see the -fixscreen option for
08/05/2019 19:58:07 periodic repaints.
08/05/2019 19:58:07
08/05/2019 19:58:07 XKEYBOARD: number of keysyms per keycode 7 is greater
08/05/2019 19:58:07 than 4 and 51 keysyms are mapped above 4.
08/05/2019 19:58:07 Automatically switching to -xkb mode.
08/05/2019 19:58:07 If this makes the key mapping worse you can
08/05/2019 19:58:07 disable it with the "-noxkb" option.
08/05/2019 19:58:07 Also, remember "-remap DEAD" for accenting characters.
08/05/2019 19:58:07
08/05/2019 19:58:07 X FBPM extension not supported.
Xlib: extension "DPMS" missing on display ":0".
08/05/2019 19:58:07 X display is not capable of DPMS.
08/05/2019 19:58:07 --------------------------------------------------------
08/05/2019 19:58:07
08/05/2019 19:58:07 Default visual ID: 0x21
08/05/2019 19:58:07 Read initial data from X display into framebuffer.
08/05/2019 19:58:07 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
08/05/2019 19:58:07
08/05/2019 19:58:07 X display :0 is 32bpp depth=24 true color
08/05/2019 19:58:07
08/05/2019 19:58:07 Listening for VNC connections on TCP port 5900
08/05/2019 19:58:07
08/05/2019 19:58:07 Xinerama is present and active (e.g. multi-head).
08/05/2019 19:58:07 Xinerama: number of sub-screens: 1
08/05/2019 19:58:07 Xinerama: no blackouts needed (only one sub-screen)
08/05/2019 19:58:07
08/05/2019 19:58:07 fb read rate: 2259 MB/sec
08/05/2019 19:58:07 fast read: reset -wait ms to: 10
08/05/2019 19:58:07 fast read: reset -defer ms to: 10
08/05/2019 19:58:07 The X server says there are 10 mouse buttons.
08/05/2019 19:58:07 screen setup finished.
08/05/2019 19:58:07

The VNC desktop is: 11b36fc03c7e:0

0

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:

x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching

[services.d] starting app...
[app] starting HandBrake...
[services.d] done.

(ghb:1010): GLib-GIO-CRITICAL **: 19:58:09.729: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
GLib-GIO-Message: 19:58:09.849: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
08/05/2019 19:58:11 Got connection from client 127.0.0.1
08/05/2019 19:58:11 other clients:
08/05/2019 19:58:11 Got 'ws' WebSockets handshake
08/05/2019 19:58:11 Got protocol: binary
08/05/2019 19:58:11 - webSocketsHandshake: using binary/raw encoding
08/05/2019 19:58:11 - WebSockets client version hybi-13
08/05/2019 19:58:11 Disabled X server key autorepeat.
08/05/2019 19:58:11 to force back on run: 'xset r on' (3 times)
08/05/2019 19:58:11 incr accepted_client=1 for 127.0.0.1:43012 sock=10
08/05/2019 19:58:11 Client Protocol Version 3.8
08/05/2019 19:58:11 Protocol version sent 3.8, using 3.8
08/05/2019 19:58:11 rfbProcessClientSecurityType: executing handler for type 1
08/05/2019 19:58:11 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
08/05/2019 19:58:11 Pixel format for client 127.0.0.1:
08/05/2019 19:58:11 32 bpp, depth 24, little endian
08/05/2019 19:58:11 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
08/05/2019 19:58:11 no translation needed
08/05/2019 19:58:11 Enabling NewFBSize protocol extension for client 127.0.0.1
08/05/2019 19:58:11 Enabling full-color cursor updates for client 127.0.0.1
08/05/2019 19:58:11 Using image quality level 6 for client 127.0.0.1
08/05/2019 19:58:11 Using JPEG subsampling 0, Q79 for client 127.0.0.1
08/05/2019 19:58:11 Using compression level 9 for client 127.0.0.1
08/05/2019 19:58:11 Enabling LastRect protocol extension for client 127.0.0.1
08/05/2019 19:58:11 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
08/05/2019 19:58:11 Using tight encoding for client 127.0.0.1
08/05/2019 19:58:11 client 1 network rate 1289.5 KB/sec (99180.3 eff KB/sec)
08/05/2019 19:58:11 client 1 latency: 0.7 ms
08/05/2019 19:58:11 dt1: 0.0054, dt2: 0.0346 dt3: 0.0007 bytes: 51150
08/05/2019 19:58:11 link_rate: LR_LAN - 1 ms, 1289 KB/s
08/05/2019 19:58:12 client_set_net: 127.0.0.1 0.0000
08/05/2019 19:58:12 created xdamage object: 0x20002c
08/05/2019 19:58:18 copy_tiles: allocating first_line at size 41
08/05/2019 19:58:21 created selwin: 0x20002d
08/05/2019 19:58:21 called initialize_xfixes()
08/05/2019 19:59:36 got closure, reason 1001
08/05/2019 19:59:36 rfbProcessClientNormalMessage: read: Connection reset by peer
08/05/2019 19:59:36 client_count: 0
08/05/2019 19:59:36 Restored X server key autorepeat to: 1
08/05/2019 19:59:36 Client 127.0.0.1 gone
08/05/2019 19:59:36 Statistics events Transmit/ RawEquiv ( saved)
08/05/2019 19:59:36 ServerCutText : 1 | 8/ 8 ( 0.0%)
08/05/2019 19:59:36 FramebufferUpdate : 436 | 0/ 0 ( 0.0%)
08/05/2019 19:59:36 LastRect : 356 | 4272/ 4272 ( 0.0%)
08/05/2019 19:59:36 tight : 1632 | 1713811/ 42417408 ( 96.0%)
08/05/2019 19:59:36 RichCursor : 1 | 1374/ 1374 ( 0.0%)
08/05/2019 19:59:36 TOTALS : 2426 | 1719465/ 42423062 ( 95.9%)
08/05/2019 19:59:36 Statistics events Received/ RawEquiv ( saved)
08/05/2019 19:59:36 KeyEvent : 13 | 104/ 104 ( 0.0%)
08/05/2019 19:59:36 PointerEvent : 1443 | 8658/ 8658 ( 0.0%)
08/05/2019 19:59:36 FramebufferUpdate : 437 | 4370/ 4370 ( 0.0%)
08/05/2019 19:59:36 SetEncodings : 1 | 56/ 56 ( 0.0%)
08/05/2019 19:59:36 SetPixelFormat : 1 | 20/ 20 ( 0.0%)
08/05/2019 19:59:36 TOTALS : 1895 | 13208/ 13208 ( 0.0%)
08/05/2019 19:59:36 destroyed xdamage object: 0x20002c
08/05/2019 21:24:16 Got connection from client 127.0.0.1
08/05/2019 21:24:16 other clients:
08/05/2019 21:24:16 Got 'ws' WebSockets handshake
08/05/2019 21:24:16 Got protocol: binary
08/05/2019 21:24:16 - webSocketsHandshake: using binary/raw encoding
08/05/2019 21:24:16 - WebSockets client version hybi-13
08/05/2019 21:24:16 Disabled X server key autorepeat.
08/05/2019 21:24:16 to force back on run: 'xset r on' (3 times)
08/05/2019 21:24:16 incr accepted_client=2 for 127.0.0.1:60678 sock=10
08/05/2019 21:24:16 Client Protocol Version 3.8
08/05/2019 21:24:16 Protocol version sent 3.8, using 3.8
08/05/2019 21:24:16 rfbProcessClientSecurityType: executing handler for type 1
08/05/2019 21:24:16 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
08/05/2019 21:24:16 Pixel format for client 127.0.0.1:
08/05/2019 21:24:16 32 bpp, depth 24, little endian
08/05/2019 21:24:16 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
08/05/2019 21:24:16 no translation needed
08/05/2019 21:24:16 Enabling NewFBSize protocol extension for client 127.0.0.1
08/05/2019 21:24:16 Enabling full-color cursor updates for client 127.0.0.1
08/05/2019 21:24:16 Using image quality level 6 for client 127.0.0.1
08/05/2019 21:24:16 Using JPEG subsampling 0, Q79 for client 127.0.0.1
08/05/2019 21:24:16 Using compression level 9 for client 127.0.0.1
08/05/2019 21:24:16 Enabling LastRect protocol extension for client 127.0.0.1
08/05/2019 21:24:16 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
08/05/2019 21:24:16 Using tight encoding for client 127.0.0.1
08/05/2019 21:24:18 client_set_net: 127.0.0.1 0.0000
08/05/2019 21:24:18 created xdamage object: 0x20002e
08/05/2019 21:24:19 got closure, reason 1001
08/05/2019 21:24:19 rfbProcessClientNormalMessage: read: Connection reset by peer
08/05/2019 21:24:19 client_count: 0
08/05/2019 21:24:19 Restored X server key autorepeat to: 1
08/05/2019 21:24:19 Client 127.0.0.1 gone
08/05/2019 21:24:19 Statistics events Transmit/ RawEquiv ( saved)
08/05/2019 21:24:19 FramebufferUpdate : 8 | 0/ 0 ( 0.0%)
08/05/2019 21:24:19 LastRect : 8 | 96/ 96 ( 0.0%)
08/05/2019 21:24:19 tight : 67 | 72131/ 4101156 ( 98.2%)
08/05/2019 21:24:19 RichCursor : 1 | 1374/ 1374 ( 0.0%)
08/05/2019 21:24:19 TOTALS : 84 | 73601/ 4102626 ( 98.2%)
08/05/2019 21:24:19 Statistics events Received/ RawEquiv ( saved)
08/05/2019 21:24:19 KeyEvent : 1 | 8/ 8 ( 0.0%)
08/05/2019 21:24:19 PointerEvent : 73 | 438/ 438 ( 0.0%)
08/05/2019 21:24:19 FramebufferUpdate : 9 | 90/ 90 ( 0.0%)
08/05/2019 21:24:19 SetEncodings : 1 | 56/ 56 ( 0.0%)
08/05/2019 21:24:19 SetPixelFormat : 1 | 20/ 20 ( 0.0%)
08/05/2019 21:24:19 TOTALS : 85 | 612/ 612 ( 0.0%)
08/05/2019 21:24:19 destroyed xdamage object: 0x20002e
[services.d] stopping services
[services.d] stopping app...
[services.d] stopping openbox...
[services.d] stopping statusmonitor...
[services.d] stopping logmonitor...
[services.d] stopping x11vnc...
caught signal: 15
08/05/2019 21:25:00 deleted 40 tile_row polling images.
[services.d] stopping xvfb...
[services.d] stopping autovideoconverter...
[services.d] stopping nginx...
[services.d] stopping certsmonitor...
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] 95-check-optical-drive.sh: executing...
[cont-init.d] 95-check-optical-drive.sh: looking for usable optical drives...
[cont-init.d] 95-check-optical-drive.sh: no usable optical drive found.
[cont-init.d] 95-check-optical-drive.sh: exited 0.
[cont-init.d] 95-check-qsv.sh: executing...
[cont-init.d] 95-check-qsv.sh: Processor: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
[cont-init.d] 95-check-qsv.sh: exited 0.
[cont-init.d] handbrake.sh: executing...
[cont-init.d] handbrake.sh: core dump file location: core
[cont-init.d] handbrake.sh: core dump file size: 0 (blocks)
[cont-init.d] handbrake.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting nginx...
[services.d] starting autovideoconverter...
[nginx] starting...
[services.d] starting xvfb...
[xvfb] starting...
[autovideoconverter] starting...
[autovideoconverter] Processing watch folder '/watch'...
[autovideoconverter] Watch folder '/watch' processing terminated.
[services.d] starting certsmonitor...
[services.d] starting logmonitor...
[certsmonitor] disabling service: secure connection not enabled.
[logmonitor] no file to monitor: disabling service...
[services.d] starting statusmonitor...
[services.d] starting x11vnc...
[statusmonitor] no file to monitor: disabling service...
[services.d] starting openbox...
[x11vnc] starting...
[openbox] starting...
09/05/2019 12:04:57 passing arg to libvncserver: -rfbport
09/05/2019 12:04:57 passing arg to libvncserver: 5900
09/05/2019 12:04:57 passing arg to libvncserver: -rfbportv6
09/05/2019 12:04:57 passing arg to libvncserver: -1
09/05/2019 12:04:57 passing arg to libvncserver: -httpportv6
09/05/2019 12:04:57 passing arg to libvncserver: -1
09/05/2019 12:04:57 passing arg to libvncserver: -desktop
09/05/2019 12:04:57 passing arg to libvncserver: HandBrake
09/05/2019 12:04:57 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 986
09/05/2019 12:04:57 Using X display :0
09/05/2019 12:04:57 rootwin: 0x43 reswin: 0x200001 dpy: 0x6c4999e0
09/05/2019 12:04:57
09/05/2019 12:04:57 ------------------ USEFUL INFORMATION ------------------
09/05/2019 12:04:57 X DAMAGE available on display, using it for polling hints.
09/05/2019 12:04:57 To disable this behavior use: '-noxdamage'
09/05/2019 12:04:57
09/05/2019 12:04:57 Most compositing window managers like 'compiz' or 'beryl'
09/05/2019 12:04:57 cause X DAMAGE to fail, and so you may not see any screen
09/05/2019 12:04:57 updates via VNC. Either disable 'compiz' (recommended) or
09/05/2019 12:04:57 supply the x11vnc '-noxdamage' command line option.
09/05/2019 12:04:57 X COMPOSITE available on display, using it for window polling.
09/05/2019 12:04:57 To disable this behavior use: '-noxcomposite'
09/05/2019 12:04:57
09/05/2019 12:04:57 Wireframing: -wireframe mode is in effect for window moves.
09/05/2019 12:04:57 If this yields undesired behavior (poor response, painting
09/05/2019 12:04:57 errors, etc) it may be disabled:
09/05/2019 12:04:57 - use '-nowf' to disable wireframing completely.
09/05/2019 12:04:57 - use '-nowcr' to disable the Copy Rectangle after the
09/05/2019 12:04:57 moved window is released in the new position.
09/05/2019 12:04:57 Also see the -help entry for tuning parameters.
09/05/2019 12:04:57 You can press 3 Alt_L's (Left "Alt" key) in a row to
09/05/2019 12:04:57 repaint the screen, also see the -fixscreen option for
09/05/2019 12:04:57 periodic repaints.
09/05/2019 12:04:57 GrabServer control via XTEST.
09/05/2019 12:04:57
09/05/2019 12:04:57 Scroll Detection: -scrollcopyrect mode is in effect to
09/05/2019 12:04:57 use RECORD extension to try to detect scrolling windows
09/05/2019 12:04:57 (induced by either user keystroke or mouse input).
09/05/2019 12:04:57 If this yields undesired behavior (poor response, painting
09/05/2019 12:04:57 errors, etc) it may be disabled via: '-noscr'
09/05/2019 12:04:57 Also see the -help entry for tuning parameters.
09/05/2019 12:04:57 You can press 3 Alt_L's (Left "Alt" key) in a row to
09/05/2019 12:04:57 repaint the screen, also see the -fixscreen option for
09/05/2019 12:04:57 periodic repaints.
09/05/2019 12:04:57
09/05/2019 12:04:57 XKEYBOARD: number of keysyms per keycode 7 is greater
09/05/2019 12:04:57 than 4 and 51 keysyms are mapped above 4.
09/05/2019 12:04:57 Automatically switching to -xkb mode.
09/05/2019 12:04:57 If this makes the key mapping worse you can
09/05/2019 12:04:57 disable it with the "-noxkb" option.
09/05/2019 12:04:57 Also, remember "-remap DEAD" for accenting characters.
09/05/2019 12:04:57
09/05/2019 12:04:57 X FBPM extension not supported.
Xlib: extension "DPMS" missing on display ":0".
09/05/2019 12:04:57 X display is not capable of DPMS.
09/05/2019 12:04:57 --------------------------------------------------------
09/05/2019 12:04:57
09/05/2019 12:04:57 Default visual ID: 0x21
09/05/2019 12:04:57 Read initial data from X display into framebuffer.
09/05/2019 12:04:57 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
09/05/2019 12:04:57
09/05/2019 12:04:57 X display :0 is 32bpp depth=24 true color
09/05/2019 12:04:57
09/05/2019 12:04:57 Listening for VNC connections on TCP port 5900
09/05/2019 12:04:57
09/05/2019 12:04:57 Xinerama is present and active (e.g. multi-head).
09/05/2019 12:04:57 Xinerama: number of sub-screens: 1
09/05/2019 12:04:57 Xinerama: no blackouts needed (only one sub-screen)
09/05/2019 12:04:57
09/05/2019 12:04:57 fb read rate: 2272 MB/sec
09/05/2019 12:04:57 fast read: reset -wait ms to: 10
09/05/2019 12:04:57 fast read: reset -defer ms to: 10
09/05/2019 12:04:57 The X server says there are 10 mouse buttons.
09/05/2019 12:04:57 screen setup finished.
09/05/2019 12:04:57

The VNC desktop is: 11b36fc03c7e:0

0

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:

x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching

[services.d] starting app...
[app] starting HandBrake...
[services.d] done.

(ghb:1017): GLib-GIO-CRITICAL **: 12:04:59.524: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
GLib-GIO-Message: 12:04:59.654: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

This looks a bit strange

(ghb:1017): GLib-GIO-CRITICAL **: 12:04:59.524: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
GLib-GIO-Message: 12:04:59.654: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

 

Sorry for the lack of details but I have no clue what else to check at this point.

 

I also got some errors in activity maybe this is more rellevant


[13:13:08] gtkgui: HandBrake 1.2.2 (2019050500) - Linux x86_64 - https://handbrake.fr
[13:13:08] hb_display_init: attempting VA driver 'iHD'
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva error: /opt/intel/mediasdk/lib64/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
[13:13:08] hb_display_init: attempting VA driver 'i965'
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /opt/intel/mediasdk/lib64/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
[13:13:08] hb_init: starting libhb thread
[13:13:08] hb_init: starting libhb thread
[13:13:08] hb_init: starting libhb thread
[13:13:15] gtkgui: Modified Preset: /General/Fast 1080p30
[13:13:15] 1 job(s) to process
[13:13:15] CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
[13:13:15]  - Intel microarchitecture Haswell
[13:13:15]  - logical processor count: 8
[13:13:15] Intel Quick Sync Video support: yes
[13:13:15]  - Intel Media SDK hardware: API 1.28 (minimum: 1.3)
[13:13:15]  - H.264 encoder: yes
[13:13:15]     - preferred implementation: hardware (any) via D3D11
[13:13:15]     - capabilities (hardware):  breftype la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[13:13:15]  - H.265 encoder: no

[13:13:16]  * video track
[13:13:16]    + decoder: h264
[13:13:16]      + bitrate 11985 kbps
[13:13:16]    + filters
[13:13:16]      + 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)
[13:13:16]      + Decomb (mode=39)
[13:13:16]      + Framerate Shaper (mode=2:rate=27000000/900000)
[13:13:16]        + frame rate: 24.000 fps -> peak rate limited to 30.000 fps
[13:13:16]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[13:13:16]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[13:13:16]    + Output geometry
[13:13:16]      + storage dimensions: 1920 x 1080
[13:13:16]      + pixel aspect ratio: 1 : 1
[13:13:16]      + display dimensions: 1920 x 1080
[13:13:16]    + encoder: H.264 (Intel Media SDK)
[13:13:16]      + preset:  balanced
[13:13:16]      + profile: auto
[13:13:16]      + level:   auto
[13:13:16]      + quality: 15.00 (QP)
[13:13:16]      + color profile: 1-1-1
[13:13:16]  * audio track 1
[13:13:16]    + decoder: Unknown (AC3) (2.0 ch) (track 1, id 0x1)
[13:13:16]      + bitrate: 192 kbps, samplerate: 48000 Hz
[13:13:16]    + mixdown: Stereo
[13:13:16]    + dither: triangular
[13:13:16]    + encoder: AAC (libfdk_aac)
[13:13:16]      + bitrate: 160 kbps, samplerate: 48000 Hz
[13:13:16] yadif thread started for segment 6
[13:13:16] yadif thread started for segment 7
[13:13:16] sync: expecting 7213 video frames
[13:13:16] hb_display_init: using VA driver 'i965'
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /opt/intel/mediasdk/lib64/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
[13:13:16] encqsvInit: using encode-only path
[13:13:16] encqsvInit: H.264/AVC High profile @ level 4.0
[13:13:16] encqsvInit: TargetUsage 4 AsyncDepth 4
[13:13:16] encqsvInit: GopRefDist 4 GopPicSize 32 NumRefFrame 3
[13:13:16] encqsvInit: BFramesMax 3 BRefType pyramid
[13:13:16] encqsvInit: RateControlMethod CQP with QPI 15 QPP 17 QPB 19
[13:13:16] sync: first pts video is 0
[13:13:16] sync: Chapter 1 at frame 1 time 0
[13:13:16] sync: first pts audio 0x1 is 0
[13:13:16] qsv_enc_init: using 'hardware (1) via VAAPI' implementation, API: 1.28
libva info: VAEncMiscParameterBufferQualityLevel.quality_level (4) out of range (max 2).
Error code -12,	hb_qsv_wait_on_sync	602
[13:13:16] encqsv: MFXVideoENCODE_EncodeFrameAsync failed (-17)
[13:13:16] work: average encoding speed for job is 0.000000 fps
[13:13:17] comb detect: heavy 0 | light 0 | uncombed 49 | total 49
[13:13:17] decomb: deinterlaced 0 | blended 0 | unfiltered 45 | total 45
[13:13:17] vfr: 41 frames output, 0 dropped and 0 duped for CFR/PFR
[13:13:17] vfr: lost time: 0 (0 frames)
[13:13:17] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:13:17] ac3-decoder done: 118 frames, 0 decoder errors
[13:13:17] h264-decoder done: 88 frames, 0 decoder errors
[13:13:17] sync: got 50 frames, 7213 expected
[13:13:17] sync: framerate min 24.000 fps, max 24.000 fps, avg 24.000 fps
[13:13:17] mux: track 0, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[13:13:17] mux: track 1, 96 frames, 41323 bytes, 161.92 kbps, fifo 128
[13:13:17] libhb: work result = 4

 

Under the Video tab, try to toggle the value of the "Preset" setting.

When you change the encoder, there may be some settings from the preset that are not properly "reset" to be compatible with the new selected encoder.

Link to comment

I'm sorry if this question has already been answered before, but I couldn't find a solution for me after reading through the forum and trying various things suggested. HandBrake was working great until about 6 months ago. Then it stopped working. I couldn't figure out why, at the time, but I wasn't really needing to use it, so I left it alone. Fast forward until today, it still doesn't work, but now I would like to use it. So, I know it can work. It just doesn't any more. The GUI and the watch folder stopped working at the same time and I believe have the same problem.

 

The watch folder does not work. detects files fine, but cannot execute. Log error shown below. Sounds like a permissions issue to me. 

 

I have verified that the permissions are appropriate, the owner/user are set to nobody (99), and I even blasted the entire share with a 777 permissions, to no avail. When trying to create a new folder in the GUI, I get an error that says the directory is read only. 

 

The result is the same despite changing docker paths to new folders, opening up SMB or AFP settings, changing files to be converted or presets used, and even deleting and reinstalling the docker. I'm sure that I'm missing something, I just don't know what it is. Can you help?

 

Thank you

Screen Shot 2019-05-13 at 3.36.53 PM.png

Screen Shot 2019-05-13 at 3.39.22 PM.png

Screen Shot 2019-05-13 at 3.38.53 PM.png

Screen Shot 2019-05-13 at 3.39.55 PM.png

Screen Shot 2019-05-13 at 3.41.49 PM.png

Screen Shot 2019-05-13 at 3.50.04 PM.png

Edited by DrAwesome
Link to comment
5 hours ago, DrAwesome said:

I'm sorry if this question has already been answered before, but I couldn't find a solution for me after reading through the forum and trying various things suggested. HandBrake was working great until about 6 months ago. Then it stopped working. I couldn't figure out why, at the time, but I wasn't really needing to use it, so I left it alone. Fast forward until today, it still doesn't work, but now I would like to use it. So, I know it can work. It just doesn't any more. The GUI and the watch folder stopped working at the same time and I believe have the same problem.

 

The watch folder does not work. detects files fine, but cannot execute. Log error shown below. Sounds like a permissions issue to me. 

 

I have verified that the permissions are appropriate, the owner/user are set to nobody (99), and I even blasted the entire share with a 777 permissions, to no avail. When trying to create a new folder in the GUI, I get an error that says the directory is read only. 

 

The result is the same despite changing docker paths to new folders, opening up SMB or AFP settings, changing files to be converted or presets used, and even deleting and reinstalling the docker. I'm sure that I'm missing something, I just don't know what it is. Can you help?

 

Thank you

Screen Shot 2019-05-13 at 3.36.53 PM.png

Screen Shot 2019-05-13 at 3.39.22 PM.png

Screen Shot 2019-05-13 at 3.38.53 PM.png

Screen Shot 2019-05-13 at 3.39.55 PM.png

Screen Shot 2019-05-13 at 3.41.49 PM.png

Screen Shot 2019-05-13 at 3.50.04 PM.png

For the UI part, your should set the destination file under "/output" in the container.

Link to comment
16 minutes ago, Djoss said:

For the UI part, your should set the destination file under "/output" in the container.

Thank you for the reply. However, the error still occurs when doing that. The same error occurs that is shown in the last screenshot that I posted above. 

Link to comment
11 minutes ago, DrAwesome said:

Thank you for the reply. However, the error still occurs when doing that. The same error occurs that is shown in the last screenshot that I posted above. 

In the container settings, if you edit the "Output Directory" setting, do you have the access mode sets to "Read/Write"?

Link to comment
Thank you for the reply. However, the error still occurs when doing that. The same error occurs that is shown in the last screenshot that I posted above. 


This is probably not the cause of your problem, but umask is not the same as normal chmod permission. For umask, you want 0000 for most open permissions, 0777 is actually the most restrictive.

Also, the “downloads” directory (output) doesn’t exist under /storage/Handbrake according to you screenshots. Not sure if Handbrake can create it for you on the fly, or if you need to create yourself first




Sent from my iPhone using Tapatalk
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.