![]() ![]() |
Apr 30 2012, 19:46
Post
#1
|
|
|
Member Group: Members Posts: 3 Joined: 30-April 12 Member No.: 16398 Mp3tag Version: 2.50 |
Hello there!
I'm hoping this is the right forum category. To start off, MP3Tag is awesome! Is it possible, say using PHP, to "echo" (extract/view) art from an mp3 file? Meaning, if on server there is a song.mp3 which already has cover/album art encoded, is there a way/script to extract that to view on webpage. (PHP was just an example, it can be js, etc). TIA! |
|
|
|
Apr 30 2012, 20:47
Post
#2
|
|
|
Member Group: Full Members Posts: 70 Joined: 16-August 09 From: Canada Member No.: 10731 Mp3tag Version: 2.55 |
...Is it possible, say using PHP, to "echo" (extract/view) art from an mp3 file? Meaning, if on server there is a song.mp3 which already has cover/album art encoded, is there a way/script to extract that to view on webpage. (PHP was just an example, it can be js, etc). I assume you know that Mp3tag can extract the "picture" field, from various file types, to the users file system. However, there are only minimal command line arguments available, and they are mostly (only?) concerned with loading files and directories. AFAIK, there are no plans to expand command line functionality. "ExifTool is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in a wide variety of files." It can extract the "picture" field (or any other field) from the tag of various audio file types (mp3, flac, wma, at least). It is a monster of a program, aimed at photographers, and highly respected in that community. It is well documented and supported by the author, Phil Harvey, but the learning curve is steep! I've used it with .bat and .vbs scripts and faintly remember talk in the Exiftool forums of js and php "wrappers". Maybe that indicates it can be called by those scripts. -------------------- Windows 7, Home Premium, SP1
|
|
|
|
Apr 30 2012, 21:27
Post
#3
|
|
|
Member Group: Members Posts: 3 Joined: 30-April 12 Member No.: 16398 Mp3tag Version: 2.50 |
I assume you know that Mp3tag can extract the "picture" field, from various file types, to the users file system. However, there are only minimal command line arguments available, and they are mostly (only?) concerned with loading files and directories. AFAIK, there are no plans to expand command line functionality. "ExifTool is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in a wide variety of files." It can extract the "picture" field (or any other field) from the tag of various audio file types (mp3, flac, wma, at least). It is a monster of a program, aimed at photographers, and highly respected in that community. It is well documented and supported by the author, Phil Harvey, but the learning curve is steep! I've used it with .bat and .vbs scripts and faintly remember talk in the Exiftool forums of js and php "wrappers". Maybe that indicates it can be called by those scripts. Thank you for the quick response. Yes, I'm familiar with MP3Tag's extract feature. Thanks for checking though. Interesting tip re:exiftool. Will look into it. Thank you. |
|
|
|
May 1 2012, 08:25
Post
#4
|
|
|
Member Group: Full Members Posts: 738 Joined: 21-September 06 From: Central Europe Member No.: 3709 Mp3tag Version: 2.54 |
Just to let you know about the ExifTool and mp3:
It can only READ mp3, not write... MP3 R MPEG-1 layer 3 audio (uses ID3 information) source: http://www.sno.phy.queensu.ca/~phil/exiftool/#supported |
|
|
|
May 2 2012, 12:19
Post
#5
|
|
|
Member Group: Members Posts: 3 Joined: 30-April 12 Member No.: 16398 Mp3tag Version: 2.50 |
Thanks. Turns out its possible:
http://u88.n24.queensu.ca/exiftool/forum/i...2.html#msg19362 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 26th May 2013 - 00:05 |