Govnah Posted November 26, 2018 Share Posted November 26, 2018 2 hours ago, Djoss said: In HandBrake, make sure the destination folder for your file is set to "/output". Damn I feel like an idiot! Thanks for the reply/solution. Quote Link to comment
figrin_dan Posted November 29, 2018 Share Posted November 29, 2018 Hi, I'm struggling with my audio default. I've been looking for a while and can't figure it out. I just want the audio to be untouched with only the video compressed. I set all "Auto passthru behaviour" to checked but when I look at the GUI it always shows that it is going to convert it to AAC (which it does to the file in the output folder) I exported the preset file and it shows as: "AlignAVStart": false, "AudioCopyMask": [ "copy:aac", "copy:ac3", "copy:dtshd", "copy:dts", "copy:mp3", "copy:truehd", "copy:flac", "copy:eac3" But I have to manually alter the GUI for every file. This is also happening on my Windows computer so I guess it's a preset fault rather than a docker fault but I wonder if someone here could help. Thanks Quote Link to comment
Djoss Posted November 29, 2018 Author Share Posted November 29, 2018 32 minutes ago, figrin_dan said: Hi, I'm struggling with my audio default. I've been looking for a while and can't figure it out. I just want the audio to be untouched with only the video compressed. I set all "Auto passthru behaviour" to checked but when I look at the GUI it always shows that it is going to convert it to AAC (which it does to the file in the output folder) I exported the preset file and it shows as: "AlignAVStart": false, "AudioCopyMask": [ "copy:aac", "copy:ac3", "copy:dtshd", "copy:dts", "copy:mp3", "copy:truehd", "copy:flac", "copy:eac3" But I have to manually alter the GUI for every file. This is also happening on my Windows computer so I guess it's a preset fault rather than a docker fault but I wonder if someone here could help. Thanks Here is how the audio settings should be configured: 1 Quote Link to comment
figrin_dan Posted November 29, 2018 Share Posted November 29, 2018 Ah thank you! For some reason I had misunderstood that lower section as "definitely mixing down" due to the DPL box. I'll give it a go tonight Quote Link to comment
Djoss Posted December 3, 2018 Author Share Posted December 3, 2018 On 11/3/2018 at 7:01 PM, Taddeusz said: I realize QSV isn't really about quality. I tried that video but apparently in later versions of Handbrake they removed the "Extra Settings" box when you select a QSV encoder. Here is the output from the log when the HEVC encoder fails after finishing a previous encode: [16:36:21] scan: decoding previews for title 1 [16:36:21] scan: audio 0x1: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch) [16:36:23] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/138/0/0, aspect 16:9, PAR 1:1 [16:36:23] scan: supported video decoders: avcodec qsv [16:36:23] libhb: scan thread found 1 valid title(s) [16:36:23] starting job [16:36:23] job configuration: [16:36:23] * source [16:36:23] + /storage/Output/Atomic_Blonde/Atomic_Blonde_t00.mkv [16:36:23] + title 1, chapter(s) 1 to 2 [16:36:23] + container: matroska,webm [16:36:23] * destination [16:36:23] + /output/Atomic_Blonde_t01.mkv [16:36:23] + container: Matroska (libavformat) [16:36:23] + chapter markers [16:36:23] * video track [16:36:23] + decoder: h264 [16:36:23] + filters [16:36:23] + Framerate Shaper (mode=1) [16:36:23] + frame rate: 23.976 fps -> constant 23.976 fps [16:36:23] + Crop and Scale (width=1920:height=804:crop-top=138:crop-bottom=138:crop-left=0:crop-right=0) [16:36:23] + source: 1920 * 1080, crop (138/138/0/0): 1920 * 804, scale: 1920 * 804 [16:36:23] + Output geometry [16:36:23] + storage dimensions: 1920 x 804 [16:36:23] + pixel aspect ratio: 1 : 1 [16:36:23] + display dimensions: 1920 x 804 [16:36:23] + encoder: H.265 (Intel Media SDK) [16:36:23] + preset: quality [16:36:23] + profile: auto [16:36:23] + level: auto [16:36:23] + quality: 15.00 (QP) [16:36:23] * audio track 1 [16:36:23] + decoder: English (DTS-HD MA) (5.1 ch) (track 1, id 0x1) [16:36:23] + bitrate: 1536 kbps, samplerate: 48000 Hz [16:36:23] + mixdown: 5.1 Channels [16:36:23] + encoder: AC3 (libavcodec) [16:36:23] + bitrate: 640 kbps, samplerate: 48000 Hz [16:36:23] sync: expecting 15900 video frames libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 1 libva error: va_getDriverName() failed with operation failed,driver_name=i965 [16:36:23] encqsvInit: MFXVideoENCODE_Init failed (-16) [16:36:23] Failure to initialise thread 'Quick Sync Video encoder (Intel Media SDK)' [16:36:23] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR [16:36:23] vfr: lost time: 0 (0 frames) [16:36:23] vfr: gained time: 0 (0 frames) (0 not accounted for) [16:36:23] dca-decoder done: 0 frames, 0 decoder errors [16:36:23] h264-decoder done: 0 frames, 0 decoder errors [16:36:23] sync: got 0 frames, 15900 expected [16:36:23] libhb: work result = 3 Do you want to test a new image for me? Since I don't have a CPU that supports H265 QSV, I cannot validate a potential myself... If yes, just use the docker image tag "v1.14.10-beta1" (in container's settings, change the repo to jlesage/handbrake:v1.14.10-beta1). Quote Link to comment
Taddeusz Posted December 3, 2018 Share Posted December 3, 2018 35 minutes ago, Djoss said: Do you want to test a new image for me? Since I don't have a CPU that supports H265 QSV, I cannot validate a potential myself... If yes, just use the docker image tag "v1.14.10-beta1" (in container's settings, change the repo to jlesage/handbrake:v1.14.10-beta1). Ok, I've started a test. Going to take longer than normal because my wife is watching Plex at the same time. It's configured for QSV as well. Nice that the fixed function hardware can multitask different applications. Quote Link to comment
Djoss Posted December 3, 2018 Author Share Posted December 3, 2018 (edited) 3 minutes ago, Taddeusz said: Ok, I've started a test. Going to take longer than normal because my wife is watching Plex at the same time. It's configured for QSV as well. Nice that the fixed function hardware can multitask different applications. Great thanks for you help. So just to be clear, what I would like you to verify is that you can encode, from the UI, 2 videos using H265 QSV without having to restart the container. Edited December 3, 2018 by Djoss Quote Link to comment
Taddeusz Posted December 3, 2018 Share Posted December 3, 2018 8 minutes ago, Djoss said: Great thanks for you help. So just to be clear, what I would like you to verify is that you can encode, from the UI, 2 videos using H265 QSV without having to restart the container. Ok, that's what I queued up. 👍 Quote Link to comment
Taddeusz Posted December 3, 2018 Share Posted December 3, 2018 59 minutes ago, Djoss said: Great thanks for you help. So just to be clear, what I would like you to verify is that you can encode, from the UI, 2 videos using H265 QSV without having to restart the container. Second encode still failed with the "libva info: va_getDriverName() returns 1" error. Quote Link to comment
Djoss Posted December 4, 2018 Author Share Posted December 4, 2018 15 hours ago, Taddeusz said: Second encode still failed with the "libva info: va_getDriverName() returns 1" error. Thanks for confirming! Could you now try "v1.14.10-beta2" ? Quote Link to comment
Djoss Posted December 4, 2018 Author Share Posted December 4, 2018 @Taddeusz, test with "v1.14.10-beta3" instead 1 Quote Link to comment
Taddeusz Posted December 4, 2018 Share Posted December 4, 2018 11 minutes ago, Djoss said: @Taddeusz, test with "v1.14.10-beta3" instead Ok, I tried beta 3 and still got the same error on the second file. BTW, H.264 QSV encoding is still distorted. Quote Link to comment
Djoss Posted December 4, 2018 Author Share Posted December 4, 2018 5 hours ago, Taddeusz said: Ok, I tried beta 3 and still got the same error on the second file. BTW, H.264 QSV encoding is still distorted. Thanks for confirming. Note that since I suspect the h265 QSV issue to be on HandBrake side, I reported it on their GitHub: https://github.com/HandBrake/HandBrake/issues/1701. For h264 QSV, do you have the same issue with any preset, any quality setting? Quote Link to comment
Taddeusz Posted December 4, 2018 Share Posted December 4, 2018 44 minutes ago, Djoss said: Thanks for confirming. Note that since I suspect the h265 QSV issue to be on HandBrake side, I reported it on their GitHub: https://github.com/HandBrake/HandBrake/issues/1701. For h264 QSV, do you have the same issue with any preset, any quality setting? I can't actually get it to work in any other preset other than "quality". If I try "speed" or "balanced" it makes one of my cores go to 100% and nothing happens. Quote Link to comment
Nosirus Posted December 5, 2018 Share Posted December 5, 2018 Is it possible to run multiple encodings at the same time with the same container? handbrake only uses ~20% of my cpu at max Quote Link to comment
Djoss Posted December 6, 2018 Author Share Posted December 6, 2018 20 hours ago, Nosirus said: Is it possible to run multiple encodings at the same time with the same container? handbrake only uses ~20% of my cpu at max To my knowledge this is not possible. Which preset are you using? It is encoding at how much frame/second ? Quote Link to comment
Djoss Posted December 6, 2018 Author Share Posted December 6, 2018 @Taddeusz, can you try with v1.14.10-beta4 ? HandBrake should now use the new VAAPI driver, I hope it could improve things. Quote Link to comment
Taddeusz Posted December 6, 2018 Share Posted December 6, 2018 1 hour ago, Djoss said: @Taddeusz, can you try with v1.14.10-beta4 ? HandBrake should now use the new VAAPI driver, I hope it could improve things. Looks like it's working like it should now. H.264 QSV encoding is even working without the distortion. Quote Link to comment
Djoss Posted December 7, 2018 Author Share Posted December 7, 2018 6 hours ago, Taddeusz said: Looks like it's working like it should now. H.264 QSV encoding is even working without the distortion. Great news . Could you do a final quick test with v1.14.10-beta5? This version will probably become the official one. Quote Link to comment
Nosirus Posted December 7, 2018 Share Posted December 7, 2018 11 hours ago, Djoss said: To my knowledge this is not possible. Which preset are you using? It is encoding at how much frame/second ? I use x265 presset medium and crf 19, about 25 fps for a 1080p movie my CPU pinning, on 32 threads, just 6 are not assign nothing to do with, to preserve the most quality to re-encode, what do you propose in video and audio settings? Quote Link to comment
Taddeusz Posted December 7, 2018 Share Posted December 7, 2018 11 hours ago, Djoss said: Great news . Could you do a final quick test with v1.14.10-beta5? This version will probably become the official one. It's still working as expected. Quote Link to comment
Djoss Posted December 7, 2018 Author Share Posted December 7, 2018 10 hours ago, Nosirus said: I use x265 presset medium and crf 19, about 25 fps for a 1080p movie my CPU pinning, on 32 threads, just 6 are not assign I would expect a significant amount of CPU usage for x264 encoding... Make sure to look at usage of each core (not at the overall CPU usage). 10 hours ago, Nosirus said: nothing to do with, to preserve the most quality to re-encode, what do you propose in video and audio settings? For audio, you can definitely configure the preset to passthrough all tracks (no need to re-encode them). For the video, what you are using right now seems to be a good compromise. Quote Link to comment
Djoss Posted December 7, 2018 Author Share Posted December 7, 2018 3 hours ago, Taddeusz said: It's still working as expected. Perfect!. Other than H.264 and H.265, do you have other QSV enabled encoders listed ? Quote Link to comment
Taddeusz Posted December 7, 2018 Share Posted December 7, 2018 21 minutes ago, Djoss said: Perfect!. Other than H.264 and H.265, do you have other QSV enabled encoders listed ? Yes, I have an i5 8400 Coffee Lake CPU so "H.265 10-bit (Intel QSV)" is also listed. It is working fine as well. Quote Link to comment
Its Andrew Posted December 10, 2018 Share Posted December 10, 2018 I just installed Handbrake and I keep getting the error "can not read or write the directory" Quote Link to comment
Recommended Posts
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.