-
Notifications
You must be signed in to change notification settings - Fork 194
Open
Description
I have a FLAC file which MediaInfo parses correctly only if it knows the filename and that has the correct extension, producing nonsense otherwise:
> mediainfo "Ben Prunty - Color Sky - 10 Grasslands.flac"
General
Complete name : Ben Prunty - Color Sky - 10 Grasslands.flac
Format : FLAC
Format/Info : Free Lossless Audio Codec
File size : 41.8 MiB
Duration : 5 min 17 s
Overall bit rate mode : Variable
Overall bit rate : 1 104 kb/s
Album : Color Sky
Album/Performer : Ben Prunty
Track name : Grasslands
Track name/Position : 10
Performer : Ben Prunty
Recorded date : 2014
Cover : Yes
Cover type : Cover (front)
Cover MIME : image/jpeg
Comment : Visit https://benprunty.bandcamp.com
Audio
Format : FLAC
Format/Info : Free Lossless Audio Codec
Duration : 5 min 17 s
Bit rate mode : Variable
Bit rate : 1 101 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 41.7 MiB (100%)
Writing library : libFLAC 1.3.3 (2019-08-04)
MD5 of the unencoded content : 2C68B80892E2F9CC69822317E0EB2394
> cp "Ben Prunty - Color Sky - 10 Grasslands.flac" foo && mediainfo foo
General
Complete name : foo
Format : MPEG-PS
File size : 41.8 MiB
Conformance errors : 1
MPEG-PS : Yes
General compliance : Bitstream synchronisation is lost (conf, offset 0xF3B2)
FileExtension_Invalid : mpeg mpg m2p vob vro pss evo
Audio MediaArea/MediaInfo#1
ID : 200 (0xC8)
Format : MPEG Audio
Compression mode : Lossy
Audio MediaArea/MediaInfo#2
ID : 209 (0xD1)
Format : MPEG Audio
Compression mode : Lossy
> mediainfo - < "Ben Prunty - Color Sky - 10 Grasslands.flac"
General
Format : MPEG-PS
Conformance errors : 1
MPEG-PS : Yes
General compliance : Bitstream synchronisation is lost (conf, offset 0xF3B2)
Audio MediaArea/MediaInfo#1
ID : 200 (0xC8)
Format : MPEG Audio
Compression mode : Lossy
Audio MediaArea/MediaInfo#2
ID : 209 (0xD1)
Format : MPEG Audio
Compression mode : Lossy
I can share the file privately if needed.
Metadata
Metadata
Assignees
Labels
No labels