[FFmpeg-devel] [RFC] First shot for EXIF metadata...

Stefano Sabatini stefasab at gmail.com
Sat Jul 27 17:21:34 CEST 2013


On date Thursday 2013-07-25 18:18:04 +0200, Thilo Borgmann encoded:
> Hi,
> 
> this patch is crappy and full of "don't do"-s and is really meant for getting
> comments on the following question only:
> 
> => Why is the metadata dictionary lost (from AVFrame->metadata)?
> 
> I compared setting it with what lavc/tiff.c does but cannot find the clue...
> 
> I test this with "ffprobe -show_frames <file>".

> The pointer to the metadata ffprobe gets is NULL (ffprobe.c, in show_frame())
> for a jpeg with EXIF, but valid for a TIFF with some tags...

Frame metadata is honoured only by the TIFF decoder, for a TIFF
encoder implementation see:
https://github.com/kuehnelth/libav/commits/geotiff-encoder

Also some filters are able to create metadata in the frame, and can be
displayed through some twisted combination of ffprobe with the lavfi
device.

Since recently you can also print the metadata in the frame itself
through drawtext, and this is all for what regards our current frame
metadata support state of the art.

> 
> Any help is appreciated, thanks!

Will review the patch later (note: git format-patch is favored for
testing purposes).

[...]
-- 
FFmpeg = Faithful and Frenzy Multipurpose Philosophical Esoteric Gadget


More information about the ffmpeg-devel mailing list