From nobody Tue Nov 19 13:04:14 2024 X-Original-To: multimedia@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 4Xt4Sv0PqXz5f1SG 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 4Xt4St47yhz4sPM 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=Ruy/io4ptNf6bK0L9goVs4I1xFkrVrNy5Ini3iEXUAUUk7SQt4HL7/bQxvxt3S76WV0mBg zTyXgeyXtKghXPQbNzgdIDMfZZKrUgF564YeF/p7FOZ6d23P5567NfbivxngBxT8C7N0iv 2VMj7vMSYutgd3krfaCL5IaqJekHEUo+VDi9wuTnwpcjYo8oRoIWb1qGiV8jsiE4+aAgx9 pGlaJmtaSLeu5I6G7WP2L1DYehCQewYjqLsNlM873VEIKDKwyCN3EKzsHDC3tJhFAKjekb rYhe8ke8K99+R161j73K5zUYSeZkh4sSDl148W2L/zy8sHMwJZokNs1CVA7J5Q== 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=PQEQTagyJaLA7ZRU0Z1qzBCGSlrpYdYhJS1xKuWwkR7Rz1Ekk6d8I7EnAFPjs+w/jCxUBQ 0UO99JAPG92NdTTNy4MoygRQrcU8BbA0a/STn7lKqIFfKXsBsZRnKNaDNegAWJ8dXxNyBM zu2UqoSUYLaziC9fDM5qZphxGAYregza0jc4KZX+SMQu0rtxwVgCn/Ujsmnisck8MX+dBc rEkIu5vLKbODQFW+Oz4kr2SQsYf8ckOhyZI+JidVfyQq8t5bEpF4NQbcQitHnZeLoxjx01 oTRy8IGp+U/VRD2xgc+nj4/i1t4aIq9nJTAfEZPe9J6ZsdwUH/m3rXg7Aek91A== 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 4Xt4St3lY7z1QSV 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 4AJD4ERc009462 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 4AJD4Ebd009461 for multimedia@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: multimedia@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: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@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.=