[Support] Djoss - HandBrake


Recommended Posts

Normal it makes 1 file out of the input..

 

 

but this time, the first iso:


GLib-GIO-Message: 11:05:17.603: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
[autovideoconverter] Starting conversion of '/watch/Feuchtgebiete.2013.GERMAN.COMPLETE.BLURAY-RetailBD/ret-feuchtg-bd.iso' (5f6ae633c378e1323f99af6a71282d9d) using preset 'HQ 1080p30 Surround'...
[autovideoconverter] 8 title(s) to process.
[autovideoconverter] Processing title 7 (1/8)...

 

it does again multiple files, how to stop that? (or will it combine at the end?)

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

Normal it makes 1 file out of the input..

 

 

but this time, the first iso:


GLib-GIO-Message: 11:05:17.603: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
[autovideoconverter] Starting conversion of '/watch/Feuchtgebiete.2013.GERMAN.COMPLETE.BLURAY-RetailBD/ret-feuchtg-bd.iso' (5f6ae633c378e1323f99af6a71282d9d) using preset 'HQ 1080p30 Surround'...
[autovideoconverter] 8 title(s) to process.
[autovideoconverter] Processing title 7 (1/8)...

 

it does again multiple files, how to stop that? (or will it combine at the end?)

It's because you have an ISO as source.  In the ISO, there are multiple videos.  You can adjust the "AUTOMATED_CONVERSION_SOURCE_MIN_DURATION" environment variables to ignore videos other than the main movie.

Link to comment
14 minutes ago, nuhll said:

Whats a good setting for that? 60min? Do i add it inside the container as a variable?

You will never find a good balance. Many movies these days will have 10+ duplicate mpls titles all with the same length, just tracks are disordered. So while one of those 10+ tracks is the right one, you will still catch the others as well.

Edited by cybrnook
Link to comment

So I'm doing my first test of this by moving a video file to the "Watch" folder, checked the UnRaid dashboard and can see my CPUs maxing out so I knew it must be working.  However, when I load up the docker GUI, I see nothing.   

So, I guess, there is no way to see the ETA to completion when automatically transcoding videos?

 

Is there some way to set up some sort of notification when the files are done transcoding?

Edited by CoZ
Link to comment
58 minutes ago, CoZ said:

So I'm doing my first test of this by moving a video file to the "Watch" folder, checked the UnRaid dashboard and can see my CPUs maxing out so I knew it must be working.  However, when I load up the docker GUI, I see nothing.   

So, I guess, there is no way to see the ETA to completion when automatically transcoding videos?

 

Is there some way to set up some sort of notification when the files are done transcoding?

click on the docker and click logs. It will show you the completed percent as it works along.

Link to comment
59 minutes ago, CoZ said:

So I'm doing my first test of this by moving a video file to the "Watch" folder, checked the UnRaid dashboard and can see my CPUs maxing out so I knew it must be working.  However, when I load up the docker GUI, I see nothing.   

So, I guess, there is no way to see the ETA to completion when automatically transcoding videos?

 

Is there some way to set up some sort of notification when the files are done transcoding?

You are able to see the progress if you pull up the log for the docker container.

Link to comment
10 minutes ago, Squid said:

You can easily prioritize one container over another without limiting cores

 

https://forums.unraid.net/topic/57181-real-docker-faq/?page=2#comment-566087

 

Its just crazy what you can do today... exactly what im looking for, tho didnt found via googling Oo i just found that cpu pinning. (which i know already)

 

So if i understand it correct it does CPU / 1024 ?

 

1. If i set c=2 its the lowest number and thus the it would take 2 out of 1024 "CPU power".

 

2. When i wanna give plex a higher prio, i set it to 1024, which means 100% ?!?!  (i dont need to do that tho, bc 1024 is standard, right?)

 

3. I do put it under extra arguments, right?

 

4. i guess theres no way to give unraid more power?

 

Much thanks!

Edited by nuhll
Link to comment
2 minutes ago, nuhll said:

If i set c=2 its the lowest number and thus the it would take 2 out of 1024 "CPU power".

  

When i wanna give plex a higher prio, i set it to 1024, which means 100% ?!?! 

Set one to 2, and leave the other alone (defaults to 1024).  When both containers require all the cpu, Plex will basically take it all, and only leave the tiny fraction available for handbrake.  But, you also have to remember that all containers by default have a priority of 1024, so, assuming that Plex wants it all and another container wants it all, and handbrake wants it all at the same time then Plex and the other container will both split the CPU down the middle and leave a tiny fraction for handbrake.

Link to comment

yeah, i edited my post after thinking about it...^^

 

I want that handbrake can take all it wants if nothing else needs something.

 

Plex should always be highest prio, but i guess, sicne i never had problems - till handbrake - i dont need to change all the other dockers.

 

Is there such a command for unraid processes? :D

Link to comment

To imrove performance i enabled quick sync, and logfile shows its working:

[00:40:34] CPU: Intel(R) Core(TM) i3-4370 CPU @ 3.80GHz
[00:40:34]  - Intel microarchitecture Haswell
[00:40:34]  - logical processor count: 4
[00:40:34] Intel Quick Sync Video support: yes
 


Still, its about the same FPS and same CPU %... i selected h264 intel qsv.

 

Anything else i need to do? Oo Or is it just that slow...? avg of about 10 fps.

 

I played a little with QP and the speed preset.. didnt change too much Oo (i cant even really say if it change something)

 

Can anyeone suggest good settings for h264 intel qsv, good speed, good quality..? But i guess speed is more important for me then quality.

Edited by nuhll
Link to comment

EDIT:

I Found the problem... video -> level -> was set to auto -> i changed it to 2 and it works ... now 60-70fps... :) - up to 100

 

Anyway, could someone look over my settings or show how what they set it to?

 

-----

obsolete...

 

OKay, it seems like it didnt really took my settings even i saved them and it showed them correctly in GUI.

 

Ive created now a new preset but i get the following error:

[01:34:01] qsv_enc_init: using 'hardware (1) via VAAPI' implementation, API: 1.28
libva info: VAEncMiscParameterBufferQualityLevel.quality_level (4) out of range (max 2).
ERROR: encqsv: MFXVideoENCODE_EncodeFrameAsync failed (-17)
 

 

BufferQuality is set to 4 and it can max do 2.

 

Where the f i find these settings? xD

 


{
                    "AlignAVStart": true,
                    "AudioCopyMask": [
                        "copy:mp3",
                        "copy:aac",
                        "copy:ac3",
                        "copy:dts"
                    ],
                    "AudioEncoderFallback": "fdk_aac",
                    "AudioLanguageList": [
                        "deu",
                        "eng"
                    ],
                    "AudioList": [
                        {
                            "AudioBitrate": 160,
                            "AudioCompressionLevel": -1.0,
                            "AudioDitherMethod": "auto",
                            "AudioEncoder": "fdk_aac",
                            "AudioMixdown": "dpl2",
                            "AudioNormalizeMixLevel": false,
                            "AudioSamplerate": "auto",
                            "AudioTrackDRCSlider": 0.0,
                            "AudioTrackGainSlider": 0.0,
                            "AudioTrackQuality": 1.0,
                            "AudioTrackQualityEnable": false
                        },
                        {
                            "AudioBitrate": 640,
                            "AudioCompressionLevel": -1.0,
                            "AudioDitherMethod": "auto",
                            "AudioEncoder": "copy:ac3",
                            "AudioMixdown": "none",
                            "AudioNormalizeMixLevel": false,
                            "AudioSamplerate": "auto",
                            "AudioTrackDRCSlider": 0.0,
                            "AudioTrackGainSlider": 0.0,
                            "AudioTrackQuality": -1.0,
                            "AudioTrackQualityEnable": false
                        }
                    ],
                    "AudioSecondaryEncoderMode": true,
                    "AudioTrackSelectionBehavior": "all",
                    "ChapterMarkers": true,
                    "ChildrenArray": [],
                    "Default": false,
                    "FileFormat": "av_mp4",
                    "Folder": false,
                    "FolderOpen": false,
                    "InlineParameterSets": false,
                    "Mp4HttpOptimize": false,
                    "Mp4iPodCompatible": false,
                    "PictureAutoCrop": true,
                    "PictureBottomCrop": 0,
                    "PictureCombDetectCustom": "",
                    "PictureCombDetectPreset": "default",
                    "PictureDARWidth": 0,
                    "PictureDeblock": 0,
                    "PictureDeblockCustom": "qp=0:mode=2",
                    "PictureDeinterlaceCustom": "",
                    "PictureDeinterlaceFilter": "decomb",
                    "PictureDeinterlacePreset": "default",
                    "PictureDenoiseCustom": "",
                    "PictureDenoiseFilter": "off",
                    "PictureDenoisePreset": "",
                    "PictureDenoiseTune": "none",
                    "PictureDetelecine": "off",
                    "PictureDetelecineCustom": "",
                    "PictureForceHeight": 0,
                    "PictureForceWidth": 0,
                    "PictureHeight": 0,
                    "PictureItuPAR": false,
                    "PictureKeepRatio": true,
                    "PictureLeftCrop": 0,
                    "PictureLooseCrop": false,
                    "PictureModulus": 2,
                    "PicturePAR": "auto",
                    "PicturePARHeight": 720,
                    "PicturePARWidth": 853,
                    "PictureRightCrop": 0,
                    "PictureRotate": "disable=1",
                    "PictureSharpenCustom": "",
                    "PictureSharpenFilter": "off",
                    "PictureSharpenPreset": "",
                    "PictureSharpenTune": "",
                    "PictureTopCrop": 0,
                    "PictureWidth": 0,
                    "PresetDescription": "High quality H.264 video (up to 1080p30), AAC stereo audio, and Dolby Digital (AC-3) surround audio, in an MP4 container.",
                    "PresetName": "h264intelqsv",
                    "SubtitleAddCC": false,
                    "SubtitleAddForeignAudioSearch": true,
                    "SubtitleAddForeignAudioSubtitle": true,
                    "SubtitleBurnBDSub": true,
                    "SubtitleBurnBehavior": "foreign",
                    "SubtitleBurnDVDSub": true,
                    "SubtitleLanguageList": [
                        "deu",
                        "eng"
                    ],
                    "SubtitleTrackSelectionBehavior": "all",
                    "Type": 1,
                    "UsesPictureFilters": true,
                    "UsesPictureSettings": 2,
                    "VideoAvgBitrate": 9000,
                    "VideoColorMatrixCode": 0,
                    "VideoEncoder": "qsv_h264",
                    "VideoFramerate": "auto",
                    "VideoFramerateMode": "vfr",
                    "VideoGrayScale": false,
                    "VideoLevel": "auto",
                    "VideoOptionExtra": "",
                    "VideoPreset": "balanced",
                    "VideoProfile": "main",
                    "VideoQSVAsyncDepth": 4,
                    "VideoQSVDecode": false,
                    "VideoQualitySlider": 18.0,
                    "VideoQualityType": 2,
                    "VideoScaler": "swscale",
                    "VideoTune": "",
                    "VideoTurboTwoPass": false,
                    "VideoTwoPass": true,
                    "x264Option": "",
                    "x264UseAdvancedOptions": false
                }

 

I tried to set the only 4 to 2, which didnt helped (videoqsvasyndepth)

Edited by nuhll
Link to comment
1 hour ago, nuhll said:

EDIT:

I Found the problem... video -> level -> was set to auto -> i changed it to 2 and it works ... now 60-70fps... :) - up to 100

 

Anyway, could someone look over my settings or show how what they set it to?

 

-----

obsolete...

 

OKay, it seems like it didnt really took my settings even i saved them and it showed them correctly in GUI.

 

Ive created now a new preset but i get the following error:

[01:34:01] qsv_enc_init: using 'hardware (1) via VAAPI' implementation, API: 1.28
libva info: VAEncMiscParameterBufferQualityLevel.quality_level (4) out of range (max 2).
ERROR: encqsv: MFXVideoENCODE_EncodeFrameAsync failed (-17)
 

 

BufferQuality is set to 4 and it can max do 2.

 

Where the f i find these settings? xD

 


{
                    "AlignAVStart": true,
                    "AudioCopyMask": [
                        "copy:mp3",
                        "copy:aac",
                        "copy:ac3",
                        "copy:dts"
                    ],
                    "AudioEncoderFallback": "fdk_aac",
                    "AudioLanguageList": [
                        "deu",
                        "eng"
                    ],
                    "AudioList": [
                        {
                            "AudioBitrate": 160,
                            "AudioCompressionLevel": -1.0,
                            "AudioDitherMethod": "auto",
                            "AudioEncoder": "fdk_aac",
                            "AudioMixdown": "dpl2",
                            "AudioNormalizeMixLevel": false,
                            "AudioSamplerate": "auto",
                            "AudioTrackDRCSlider": 0.0,
                            "AudioTrackGainSlider": 0.0,
                            "AudioTrackQuality": 1.0,
                            "AudioTrackQualityEnable": false
                        },
                        {
                            "AudioBitrate": 640,
                            "AudioCompressionLevel": -1.0,
                            "AudioDitherMethod": "auto",
                            "AudioEncoder": "copy:ac3",
                            "AudioMixdown": "none",
                            "AudioNormalizeMixLevel": false,
                            "AudioSamplerate": "auto",
                            "AudioTrackDRCSlider": 0.0,
                            "AudioTrackGainSlider": 0.0,
                            "AudioTrackQuality": -1.0,
                            "AudioTrackQualityEnable": false
                        }
                    ],
                    "AudioSecondaryEncoderMode": true,
                    "AudioTrackSelectionBehavior": "all",
                    "ChapterMarkers": true,
                    "ChildrenArray": [],
                    "Default": false,
                    "FileFormat": "av_mp4",
                    "Folder": false,
                    "FolderOpen": false,
                    "InlineParameterSets": false,
                    "Mp4HttpOptimize": false,
                    "Mp4iPodCompatible": false,
                    "PictureAutoCrop": true,
                    "PictureBottomCrop": 0,
                    "PictureCombDetectCustom": "",
                    "PictureCombDetectPreset": "default",
                    "PictureDARWidth": 0,
                    "PictureDeblock": 0,
                    "PictureDeblockCustom": "qp=0:mode=2",
                    "PictureDeinterlaceCustom": "",
                    "PictureDeinterlaceFilter": "decomb",
                    "PictureDeinterlacePreset": "default",
                    "PictureDenoiseCustom": "",
                    "PictureDenoiseFilter": "off",
                    "PictureDenoisePreset": "",
                    "PictureDenoiseTune": "none",
                    "PictureDetelecine": "off",
                    "PictureDetelecineCustom": "",
                    "PictureForceHeight": 0,
                    "PictureForceWidth": 0,
                    "PictureHeight": 0,
                    "PictureItuPAR": false,
                    "PictureKeepRatio": true,
                    "PictureLeftCrop": 0,
                    "PictureLooseCrop": false,
                    "PictureModulus": 2,
                    "PicturePAR": "auto",
                    "PicturePARHeight": 720,
                    "PicturePARWidth": 853,
                    "PictureRightCrop": 0,
                    "PictureRotate": "disable=1",
                    "PictureSharpenCustom": "",
                    "PictureSharpenFilter": "off",
                    "PictureSharpenPreset": "",
                    "PictureSharpenTune": "",
                    "PictureTopCrop": 0,
                    "PictureWidth": 0,
                    "PresetDescription": "High quality H.264 video (up to 1080p30), AAC stereo audio, and Dolby Digital (AC-3) surround audio, in an MP4 container.",
                    "PresetName": "h264intelqsv",
                    "SubtitleAddCC": false,
                    "SubtitleAddForeignAudioSearch": true,
                    "SubtitleAddForeignAudioSubtitle": true,
                    "SubtitleBurnBDSub": true,
                    "SubtitleBurnBehavior": "foreign",
                    "SubtitleBurnDVDSub": true,
                    "SubtitleLanguageList": [
                        "deu",
                        "eng"
                    ],
                    "SubtitleTrackSelectionBehavior": "all",
                    "Type": 1,
                    "UsesPictureFilters": true,
                    "UsesPictureSettings": 2,
                    "VideoAvgBitrate": 9000,
                    "VideoColorMatrixCode": 0,
                    "VideoEncoder": "qsv_h264",
                    "VideoFramerate": "auto",
                    "VideoFramerateMode": "vfr",
                    "VideoGrayScale": false,
                    "VideoLevel": "auto",
                    "VideoOptionExtra": "",
                    "VideoPreset": "balanced",
                    "VideoProfile": "main",
                    "VideoQSVAsyncDepth": 4,
                    "VideoQSVDecode": false,
                    "VideoQualitySlider": 18.0,
                    "VideoQualityType": 2,
                    "VideoScaler": "swscale",
                    "VideoTune": "",
                    "VideoTurboTwoPass": false,
                    "VideoTwoPass": true,
                    "x264Option": "",
                    "x264UseAdvancedOptions": false
                }

 

I tried to set the only 4 to 2, which didnt helped (videoqsvasyndepth)

I think that VAEncMiscParameterBufferQualityLevel.quality_level is related to the "VideoPreset" setting.

When you change the video encoder of a preset, try to just toggle the value of settings.  I've seen issues where some values were not reset correctly for the new encoder.

Link to comment
Just now, Djoss said:

I think that VAEncMiscParameterBufferQualityLevel.quality_level is related to the "VideoPreset" setting.

When you change the video encoder of a preset, try to just toggle the value of settings.  I've seen issues where some values were not reset correctly for the new encoder.

No, it was video -> level, this is standard to auto, if i set it to 2 it works... any recomm for settings?

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.