[Solved] Ffmpeg error with cover included FLAC

Mission accomplished!
User avatar
olive069
Posts: 13
Joined: 03 Dec 2013, 15:53
Has thanked: 8 times
Been thanked: 10 times

[Solved] Ffmpeg error with cover included FLAC

Unread post by olive069 »

Hi,
i've just noticed that transcoding flac files that include cover jpeg do not work. Other FLAC files seem ok.

Working track :

Code: Select all

General
Complete name                            : The Musical Box.flac
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 62.8 MiB
Duration                                 : 10mn 29s
Overall bit rate mode                    : Variable
Overall bit rate                         : 837 Kbps
Album                                    : Nursery Cryme
Track name                               : The Musical Box
Track name/Position                      : 01
Performer                                : Genesis
Genre                                    : Rock
Description                              : FPN
Recorded date                            : 1971

Audio
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Duration                                 : 10mn 29s
Bit rate mode                            : Variable
Bit rate                                 : 837 Kbps
Channel count                            : 2 channels
Sampling rate                            : 44.1 KHz
Bit depth                                : 16 bits
Stream size                              : 62.8 MiB (100%)
Writing library                          : libFLAC 1.2.1 (UTC 2007-09-17)

Non working track :

Code: Select all

General
Complete name                            : Breathe.flac
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 39.5 MiB
Duration                                 : 5mn 35s
Overall bit rate mode                    : Variable
Overall bit rate                         : 988 Kbps
Album replay gain                        : -8.96 dB
Album                                    : Fat of the Land
Album/Performer                          : The Prodigy / The Prodigy
Part                                     : 1/1
Track name                               : Breathe
Track name/Position                      : 2
Performer                                : The Prodigy
Genre                                    : Other
Recorded date                            : 1997
Cover                                    : Yes
Cover type                               : Cover (front)
Cover MIME                               : image/jpeg
PUBLISHER                                : Maverick

Audio
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Duration                                 : 5mn 35s
Bit rate mode                            : Variable
Bit rate                                 : 986 Kbps
Channel count                            : 2 channels
Sampling rate                            : 44.1 KHz
Bit depth                                : 16 bits
Replay gain                              : -9.51 dB
Replay gain peak                         : 1.000000
Stream size                              : 39.4 MiB (100%)
Writing library                          : libFLAC 1.2.1 (UTC 2007-11-17)

I use Shine Encoder library with ffmpeg because of my NAS specs.

EDIT : solved by add -map 0:0 to transcode command line.

Thanks.
These users thanked the author olive069 for the post (total 2):
Madsonicskopo
Rating: 15.38%
Post Reply