Re: [FFmpeg-devel] [PATCH] avfilter/vf_transpose_npp: adding NV12 support to transpose_npp filter

2018-11-02 Thread Timo Rothenpieler

On 02/11/2018 13:35, Roman Arzumanyan wrote:

Hello,

This patch adds NV12 support to vf_transpose_npp filter.
Now filter can be used in nvdec -> nvenc transcoding scenarios like this:
ffmpeg -hwaccel cuvid -c:v h264_cuvid  -i input.h264 -c:v h264_nvenc -vf 
transpose_npp="dir=clock" -y output.h264

--
BR, Roman Arzumanyan


This was intentionally omitted to avoid code duplication with scale_npp.

What you can do right now is
-vf scale_npp=format=yuv420p,transpose_npp=dir=clock

Optionally another ,scale_npp=format=nv12 at the end, to go back to 
nv12. But as nvenc can take yuv420p input, this is not necessary in most 
cases.


This should perform the exact same operations as adding the 
de/interleaving functionality to the transpose_npp filter itself, and 
thus not perform worse in any way.




smime.p7s
Description: S/MIME Cryptographic Signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] [PATCH] avfilter/vf_transpose_npp: adding NV12 support to transpose_npp filter

2018-11-02 Thread Roman Arzumanyan
Hello,

This patch adds NV12 support to vf_transpose_npp filter.
Now filter can be used in nvdec -> nvenc transcoding scenarios like this:
ffmpeg -hwaccel cuvid -c:v h264_cuvid  -i input.h264 -c:v h264_nvenc -vf 
transpose_npp="dir=clock" -y output.h264

--
BR, Roman Arzumanyan


---
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
---


0001-Adding-NV12-support-to-transpose_npp-filter.patch
Description: 0001-Adding-NV12-support-to-transpose_npp-filter.patch
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel