[FFmpeg-user] Lossless h265/YUV420

Jakob Schneider schneider_jakob145 at hotmail.com
Mon Nov 6 12:55:43 EET 2017

Ah no, sorry, the problem is, that I have non-image data (vectors coordinates) that I want to press into an image with the yuv420p pixel format, so that I can encode them with ffmpeg and later decode them with NVDEC and get my original data.

So it is not really a question regarding ffmpeg, more like a step before that.

I don't know if this is the right place to ask, but I thought maybe someone has faced something similar.
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> on behalf of Kieran O Leary <kieran.o.leary at gmail.com>
Sent: Monday, November 6, 2017 11:49 AM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] Lossless h265/YUV420


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.
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list