🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #668

Bug#1081512: ffmpeg hevc_vaapi issue with AMD GPU's

#668
From: Sebastian Ramacher
Date: Tue, 13 Oct 2026 07:40
47 lines
3262 bytes
Control: tags -1 moreinfo

On 2024-09-12 02:49:22 -0700, Terrance Hendrik wrote:
> Package: ffmpeg
> Version: 7:7.0.2-3
> 
> encoding 1080P videos, for example
> 
> ```
> ffmpeg -vaapi_device /dev/dri/renderD128 -s 1920x1080 -f rawvideo -pix_fmt
> rgb24 -r 24 -i /dev/zero -t 1 -pix_fmt yuv420p -vf "format=nv12,hwupload"
> -c:v hevc_vaapi -b_depth 2 -async_depth 16 -compression_level 13 -qp 28 -y
>  v.mp4
> ```
> or simply
> ```
> ffmpeg -vaapi_device /dev/dri/renderD128 -s 1920x1080 -f rawvideo -pix_fmt
> rgb24 -r 24 -i /dev/zero -t 1 -pix_fmt yuv420p -vf "format=nv12,hwupload"
> -c:v hevc_vaapi -y  v.mp4
> ```
> 
> will generate a video in 1920x1088, with a green(sometimes noise) bar
> under, seemingly 8 pixels high.
> 
> hevc_vaapi for Intel GPU, and hevc_nvencfor NVidia GPU has no such issue.
> 
> sometimes simpler command generates black padding.
> 
> encoding 2160 or 720 video has no such issue
> 1080 = 8 * 3**3 * 5
> 2160 = 16 * 3**3 * 5
> 720 = 16 * 3**2 * 5
> 
> workarounds:
> - pad video to x1088
> - crop video to x1072
> - stretch to 1088 and set SAR to 16:9

Sorry for the delay. This is not something that the Debian maintainers
can realistically handle. Please take this issue upstream if you can
still reproduce the issue with the current versions of ffmpeg in
unstable. The upstream bug tracker is at
https://code.ffmpeg.org/FFmpeg/FFmpeg/

Cheers
-- 
Sebastian Ramacher
Technical Details
Message-ID: <NNFh7-5e47-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <JlOMh-bJr3-3@gated-at.bofh.it> <JlOMh-bJr3-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Sebastian Ramacher <sramacher@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1081512: ffmpeg hevc_vaapi issue with AMD GPU's
Date: Tue, 13 Oct 2026 09:40:01 +0200
Message-ID: <NNFh7-5e47-1@gated-at.bofh.it>
References: <JlOMh-bJr3-3@gated-at.bofh.it> <JlOMh-bJr3-3@gated-at.bofh.it>
X-Original-To: Terrance Hendrik <terrance.hendrik@gmail.com>, 1081512@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Oct 13 07:34:12 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Sebastian Ramacher <sramacher@debian.org>, 1081512@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-multimedia@lists.debian.org
X-Debian-Pr-Message: followup 1081512
X-Debian-Pr-Package: ffmpeg
X-Debian-Pr-Source: ffmpeg, ffmpeg-debian, ffmpeg-free, libav
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: sramacher
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996514
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 47
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 13 Oct 2026 09:26:23 +0200
X-Original-Message-ID: <as3dH-yb_CnpY55m@ramacher.at>
X-Original-References: <CADoJnTSSOszRetHeY9HSCw_ptAP7UpL+0k4Tu32v7S05fF4uEQ@mail.gmail.com> <CADoJnTSSOszRetHeY9HSCw_ptAP7UpL+0k4Tu32v7S05fF4uEQ@mail.gmail.com>