Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd October 2023, 17:20   #1  |  Link
Makaveli84
Registered User
 
Join Date: Jun 2012
Posts: 71
How to extract cover art with MediaInfo 23.09 library?

I am trying to extract the cover art (or multiple pieces) with MediaInfo DLL v23.09 in C#/.NET (using the provided wrapper).

I have tried the following but it didn't work:

MediaInfo mi = new MediaInfo();
mi.Open(filePath);
mi.Option("Complete"); // Or same result even with mi.Option("Complete", "1");
string base64data = mi.Get(StreamKind.General, 0, "Cover_Data");


Returned stream is empty.


EDIT: Querying the container for existing cover art with: mi.Get(StreamKind.General, 0, "Cover") actually returns "Yes / Yes", which is correct because the file (MPEG-4/M4A) does indeed contain 2 embedded covers.

Last edited by Makaveli84; 3rd October 2023 at 17:40.
Makaveli84 is offline   Reply With Quote
Reply

Tags
mediainfo

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.