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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 | Link |
|
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. |
|
|
|
![]() |
| Tags |
| mediainfo |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|