Author Topic: daemon mode for exiftool  (Read 19093 times)

Archive

  • Newbie
  • *
  • Posts: 0
Re: daemon mode for exiftool
« Reply #15 on: May 12, 2010, 08:54:06 AM »
[Originally posted by exiftool on 2007-07-13 19:21:59-07]

Hi Mike,

Great.  Glad this helps.

I've never heard of those formats, and haven't had any requests to support
them.  But unless they contain metadata, there isn't much reason to do
it (except maybe to extract the image dimensions or something like that).

- Phil

Archive

  • Newbie
  • *
  • Posts: 0
Re: daemon mode for exiftool
« Reply #16 on: May 12, 2010, 08:54:06 AM »
[Originally posted by exiftool on 2007-07-13 19:36:28-07]

You got me thinking so I ran a quick test on my system here.
I timed the following two commands:

Code:
exiftool -listf
 exiftool -listg

The way ExifTool is implemented, the first command doesn't need to load
any of the format-specific modules, and it takes 0.100 sec on my
system.  The second command loads all modules to determine
the full group list, and takes 0.677 sec here.  The difference is mainly
due to the time required to load all the modules, but there is a bit
more CPU work done by -listg, so I hacked the code to remove this
and the time dropped to 0.622 sec.  So on my system (a 1.83 GHz Intel
Core Duo), the time to load all modules is 0.522 seconds.  That's pretty
hefty. (...and you want me to add more?... hehe)

- Phil

Archive

  • Newbie
  • *
  • Posts: 0
Re: daemon mode for exiftool
« Reply #17 on: May 12, 2010, 08:54:06 AM »
[Originally posted by mjc on 2007-07-13 19:50:08-07]

OpenEXR does have metadata, but I don't know anyone who uses the format. So it's just a curiosity...

- Mike

Archive

  • Newbie
  • *
  • Posts: 0
Re: daemon mode for exiftool
« Reply #18 on: May 12, 2010, 08:54:30 AM »
[Originally posted by metadatacrucher on 2009-01-23 21:35:16-08]

I do see a sense in an ExifTool Daemon. Imagine a non-Perl Web Application that wants to do metadata extraction for uploaded pics. Currently you have to call/exec exiftool on every uploaded pic which is a certain overhead - especially if you want to redirect the user to the results after the upload. A Daemon could improve performance in this case.

Can we expect any progress on this issue in near future?

Archive

  • Newbie
  • *
  • Posts: 0
Re: daemon mode for exiftool
« Reply #19 on: May 12, 2010, 08:54:30 AM »
[Originally posted by exiftool on 2009-01-24 00:14:06-08]

The short answer is:  No

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 11198
    • ExifTool Home Page
Re: daemon mode for exiftool
« Reply #20 on: December 09, 2011, 06:51:55 PM »
Update: 2010-10-30 - ExifTool 8.36 implemented a -stay_open option which effectively gives this "daemon mode" functionality.

- Phil
...where DIR is the name of a directory containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).