Thank you for your donation!


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


FLAC Embedded Album Covers
#22
(06-07-2018, 07:19 PM)TheOldPresbyope Wrote:
(06-07-2018, 10:13 AM)rb0135 Wrote: Kent,

Thanks for all that information.

However, your bottom line is wrong. MoOde is the problem (well the routines moOde uses) as I too have spent a lot of time with this lately.

I have included images of both VLC and RUNE displaying the correct album cover, yet moOde is not. It shows the cover from the first song in the list. Even every other Tag program I used displays the covers correctly.

...

Well, I've been known to be wrong before Rolleyes

However, the fact remains as stated in the FLAC FAQ

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.

The FLAC spec says images shall be encoded in occurrences of the METADATA block type 6 (Picture) Vorbis comment. Every instance of FLAC file at my disposal, save one, contains such a block (as reported by metaflac and mutagen, to cite just two examples) and the encoded image in the block is properly decoded and displayed in moOde. This is the basis of my statement.

When I create a playlist arbitrarily selecting single tracks from different albums of such FLAC files, the appropriate cover art is displayed as each new selection begins playing in moOde.

Would you be willing to PM to me at least two files (or link to same) which demonstrate your problem?

That one FLAC file I mentioned, which I downloaded at random from the Internet, contains an image which VLC displays but which isn't found by moOde, metaflac, or Mp3tag, to cite three examples. I'm going to dissect it and I'd like a go at yours as well.

There's the possibility that the image in my file and in yours is encoded inside an ID3 tag. Once the FLAC file signature ("fLaC") is detected at the beginning of the file, all the media tools I have switch to scanning for Vorbis comments, as, I suspect, does the Zend media library. They then may very well skip ID3 tags just as the FLAC reference decoder does. No error results because "nothing to see here." Hence the need for dissection.

As a result of this thread and the feature-request thread about composer lists started by @timbarnes, I'm on a deep dive into tagging schemes and supporting tools. Along the way I've come to distrust tag editors with respect to them reporting what's actually in a file. They try too hard to hide the sausage-making from the user. 

-----

The "incorrect" cover art displayed for your Ziggy Stardust tracks (Ah, those were the days!) is a common result when media players reach out to the Internet for an image. The matching scheme is primitive and not just for the modules included in moOde: 

I have an MP3 track of Iz (Israel Kamakawiwo'ole) singing Somewhere Over the Rainbow. It was a demo track which didn't come with cover art. Playing it, Groove Music on my Windows 10 box displays the cover to the soundtrack album of the movie "Meet Joe Black". I have seen various misfires with cover art when I misguidedly let auto-tagging tools rip classical CDs.

-----

As an aside, the most recent Rune Audio codebase I could find is 2 to 4 years old. The coverart.php module in it uses the Zend media library to look for a "Picture" METADATA block in FLAC files just like moOde does [ahem, not surprising]. I have no idea what their current code does.

Regards,
Kent

Hi Kent

Sorry, not saying you were wrong, just the bottom line Wink as like I was also not blaming moOde, but the Zend Media Library (just couldn't remember it at the time).

I replied to Tim (above this) with more testing and results since.

The Ziggy Stardust image is being grabbed by the tag programs or being fetch from the internet at play time. I have tried different images (even made one up in photoshop), used metaflac to remove the original image and add the made up image in, and it still wouldn't show. Metaflac also showed two files, one that works and this one that doesn't, with correct FLAC tagging (by there own standards). Both files have a TYPE 6TongueICTURE tag in them.

I don't have an issue to PM you two files. Much appreciated that you can afford some time to look at them. I'll do that tomorrow (its 10:15pm here in Sydney).

Other than that, I want to debug Zend as it goes through the process to see exactly why it isn't accepting the image.

Thanks,
Rob

I'm still
Reply


Messages In This Thread
FLAC Embedded Album Covers - by rb0135 - 05-30-2018, 11:12 AM
RE: FLAC Embedded Album Covers - by Tim Curtis - 05-30-2018, 01:45 PM
RE: FLAC Embedded Album Covers - by rb0135 - 05-30-2018, 08:16 PM
RE: FLAC Embedded Album Covers - by Tim Curtis - 05-30-2018, 08:46 PM
RE: FLAC Embedded Album Covers - by rb0135 - 05-30-2018, 10:06 PM
RE: FLAC Embedded Album Covers - by Tim Curtis - 05-30-2018, 10:52 PM
RE: FLAC Embedded Album Covers - by rb0135 - 05-31-2018, 01:36 AM
RE: FLAC Embedded Album Covers - by Tim Curtis - 05-31-2018, 01:12 PM
RE: FLAC Embedded Album Covers - by rb0135 - 05-31-2018, 08:16 PM
RE: FLAC Embedded Album Covers - by rb0135 - 05-31-2018, 08:06 PM
RE: FLAC Embedded Album Covers - by kit1cat - 05-31-2018, 02:25 PM
RE: FLAC Embedded Album Covers - by rb0135 - 05-31-2018, 08:07 PM
RE: FLAC Embedded Album Covers - by BigScaryTiger - 05-31-2018, 08:46 PM
RE: FLAC Embedded Album Covers - by rb0135 - 06-07-2018, 10:13 AM
RE: FLAC Embedded Album Covers - by rb0135 - 06-08-2018, 12:19 PM
RE: FLAC Embedded Album Covers - by imazed - 06-10-2018, 09:58 PM
RE: FLAC Embedded Album Covers - by rb0135 - 06-11-2018, 11:35 AM
RE: FLAC Embedded Album Covers - by Tim Curtis - 06-07-2018, 12:29 PM
RE: FLAC Embedded Album Covers - by rb0135 - 06-08-2018, 12:08 PM
RE: FLAC Embedded Album Covers - by Tim Curtis - 06-08-2018, 10:34 PM
RE: FLAC Embedded Album Covers - by Tim Curtis - 06-07-2018, 09:53 PM
RE: FLAC Embedded Album Covers - by rb0135 - 06-09-2018, 06:39 AM
RE: FLAC Embedded Album Covers - by rb0135 - 06-09-2018, 07:22 AM
RE: FLAC Embedded Album Covers - by leicray - 09-20-2019, 01:14 PM
RE: FLAC Embedded Album Covers - by leicray - 09-21-2019, 12:58 PM
RE: FLAC Embedded Album Covers - by rb0135 - 09-23-2019, 11:10 AM

Forum Jump: