jlesage / docker-handbrake

Docker container for HandBrake
MIT License
769 stars 90 forks source link

[Bug] Automate to av1_qsv make 0kb file. (Using Intel Arc VGA) #347

Open asksn0w opened 1 month ago

asksn0w commented 1 month ago

Current Behavior

When Using automate av1 qsv make 0kb file. even default preset name as 'AV1 QSV 2160p60 4K'.

Expected Behavior

return nomal encorded file.

Steps To Reproduce

  1. Make av1 setting like this.
  2. Automate conversion.
  3. Result 0kb.
{
    "PresetList": [
        {
            "AlignAVStart": false,
            "AudioCopyMask": [
                "copy:aac"
            ],
            "AudioEncoderFallback": "none",
            "AudioLanguageList": [],
            "AudioList": [
                {
                    "AudioBitrate": 160,
                    "AudioCompressionLevel": -1.0,
                    "AudioDitherMethod": "auto",
                    "AudioEncoder": "fdk_aac",
                    "AudioMixdown": "stereo",
                    "AudioNormalizeMixLevel": false,
                    "AudioSamplerate": "auto",
                    "AudioTrackDRCSlider": 0.0,
                    "AudioTrackGainSlider": 0.0,
                    "AudioTrackQuality": 1.0,
                    "AudioTrackQualityEnable": false
                }
            ],
            "AudioSecondaryEncoderMode": true,
            "AudioTrackSelectionBehavior": "first",
            "ChapterMarkers": true,
            "ChildrenArray": [],
            "Default": false,
            "FileFormat": "av_mkv",
            "Folder": false,
            "FolderOpen": false,
            "InlineParameterSets": false,
            "MetadataPassthrough": true,
            "Mp4iPodCompatible": false,
            "Optimize": false,
            "PictureAllowUpscaling": false,
            "PictureAutoCrop": true,
            "PictureBottomCrop": 0,
            "PictureChromaSmoothCustom": "",
            "PictureChromaSmoothPreset": "off",
            "PictureChromaSmoothTune": "none",
            "PictureColorspaceCustom": "",
            "PictureColorspacePreset": "off",
            "PictureCombDetectCustom": "",
            "PictureCombDetectPreset": "off",
            "PictureCropMode": 2,
            "PictureDARWidth": 1280,
            "PictureDeblockCustom": "strength=strong:thresh=20:blocksize=8",
            "PictureDeblockPreset": "off",
            "PictureDeblockTune": "medium",
            "PictureDeinterlaceCustom": "",
            "PictureDeinterlaceFilter": "off",
            "PictureDeinterlacePreset": "",
            "PictureDenoiseCustom": "",
            "PictureDenoiseFilter": "off",
            "PictureDenoisePreset": "",
            "PictureDenoiseTune": "none",
            "PictureDetelecine": "off",
            "PictureDetelecineCustom": "",
            "PictureForceHeight": 0,
            "PictureForceWidth": 0,
            "PictureHeight": 720,
            "PictureItuPAR": false,
            "PictureKeepRatio": true,
            "PictureLeftCrop": 0,
            "PictureModulus": 2,
            "PicturePAR": "auto",
            "PicturePARHeight": 1,
            "PicturePARWidth": 1,
            "PicturePadBottom": 0,
            "PicturePadColor": "black",
            "PicturePadLeft": 0,
            "PicturePadMode": "none",
            "PicturePadRight": 0,
            "PicturePadTop": 0,
            "PictureRightCrop": 0,
            "PictureRotate": "angle=0:hflip=0",
            "PictureSharpenCustom": "",
            "PictureSharpenFilter": "off",
            "PictureSharpenPreset": "",
            "PictureSharpenTune": "",
            "PictureTopCrop": 0,
            "PictureUseMaximumSize": true,
            "PictureWidth": 1280,
            "PresetDescription": "Intel Quick Sync Video hardware accelerated AV1 video (up to 2160p) and AAC stereo audio, in an MP4 container.",
            "PresetDisabled": false,
            "PresetName": "AV1",
            "SubtitleAddCC": false,
            "SubtitleAddForeignAudioSearch": false,
            "SubtitleAddForeignAudioSubtitle": false,
            "SubtitleBurnBDSub": false,
            "SubtitleBurnBehavior": "none",
            "SubtitleBurnDVDSub": false,
            "SubtitleLanguageList": [],
            "SubtitleTrackSelectionBehavior": "none",
            "Type": 1,
            "UsesPictureFilters": true,
            "VideoAvgBitrate": 6500,
            "VideoColorMatrixCodeOverride": 0,
            "VideoEncoder": "qsv_av1",
            "VideoFramerate": "auto",
            "VideoFramerateMode": "vfr",
            "VideoGrayScale": false,
            "VideoHWDecode": 0,
            "VideoLevel": "auto",
            "VideoMultiPass": false,
            "VideoOptionExtra": "",
            "VideoPreset": "balanced",
            "VideoProfile": "auto",
            "VideoQSVDecode": true,
            "VideoQualitySlider": 24.0,
            "VideoQualityType": 2,
            "VideoScaler": "swscale",
            "VideoTune": "",
            "VideoTurboMultiPass": false,
            "x264Option": "",
            "x264UseAdvancedOptions": false
        }
    ],
    "VersionMajor": 53,
    "VersionMicro": 0,
    "VersionMinor": 0
}

Environment

Container creation

docker setting

Container log

------- CONVERSION OUTPUT Sun May 19 22:50:37 KST 2024 -------
[22:50:37] Compile-time hardening features are enabled
Cannot load libnvidia-encode.so.1
libva info: VA-API version 1.16.0
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
libva info: VA-API version 1.16.0
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
[22:50:37] hb_display_init: attempting VA driver 'iHD'
libva info: VA-API version 1.16.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
libva info: VA-API version 1.16.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
libva info: VA-API version 1.16.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
[22:50:37] hb_display_init: using VA driver 'iHD'
libva info: VA-API version 1.16.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
[22:50:37] qsv: is available on this system
[22:50:37] hb_init: starting libhb thread
[22:50:37] thread 7f2b27f97b38 started ("libhb")
HandBrake 1.7.2 (2023122500) - Linux x86_64 - https://handbrake.fr
20 CPUs detected
Opening /watch/your_desssert/your_desssert_Chaturbate_20240519-200922.mkv...
[22:50:37] CPU: Intel(R) Core(TM) i9-10900 CPU @ 2.80GHz
[22:50:37]  - Intel microarchitecture Comet Lake
[22:50:37]  - logical processor count: 20
[22:50:37] Intel Quick Sync Video support: yes
[22:50:37] Intel Quick Sync Video discrete adapter with index 0 and renderD128
[22:50:37] Impl mfx-gen library path: /usr/lib/libmfx-gen.so.1.2.9
[22:50:37]  - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[22:50:37]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[22:50:37]  - H.264 encoder: no
[22:50:37]  - H.265 encoder: no
[22:50:37]  - AV1 encoder: yes (8bit: yes, 10bit: yes)
[22:50:37]     - preferred implementation: hardware (any) via ANY
[22:50:37]     - capabilities (hardware):  lowpower bpyramid vsinfo masteringinfo cllinfo opt1 av1bitstream
[22:50:37] hb_scan: path=/watch/1.mkv, title_index=1
Input #0, matroska,webm, from '/watch/1.mkv':
  Metadata:
    ENCODER         : Lavf59.27.100
  Duration: 00:13:54.05, start: 0.000000, bitrate: 3005 kb/s
  Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1k tbn
    Metadata:
      DURATION        : 00:13:54.041000000
  Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp
    Metadata:
      DURATION        : 00:13:54.048000000
[22:50:37] scan: decoding previews for title 1
[22:50:37] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 Unknown (AAC LC, 2.0 ch)
[22:50:37] using container PAR 1:1
[22:50:37] scan: 10 previews, 1280x720, 30.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[22:50:37] scan: supported video decoders: avcodec qsv
[22:50:37] libhb: scan thread found 1 valid title(s)
+ Using preset: AV1 QSV 2160p 4K
+ title 1:
  + stream: /watch/1.mkv
  + duration: 00:13:54
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 30.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: duration 00:13:54
  + audio tracks:
    + 1, Unknown (AAC LC, 2.0 ch) (iso639-2: und)
  + subtitle tracks:
[22:50:37] Starting work at: Sun May 19 22:50:37 2024

[22:50:37] 1 job(s) to process
[22:50:37] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 160,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "fdk_aac",
                "Gain": 0.0,
                "Mixdown": "stereo",
                "NormalizeMixLevel": false,
                "PresetEncoder": "fdk_aac",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "none"
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 13,
                    "Seconds": 54,
                    "Ticks": 75064320
                },
                "Name": ""
            }
        ],
        "ChapterMarkers": false,
        "File": "/output/.dQzPm2/1.mkv",
        "InlineParameterSets": false,
        "Mux": "mkv",
        "Options": {
            "IpodAtom": false,
            "Optimize": false
        }
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 10,
                "Settings": {
                    "mode": 0
                }
            },
            {
                "ID": 19,
                "Settings": {
                    "crop-bottom": 0,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 0,
                    "height": 720,
                    "width": 1280
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "HWDecode": 0,
        "Path": "/watch/1.mkv",
        "Range": {
            "End": 1,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ChromaLocation": 1,
        "ColorInputFormat": 0,
        "ColorMatrix": 1,
        "ColorOutputFormat": 0,
        "ColorPrimaries": 1,
        "ColorRange": 1,
        "ColorTransfer": 1,
        "Encoder": "qsv_av1_10bit",
        "HardwareDecode": 0,
        "Level": "auto",
        "MultiPass": false,
        "Options": "",
        "Preset": "speed",
        "Profile": "auto",
        "QSV": {
            "AdapterIndex": 0,
            "AsyncDepth": 0,
            "Decode": true
        },
        "Quality": 24.0,
        "Tune": "",
        "Turbo": false
    }
}
[22:50:37] qsv: discrete qsv adapter with index 0 has been selected
[22:50:37] Starting Task: Encoding Pass
[22:50:37] work: skipping crop/scale filter
[22:50:37] job configuration:
[22:50:37]  * source
[22:50:37]    + /watch/1.mkv
[22:50:37]    + title 1, chapter(s) 1 to 1
[22:50:37]    + container: matroska,webm
[22:50:37]    + data rate: 3005 kbps
[22:50:37]  * destination
[22:50:37]    + /output/.dQzPm2/1.mkv
[22:50:37]    + container: Matroska (libavformat)
[22:50:37]  * video track
[22:50:37]    + decoder: h264_qsv 8-bit (yuv420p)
[22:50:37]    + filters
[22:50:37]      + Framerate Shaper (mode=0)
[22:50:37]        + frame rate: same as source (around 30.000 fps)
[22:50:37]      + Format (format=p010le)
[22:50:37]    + Output geometry
[22:50:37]      + storage dimensions: 1280 x 720
[22:50:37]      + pixel aspect ratio: 1 : 1
[22:50:37]      + display dimensions: 1280 x 720
[22:50:37]    + encoder: AV1 10-bit (Intel Media SDK)
[22:50:37]      + preset:  speed
[22:50:37]      + profile: auto
[22:50:37]      + level:   auto
[22:50:37]      + quality: 24.00 (QP)
[22:50:37]      + color profile: 1-1-1
[22:50:37]      + chroma location: left
[22:50:37]  * audio track 1
[22:50:37]    + decoder: Unknown (AAC LC, 2.0 ch) (track 1, id 0x1)
[22:50:37]      + samplerate: 48000 Hz
[22:50:37]    + mixdown: Stereo
[22:50:37]    + encoder: AAC (libfdk_aac)
[22:50:37]      + bitrate: 160 kbps, samplerate: 48000 Hz
[22:50:37] sync: expecting 25021 video frames
libva info: VA-API version 1.16.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
libva info: VA-API version 1.16.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
[22:50:37] hb_display_init: using VA driver 'iHD'
libva info: VA-API version 1.16.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
[22:50:37] encqsvInit: using encode-only via system memory (LowPower) path
[22:50:37] encqsvInit: AV1 Main profile @ level 3.1
[22:50:37] encqsvInit: TargetUsage 7 AsyncDepth 6
[22:50:37] encqsvInit: GopRefDist 8 GopPicSize 64 NumRefFrame 4 IdrInterval 0
[22:50:37] encqsvInit: BFramesMax 7 BRefType pyramid
[22:50:37] encqsvInit: RateControlMethod CQP with QPI 24 QPP 26 QPB 28
libva info: VA-API version 1.16.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
libva info: VA-API version 1.16.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0

Container inspect

No response

Anything else?

The Truenas make log

Enter and option from 1-9: [12635.851455] HandbrakeCLI[1860904] : segfault at 7fdd6472d00 ip 00007fdd6b11f575 sp ....
[12635.851455] Code: 48 ff c1 eb f3 c3 48 83 fa ...
[12635.851455] Process 1304(HandBrakeCLI) has RLIMIT_CORE set to 1
[12635.851455] Aborting core
asksn0w commented 1 month ago

When HandbrakeCLI with av1 qsv preset then Segmentation fault

I think docker image has no intel arc driver.

Here is my full conversion log

/tmp # /usr/bin/HandBrakeCLI -i /watch/sample_1280x720_surfing_with_audio.mkv  -o /output/test.mkv --preset-import-file /config/ghb/presets.json -Z AV1
  --enable-qsv-decoding
[05:59:43] Compile-time hardening features are enabled
Cannot load libnvidia-encode.so.1
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
[05:59:43] hb_display_init: attempting VA driver 'iHD'
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
[05:59:43] hb_display_init: using VA driver 'iHD'
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
[05:59:43] qsv: is available on this system
[05:59:43] hb_init: starting libhb thread
[05:59:43] thread 15191ffc1b38 started ("libhb")
HandBrake 1.7.3 (2024030500) - Linux x86_64 - https://handbrake.fr
4 CPUs detected
Opening /watch/sample_1280x720_surfing_with_audio.mkv...
[05:59:43] CPU: Intel(R) Core(TM) i9-10900 CPU @ 2.80GHz
[05:59:43]  - Intel microarchitecture Comet Lake
[05:59:43]  - logical processor count: 4
[05:59:43] Intel Quick Sync Video support: yes
[05:59:43] Intel Quick Sync Video discrete adapter with index 0 and renderD128
[05:59:43] Impl mfx-gen library path: /usr/lib/libmfx-gen.so.1.2.9
[05:59:43]  - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[05:59:43]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[05:59:43]  - H.264 encoder: yes
[05:59:43]     - preferred implementation: hardware (any) via ANY
[05:59:43]     - capabilities (hardware):  lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[05:59:43]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[05:59:43]     - preferred implementation: hardware (any) via ANY
[05:59:43]     - capabilities (hardware):  lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[05:59:43]  - AV1 encoder: yes (8bit: yes, 10bit: yes)
[05:59:43]     - preferred implementation: hardware (any) via ANY
[05:59:43]     - capabilities (hardware):  lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1 av1bitstream
[05:59:43] hb_scan: path=/watch/sample_1280x720_surfing_with_audio.mkv, title_index=1
Input #0, matroska,webm, from '/watch/sample_1280x720_surfing_with_audio.mkv':
  Metadata:
    COMPATIBLE_BRANDS: isomiso2avc1mp41
    MAJOR_BRAND     : mp42
    MINOR_VERSION   : 512
    ENCODER         : Lavf58.45.100
  Duration: 00:03:03.13, start: 0.000000, bitrate: 3111 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      HANDLER_NAME    : VideoHandler
      ENCODER         : Lavc58.91.100 libx264
      DURATION        : 00:03:03.061000000
  Stream #0:1(eng): Audio: vorbis, 48000 Hz, stereo, fltp (default)
    Metadata:
      HANDLER_NAME    : Stereo
      ENCODER         : Lavc58.91.100 libvorbis
      DURATION        : 00:03:03.129000000
[05:59:43] scan: decoding previews for title 1
[05:59:43] scan: audio 0x1: vorbis, rate=48000Hz, bitrate=1 English (Vorbis, 2.0 ch)
[05:59:43] using container PAR 1:1
[05:59:43] scan: 10 previews, 1280x720, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[05:59:43] scan: supported video decoders: avcodec qsv
[05:59:43] libhb: scan thread found 1 valid title(s)
+ Using preset: AV1
+ title 1:
  + stream: /watch/sample_1280x720_surfing_with_audio.mkv
  + duration: 00:03:03
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: duration 00:03:03
  + audio tracks:
    + 1, English (Vorbis, 2.0 ch) (iso639-2: eng)
  + subtitle tracks:
[05:59:43] Starting work at: Wed May 22 05:59:43 2024

[05:59:43] 1 job(s) to process
[05:59:43] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 160,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "fdk_aac",
                "Gain": 0.0,
                "Mixdown": "stereo",
                "NormalizeMixLevel": false,
                "PresetEncoder": "fdk_aac",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "none"
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 3,
                    "Ticks": 16481610
                },
                "Name": ""
            }
        ],
        "ChapterMarkers": false,
        "File": "/output/test.mkv",
        "InlineParameterSets": false,
        "Mux": "mkv",
        "Options": {
            "IpodAtom": false,
            "Optimize": false
        }
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 10,
                "Settings": {
                    "mode": 0
                }
            },
            {
                "ID": 19,
                "Settings": {
                    "crop-bottom": 0,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 0,
                    "height": 720,
                    "width": 1280
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "HWDecode": 0,
        "Path": "/watch/sample_1280x720_surfing_with_audio.mkv",
        "Range": {
            "End": 1,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ChromaLocation": 1,
        "ColorInputFormat": 0,
        "ColorMatrix": 1,
        "ColorOutputFormat": 0,
        "ColorPrimaries": 1,
        "ColorRange": 1,
        "ColorTransfer": 1,
        "Encoder": "qsv_av1",
        "HardwareDecode": 0,
        "Level": "auto",
        "MultiPass": false,
        "Options": "",
        "Preset": "balanced",
        "Profile": "auto",
        "QSV": {
            "AdapterIndex": 0,
            "AsyncDepth": 0,
            "Decode": true
        },
        "Quality": 24.0,
        "Tune": "",
        "Turbo": false
    }
}
[05:59:43] qsv: discrete qsv adapter with index 0 has been selected
[05:59:43] Starting Task: Encoding Pass
[05:59:43] work: skipping crop/scale filter
[05:59:43] job configuration:
[05:59:43]  * source
[05:59:43]    + /watch/sample_1280x720_surfing_with_audio.mkv
[05:59:43]    + title 1, chapter(s) 1 to 1
[05:59:43]    + container: matroska,webm
[05:59:43]    + data rate: 3111 kbps
[05:59:43]  * destination
[05:59:43]    + /output/test.mkv
[05:59:43]    + container: Matroska (libavformat)
[05:59:43]  * video track
[05:59:43]    + decoder: h264_qsv 8-bit (yuv420p)
[05:59:43]    + filters
[05:59:43]      + Framerate Shaper (mode=0)
[05:59:43]        + frame rate: same as source (around 23.976 fps)
[05:59:43]      + Format (format=nv12)
[05:59:43]    + Output geometry
[05:59:43]      + storage dimensions: 1280 x 720
[05:59:43]      + pixel aspect ratio: 1 : 1
[05:59:43]      + display dimensions: 1280 x 720
[05:59:43]    + encoder: AV1 (Intel Media SDK)
[05:59:43]      + preset:  balanced
[05:59:43]      + profile: auto
[05:59:43]      + level:   auto
[05:59:43]      + quality: 24.00 (ICQ)
[05:59:43]      + color profile: 1-1-1
[05:59:43]      + chroma location: left
[05:59:43]  * audio track 1
[05:59:43]    + decoder: English (Vorbis, 2.0 ch) (track 1, id 0x1)
[05:59:43]      + samplerate: 48000 Hz
[05:59:43]    + mixdown: Stereo
[05:59:43]    + encoder: AAC (libfdk_aac)
[05:59:43]      + bitrate: 160 kbps, samplerate: 48000 Hz
[05:59:43] sync: expecting 4390 video frames
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
[05:59:43] hb_display_init: using VA driver 'iHD'
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
[05:59:43] encqsvInit: using encode-only via system memory (LowPower) path
[05:59:43] encqsvInit: AV1 Main profile @ level 3.1
[05:59:43] encqsvInit: TargetUsage 4 AsyncDepth 6
[05:59:43] encqsvInit: GopRefDist 8 GopPicSize 48 NumRefFrame 4 IdrInterval 0
[05:59:43] encqsvInit: BFramesMax 7 BRefType pyramid
[05:59:43] encqsvInit: RateControlMethod ICQ ICQQuality 24
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
Segmentation fault