Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: kernel panic when "update library"
#6
(08-18-2021, 08:58 AM)Panua Wrote: ...

How can I check for the additional data, mediainfo or something?

Code:
pi@moode:~ $ file '/var/lib/mpd/music/NAS/Sambamusa/Big Country/Through a Big Country- Greatest Hits/17 - Harvest Home.flac'
/var/lib/mpd/music/NAS/Sambamusa/Big Country/Through a Big Country- Greatest Hits/17 - Harvest Home.flac: Audio file with ID3 version 2.3.0, contains:FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 11527740 samples

The output from the file command begins with the descriptor "Audio file with ID3 version 2.3.0, contains: FLAC audio bitstream data" which means your library contains some mis-tagged FLAC files. A legitimate FLAC file is never wrapped in an ID3 tag.

Here's what the FLAC FAQ says about tags:

Quote:What kinds of tags does FLAC support?

FLAC has it's own native tagging system which is identical to that of Vorbis. They are called alternately "FLAC tags" and "Vorbis comments". It is the only tagging system required and guaranteed to be supported by FLAC implementations.

Out of convenience, the reference decoder knows how to skip ID3 tags so that they don't interfere with decoding. But you should not expect any tags beside FLAC tags to be supported in applications; some implementations may not even be able to decode a FLAC file with ID3 tags.


By comparison, here's some output for the legitimately tagged stereo test file LRMonoPhase4.flac shipped with moOde:

Code:
pi@moode:~ $ file '/mnt/SDCARD/Stereo Test/LRMonoPhase4.flac'
/mnt/SDCARD/Stereo Test/LRMonoPhase4.flac: FLAC audio bitstream data, 16 bit, stereo, 48 kHz, 1860560 samples
pi@moode:~ $ od -c '/mnt/SDCARD/Stereo Test/LRMonoPhase4.flac' | head -1
0000000   f   L   a   C  \0  \0  \0   " 020  \0 020  \0  \0 003 323  \0

Note that the output from the file command  begins with the descriptor "FLAC audo bitstream data". 

Also note that the output from the od command shows that the file begins with the 4-byte signature "fLaC" as required by the FLAC specification. I'll bet the signature of your mis-tagged files begins with "ID3".

FInally, this is an analysis only of the metadata in the file. It doesn't show whether there's any problem with the FLAC-encoded datastream.

Regards,
Kent
Reply


Messages In This Thread
kernel panic when "update library" - by Panua - 08-18-2021, 08:29 AM
RE: kernel panic when "update library" - by Panua - 08-18-2021, 08:58 AM
RE: kernel panic when "update library" - by TheOldPresbyope - 08-18-2021, 12:45 PM
RE: kernel panic when "update library" - by Panua - 08-18-2021, 12:55 PM
RE: kernel panic when "update library" - by Panua - 08-18-2021, 12:33 PM
RE: kernel panic when "update library" - by Panua - 08-19-2021, 02:07 PM
RE: kernel panic when "update library" - by Panua - 08-19-2021, 05:48 PM
RE: kernel panic when "update library" - by Panua - 08-23-2021, 03:36 PM

Forum Jump: