Hello guys,
I have written a plugin to read and write metadata (EXIF, IPTC and XMP) to image files (JPEG and PNG) The plugin is at: http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/ext/metadata/ Before you compile it if have to install some of the following lib (apt-get install should work): http://libiptcdata.sourceforge.net/ http://libexif.sourceforge.net/ http://libopenraw.freedesktop.org/wiki/Exempi then you can test it with: http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/tests/icles/ (metadata_editor.c and metadata_editor.glade) You can insert new tags (only the ones that has already been registered) to see the list of tags, look at: http://webcvs.freedesktop.org/gstreamer/gstreamer/gst/gsttaglist.h?view=markup (I will create a html file soon with a list of all mapped tags) and "grep GST_TAG" into http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/ext/metadata/ PLEASE try it a lot, and Open bugs, or Report me, or ask me questions. btw: the plugin has been written to be extended so other chunk based file formats can be easily handled too. Best Regards, Edgard Lima [hidden email] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Edgard Lima wrote:
> Hello guys, > > I have written a plugin to read and write metadata (EXIF, IPTC and XMP) > to image files (JPEG and PNG) > > The plugin is at: > > http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/ext/metadata/ > > Before you compile it if have to install some of the following lib > (apt-get install should work): > > http://libiptcdata.sourceforge.net/ > http://libexif.sourceforge.net/ > http://libopenraw.freedesktop.org/wiki/Exempi Edgard, Could I strongly suggest that you use exiv2 instead? libexif is poorly maintained and crash prone, in my experience. exiv2 supports xmp, iptc, exif, and raw files, all in one library. For an example of how we are using it in the trunk version of gthumb, see http://svn.gnome.org/viewvc/gthumb/trunk/libgthumb/gth-exiv2-utils.cpp?view=markup. We are using it very successfully, even though the exiv2 api is C++, and gthumb is C. The exiv2 maintainer is very responsive. Tag reading is quite simple with exiv2, as the above file shows. - Mike ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi Michael, First of all: Thanks for your feedback/help. I have considered to use exiv2 before start developing. The problem is the license, GPL. I have asked the author if he could change it to LGPL and he said: "no plans to change". I haven't got 'craches' with libexif until now. Could you please send me files, or tell me how can I get such craches? Thanks you again, Edgard Lima ext Dr. Michael J. Chudobiak wrote: > Edgard Lima wrote: >> Hello guys, >> >> I have written a plugin to read and write metadata (EXIF, IPTC and XMP) >> to image files (JPEG and PNG) >> >> The plugin is at: >> >> http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/ext/metadata/ >> >> Before you compile it if have to install some of the following lib >> (apt-get install should work): >> >> http://libiptcdata.sourceforge.net/ >> http://libexif.sourceforge.net/ >> http://libopenraw.freedesktop.org/wiki/Exempi > > Edgard, > > Could I strongly suggest that you use exiv2 instead? libexif is poorly > maintained and crash prone, in my experience. exiv2 supports xmp, iptc, > exif, and raw files, all in one library. For an example of how we are > using it in the trunk version of gthumb, see > http://svn.gnome.org/viewvc/gthumb/trunk/libgthumb/gth-exiv2-utils.cpp?view=markup. > We are using it very successfully, even though the exiv2 api is C++, and > gthumb is C. The exiv2 maintainer is very responsive. > > Tag reading is quite simple with exiv2, as the above file shows. > > - Mike ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Edgard Lima wrote:
> Hi Michael, > > First of all: Thanks for your feedback/help. > > I have considered to use exiv2 before start developing. The problem is > the license, GPL. I have asked the author if he could change it to LGPL > and he said: "no plans to change". > > I haven't got 'craches' with libexif until now. Could you please send me > files, or tell me how can I get such craches? I don't have any sample files. You can search the gthumb bug reports, though: http://bugzilla.gnome.org/buglist.cgi?product=gthumb&long_desc_type=substring&long_desc=libexif&bug_status=RESOLVED&resolution=NOTGNOME That list doesn't include the duplicate bug reports (there are quite a few)... - Mike ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Edgard Lima
Now there is a list of tags mapped http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/ext/metadata/metadata_mapping.htm?revision=1.1 BR, Edgard ext Edgard Lima wrote: > Hello guys, > > I have written a plugin to read and write metadata (EXIF, IPTC and XMP) > to image files (JPEG and PNG) > > The plugin is at: > > http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/ext/metadata/ > > Before you compile it if have to install some of the following lib > (apt-get install should work): > > http://libiptcdata.sourceforge.net/ > http://libexif.sourceforge.net/ > http://libopenraw.freedesktop.org/wiki/Exempi > > then you can test it with: > > http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/tests/icles/ > (metadata_editor.c and metadata_editor.glade) > > You can insert new tags (only the ones that has already been registered) > to see the list of tags, look at: > http://webcvs.freedesktop.org/gstreamer/gstreamer/gst/gsttaglist.h?view=markup > (I will create a html file soon with a list of all mapped tags) > > and "grep GST_TAG" into > > http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/ext/metadata/ > > PLEASE try it a lot, and Open bugs, or Report me, or ask me questions. > > btw: the plugin has been written to be extended so other chunk based > file formats can be easily handled too. > > Best Regards, > Edgard Lima > [hidden email] > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Edgard Lima wrote:
> Now there is a list of tags mapped > > http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/ext/metadata/metadata_mapping.htm?revision=1.1 No DateTime tags are mapped? (See http://bugzilla.gnome.org/show_bug.cgi?id=503582). - Mike ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi Mike, it is not mapped at the moment. But, yes, I have plans to map it soon. Actually, right now I'm add more mappings. Hopefully on Monday we will also have (for exif only, for the time being): orientation compression iso_speed_ratings date_time_modified date_time_original date_time_digitezed light_source flash focal_lenght scene_capture btw: all of them, for the time being not add to gsttaglists.h (some of them, like 'time' could be added, 'cause we are identifying a common need for it... Tim???? ) and soon I will also map more XMP tags look: http://bugzilla.gnome.org/show_bug.cgi?id=482947 and also http://bugzilla.gnome.org/show_bug.cgi?id=481169 BR, Edgard Lima (Edgard_ - alima) ext Dr. Michael J. Chudobiak wrote: > Edgard Lima wrote: >> Now there is a list of tags mapped >> >> http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/ext/metadata/metadata_mapping.htm?revision=1.1 >> > > No DateTime tags are mapped? (See > http://bugzilla.gnome.org/show_bug.cgi?id=503582). > > - Mike ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Edgard Lima
Am Donnerstag, den 31.01.2008, 00:42 +0200 schrieb Edgard Lima: > Hello guys, > > I have written a plugin to read and write metadata (EXIF, IPTC and XMP) > to image files (JPEG and PNG) > > The plugin is at: > > http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/ext/metadata/ > > Before you compile it if have to install some of the following lib > (apt-get install should work): > > http://libiptcdata.sourceforge.net/ > http://libexif.sourceforge.net/ > http://libopenraw.freedesktop.org/wiki/Exempi > > then you can test it with: > > http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/tests/icles/ > (metadata_editor.c and metadata_editor.glade) > > You can insert new tags (only the ones that has already been registered) > to see the list of tags, look at: > http://webcvs.freedesktop.org/gstreamer/gstreamer/gst/gsttaglist.h?view=markup > (I will create a html file soon with a list of all mapped tags) > > and "grep GST_TAG" into > > http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/ext/metadata/ > > PLEASE try it a lot, and Open bugs, or Report me, or ask me questions. > > btw: the plugin has been written to be extended so other chunk based > file formats can be easily handled too. the plugin itself works good for me but I really dislike the name. metadata is too generic IMHO, it should be more something like imagemetadata or something like that. IMHO this should be renamed before it can be moved to plugins-good. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel signature.asc (196 bytes) Download Attachment |
Free forum by Nabble | Edit this page |