From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 73A8545048 for ; Fri, 30 Dec 2022 18:42:27 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7046868BB5A; Fri, 30 Dec 2022 20:42:23 +0200 (EET) Received: from btbn.de (btbn.de [136.243.74.85]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6B7B868B305 for ; Fri, 30 Dec 2022 20:42:17 +0200 (EET) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id CA65F1F61EB for ; Fri, 30 Dec 2022 19:42:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1672425734; 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: in-reply-to:in-reply-to:references:references; bh=496SDu+26nyetepeYqeHv+XqDd3s3v7PokwVIBSbHS8=; b=nxggt4G0vJvdFsh9PdOHohc7A436bXUDpEstfcA3xtffmCmBoU5DIpR/cieeJ+dRqex5pq vLe1W6wZZRE6uCcqotn/APKayPiTnLDu2t1P2XQmAPoa8GAotPAW4ZmUhJVZ8HkCna23N0 6vx2Nt+6c57eKvm0ciniNwanB7V00OraT25wZWGOASC9ZNIdtuZgQYR4QxiRvVy2P7DiPs Bs/fVa2ojEanD/+CHvf4/BMakRyZMUe81CIb+wjpCNcXrW5FqI+h9BI4OsC4FND8MypbyU 01K9tGBEei4qLsl9kg47T4W9BWRKRvkTSbZ2rElHBHmo0BA8wbOrHLtLAF3dGA== Message-ID: <32295691-b60a-b17e-533d-a9233820fda8@rothenpieler.org> Date: Fri, 30 Dec 2022 19:42:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 To: ffmpeg-devel@ffmpeg.org References: Content-Language: en-US From: Timo Rothenpieler In-Reply-To: Subject: Re: [FFmpeg-devel] [RFC PATCH] avcodec/nvenc: add alpha layer encoding support X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 30.12.2022 18:50, Zhao Zhili wrote: > From: Zhao Zhili > > Signed-off-by: Zhao Zhili > --- > I need help. A lot of things doesn't work as Nvidia's doc: > > 1. Global header is broken. NV_ENC_SEQUENCE_PARAM_PAYLOAD doesn't work with > multi SPS/PPS. It output VPS, SPS_0, SPS_1, PPS_0, with PPS_1 missing. > 2. NV_ENC_LOCK_BITSTREAM.alphaLayerSizeInBytes is always 0, although the data is there. > 3. The alpha layer bitstream is corrupted. It can be decoded with a lot of errors. I had played around with this before as well:> https://github.com/BtbN/FFmpeg/commit/589f96f2a3fb0cc719d76555f09f1bc1e8cb0403 But my conclusion was similar. The feature seems to be half broken and on top of that poorly specified. I eventually gave up investigating and just concluded it was broken. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".