From nobody Tue Nov 19 13:04:14 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xt4Sv0P3bz5f1SF for ; Tue, 19 Nov 2024 13:04:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xt4St3Z2tz4sXL for ; Tue, 19 Nov 2024 13:04:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732021454; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Y8i91NLDhoh8Q4OlnT21tWsBmx5NINjUCdR0WkY0cOc=; b=CFPaoaKpn0IPhSXj59m50w0uNOykGVtotCZ7BUvB/LkqnSbNnoBh+Gdnw7opEl0FPPNZ61 uXADRhKMjGfll5oT113Y0NCkZk8wqVRbb1JQDrxRXHQoDObmOt40GGRe9qcMQ5BqZvtevq xTlcMLxzZ7VpHb8892UlF0b/ZMMBi1u4PWZuMqVe1hyDk7adwcCx/IcR9rA9zQokadthQM dPWVtyS4QUz8g4W0qxinJJk3u9ayC10sgxDq7Sq9WrSiU7AINPiEdbV90i6oRrQUzkem9p T8mq0NlujzJdjnw9H5katsCadlKn2+q42ozQJmG/k5sEbUXSdyaYdWlkTNhIaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732021454; a=rsa-sha256; cv=none; b=A81GBu/CrM0RdtO+mlVTVsmJIVTQuJOYjUKjpIbLKn6msSJpzdtvQ4X6gl6BZjzDFe9ei9 a4a33zXjUq675iDrl0WtBEmzDYwVNDcH0SUg1FJZX1LhKQOODNqrnNlbqlvVy1RVgbqOhv QJc8mEFUxmEZoymdJ28WXSDlt7ByaPPRJeKlWWQzIU1omqw7Xu9W6+A+1ggazdlbYMtCyH i4n6hmoYUbJPXx1DBfprcUEK+jaAA8inNhcq9QUwLtsig4CtPTGLiqKwDgMsPqbSsanjcn DOtvx6m5WTR6Cn8zxKdl08625qBm9IKlO66CDJGtfdlEaejtH+dbzm3NyEKViw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xt4St39VTz1Qhr for ; Tue, 19 Nov 2024 13:04:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4AJD4ExE009458 for ; Tue, 19 Nov 2024 13:04:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AJD4EYm009457 for ports-bugs@FreeBSD.org; Tue, 19 Nov 2024 13:04:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 282862] Recoding a video using multimedia/ffmpeg + vaapi creates too large files Date: Tue, 19 Nov 2024 13:04:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: shamaz.mazum@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282862 Bug ID: 282862 Summary: Recoding a video using multimedia/ffmpeg + vaapi creates too large files Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: multimedia@FreeBSD.org Reporter: shamaz.mazum@gmail.com Flags: maintainer-feedback?(multimedia@FreeBSD.org) Assignee: multimedia@FreeBSD.org Hi. When recoding a video with GPU acceleration, an output has too big size despite quality settings (about 1 GB per minute), but the video itself is O= K. How to reproduce (be sure not to run to completion!): ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format -i input.mp4 -c:a copy -c:v hevc_vaapi -qp 20 output= .mp4 hevc_vaapi can be replaced with h264_vaapi as well. System info: FreeBSD 14.1-RELEASE-p6 sway 1.10 ffmpeg 6.1.2_5,1 mesa-dri/-libs/-gallium-va 24.1.7 libva(-utils) 2.22.0 Video card: AMD Radeon RX 6600 XT drm-61-kmod 6.1.92_2 gpu-firmware-amd-kmod-dimgrey-cavefish 20230625_2 vainfo output: vasily@vonbraun:~ % vainfo Trying display: wayland libva info: VA-API version 1.22.0 libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_22 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.22 (libva 2.22.0) vainfo: Driver version: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6600 XT (radeonsi, navi23, LLVM 15.0.7, DRM 3.49, 14.1-RELEASE-p6) vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileJPEGBaseline : VAEntrypointVLD VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointVLD VAProfileAV1Profile0 : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc --=20 You are receiving this mail because: You are the assignee for the bug.=