Using exiftool to read an MP3

Started by Archive, May 12, 2010, 08:54:07 AM

Previous topic - Next topic

Archive

[Originally posted by xd on 2007-07-19 02:06:50-07]

When using exiftool to try and extract information from mp3 files it seems to be unable to work and keeps crashing out - I have tried numerous mp3 files and also numerous switches for running the program. Can you suggest any reason why it might not be working? Cheers; Dave
Code:
C:\Documents and Settings\Dave\My Documents\Uni\Project\build\classes\ifind\modu
les\meta>exiftool.exe test.mp3
Error while attempting to call Image::ExifTool::Latin2Charset
Global symbol "$evalWarning" requires explicit package name at C:\DOCUME~1\Dave\
LOCALS~1\Temp\par-Dave\cache-exiftool-6.90/inc/lib/Image/ExifTool/Writer.pl line
 502.
Global symbol "$evalWarning" requires explicit package name at C:\DOCUME~1\Dave\
LOCALS~1\Temp\par-Dave\cache-exiftool-6.90/inc/lib/Image/ExifTool/Writer.pl line
 508.
Global symbol "$evalWarning" requires explicit package name at C:\DOCUME~1\Dave\
LOCALS~1\Temp\par-Dave\cache-exiftool-6.90/inc/lib/Image/ExifTool/Writer.pl line
 510.
BEGIN not safe after errors--compilation aborted at C:\DOCUME~1\Dave\LOCALS~1\Te
mp\par-Dave\cache-exiftool-6.90/inc/lib/Image/ExifTool/Writer.pl line 1725.
Compilation failed in require at (eval 27) line 1.

C:\Documents and Settings\Dave\My Documents\Uni\Project\build\classes\ifind\modu
les\meta>"exiftool(-k -a -u -g1).exe" test.mp3
Error while attempting to call Image::ExifTool::Latin2Charset
Global symbol "$evalWarning" requires explicit package name at C:\DOCUME~1\Dave\
LOCALS~1\Temp\par-Dave\cache-exiftool-6.90/inc/lib/Image/ExifTool/Writer.pl line
 502.
Global symbol "$evalWarning" requires explicit package name at C:\DOCUME~1\Dave\
LOCALS~1\Temp\par-Dave\cache-exiftool-6.90/inc/lib/Image/ExifTool/Writer.pl line
 508.
Global symbol "$evalWarning" requires explicit package name at C:\DOCUME~1\Dave\
LOCALS~1\Temp\par-Dave\cache-exiftool-6.90/inc/lib/Image/ExifTool/Writer.pl line
 510.
BEGIN not safe after errors--compilation aborted at C:\DOCUME~1\Dave\LOCALS~1\Te
mp\par-Dave\cache-exiftool-6.90/inc/lib/Image/ExifTool/Writer.pl line 1725.
Compilation failed in require at (eval 27) line 1.

Archive

[Originally posted by exiftool on 2007-07-19 12:46:25-07]

Hi Dave,

There is something wrong with the installation.  Have you installed
other versions of exiftool?  If so, did they work?  There could be a
conflict with another installed version somehow.  Try deleting all of
the files in the C:\DOCUME~1\Dave\LOCALS~1\Temp\par-Dave
directory, and any other par-Dave directories you can find.  Also,
if you have any other exiftool lib directories hanging around,
delete them too. Then running exiftool again.  

If this doesn't work, your exiftool.exe could be corrupted.  Try
again after downloading the most recent version.

- Phil

Archive

[Originally posted by xd on 2007-07-19 19:19:33-07]

Ok, just to complicate things - I've found out what is wrong

I'm building a cross-platform media-indexing application for my final year project at University which uses your program to grab the info out of certain types of files.

For some reason having exiftool.exe and the mac/linux perl file in the same directory (with lib directory as well) causes conflicts, I guess I will just have to make two different folders and run them from there instead =)

Seemed a bit odd causing a conflict with both there but hey ho https://exiftool.org/forum/Smileys/default/smiley.gif" alt="Smiley" border="0" />

Thanks for the great program;

Dave

Archive

[Originally posted by exiftool on 2007-07-19 23:09:38-07]

This makes sense if the Windows and Linux packages were different
versions.  I have designed exiftool so you can run it without installing
the libraries.  To run like this, it first looks in the current directory
for a 'lib' directory, and loads the modules from there if found.
Otherwise it loads them from the standard location.  In you case,
the Windows exiftool.exe was finding the Linux libraries.  I hadn't
thought of this happening, but it should actually work as long as
the two are the same version.

- Phil

Archive

[Originally posted by xd on 2007-07-20 15:51:41-07]

Interesting, I'll give that a go - maybe I had an old version from another time :O

Thanks for the help =)