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 347079 - [qtdemux] plugin doesn't decode Year
[qtdemux] plugin doesn't decode Year
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-10 07:40 UTC by Alex Lancaster
Modified: 2006-07-10 09:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
First 64k bytes of m4a file (56.39 KB, application/octet-stream)
2006-07-10 07:41 UTC, Alex Lancaster
Details

Description Alex Lancaster 2006-07-10 07:40:19 UTC
Using CVS gstreamer-plugins-{base,good,ugly,bad} (and released versions too) with the attached file:

gst-launch-0.10 -t playbin uri=file:///tmp/test.m4a
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
FOUND TAG      : found by element "qtdemux0".
    audio codec: MPEG-4 AAC audio
FOUND TAG      : found by element "qtdemux0".
          title: Spirit
         artist: Dead Can Dance
          album: A Passage In Time
   track number: 16
    track count: 16
    disc number: 1
     disc count: 1
          genre: Alternative & Punk
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "playbin0".
Execution ended after 1002000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...


doesn't decode the Year information even though it is in the file, and can be seen in other apps (like iTunes)
Comment 1 Alex Lancaster 2006-07-10 07:41:07 UTC
Created attachment 68703 [details]
First 64k bytes of m4a file
Comment 2 Alex Lancaster 2006-07-10 07:43:12 UTC
Extract from hexdump -Cv test.m4a, note the year information at 0000d710-d720

0000d5b0  df 6d 65 74 61 00 00 00  00 00 00 00 22 68 64 6c  |.meta......."hdl|
0000d5c0  72 00 00 00 00 00 00 00  00 6d 64 69 72 61 70 70  |r........mdirapp|
0000d5d0  6c 00 00 00 00 00 00 00  00 00 ec 00 00 02 cc 69  |l..............i|
0000d5e0  6c 73 74 00 00 00 1e a9  6e 61 6d 00 00 00 16 64  |lst.....nam....d|
0000d5f0  61 74 61 00 00 00 01 00  00 00 00 53 70 69 72 69  |ata........Spiri|
0000d600  74 00 00 00 26 a9 41 52  54 00 00 00 1e 64 61 74  |t...&.ART....dat|
0000d610  61 00 00 00 01 00 00 00  00 44 65 61 64 20 43 61  |a........Dead Ca|
0000d620  6e 20 44 61 6e 63 65 00  00 00 4f a9 77 72 74 00  |n Dance...O.wrt.|
0000d630  00 00 47 64 61 74 61 00  00 00 01 00 00 00 00 42  |..Gdata........B|
0000d640  72 65 6e 64 61 6e 20 50  65 72 72 79 2f 4c 69 73  |rendan Perry/Lis|
0000d650  61 20 47 65 72 72 61 72  64 2f 4c 69 73 61 20 47  |a Gerrard/Lisa G|
0000d660  65 72 72 61 72 64 20 26  20 42 72 65 6e 64 61 6e  |errard & Brendan|
0000d670  20 50 65 72 72 79 00 00  00 29 a9 61 6c 62 00 00  | Perry...).alb..|
0000d680  00 21 64 61 74 61 00 00  00 01 00 00 00 00 41 20  |.!data........A |
0000d690  50 61 73 73 61 67 65 20  49 6e 20 54 69 6d 65 00  |Passage In Time.|
0000d6a0  00 00 2a a9 67 65 6e 00  00 00 22 64 61 74 61 00  |..*.gen..."data.|
0000d6b0  00 00 01 00 00 00 00 41  6c 74 65 72 6e 61 74 69  |.......Alternati|
0000d6c0  76 65 20 26 20 50 75 6e  6b 00 00 00 20 74 72 6b  |ve & Punk... trk|
0000d6d0  6e 00 00 00 18 64 61 74  61 00 00 00 00 00 00 00  |n....data.......|
0000d6e0  00 00 00 00 10 00 10 00  00 00 00 00 1e 64 69 73  |.............dis|
0000d6f0  6b 00 00 00 16 64 61 74  61 00 00 00 00 00 00 00  |k....data.......|
0000d700  00 00 00 00 01 00 01 00  00 00 1c a9 64 61 79 00  |............day.|
0000d710  00 00 14 64 61 74 61 00  00 00 01 00 00 00 00 31  |...data........1|
0000d720  39 39 31 00 00 00 19 63  70 69 6c 00 00 00 11 64  |991....cpil....d|
0000d730  61 74 61 00 00 00 15 00  00 00 00 00 00 00 00 1a  |ata.............|
0000d740  74 6d 70 6f 00 00 00 12  64 61 74 61 00 00 00 15  |tmpo....data....|
0000d750  00 00 00 00 00 00 00 00  00 36 a9 74 6f 6f 00 00  |.........6.too..|
0000d760  00 2e 64 61 74 61 00 00  00 01 00 00 00 00 69 54  |..data........iT|
0000d770  75 6e 65 73 20 76 36 2e  30 2e 31 2c 20 51 75 69  |unes v6.0.1, Qui
Comment 3 Alex Lancaster 2006-07-10 07:44:14 UTC
The correct Year is 1991.
Comment 4 Tim-Philipp Müller 2006-07-10 09:49:30 UTC
Thanks for the file snippet, should be fixed in CVS now:

 2006-07-10  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/qtdemux/qtdemux.c: (qtdemux_parse_udta),
        (qtdemux_tag_add_date):
          Extract year/date information (fixes #347079).