Opened 9 years ago

Closed 6 years ago

#5028 closed enhancement (fixed)

flac cover art image type not autodetected

Reported by: Carl Eugen Hoyos Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: flac videolan
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

(videolan ticket 15618)
A user provided a flac file with incorrect cover art mime-type.

$ ffmpeg -i 01\ -\ Fergalicious\ 11.12.32_cut.flac
ffmpeg version N-76767-gced39dc Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55.  7.100 / 55.  7.100
  libavcodec     57. 15.100 / 57. 15.100
  libavformat    57. 18.100 / 57. 18.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 15.100 /  6. 15.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mjpeg @ 0x2907160] mjpeg: unsupported coding type (ce)
[mjpeg @ 0x2907160] mjpeg: unsupported coding type (c8)
[mjpeg @ 0x2907160] mjpeg: unsupported coding type (c9)
[mjpeg @ 0x2907160] mjpeg: unsupported coding type (c7)
[mjpeg @ 0x2907160] mjpeg: unsupported coding type (c8)
[mjpeg @ 0x2907160] dqt: invalid precision
[mjpeg @ 0x2907160] mjpeg: unsupported coding type (ca)
[mjpeg @ 0x2907160] mjpeg: unsupported coding type (c6)
[mjpeg @ 0x2907160] mjpeg: unsupported coding type (cb)
[mjpeg @ 0x2907160] mjpeg: unsupported coding type (c9)
[mjpeg @ 0x2907160] invalid id 159
[flac @ 0x2903280] decoding for stream 1 failed
[flac @ 0x2903280] Could not find codec parameters for stream 1 (Video: mjpeg, none(bt470bg/unknown/unknown)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, flac, from '01 - Fergalicious 11.12.32_cut.flac':
  Metadata:
    ALBUM           : 4
    ALBUM ARTIST    : 2
    album_artist    : 2
    ARTIST          : 2
    COMMENT         : comment
    COMPILATION     : 0
    DATE            : 6000
    ENSEMBLE        : 2
    GENRE           : 7
    LYRICS          : Four, tres, two, uno
                    :
                    : [Will I Am]
                    : Listen up you all, 'cause this is it
                    : The beat that I'm bangin' is delicious
                    :
                    : [Verse 1 - Fergie]
                    : Fergalicious definition make them boys go loco
                    : They want my treasure so they get their pleasures from my photo.
                    : You could see me, you can't squeeze me.
                    : I ain't easy, I ain't sleazy.
                    : I got reasons why I tease 'em.
                    : Boys just come and go like seasons.
                    :
                    : [Hook 1]
                    : Fergalicious (so delicious)
                    : But I ain't promiscuous.
                    : And if you were suspicious,
                    : All that shit is fictitious.
                    : I blow kisses (mmmwwahhh)
                    : That puts them boys on rock, rock.
                    : And they be lining down the block just to watch what I got (four, tres, two, uno)
                    :
                    : [Chorus]
                    : So delicious (it's hot, hot)
                    : So delicious (I put them boys on rock, rock)
                    : So delicious (they wanna slice of what I got)
                    : I'm Fergalicious (t-t-t-t-t-tasty, tasty)
                    :
                    : [Verse 2]
                    : Fergalicious def-,
                    : Fergalicious def-,
                    : Fergalicious def- ["def" is echoing]
                    : Fergalicious definition make them boys go crazy.
                    : They always claim they know me,
                    : Comin' to me call me Stacy (Hey, Stacy),
                    : I'm the F to the E, R, G, the I, the E,
                    : And can't no other lady put it down like me.
                    :
                    : [Hook 2]
                    : I'm Fergalicious (so delicious)
                    : My body stay vicious
                    : I be up in the gym just working on my fitness
                    : He's my witness (oh, wee)
                    : I put yo' boy on rock, rock
                    : And he be lining down the block just to watch what I got (four, tres, two, uno)
                    :
                    : [Chorus]
                    : So delicious (it's hot, hot)
                    : So delicious (I put them boys on rock, rock)
                    : So delicious (they wanna slice of what I got)
                    : I'm Fergalicious (hold, hold, hold, hold, hold up, check it out)
                    :
                    : [Vamp]
                    : Baby, baby, baby,
                    : If you really want me,
                    : Honey get some patience.
                    : Maybe then you'll get a taste.
                    : I'll be tasty, tasty,
                    : I'll be laced with lacey.
                    : It's so tasty, tasty,
                    : It'll make you crazy.
                    :
                    : [Will I Am]
                    : T to the A, to the S T E Y - girl, you're tasty, T to the A to the S T E Y - girl, you're tasty
                    : D to the E, to the L I C I O U S, to the D, to the E, to the, to the, to the, hit it Fergie
                    :
                    : [Rap - Fergie]
                    : All the time I turn around brother's gather round always looking at me up and down looking at my (uh)
                    : I just wanna say it now - I ain't trying to round up drama, little mama I don't wanna take your man.
                    : And I know I'm coming off just a little bit conceited and I keep on repeating how the boys wanna eat it.
                    : But I'm tryin' to tell, that I can't be treated like clientele
                    : 'Cause they say she...
                    :
                    : [Hook 3]
                    : Delicious (so delicious)
                    : But I ain't promiscuous
                    : And if you were suspicious
                    : All that shit is fictitious
                    : I blow kisses (mmmwwahhh)
                    : That puts them boys on rock, rock
                    : And they be lining down the block just to watch what I got (got, got, got)
                    :
                    : Four, tres, two, uno.
                    : My body stay vicious,
                    : I be up in the gym just working on my fitness,
                    : He's my witness (oh, wee).
                    : I put yo' boy on rock, rock,
                    : And he be lining down the block just to watch what I got (four, tres, two, uno)
                    :
                    : [Chorus]
                    : So delicious (aye, aye, aye, aye)
                    : So delicious (aye, aye, aye, aye)
                    : So delicious (aye, aye, aye, aye)
                    : I'm Fergalicious, t-t-t-t-t tasty, tasty
                    : It's so delicious (aye, aye, aye, aye)
                    : So delicious (aye, aye, aye, aye)
                    : So delicious (aye, aye, aye, aye)
                    : I'm Fergalicious, t-t-t-t-t-t-t-t-t-t (aye, aye, aye, aye)
                    :
                    : [Will I Am]
                    : T to the A, to the S T E Y - girl, you're tasty. T to the A, to the S T E Y - girl, you're tasty
                    : T to the A, to the S T E Y - girl, you're tasty. T to the A, to the, to the (four, tres, two, uno)
                    : D to the E, to the L I C I O U S, to the D, to the, E to the, L I C I O U S, to the
                    : D to the E, to the L I C I O U S, to the D, to the E, to the, to the, to the (four, tres, two, uno)
                    :
                    : T to the A, to the S T E Y - girl, you're tasty. T to the A, to the S T E Y - girl, you're tasty
                    : T to the A, to the S T E Y - girl, you're tasty. T to the A, to the, four, tres, two, uno
                    : D to the E, to the L I C I O U S, to the D, to the E, to the L I C I O U S, to the
                    : D to the E, to the L I C I O U S, to the D, to the E, to the, to the, to the, to the, to the.....
    TITLE           : 1
    track           : 5
  Duration: 00:04:52.37, start: 0.092880, bitrate: 70 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream #0:1: Video: mjpeg, none(bt470bg/unknown/unknown), 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Cover (front)
At least one output file must be specified
$ ffmpeg -vcodec png -i 01\ -\ Fergalicious\ 11.12.32_cut.flac
ffmpeg version N-76767-gced39dc Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55.  7.100 / 55.  7.100
  libavcodec     57. 15.100 / 57. 15.100
  libavformat    57. 18.100 / 57. 18.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 15.100 /  6. 15.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, flac, from '01 - Fergalicious 11.12.32_cut.flac':
  Metadata:
    ALBUM           : 4
    ALBUM ARTIST    : 2
    album_artist    : 2
    ARTIST          : 2
    COMMENT         : comment
    COMPILATION     : 0
    DATE            : 6000
    ENSEMBLE        : 2
    GENRE           : 7
    LYRICS          : Four, tres, two, uno
                    :
                    : [Will I Am]
                    : Listen up you all, 'cause this is it
                    : The beat that I'm bangin' is delicious
                    :
                    : [Verse 1 - Fergie]
                    : Fergalicious definition make them boys go loco
                    : They want my treasure so they get their pleasures from my photo.
                    : You could see me, you can't squeeze me.
                    : I ain't easy, I ain't sleazy.
                    : I got reasons why I tease 'em.
                    : Boys just come and go like seasons.
                    :
                    : [Hook 1]
                    : Fergalicious (so delicious)
                    : But I ain't promiscuous.
                    : And if you were suspicious,
                    : All that shit is fictitious.
                    : I blow kisses (mmmwwahhh)
                    : That puts them boys on rock, rock.
                    : And they be lining down the block just to watch what I got (four, tres, two, uno)
                    :
                    : [Chorus]
                    : So delicious (it's hot, hot)
                    : So delicious (I put them boys on rock, rock)
                    : So delicious (they wanna slice of what I got)
                    : I'm Fergalicious (t-t-t-t-t-tasty, tasty)
                    :
                    : [Verse 2]
                    : Fergalicious def-,
                    : Fergalicious def-,
                    : Fergalicious def- ["def" is echoing]
                    : Fergalicious definition make them boys go crazy.
                    : They always claim they know me,
                    : Comin' to me call me Stacy (Hey, Stacy),
                    : I'm the F to the E, R, G, the I, the E,
                    : And can't no other lady put it down like me.
                    :
                    : [Hook 2]
                    : I'm Fergalicious (so delicious)
                    : My body stay vicious
                    : I be up in the gym just working on my fitness
                    : He's my witness (oh, wee)
                    : I put yo' boy on rock, rock
                    : And he be lining down the block just to watch what I got (four, tres, two, uno)
                    :
                    : [Chorus]
                    : So delicious (it's hot, hot)
                    : So delicious (I put them boys on rock, rock)
                    : So delicious (they wanna slice of what I got)
                    : I'm Fergalicious (hold, hold, hold, hold, hold up, check it out)
                    :
                    : [Vamp]
                    : Baby, baby, baby,
                    : If you really want me,
                    : Honey get some patience.
                    : Maybe then you'll get a taste.
                    : I'll be tasty, tasty,
                    : I'll be laced with lacey.
                    : It's so tasty, tasty,
                    : It'll make you crazy.
                    :
                    : [Will I Am]
                    : T to the A, to the S T E Y - girl, you're tasty, T to the A to the S T E Y - girl, you're tasty
                    : D to the E, to the L I C I O U S, to the D, to the E, to the, to the, to the, hit it Fergie
                    :
                    : [Rap - Fergie]
                    : All the time I turn around brother's gather round always looking at me up and down looking at my (uh)
                    : I just wanna say it now - I ain't trying to round up drama, little mama I don't wanna take your man.
                    : And I know I'm coming off just a little bit conceited and I keep on repeating how the boys wanna eat it.
                    : But I'm tryin' to tell, that I can't be treated like clientele
                    : 'Cause they say she...
                    :
                    : [Hook 3]
                    : Delicious (so delicious)
                    : But I ain't promiscuous
                    : And if you were suspicious
                    : All that shit is fictitious
                    : I blow kisses (mmmwwahhh)
                    : That puts them boys on rock, rock
                    : And they be lining down the block just to watch what I got (got, got, got)
                    :
                    : Four, tres, two, uno.
                    : My body stay vicious,
                    : I be up in the gym just working on my fitness,
                    : He's my witness (oh, wee).
                    : I put yo' boy on rock, rock,
                    : And he be lining down the block just to watch what I got (four, tres, two, uno)
                    :
                    : [Chorus]
                    : So delicious (aye, aye, aye, aye)
                    : So delicious (aye, aye, aye, aye)
                    : So delicious (aye, aye, aye, aye)
                    : I'm Fergalicious, t-t-t-t-t tasty, tasty
                    : It's so delicious (aye, aye, aye, aye)
                    : So delicious (aye, aye, aye, aye)
                    : So delicious (aye, aye, aye, aye)
                    : I'm Fergalicious, t-t-t-t-t-t-t-t-t-t (aye, aye, aye, aye)
                    :
                    : [Will I Am]
                    : T to the A, to the S T E Y - girl, you're tasty. T to the A, to the S T E Y - girl, you're tasty
                    : T to the A, to the S T E Y - girl, you're tasty. T to the A, to the, to the (four, tres, two, uno)
                    : D to the E, to the L I C I O U S, to the D, to the, E to the, L I C I O U S, to the
                    : D to the E, to the L I C I O U S, to the D, to the E, to the, to the, to the (four, tres, two, uno)
                    :
                    : T to the A, to the S T E Y - girl, you're tasty. T to the A, to the S T E Y - girl, you're tasty
                    : T to the A, to the S T E Y - girl, you're tasty. T to the A, to the, four, tres, two, uno
                    : D to the E, to the L I C I O U S, to the D, to the E, to the L I C I O U S, to the
                    : D to the E, to the L I C I O U S, to the D, to the E, to the, to the, to the, to the, to the.....
    TITLE           : 1
    track           : 5
  Duration: 00:04:52.37, start: 0.092880, bitrate: 70 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream #0:1: Video: png, rgb24(pc), 640x480, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Cover (front)
At least one output file must be specified

Attachments (1)

01 - Fergalicious 11.12.32_cut.flac (2.4 MB ) - added by Carl Eugen Hoyos 9 years ago.

Change History (3)

by Carl Eugen Hoyos, 9 years ago

comment:1 by Carl Eugen Hoyos, 9 years ago

Keywords: videolan added

comment:2 by Elon Musk, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.