After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 539887 - EXIF-tags not get write into the .jpg file by using metadatamux element.
EXIF-tags not get write into the .jpg file by using metadatamux element.
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: dont know
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-24 07:05 UTC by swapnil
Modified: 2008-08-20 13:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description swapnil 2008-06-24 07:05:26 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:
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2008-07-02 08:17:50 UTC
Did you had libexif developer files installed when you have build the code? metadatamux can do exif/xmp/iptc based on the available libraries.
Comment 2 swapnil 2008-07-02 12:02:02 UTC
(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.  
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2008-08-20 13:38:26 UTC
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.
Comment 4 Stefan Sauer (gstreamer, gtkdoc dev) 2008-08-20 13:39:09 UTC
Please reopen, if you have furtehr questions.