[FFmpeg-user] ffmpeg -layer flag

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Jan 18 04:26:31 EET 2020

Am Sa., 18. Jan. 2020 um 02:47 Uhr schrieb Dan Walker <walkerdan1 at gmail.com>:

> I'm trying to find info on the -layer flag for ffmpeg which seems to be
> undocumented in terms of examples.
> I have a sequence of multilayer EXRs that I'm trying to convert to JPEG and
> from the sounds of it, I would be able to extract channels in the
> multilayer EXR [e.g. R,G,B or Diffuse, etc....] and outtput the JPEGS that
> way due to ffmpeg not being able to straight up convert from mutilayer EXR
> -> JPEG.
> I've scoured the web, can't find anything in terms of examples on how to
> use this flag.
> https://gist.github.com/tayvano/6e2d456a9897f55025e25035478a3a50#file-gistfile1-txt-L598
> EXR AVOptions:
> -layer .D.Vā€¦. Set the decoding layer (default ā€œā€)

What did you try? You write above that you have "multilayer EXR [R,G,B": Did
you test ffmpeg -layer G -i input out.jpg?

Carl Eugen

More information about the ffmpeg-user mailing list