[Support] Djoss - HandBrake


Recommended Posts

Do you know how to keep 10 bit HDR with this encoder => NVENC x265 with handbrake ?

 

i test to re encode a video with 10 bit HDR, after converion i don't have the same media info profile, i loose 10 bit => 8 bit 

 

https://4kmedia.org/samsung-wonderland-two-hdr-uhd-4k-demo/

 

I don't know how to do this  => [email protected] high with NVENC ?

Edited by ibasaw
Link to comment
19 hours ago, ss1gohan13 said:

From what I've read up on, Handbrake doesn't support true HDR/10-bit encoding (currently)

It was added a few months ago. February to be precise, a release was made and the issue around the 10bit pipeline closed:

  • 10 bit pipeline if there is no 8bit only filter enabled and the selected encoder is 10bit;

  • HDR10 static metadata passthrough

  • Colorspace filter (using the FFmpeg tonemap filter, which is not the best, and does not implement BT.2390 yet).

It was mentioned at this time that this support is only in the nightly build, but that was back in Feb so it may have made it to the stable builds by now.

Edited by OFark
Link to comment
  • 3 weeks later...

hi there, i'm struggling to find a way (if even possible) to make the files that get outputted get outputted to my output folder but in addition it makes a "same as source" folder inside the output folder for the outputs. i see this type of setup of the automatic encoding part but i'm trying to do it when feeding it manually.

Link to comment
On 10/12/2021 at 12:09 PM, jcofer555 said:

hi there, i'm struggling to find a way (if even possible) to make the files that get outputted get outputted to my output folder but in addition it makes a "same as source" folder inside the output folder for the outputs. i see this type of setup of the automatic encoding part but i'm trying to do it when feeding it manually.

You mean when using the UI ?  In this case, you need to manually set the output folder/file yourself.

Link to comment
On 10/14/2021 at 12:05 PM, IzzleDude said:

I have a 1070 GPU in my unraid server with the drivers installed  im trying to use handbreak for some files but i dont see nvenc in the video settings   how do i enable this feature for handbreak

This container doesn't support nvenc, only Intel QSV.

Link to comment
  • 2 weeks later...
On 10/18/2021 at 5:33 AM, Djoss said:

You mean when using the UI ?  In this case, you need to manually set the output folder/file yourself.

i've done that. what i mean is like the automated encoding setup where it puts the encoded files in <nameofsourcefolder>\thenfilename where the name of the source folder is the key point here. when not doing through the automated encoded is there a way or can there be a way to do the same? i'm not finding a way for the UI to set the output folder to put the files into folders named <sourcefoldername>

Link to comment

on a different issue, i've been having problems with my handbrake docker stopping itself at random times, when i check the logs this is what i see every time when it stops. it seemed to happen once i changed cpu pinning, but i still have it pinned to 8 cpu cores all HT cores if that matters. any idea?


libdvdread: Can't open file VIDEO_TS.IFO.
libdvdread: Can't open file VIDEO_TS.[services.d] stopping services
[services.d] stopping app...
[services.d] stopping x11vnc...
caught signal: 15
27/10/2021 03:33:33 deleted 40 tile_row polling images.
[services.d] stopping statusmonitor...
[services.d] stopping openbox...
[services.d] stopping logmonitor...
[services.d] stopping xvfb...
[services.d] stopping nginx...
[services.d] stopping certsmonitor...
[services.d] stopping autovideoconverter...
[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.

Edited by jcofer555
Link to comment
On 8/9/2021 at 6:38 PM, WebAddict said:

The NVENC support was what made djaydev's Handbrake docker image special... Losing that build is a huge loss....

 

Perhaps someone else could fork his work from djaydev/handbrake on github or dockerhub and make it available.

 

I have used Spaceinvaderone's guide to downloading new media to a watch folder, and then sonarr/radarr moves the newly transcoded media to the array. I found a 720p quality setting for TV shows, and a 1080p setting for Movies that I felt like retained the quality, saved a ton of space, but also allows most of our devices to direct play. Many remux 45 min 1080p episodes are about 4gb, but my 720p x264 version averages about 1.2gb. 

 

I will be able to continue using djaydev's handbrake since I already had it before it went away. I feel bad for anyone else that wants to use it and can't find it.

Hey man. I had my Unraid server shut down for quite a while. However, once I started it again. I couldn't update my Handbrake containers, and now they are missing. 

However, I still have the original latest versions of the "djaydev/handbrake" containers, with full NVENC support.

Are anyone interested in a copy? and can I simply just share the appdata folder? I can't figure out if the new handbrake containers supports NVENC, but I haven't gotten it to work..

Link to comment
  • 3 weeks later...
  • 3 weeks later...
15 minutes ago, trosma said:

Hi, i want transcode 4k hdr x265, to 1080p sdr (Colorspace: bt.709) x264 (quick sync), but garpichs cars use is very low, and CPU is very hight.

Is it normal?

Even if you are using QSV in your HandBrake profile audio, subtitles, etc. will always be transcoded by the CPU and not the GPU.  This looks pretty normal to me.  I often see CPU usage in the 90+% range without using QSV and in the 60+% range when using a preset with QSV.

  • Like 1
Link to comment
2 hours ago, Hoopster said:

Even if you are using QSV in your HandBrake profile audio, subtitles, etc. will always be transcoded by the CPU and not the GPU.  This looks pretty normal to me.  I often see CPU usage in the 90+% range without using QSV and in the 60+% range when using a preset with QSV.

Thaks!

Lucky you, when if i am not using QSV the CPU usage will be around 50%, never 100% or 90%

Link to comment

HARDCODE / BURNIN SUBTITLES WITH HANDBREAK ON UNRAID

 

Does anyone know how to Burnin Subtitles with Handbreak on Unraid? I've tried all different settings and can't get it to pick up the srt file for burn in.

 I have 2 files.

 

100.mkv

100.english.srt 

 

Handbreak picks up the mkv and converts to 265 / hvec just fine. It does NOT burning the subtitles as expected. I can get it to work on windows, but you have to add the subtitle and set to burn in for every single mkv you want to process. 

 

Ideal would be to sent to unraid and have it burn in automatically. 

 

Here is my latest attempt

unraid_Hadnbreak_Burnin.JPG

Link to comment

Encoding keeps failing.  I have yet to try other files, but here's the Activity Log:

ErrorWarningSystemArrayLogin


[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: 12th Gen Intel(R) Core(TM) i5-12600K
[cont-init.d] 95-check-qsv.sh: exited 0.
[cont-init.d] handbrake.sh: executing...
[cont-init.d] handbrake.sh: generating machine-id...
[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 certsmonitor...
[services.d] starting nginx...
[services.d] starting xvfb...
[nginx] starting...
[certsmonitor] disabling service: secure connection not enabled.
[xvfb] starting...
[services.d] starting autovideoconverter...
[services.d] starting logmonitor...
[services.d] starting statusmonitor...
[logmonitor] no file to monitor: disabling service...
[services.d] starting openbox...
[statusmonitor] no file to monitor: disabling service...
[openbox] starting...
[autovideoconverter] starting...
[autovideoconverter] Processing watch folder '/watch'...
[autovideoconverter] Skipping '/watch/movies/Nash.Bridges.2021.1080p.WEBRip.x265-RARBG/afe9d1760c774b4eb53cb91622710205.mp4' (b4dfa29506c3c3e33fffb32c27a89593): already processed with failure.
[autovideoconverter] Watch folder '/watch' processing terminated.
[services.d] starting x11vnc...
[services.d] starting app...
[x11vnc] starting...
[app] starting HandBrake...
[services.d] done.
16/12/2021 17:39:07 passing arg to libvncserver: -rfbport
16/12/2021 17:39:07 passing arg to libvncserver: 5900
16/12/2021 17:39:07 passing arg to libvncserver: -rfbportv6
16/12/2021 17:39:07 passing arg to libvncserver: -1
16/12/2021 17:39:07 passing arg to libvncserver: -httpportv6
16/12/2021 17:39:07 passing arg to libvncserver: -1
16/12/2021 17:39:07 passing arg to libvncserver: -desktop
16/12/2021 17:39:07 passing arg to libvncserver: HandBrake
16/12/2021 17:39:07 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 1010
16/12/2021 17:39:07 Using X display :0
16/12/2021 17:39:07 rootwin: 0x43 reswin: 0x400001 dpy: 0xb347bb40
16/12/2021 17:39:07
16/12/2021 17:39:07 ------------------ USEFUL INFORMATION ------------------
16/12/2021 17:39:07 X DAMAGE available on display, using it for polling hints.
16/12/2021 17:39:07 To disable this behavior use: '-noxdamage'
16/12/2021 17:39:07
16/12/2021 17:39:07 Most compositing window managers like 'compiz' or 'beryl'
16/12/2021 17:39:07 cause X DAMAGE to fail, and so you may not see any screen
16/12/2021 17:39:07 updates via VNC. Either disable 'compiz' (recommended) or
16/12/2021 17:39:07 supply the x11vnc '-noxdamage' command line option.
16/12/2021 17:39:07 X COMPOSITE available on display, using it for window polling.
16/12/2021 17:39:07 To disable this behavior use: '-noxcomposite'
16/12/2021 17:39:07
16/12/2021 17:39:07 Wireframing: -wireframe mode is in effect for window moves.
16/12/2021 17:39:07 If this yields undesired behavior (poor response, painting
16/12/2021 17:39:07 errors, etc) it may be disabled:
16/12/2021 17:39:07 - use '-nowf' to disable wireframing completely.
16/12/2021 17:39:07 - use '-nowcr' to disable the Copy Rectangle after the
16/12/2021 17:39:07 moved window is released in the new position.
16/12/2021 17:39:07 Also see the -help entry for tuning parameters.
16/12/2021 17:39:07 You can press 3 Alt_L's (Left "Alt" key) in a row to
16/12/2021 17:39:07 repaint the screen, also see the -fixscreen option for
16/12/2021 17:39:07 periodic repaints.
16/12/2021 17:39:07 GrabServer control via XTEST.
16/12/2021 17:39:07
16/12/2021 17:39:07 Scroll Detection: -scrollcopyrect mode is in effect to
16/12/2021 17:39:07 use RECORD extension to try to detect scrolling windows
16/12/2021 17:39:07 (induced by either user keystroke or mouse input).
16/12/2021 17:39:07 If this yields undesired behavior (poor response, painting
16/12/2021 17:39:07 errors, etc) it may be disabled via: '-noscr'
16/12/2021 17:39:07 Also see the -help entry for tuning parameters.
16/12/2021 17:39:07 You can press 3 Alt_L's (Left "Alt" key) in a row to
16/12/2021 17:39:07 repaint the screen, also see the -fixscreen option for
16/12/2021 17:39:07 periodic repaints.
16/12/2021 17:39:07
16/12/2021 17:39:07 XKEYBOARD: number of keysyms per keycode 7 is greater
16/12/2021 17:39:07 than 4 and 51 keysyms are mapped above 4.
16/12/2021 17:39:07 Automatically switching to -xkb mode.
16/12/2021 17:39:07 If this makes the key mapping worse you can
16/12/2021 17:39:07 disable it with the "-noxkb" option.
16/12/2021 17:39:07 Also, remember "-remap DEAD" for accenting characters.
16/12/2021 17:39:07
16/12/2021 17:39:07 X FBPM extension not supported.
Xlib: extension "DPMS" missing on display ":0".
16/12/2021 17:39:07 X display is not capable of DPMS.
16/12/2021 17:39:07 --------------------------------------------------------
16/12/2021 17:39:07
16/12/2021 17:39:07 Default visual ID: 0x21
16/12/2021 17:39:07 Read initial data from X display into framebuffer.
16/12/2021 17:39:07 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
16/12/2021 17:39:07
16/12/2021 17:39:07 X display :0 is 32bpp depth=24 true color
16/12/2021 17:39:07
16/12/2021 17:39:07 Listening for VNC connections on TCP port 5900
16/12/2021 17:39:07
16/12/2021 17:39:07 Xinerama is present and active (e.g. multi-head).
16/12/2021 17:39:07 Xinerama: number of sub-screens: 1
16/12/2021 17:39:07 Xinerama: no blackouts needed (only one sub-screen)
16/12/2021 17:39:07
16/12/2021 17:39:07 fb read rate: 2849 MB/sec
16/12/2021 17:39:07 fast read: reset -wait ms to: 10
16/12/2021 17:39:07 fast read: reset -defer ms to: 10
16/12/2021 17:39:07 The X server says there are 10 mouse buttons.
16/12/2021 17:39:07 screen setup finished.
16/12/2021 17:39:07

The VNC desktop is: e0dcaa02855b: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

16/12/2021 17:39:11 Got connection from client 127.0.0.1
16/12/2021 17:39:11 other clients:
16/12/2021 17:39:11 Got 'ws' WebSockets handshake
16/12/2021 17:39:11 Got protocol: binary
16/12/2021 17:39:11 - webSocketsHandshake: using binary/raw encoding
16/12/2021 17:39:11 - WebSockets client version hybi-13
16/12/2021 17:39:11 Disabled X server key autorepeat.
16/12/2021 17:39:11 to force back on run: 'xset r on' (3 times)
16/12/2021 17:39:11 incr accepted_client=1 for 127.0.0.1:33264 sock=10
16/12/2021 17:39:11 Client Protocol Version 3.8
16/12/2021 17:39:11 Protocol version sent 3.8, using 3.8
16/12/2021 17:39:11 rfbProcessClientSecurityType: executing handler for type 1
16/12/2021 17:39:11 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
16/12/2021 17:39:11 Pixel format for client 127.0.0.1:
16/12/2021 17:39:11 32 bpp, depth 24, little endian
16/12/2021 17:39:11 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
16/12/2021 17:39:11 no translation needed
16/12/2021 17:39:11 Enabling NewFBSize protocol extension for client 127.0.0.1
16/12/2021 17:39:11 Enabling full-color cursor updates for client 127.0.0.1
16/12/2021 17:39:11 Using image quality level 6 for client 127.0.0.1
16/12/2021 17:39:11 Using JPEG subsampling 0, Q79 for client 127.0.0.1
16/12/2021 17:39:11 Using compression level 9 for client 127.0.0.1
16/12/2021 17:39:11 Enabling LastRect protocol extension for client 127.0.0.1
16/12/2021 17:39:11 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
16/12/2021 17:39:11 Using tight encoding for client 127.0.0.1
16/12/2021 17:39:11 client_set_net: 127.0.0.1 0.0000
16/12/2021 17:39:11 created xdamage object: 0x40002c
16/12/2021 17:39:12 copy_tiles: allocating first_line at size 41
16/12/2021 17:39:13 client 1 network rate 1531.8 KB/sec (105037.7 eff KB/sec)
16/12/2021 17:39:13 client 1 latency: 0.5 ms
16/12/2021 17:39:13 dt1: 0.0019, dt2: 0.0181 dt3: 0.0005 bytes: 30309
16/12/2021 17:39:13 link_rate: LR_LAN - 1 ms, 1531 KB/s
16/12/2021 17:39:21 created selwin: 0x40002d
16/12/2021 17:39:21 called initialize_xfixes()
libdvdread: Can't open file VIDEO_TS.IFO.
16/12/2021 17:40:37 got closure, reason 1001
16/12/2021 17:40:37 rfbProcessClientNormalMessage: read: Connection reset by peer
16/12/2021 17:40:37 client_count: 0
16/12/2021 17:40:37 Restored X server key autorepeat to: 1
16/12/2021 17:40:37 Client 127.0.0.1 gone
16/12/2021 17:40:37 Statistics events Transmit/ RawEquiv ( saved)
16/12/2021 17:40:37 ServerCutText : 1 | 8/ 8 ( 0.0%)
16/12/2021 17:40:37 FramebufferUpdate : 405 | 0/ 0 ( 0.0%)
16/12/2021 17:40:37 LastRect : 311 | 3732/ 3732 ( 0.0%)
16/12/2021 17:40:37 tight : 1934 | 1574182/ 41172520 ( 96.2%)
16/12/2021 17:40:37 RichCursor : 1 | 1374/ 1374 ( 0.0%)
16/12/2021 17:40:37 TOTALS : 2652 | 1579296/ 41177634 ( 96.2%)
16/12/2021 17:40:37 Statistics events Received/ RawEquiv ( saved)
16/12/2021 17:40:37 PointerEvent : 2066 | 12396/ 12396 ( 0.0%)
16/12/2021 17:40:37 FramebufferUpdate : 406 | 4060/ 4060 ( 0.0%)
16/12/2021 17:40:37 SetEncodings : 1 | 56/ 56 ( 0.0%)
16/12/2021 17:40:37 SetPixelFormat : 1 | 20/ 20 ( 0.0%)
16/12/2021 17:40:37 TOTALS : 2474 | 16532/ 16532 ( 0.0%)
16/12/2021 17:40:37 destroyed xdamage object: 0x40002c
16/12/2021 17:40:38 Got connection from client 127.0.0.1
16/12/2021 17:40:38 other clients:
16/12/2021 17:40:38 Got 'ws' WebSockets handshake
16/12/2021 17:40:38 Got protocol: binary
16/12/2021 17:40:38 - webSocketsHandshake: using binary/raw encoding
16/12/2021 17:40:38 - WebSockets client version hybi-13
16/12/2021 17:40:38 Disabled X server key autorepeat.
16/12/2021 17:40:38 to force back on run: 'xset r on' (3 times)
16/12/2021 17:40:38 incr accepted_client=2 for 127.0.0.1:33266 sock=10
16/12/2021 17:40:38 Client Protocol Version 3.8
16/12/2021 17:40:38 Protocol version sent 3.8, using 3.8
16/12/2021 17:40:38 rfbProcessClientSecurityType: executing handler for type 1
16/12/2021 17:40:38 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
16/12/2021 17:40:38 Pixel format for client 127.0.0.1:
16/12/2021 17:40:38 32 bpp, depth 24, little endian
16/12/2021 17:40:38 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
16/12/2021 17:40:38 no translation needed
16/12/2021 17:40:38 Enabling NewFBSize protocol extension for client 127.0.0.1
16/12/2021 17:40:38 Enabling full-color cursor updates for client 127.0.0.1
16/12/2021 17:40:38 Using image quality level 6 for client 127.0.0.1
16/12/2021 17:40:38 Using JPEG subsampling 0, Q79 for client 127.0.0.1
16/12/2021 17:40:38 Using compression level 9 for client 127.0.0.1
16/12/2021 17:40:38 Enabling LastRect protocol extension for client 127.0.0.1
16/12/2021 17:40:38 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
16/12/2021 17:40:38 Using tight encoding for client 127.0.0.1
16/12/2021 17:40:39 client_set_net: 127.0.0.1 0.0000
16/12/2021 17:40:39 created xdamage object: 0x40002e
16/12/2021 17:40:41 client 2 network rate 4040.0 KB/sec (157083.5 eff KB/sec)
16/12/2021 17:40:41 client 2 latency: 0.5 ms
16/12/2021 17:40:41 dt1: 0.0981, dt2: 0.0016 dt3: 0.0005 bytes: 402043
16/12/2021 17:40:41 link_rate: LR_LAN - 1 ms, 4040 KB/s
16/12/2021 17:46:15 idle keyboard: turning X autorepeat back on.
16/12/2021 17:46:15 idle keyboard: turning X autorepeat back on.
[services.d] stopping services
[services.d] stopping app...
[services.d] stopping x11vnc...
caught signal: 15
16/12/2021 17:52:52 deleted 40 tile_row polling images.
[services.d] stopping openbox...
[services.d] stopping statusmonitor...
[services.d] stopping logmonitor...
[services.d] stopping autovideoconverter...
[services.d] stopping xvfb...
[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.

 

 

legion-diagnostics-20211216-1811.zip

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.