GNOME Bugzilla – Bug 539887
EXIF-tags not get write into the .jpg file by using metadatamux element.
Last modified: 2008-08-20 13:39:09 UTC
Please describe the problem: I was try to insert or write EXIF tags into my .jpg file. But the tags were not get wrote into the .jpg file. If i run the following pipeline, then exif-tags should be written into the file, but that is not happen. Pipeline:- gst-launch -v -m videotestsrc ! jpegenc ! metadatamux ! filesink location=test.jpg The test.jpg file consist only JIFF format, instead of EXIF format. EXIF-tags are not get write in .jpg file. Steps to reproduce: 1. gst-launch -v -m videotestsrc ! jpegenc ! metadatamux exif=TRUE ! filesink location=test.jpeg 2. gst-launch -v -m filesrc location=s.jpg ! metadatamux exif=TRUE ! filesink location=dest.jpeg 3. gst-launch -v -m filesrc location=s.jpg ! metadatademux exif=TRUE ! jpegdec ! ffmpegcolorspace ! jpegenc ! metadatamux ! filesink location=dest1.jpeg Actual results: After running the following pipeline the exif-tags are not get write into the jpg file. Expected results: EXIF tags must be write into the jpg file. Does this happen every time? Yes Other information:
Did you had libexif developer files installed when you have build the code? metadatamux can do exif/xmp/iptc based on the available libraries.
(In reply to comment #1) > Did you had libexif developer files installed when you have build the code? > metadatamux can do exif/xmp/iptc based on the available libraries. > Hi Stefan, Yes i had the libexif--0.6.16, i install this, after that i install the gst-plugin-bad my configure script shows me the following log. configure: *** checking feature: METADATA muxer and demuxer *** configure: *** for plug-ins: metadata *** checking for EXIF... yes checking for IPTC... checking for XMP... checking for XMP_1_99_5... no configure: *** These plugins will be built: metadata Means metadata build with the EXIF tags. But after running the capture-pipeline, my capture jpeg file does not contain any EXIF-tag, its shows only JFIF file format. Also, i go through the metadatamux code, in that i am not found any stripping of JFIF header for replacing the EXIF header.
this works for me: gst-launch-0.10 videotestsrc num-buffers=1 ! jpegenc ! taginject tags="description=testimage" ! metadatamux exif=TRUE ! filesink location=test.jpeg Soemone (source, app) needs to send a tagevent to metadatamux.
Please reopen, if you have furtehr questions.