Hi On Mon, Nov 6, 2017 at 9:39 AM, Jakob Schneider <schneider_jakob...@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@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".