> -Original Message-
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of
> Pedro Arthur
> Sent: Saturday, March 07, 2020 1:25 AM
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH V2 3/3] avfilter/vf_dnn_process
Em sex., 6 de mar. de 2020 às 00:52, myp...@gmail.com
escreveu:
>
> On Tue, Feb 25, 2020 at 5:24 PM Guo, Yejun wrote:
> >
> > The Y channel is handled by dnn, and also resized by dnn. The UV channels
> > are resized with swscale.
> For me, this is a little weird to resize Y with dnn backend but
Em qui., 5 de mar. de 2020 às 20:57, Guo, Yejun escreveu:
>
>
>
> > -Original Message-
> > From: Guo, Yejun
> > Sent: Tuesday, February 25, 2020 5:15 PM
> > To: ffmpeg-devel@ffmpeg.org
> > Cc: Guo, Yejun
> > Subject: [PATCH V2 3/3] avfilter/vf_dnn_processing.c: add frame size change
> >
> -Original Message-
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of
> myp...@gmail.com
> Sent: Friday, March 06, 2020 10:49 AM
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH V2 3/3] avfilter/vf_dnn
On Tue, Feb 25, 2020 at 5:24 PM Guo, Yejun wrote:
>
> The Y channel is handled by dnn, and also resized by dnn. The UV channels
> are resized with swscale.
For me, this is a little weird to resize Y with dnn backend but resize
UV channel with FFmpeg swscale, is it used the same scale algorithm ?
> -Original Message-
> From: Guo, Yejun
> Sent: Tuesday, February 25, 2020 5:15 PM
> To: ffmpeg-devel@ffmpeg.org
> Cc: Guo, Yejun
> Subject: [PATCH V2 3/3] avfilter/vf_dnn_processing.c: add frame size change
> support for planar yuv format
>
> The Y channel is handled by dnn, and also
The Y channel is handled by dnn, and also resized by dnn. The UV channels
are resized with swscale.
The command to use espcn.pb (see vf_sr) looks like:
./ffmpeg -i 480p.jpg -vf
format=yuv420p,dnn_processing=dnn_backend=tensorflow:model=espcn.pb:input=x:output=y
-y tmp.espcn.jpg
Signed-off-by: