[FFmpeg-devel] [PATCH] avfilter/vf_transpose_npp: adding NV12 support to transpose_npp filter
timo at rothenpieler.org
Fri Nov 2 14:40:18 EET 2018
On 02/11/2018 13:35, Roman Arzumanyan wrote:
> 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
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
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4538 bytes
Desc: S/MIME Cryptographic Signature
More information about the ffmpeg-devel