On 1/26/16, Andy Furniss <[email protected]> wrote: > Moritz Barsnick wrote: >> On Tue, Jan 26, 2016 at 15:43:45 +0000, Andy Furniss wrote: >>> Is it possible via ffmpeg with libzimg to convert yuv -> rgb or is >>> zscale just for scaling and the Colorspace bits not >>> implemented/need some different filter? >> >> From looking at the code, it seems to be implemented. (I don't use >> zimg.) I have no idea how libzimg handles interlaced... >> >> Have you tried? Or are you considering whether to integrate libzimg >> into your build? > > Well I got as far as building with the lib doing > > ffmpeg -h full | grep zscale -A 100 plus looking at the web help but > though I can see plenty of options for colorspace "stuff" I couldn't > really see anything that specified I wanted yuv -> rgb or how to specify > interlaced. > > The github readme does specifically mention yuv -> rgb and the > doc/ecamples folder mentiones interlaced. > > I did a quick ffmpeg -loglevel debug -i yuv -vf zscale out.png in case > ffmpeg would automagically use it for the transform but it doesn't. > > Maybe there is some way - or maybe not, I thought I would ask before > doing my usual ffmpeg game of trying many many options/variants in the > hope that eventually something will work :-)
ffmpeg -i yuv -vf zscale,format=gbrp out.png for hight bit depth: ffmpeg -i yuv -vf zscale,format=gbrp16le out.png _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
