Re: [FFmpeg-devel] [PATCH V2 3/3] avfilter/vf_dnn_processing.c: add frame size change support for planar yuv format

2020-03-11 Thread Guo, Yejun
> -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

Re: [FFmpeg-devel] [PATCH V2 3/3] avfilter/vf_dnn_processing.c: add frame size change support for planar yuv format

2020-03-06 Thread Pedro Arthur
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

Re: [FFmpeg-devel] [PATCH V2 3/3] avfilter/vf_dnn_processing.c: add frame size change support for planar yuv format

2020-03-06 Thread Pedro Arthur
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 > >

Re: [FFmpeg-devel] [PATCH V2 3/3] avfilter/vf_dnn_processing.c: add frame size change support for planar yuv format

2020-03-05 Thread Guo, Yejun
> -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

Re: [FFmpeg-devel] [PATCH V2 3/3] avfilter/vf_dnn_processing.c: add frame size change support for planar yuv format

2020-03-05 Thread myp...@gmail.com
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 ?

Re: [FFmpeg-devel] [PATCH V2 3/3] avfilter/vf_dnn_processing.c: add frame size change support for planar yuv format

2020-03-05 Thread Guo, Yejun
> -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

[FFmpeg-devel] [PATCH V2 3/3] avfilter/vf_dnn_processing.c: add frame size change support for planar yuv format

2020-02-25 Thread Guo, Yejun
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: