[gstreamer-bugs] [Bug 503582] New: want to extract Date metadata from AVI

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Dec 14 03:49:04 PST 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=503582

  GStreamer | don't know | Ver: 0.10.x
           Summary: want to extract Date metadata from AVI
           Product: GStreamer
           Version: 0.10.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: mjc at avtechpulse.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.19/2.20
   GNOME milestone: Unspecified


I'm trying to modify gthumb to allow it to read video metadata using gstreamer.
It works, but I seem to be missing something - exiftool can extract much more
metadata than gstreamer - like the original recording date. That's a key piece
of metadata that I would like to extract.

For instance, an AVI from my Canon PowerShot SD800IS gives the following 
in exiftool:

[mjc at gormenghast 2007-12]$ exiftool -s -G1 MVI_1148.AVI 
[ExifTool]      ExifToolVersion                 : 7.00
[File]          FileName                        : MVI_1148.AVI
[File]          Directory                       : .
[File]          FileSize                        : 12 MB
[File]          FileModifyDate                  : 2007:12:14 08:41:10
[File]          FileType                        : AVI
[File]          MIMEType                        : video/avi
[RIFF]          FrameRate                       : 30
[RIFF]          MaxDataRate                     : 1965 kB/s
[RIFF]          FrameCount                      : 206
[RIFF]          StreamCount                     : 2
[RIFF]          StreamType                      : Audio
[RIFF]          Codec                           : 
[RIFF]          Quality                         : 10000
[RIFF]          SampleSize                      : 1 byte
[RIFF]          Encoding                        : Microsoft PCM
[RIFF]          NumChannels                     : 1
[RIFF]          SampleRate                      : 11024
[RIFF]          AvgBytesPerSec                  : 11024
[RIFF]          BitsPerSample                   : 8
[RIFF]          DateTimeOriginal                : 2007:12:14 08:41:10
[RIFF]          Software                        : CanonMVI06
[BMP]           ImageWidth                      : 640
[BMP]           ImageHeight                     : 480
[BMP]           Planes                          : 1
[BMP]           BitDepth                        : 24
[BMP]           Compression                     : Unknown (MJPG)
[BMP]           ImageLength                     : 921600
[BMP]           PixelsPerMeterX                 : 0
[BMP]           PixelsPerMeterY                 : 0
[BMP]           NumColors                       : Use BitDepth
[BMP]           NumImportantColors              : All
[Composite]     Duration                        : 6.87s
[Composite]     ImageSize                       : 640x480

(Beware that Exiftool renames all the tags using its own scheme...)

The gstreamer debug output only shows:

Tags: taglist, video-codec=(string)"Motion\ JPEG";
Tags: taglist, audio-codec=(string)"Uncompressed\ 8-bit\ PCM\ audio";
Tags: taglist, encoder=(string)CanonMVI06;

A bit more info (height, width, framerate, etc) is provided by GstStructure.

The source code for my metadata reader is here 
http://svn.gnome.org/viewvc/gthumb/trunk/libgthumb/gth-gstreamer-utils.c?view=markup

If you run gthumb from trunk, pressing Ctrl+2 in the browser mode will show the
file metadata.

Any help would be appreciated!

- Mike


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=503582.




More information about the Gstreamer-bugs mailing list