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 676542 - [jpegdec] JPEG decoder doesn't expose EXIF tags, XAP tags, or comments
[jpegdec] JPEG decoder doesn't expose EXIF tags, XAP tags, or comments
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-22 08:19 UTC by Mathias Hasselmann (IRC: tbf)
Modified: 2013-08-21 19:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
jpegdec: Parse EXIF and XAP tags (for git master) (5.03 KB, patch)
2012-07-23 09:49 UTC, Mathias Hasselmann (IRC: tbf)
rejected Details | Review
jpegdec: Parse EXIF and XAP tags (for 0.10 branch) (5.08 KB, patch)
2012-07-23 09:53 UTC, Mathias Hasselmann (IRC: tbf)
rejected Details | Review

Description Mathias Hasselmann (IRC: tbf) 2012-05-22 08:19:31 UTC
The JPEG decoder doesn't expose EXIF tags, XAP tags, or comments. This can be trivially fixed by adopting the relevant code from jpegparse. Patch underway.
Comment 1 Murray Cumming 2012-07-02 08:11:07 UTC
Is this fixed by bug #676302 or do you still plan to attach a patch?
Comment 2 Murray Cumming 2012-07-10 12:23:48 UTC
I understand now that this needs a separate patch to actually expose these tags.
Comment 3 Mathias Hasselmann (IRC: tbf) 2012-07-10 12:24:01 UTC
This is not fixed by bug #676302. Implementing the patch is still on my list.
Comment 4 Mathias Hasselmann (IRC: tbf) 2012-07-23 09:49:43 UTC
Created attachment 219472 [details] [review]
jpegdec: Parse EXIF and XAP tags (for git master)
Comment 5 Mathias Hasselmann (IRC: tbf) 2012-07-23 09:53:45 UTC
Created attachment 219473 [details] [review]
jpegdec: Parse EXIF and XAP tags (for 0.10 branch)
Comment 6 Tim-Philipp Müller 2012-07-23 10:02:45 UTC
Bit undecided whether this should be done in the decoder in 0.11. It's the fastest way to make it work at the moment of course, but generally we've moved metadata extraction from decoders to parsers. I'd like to see a new jpegparse element written on top of GstBaseParse and using the API from bug #673925, which can then also do the metadata extraction.
Comment 7 Víctor Manuel Jáquez Leal 2012-07-23 10:07:02 UTC
The jpegparse already extracts these tags. I don't know if this task has be done by the decoder.
Comment 8 Mathias Hasselmann (IRC: tbf) 2012-07-23 11:25:17 UTC
(In reply to comment #6)
> Bit undecided whether this should be done in the decoder in 0.11. It's the
> fastest way to make it work at the moment of course, but generally we've moved
> metadata extraction from decoders to parsers. I'd like to see a new jpegparse
> element written on top of GstBaseParse and using the API from bug #673925,
> which can then also do the metadata extraction.

No I am a bit surprised since I got told to try exactly this (extracting the tags in jpegparse) to avoid all the unforeseeable side effects from messing with element priorities. Goal of this patch is to enable GstDiscoverer for JPEG images.
Comment 9 Mathias Hasselmann (IRC: tbf) 2012-07-24 08:49:49 UTC
Anyway, Tim: Can you outline your proposal more in detail, and maybe also estimate effort? I honestly don't know JPEG or GStreamer well enough for doing a serious estimation myself right now, but with a better idea on what has to be done, I can ask for budget.
Comment 10 Mathias Hasselmann (IRC: tbf) 2012-08-01 07:48:03 UTC
How about applying this fix for now, and doing the proper solution later?
Comment 11 Tim-Philipp Müller 2012-08-05 10:59:30 UTC
0.10 is closed for new features now (see announcement on gstreamer-announce/devel mailing list), esp. in 'critical' code paths, and for 0.11 I strongly prefer the 'proper' solution. If we add it to jpegdec now we need to support it until the end of time, and we'll end up extracting the same metadata twice.

I'm trying to get some traction on the jpeg parsing API and parser though.
Comment 12 Sebastian Dröge (slomo) 2013-08-21 19:18:03 UTC
This should be fixed by using jpegparse.