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 <[email protected]> on behalf of Kieran O Leary <[email protected]> Sent: Monday, November 6, 2017 11:49 AM To: FFmpeg user questions Subject: Re: [FFmpeg-user] Lossless h265/YUV420 Hi On Mon, Nov 6, 2017 at 9:39 AM, Jakob Schneider <[email protected]> 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 [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
