[FFmpeg-user] Lossless h265/YUV420

Kieran O Leary kieran.o.leary at gmail.com
Mon Nov 6 12:49:52 EET 2017


Hi

On Mon, Nov 6, 2017 at 9:39 AM, Jakob Schneider
<schneider_jakob145 at hotmail.com> wrote:
>
> Hi everyone,
>
> I am trying to use NVDEC to speed up my transfers of OpenGL related stuff (3D Objects), that means treat these objects as images and encode them. As stated at https://developer.nvidia.com/nvidia-video-codec-sdk#NVDECFeatures, NVDEC only supports the YUV420 pixel format, so I can’t put my numbers in RGB – Image files and encode them.
>
> My question is, is there a possibility to create images with yuv420 pixel format, and feed these images to ffmpeg, or do I have to write my own program, where I put my data in the YUV planes and encode them?
>

Use -pix_fmt yuv420p to get ffmpeg to output images with that pixel
format, if you'd like to add an intermediate step for ffmpeg to
process your images.
I am most likely taking an overly simplistic approach to your question.


More information about the ffmpeg-user mailing list