21 May '13 - 20:51
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
Reading/extracting cover art?
Pages: [
1
]
« previous
|
next »
Reply
|
Print
Author
Topic: Reading/extracting cover art? (Read 1306 times)
Patrice Terrier
Posts: 89
Reading/extracting cover art?
«
on:
26 Jul '11 - 11:55 »
Quote
What is the best way with Bass.dll to extract/read "cover art" from audio file using ID3 tag?
...
Logged
normcook04
Posts: 17
Re: Reading/extracting cover art?
«
Reply #1 on:
26 Jul '11 - 13:08 »
Quote
AFAIK, you can't with the bass.dll. BassTags will read text based
tags but not the Album Picture (APIC) tag.
Here is a fast Tag Reader dll which reads everything from
a large number of media formats:
http://sourceforge.net/projects/audiogenie/
I am a VB6 programmer and I use the class (cls) on this page:
http://mirror.transact.net.au/sourceforge/a/project/au/audiogenie/V2.0.4.0/wrapper/VB6/
Even if you don't use VB6, it will show the dll usage.
The AudioGenie dll allows saving the artwork to file or to a byte array.
Logged
Patrice Terrier
Posts: 89
Re: Reading/extracting cover art?
«
Reply #2 on:
29 Jul '11 - 08:03 »
Quote
AudioGenie3.dll works like a charm by me.
Thank you!
...
Logged
Patrice Terrier
Posts: 89
Re: Reading/extracting cover art?
«
Reply #3 on:
29 Jul '11 - 20:16 »
Quote
Here is the result using AudioGenie3.dll to display the "Cover Art" from ID3 tag.
And here is the header converted from C++ to PowerBASIC 10+
http://www.jose.it-berater.org/smfforum/index.php?topic=4184.msg14520;topicseen#msg14520
...
Logged
Rakham01
Posts: 15
Re: Reading/extracting cover art?
«
Reply #4 on:
9 Jul '12 - 09:31 »
Quote
Hi!
I found your old topic, "Reading/extracting cover art".
So I also downloaded that wrapper for VB6, but I'm still not sure, how to use it.
I'm trying to get album art from mp3 file, with this function:
Public Function ID3V2GetPictureFile(ByVal FileName As String, ByVal Index As Integer) As Integer
ID3V2GetPictureFile = ID3V2GetPictureFileW(StrPtr(FileName), Index)
End Function
In AudioGenie help file:
Return Value (normally -1, 0 on error or index not present)
Filename (Name of the file where the picture will be stored)
Index (index from 1 to picture frame count)
So, where can I pass the source mp3 filename, from which the album art is read? "Filename" in here is the target, where to store that picture. Any comments?
Logged
Rakham01
Posts: 15
Re: Reading/extracting cover art?
«
Reply #5 on:
12 Jul '12 - 09:04 »
Quote
After reading information text from AudioGenie class-module, there is this explanation:
' Dim Genie As clsAudioGenie
' Set Genie = New clsAudioGenie
' Genie.AUDIOAnalyzeFile(file$)
So there is that method, I was looking for. Problem solved
Logged
Pages: [
1
]
Reply
|
Print
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
Reading/extracting cover art?
« previous
|
next »
Jump to:
Please select a destination:
-----------------------------
Developments
-----------------------------
=> BASS
=> XMPlay
=> MO3
-----------------------------
Off Topic
-----------------------------
=> General Discussion
Loading...