8000 SVT-AV1 only using 50% CPU · Issue #407 · jlesage/docker-handbrake · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
SVT-AV1 only using 50% CPU #407
Open
@HazMatt69

Description

@HazMatt69

Current Behavior

SVT-AV1 only using 50% CPU (Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz, 16 cores)

Expected Behavior

SVT-AV1 using 100% CPU (Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz, 16 cores)

Steps To Reproduce

No response

Environment

  • OS: Debian
  • OS version: 12.10
  • CPU: (Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz, 16 cores)
  • Docker version: 28.1.1, build 4eba377
  • Device model:
  • Browser/OS:

Container creation

docker compose

Container log

HandBrake 1.9.2 (2025022400)
OS: Alpine Linux v3.19
Kernel: Linux 6.1.0-34-amd64 (x86_64)
CPU: Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz x 16
Install Dir: /usr/bin
Config Dir:  /config/.ghb
_______________________________

[08:16:34] Compile-time hardening features are enabled
Cannot load libnvidia-encode.so.1
[08:16:34] qsv: not available on this system
[08:16:34] hb_init: starting libhb thread
[08:16:34] hb_init: starting libhb thread
[08:16:34] hb_init: starting libhb thread
[11:50:09] gtkgui: Excluded extension jpg
[11:50:09] gtkgui: Excluded extension png
[11:50:09] gtkgui: Excluded extension srt
[11:50:09] gtkgui: Excluded extension ssa
[11:50:09] gtkgui: Excluded extension ass
[11:50:09] gtkgui: Excluded extension txt
[11:50:09] CPU: Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz
[11:50:09]  - logical processor count: 16
[11:50:09] Intel Quick Sync Video support: no
[11:50:09] hb_scan: path=, title_index=0
Input #0, matroska,webm, from '':
  Metadata:
    title           : 
    encoder         : libebml v1.4.5 + libmatroska v1.7.1
    creation_time   : 2025-04-23T08:03:52.000000Z
    IMDB            : tt0108358
    TMDB            : movie/11969
  Duration: 02:09:36.64, start: 0.000000, bitrate: 56850 kb/s
[11:50:09] scan: decoding previews for title 1
[11:50:09] scan: audio 0x2: ac3, rate=48000Hz, bitrate=192000 English (AC3, 2.0 ch, Dolby Surround, 192 kbps)
[11:50:09] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA, 5.1 ch)
[11:50:13] using container PAR 1:1
[11:50:13] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 264/264/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9, chroma location: topleft
[11:50:13] scan: mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.000100, max_luminance=1000.000000
[11:50:13] scan: content light level: max_cll=1111, max_fall=368
[11:50:13] scan: dolby vision configuration record: version: 1.0, profile: 7, level: 6, rpu flag: 1, el flag: 1, bl flag: 1, compatibility id: 6
[11:50:13] libhb: scan thread found 1 valid title(s)
[11:57:43] gtkgui: Modified Custom Preset: /General/HQ 2160p 4K AV1 AAC
[11:57:43] Starting work at: Sun May  4 11:57:43 2025

[11:57:43] 1 job(s) to process
[11:57:43] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 384,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "fdk_aac",
                "Gain": 0.0,
                "Mixdown": "5point1",
                "Name": "DTS-HD MA 5.1",
                "NormalizeMixLevel": false,
                "PresetEncoder": "fdk_aac",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "fdk_aac"
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 36,
                    "Ticks": 3220740
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 15,
                    "Ticks": 44549460
                },
                "Name": "”"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 6,
                    "Ticks": 11325060
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 34,
                    "Ticks": 40878360
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 49,
                    "Ticks": 36816750
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 15,
                    "Ticks": 6745500
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 9,
                    "Seconds": 33,
                    "Ticks": 51550290
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 35,
                    "Ticks": 24718410
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 2,
                    "Ticks": 27165870
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 4,
                    "Ticks": 16572870
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 31,
                    "Ticks": 40600530
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 10,
                    "Ticks": 44087760
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 27,
                    "Ticks": 7849080
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 4,
                    "Ticks": 32755230
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 36,
                    "Ticks": 46422630
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 11,
                    "Seconds": 13,
                    "Ticks": 60593040
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 16,
                    "Ticks": 12199680
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 55,
                    "Ticks": 26516520
                },
                "Name": "'"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 37,
                    "Ticks": 19496970
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 30,
                    "Ticks": 35112600
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 7,
                    "Ticks": 16812990
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 59,
                    "Ticks": 10746990
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 53,
                    "Ticks": 26392680
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 2,
                    "Ticks": 11017260
                },
                "Name": ""
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 28,
                    "Ticks": 45750690
                },
                "Name": ""
            }
        ],
        "ChapterMarkers": true,
        "File": "",
        "InlineParameterSets": false,
        "Mux": "mkv",
        "Options": {
            "IpodAtom": false,
            "Optimize": false
        }
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 11,
                "Settings": {
                    "mode": 1
                }
            },
            {
                "ID": 20,
                "Settings": {
                    "crop-bottom": 264,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 264,
                    "height": 1632,
                    "width": 3840
                }
            }
        ]
    },
    "Metadata": {
        "Name": ""
    },
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "HWDecode": 0,
        "KeepDuplicateTitles": false,
        "Path": "",
        "Range": {
            "End": 25,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": [
            {
                "Burn": false,
                "Default": false,
                "Forced": false,
                "Name": "English",
                "Track": 0
            }
        ]
    },
    "Video": {
        "ChromaLocation": 3,
        "ColorInputFormat": 0,
        "ColorMatrix": 9,
        "ColorOutputFormat": 0,
        "ColorPrimaries": 9,
        "ColorRange": 1,
        "ColorTransfer": 16,
        "ContentLightLevel": {
            "MaxCLL": 1111,
            "MaxFALL": 368
        },
        "DolbyVisionConfigurationRecord": {
            "BLPresentFlag": 1,
            "BLSignalCompatibilityId": 6,
            "DVLevel": 6,
            "DVProfile": 7,
            "DVVersionMajor": 1,
            "DVVersionMinor": 0,
            "ELPresentFlag": 1,
            "RPUPresentFlag": 1
        },
        "Encoder": "svt_av1_10bit",
        "HardwareDecode": 0,
        "Level": "auto",
        "MasteringDisplayColorVolume": {
            "DisplayPrimaries": [
                [
                    [
                        34000,
                        50000
                    ],
                    [
                        16000,
                        50000
                    ]
                ],
                [
                    [
                        13250,
                        50000
                    ],
                    [
                        34500,
                        50000
                    ]
                ],
                [
                    [
                        7500,
                        50000
                    ],
                    [
                        3000,
                        50000
                    ]
                ]
            ],
            "HasLuminance": true,
            "HasPrimaries": true,
            "MaxLuminance": [
                10000000,
                10000
            ],
            "MinLuminance": [
                1,
                10000
            ],
            "WhitePoint": [
                [
                    15635,
                    50000
                ],
                [
                    16450,
                    50000
                ]
            ]
        },
        "MultiPass": false,
        "Options": "tune=0:lookahead=96:mbr=10m:scd=1:enable-overlays=1:irefresh-type=2:asm=avx512:enable-tf=0:film-grain-denoise=0:film-grain=8:enable-qm=1:qm-min=0:qm-max=15",
        "Preset": "5",
        "Profile": "main",
        "QSV": {
            "AdapterIndex": 0,
            "AsyncDepth": 0,
            "Decode": false
        },
        "Quality": 25.0,
        "Tune": "",
        "Turbo": false
    }
}
[11:57:43] CPU: Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz
[11:57:43]  - logical processor count: 16
[11:57:43] Intel Quick Sync Video support: no
[11:57:43] scan: decoding previews for title 1
[11:57:43] scan: audio 0x2: ac3, rate=48000Hz, bitrate=192000 English (AC3, 2.0 ch, Dolby Surround, 192 kbps)
[11:57:43] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA, 5.1 ch)
[11:57:46] using container PAR 1:1
[11:57:46] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 264/264/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9, chroma location: topleft
[11:57:46] scan: mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.000100, max_luminance=1000.000000
[11:57:46] scan: content light level: max_cll=1111, max_fall=368
[11:57:46] scan: dolby vision configuration record: version: 1.0, profile: 7, level: 6, rpu flag: 1, el flag: 1, bl flag: 1, compatibility id: 6
[11:57:46] libhb: scan thread found 1 valid title(s)
[11:57:46] Starting Task: Encoding Pass
[11:57:46] job configuration:
[11:57:46]  * source
[11:57:46]    + 
[11:57:46]    + title 1, chapter(s) 1 to 25
[11:57:46]    + container: matroska,webm
[11:57:46]    + data rate: 56850 kbps
[11:57:46]  * destination
[11:57:46]    + 
[11:57:46]    + container: Matroska (libavformat)
[11:57:46]      + chapter markers
[11:57:46]  * video track
[11:57:46]    + decoder: hevc 10-bit (yuv420p10le)
[11:57:46]    + filters
[11:57:46]      + Framerate Shaper (mode=1)
[11:57:46]        + frame rate: 23.976 fps -> constant 23.976 fps
[11:57:46]      + Crop and Scale (width=3840:height=1632:crop-top=264:crop-bottom=264:crop-left=0:crop-right=0)
[11:57:46]        + source: 3840 * 2160, crop (264/264/0/0): 3840 * 1632, scale: 3840 * 1632
[11:57:46]      + RPU converter (mode=11:scale-factor-x=1.000000:scale-factor-y=1.000000:crop-top=264:crop-bottom=264:crop-left=0:crop-right=0:pad-top=0:pad-bottom=0:pad-left=0:pad-right=0)
[11:57:46]    + Output geometry
[11:57:46]      + storage dimensions: 3840 x 1632
[11:57:46]      + pixel aspect ratio: 1 : 1
[11:57:46]      + display dimensions: 3840 x 1632
[11:57:46]    + encoder: AV1 10-bit (SVT)
[11:57:46]      + preset:  5
[11:57:46]      + options: tune=0:lookahead=96:mbr=10m:scd=1:enable-overlays=1:irefresh-type=2:asm=avx512:enable-tf=0:film-grain-denoise=0:film-grain=8:enable-qm=1:qm-min=0:qm-max=15
[11:57:46]      + profile: main
[11:57:46]      + level:   auto
[11:57:46]      + quality: 25.00 (RF)
[11:57:46]      + color profile: 9-16-9
[11:57:46]      + color range: tv
[11:57:46]      + chroma location: topleft
[11:57:46]      + mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.000100, max_luminance=1000.000000
[11:57:46]      + content light level: max_cll=1111, max_fall=368

5951
[11:57:46]      + dolby vision configuration record: version: 1.0, profile: 10, level: 6, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 1
[11:57:46]  * subtitle track 1, English (PGS) (track 0, id 0x3, Picture) -> Passthru
[11:57:46]    + name: English
[11:57:46]  * audio track 1
[11:57:46]    + name: DTS-HD MA 5.1
[11:57:46]    + decoder: English (DTS-HD MA, 5.1 ch) (track 1, id 0x1)
[11:57:46]      + samplerate: 48000 Hz
[11:57:46]    + mixdown: 5.1 Channels
[11:57:46]    + encoder: AAC (libfdk_aac)
[11:57:46]      + bitrate: 384 kbps, samplerate: 48000 Hz
[11:57:46] sync: expecting 186453 video frames
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v2.3.0
Svt[info]: SVT [build]  :	Alpine Clang 17.0.5	 64 bit
Svt[info]: -------------------------------------------
Svt[warn]: SVT-AV1 has an integrated mode decision mechanism to handle scene changes and will not insert a key frame at scene changes
Svt[info]: Level of Parallelism: 5
Svt[info]: Number of PPCS 135
Svt[info]: [asm level on system : up to avx512]
Svt[info]: [asm level selected : up to avx512]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 3840 / 1632 / 24000 / 1001
Svt[info]: SVT [config]: bit-depth / color format 					: 10 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct 					: 5 / VQ / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 245 / 32 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor / max bitrate (kbps)			: capped CRF / 25 / 10000
Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: film grain synth / denoising / level 				: 1 / 0 / 8
Svt[info]: -------------------------------------------
[11:57:47] sync: first pts video is 0
[11:57:47] sync: "Program Start" (1) at frame 1 time 0
[11:57:47] sync: first pts audio 0x1 is 0
[23:48:17] reader: done. 1 scr changes
[23:49:11] work: average encoding speed for job is 4.372287 fps
[23:49:11] vfr: 186453 frames output, 0 dropped and 0 duped for CFR/PFR
[23:49:11] vfr: lost time: 0 (0 frames)
[23:49:11] vfr: gained time: 0 (0 frames) (0 not accounted for)
[23:49:11] dca-decoder done: 729057 frames, 0 decoder errors
[23:49:11] hevc-decoder done: 186453 frames, 0 decoder errors
[23:49:11] sync: got 186453 frames, 186453 expected
[23:49:11] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
[23:49:12] mux: track 0, 186453 frames, 4414335554 bytes, 4541.10 kbps, fifo 4096
[23:49:12] mux: track 1, 364530 frames, 373278721 bytes, 384.00 kbps, fifo 8192
[23:49:12] mux: track 2, 2528 frames, 26117257 bytes, 26.87 kbps, fifo 64
[23:49:12] Finished work at: Sun May  4 23:49:12 2025
[23:49:12] libhb: work result = 0

Container inspect


Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0