From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTP id B6C1043CB0
	for <ffmpegdev@gitmailbox.com>; Thu,  4 Aug 2022 23:46:01 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9B1F968BA23;
	Fri,  5 Aug 2022 02:45:59 +0300 (EEST)
Received: from mail.overt.org (mail.overt.org [157.230.92.47])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3C21168B915
 for <ffmpeg-devel@ffmpeg.org>; Fri,  5 Aug 2022 02:45:52 +0300 (EEST)
Received: from authenticated-user (mail.overt.org [157.230.92.47])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.overt.org (Postfix) with ESMTPSA id 131733F1DD
 for <ffmpeg-devel@ffmpeg.org>; Thu,  4 Aug 2022 18:45:50 -0500 (CDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=overt.org; s=mail;
 t=1659656751; bh=EupcYkpmmAJN+4tdWMw45Os717/wo4Jz8irY7Allf/4=;
 h=Date:From:To:Subject:In-Reply-To:References:From;
 b=oDIwZG8L8mqlGqg2dlaxWTd2tes8o+bNH0K27PMR4wVrXrWHhn8CP0cg4PTfS8Ww6
 So8KTB49aWY8v/GH9HbElypfhLf3JYAtHKQSu1MvmFiB6+uxA4UXtu4wMrtPolFaVk
 XRAeB/ABeoDXkKQE3ehnBP0xS28Z5qIGQ3LQ3WcKWDGLk1L4qNEDQtWfLTsBBITuhs
 wl8mV62PDgc/07Qpgodrd+XolDHV0WlfnzPKulGEO3ZxU4boB4eEiHmnb1AEUqTRUF
 P2ZSPHpHKg+EYkcLunLhJuRJYgaO6hdiV2W4L2Il/g6hMez9RiUHLVtZwlWqatpIq8
 wg0PCOuFlipQQ==
Date: Thu, 4 Aug 2022 16:45:48 -0700
From: Philip Langdale <philipl@overt.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Message-ID: <20220804164548.5d067484@fido7>
In-Reply-To: <20220804221819.3720-1-jamrial@gmail.com>
References: <20220804221819.3720-1-jamrial@gmail.com>
MIME-Version: 1.0
Subject: Re: [FFmpeg-devel] [PATCH] swscale/input: add VUYA input support
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20220804164548.5d067484@fido7/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

On Thu,  4 Aug 2022 19:18:19 -0300
James Almer <jamrial@gmail.com> wrote:

> Signed-off-by: James Almer <jamrial@gmail.com>
> ---
>  libswscale/input.c | 35 +++++++++++++++++++++++++++++++++++
>  libswscale/utils.c |  1 +
>  2 files changed, 36 insertions(+)

This appears to work fine, but in the testing process I've realised
that `ffmpeg` is not handling vaapi correctly and somehow requesting an
incompatible surface pool, so I did all my testing with mpv, where
everything works.

I tested by explicitly loading the lavfi format filter to convert to
yuva444p. Before your change, I got an error and after your change, mpv
gave me correct looking output.

--phil
_______________________________________________
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".