[FFmpeg-devel] filtering based on exif information

Jan Pohanka xhpohanka at gmail.com
Tue Nov 19 12:35:17 CET 2013


Dear all,

I'm posting this in devel forum because I think that my issue will need
some development, if not and everything can be done with current ffmpeg,
please excuce me.

I would like to ask whether there is a possibility to filter videos with
ffmpeg based on exif information. Please let me explain the request on
following example:

I have a security camera that outputs a videostream in MJPEG format. Each
of single jpegs contains exif metadata with information about orientation
and also information which region triggered the motion in picture detector.
Now I need to create new video based on the original one where orientation
of the frames will be corrected and region of MIP highlighted.

I have checked libavfilter library and there already exists filters that
can rotate or draw a rectangle into the frame. However I cannot imagine how
to get also metadata there. Can someone please point me into right
direction? I will implement it by myself, but the starting point would be
nice... :)

best regards
Jan


More information about the ffmpeg-devel mailing list