Opened 7 years ago

Last modified 11 months ago

#6508 open enhancement

FFmpeg fails to detect embedded artwork in ALAC

Reported by: macdavis Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: mov
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe175002600] Unknown cover type: 0x0.

How to reproduce:

 ffmpeg -i /Users/davisdai/sample.m4a -f null -
ffmpeg version 3.3.git Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.1.0 (clang-802.0.42)
  configuration: --optflags=-Ofast --prefix=/usr/local --extra-cflags='-march=haswell -mtune=intel -m64 -minline-all-stringops -fomit-frame-pointer -fforce-addr -finline-functions -funit-at-a-time -funroll-loops -ffunction-sections -fdata-sections -Ofast -pipe -fomit-frame-pointer -ftree-vectorize' --target-os=darwin --arch=x86_64 --cpu=haswell --disable-runtime-cpudetect --disable-debug --disable-opencl --disable-avdevice --disable-ffplay --disable-ffprobe --disable-postproc --disable-ffserver --disable-devices --disable-avresample --disable-indev=qtkit --disable-doc --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gpl --enable-nonfree
  libavutil      55. 67.100 / 55. 67.100
  libavcodec     57.100.103 / 57.100.103
  libavformat    57. 75.100 / 57. 75.100
  libavfilter     6. 94.100 /  6. 94.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe175002600] Unknown cover type: 0x0.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/davisdai/sample.m4a':
  Metadata:
    major_brand     : M4A 
    minor_version   : 512
    compatible_brands: isomiso2
    ©cpy           : ℗ 1998 Acoustic Lab
    title           : 心債
    artist          : 夏韶聲
    album_artist    : 夏韶聲
    album           : 諳 HDCD
    genre           : 粵語樂
    date            : 1998-12-01
    track           : 3/10
    disc            : 1/1
    encoder         : Lavf57.75.100
    gapless_playback: 0
  Duration: 00:00:05.02, start: 0.000000, bitrate: 1613 kb/s
    Stream #0:0(und): Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s32p (20 bit), 935 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (alac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    major_brand     : M4A 
    minor_version   : 512
    compatible_brands: isomiso2
    ©cpy           : ℗ 1998 Acoustic Lab
    title           : 心債
    artist          : 夏韶聲
    album_artist    : 夏韶聲
    album           : 諳 HDCD
    genre           : 粵語樂
    date            : 1998-12-01
    track           : 3/10
    disc            : 1/1
    gapless_playback: 0
    encoder         : Lavf57.75.100
    Stream #0:0(und): Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      encoder         : Lavc57.100.103 pcm_s16le
size=N/A time=00:00:05.01 bitrate=N/A speed= 891x    
video:0kB audio:864kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (1)

sample.m4a (988.2 KB ) - added by macdavis 7 years ago.

Download all attachments as: .zip

Change History (4)

by macdavis, 7 years ago

Attachment: sample.m4a added

comment:1 by Carl Eugen Hoyos, 7 years ago

Component: undeterminedavformat
Keywords: mov added; ALAC removed
Priority: normalwish
Type: defectenhancement

Which player shows the (mjpeg) artwork for the sample you attached?

in reply to:  1 comment:2 by macdavis, 7 years ago

Replying to cehoyos:

Which player shows the (mjpeg) artwork for the sample you attached?

iTunes and MPC-BE x64 v1.5.1 (build 2548) beta

comment:3 by Elon Musk, 11 months ago

Status: newopen
Note: See TracTickets for help on using tickets.