Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#1696 closed defect (fixed)

Year metadata wrong on some M4A files

Reported by: enicolas Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: metadata mov
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
The "year" metadata is returned wrong on some M4A (Apple Lossless) files.

How to reproduce:

% ffmpeg -i "01 Oxygene, Pt. I.m4a"
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 26 2012 19:30:57 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  configuration: --enable-libmp3lame --enable-libfaac --enable-nonfree --enable-shared --enable-pic --disable-mmx --arch=x86_64
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '01 Oxygene, Pt. I.m4a':
  Metadata:
    major_brand     : M4A 
    minor_version   : 0
    compatible_brands: M4A mp42isom
    album           : Oxygene [1, HD]
    title           : Oxygène, Pt. I
    track           : 1/6
    date            : 2011-12-19
    copyright       : Disques Dreyfus
    artist          : Jean Michel Jarre
    comment         : Apple Lossless from Qobuz
    genre           : Electronic
  Duration: 00:07:39.73, start: 0.000000, bitrate: 2760 kb/s
    Stream #0:0(eng): Audio: alac (alac / 0x63616C61), 96000 Hz, stereo, s32, 2755 kb/s

The metadata date returned is "2011-12-19", but the correct year in this file is "1976".

Attachments (1)

01 Oxygène, Pt. I_cut.m4a (350.0 KB ) - added by Carl Eugen Hoyos 12 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Carl Eugen Hoyos, 12 years ago

Keywords: mov added

Please provide a sample.

comment:2 by enicolas, 12 years ago

Hello.

You can download the file on which I identified the problem here :
https://dl.dropbox.com/u/251728/01%20Oxyg%C3%A8ne%2C%20Pt.%20I.m4a

This file is copyrighted material (which I legally own), so please use it only for debugging purpose and delete it afterwards.
Regards.

by Carl Eugen Hoyos, 12 years ago

Attachment: 01 Oxygène, Pt. I_cut.m4a added

comment:3 by Carl Eugen Hoyos, 12 years ago

Status: newopen

comment:4 by Carl Eugen Hoyos, 12 years ago

Reproduced by developer: set

iTunes shows 1976.

comment:5 by Carl Eugen Hoyos, 11 years ago

Resolution: fixed
Status: openclosed

This problem is not reproducible anymore.

comment:6 by Carl Eugen Hoyos, 11 years ago

$ ffmpeg -i 01\ Oxygène\,\ Pt.\ I_cut.m4a
ffmpeg version N-45552-g3f81489 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 15 2012 17:46:54 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      51. 76.100 / 51. 76.100
  libavcodec     54. 66.100 / 54. 66.100
  libavformat    54. 32.101 / 54. 32.101
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.102 /  3. 19.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Truncating packet of size 12252 to 1357
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '01 Oxygène, Pt. I_cut.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 0
    compatible_brands: M4A mp42isom
    album           : 1} Oxygene [HD]
    title           : Oxygène, Pt. I
    track           : 1/6
    copyright       : Disques Dreyfus
    artist          : Jean Michel Jarre
    comment         : Qobuz 24/96
    genre           : Electronic
    date            : 1976
  Duration: 00:07:39.73, start: 0.000000, bitrate: 6 kb/s
    Stream #0:0(eng): Audio: alac (alac / 0x63616C61), 96000 Hz, stereo, s32, 2755 kb/s
    Stream #0:1: Video: mjpeg, yuvj444p, 600x600 [SAR 100:100 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
At least one output file must be specified
Note: See TracTickets for help on using tickets.