[FFmpeg-devel] [PATCH] EXR patch to read layers

Gonzalo Garramuno ggarra13 at gmail.com
Tue Feb 18 21:10:07 CET 2014


On 18/02/14 14:42, Carl Eugen Hoyos wrote:
> Gonzalo Garramuno <ggarra13 <at> gmail.com> writes:
>
>>>> -        if (!strcmp(buf, "R"))
>>>> +        if (!strcmp(b, "R")||!strcmp(b, "X")||!strcmp(b,"U"))
>>> Sorry if I misunderstand: Is this related to your
>>> description of the patch?
>> Yes, layers can appear as RGB or XYZ triplets
> Could you provide a XYZ sample?
The sample I provided contains both normals and motion vectors. Running:

ffmpeg -layer RenderLayer.Normal sample.exr test.mov

Will load the normals.  One thing about XYZ values is that they might 
need normalizing and that does not happen with ffmpeg.  I probably need 
to add another flag and send a new patch for that.



More information about the ffmpeg-devel mailing list