Temperature written to EXIF or log file? - Script Writing - CHDK Forum supplierdeeply

Temperature written to EXIF or log file?

  • 7 Replies
  • 5924 Views
Temperature written to EXIF or log file?
« on: 04 / November / 2009, 12:06:26 »
Advertisements
I have an A460 which displays temperature on screen. I would like to have this temperature written to the EXIF data or to a separate log file with a time stamp.

Is this possible?

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Temperature written to EXIF or log file?
« Reply #1 on: 04 / November / 2009, 16:36:40 »
I have an A460 which displays temperature on screen. I would like to have this temperature written to the EXIF data or to a separate log file with a time stamp.

JPEG EXIF is out of our capabilities, but log files and DNG EXIF are possible.

If your post is in the correct place (script writing) then this is very easy. Refer to e.g. the sunset timelapse scripts. Basically you use the get_temperature command and write to a log file of your choice. This should work even in ubasic, with less sophisticated logging of course.

But if you wish this to go to DNG EXIF or to happen in interactive shooting, outside scripts, you need to hack it all into CHDK C code.

Re: Temperature written to EXIF or log file?
« Reply #2 on: 11 / November / 2009, 07:47:59 »
what work has been done in trying to edit EXIF info in jpegs? I was considering turning my attention toward it.

I'm working with a camera installed remotely. Unfortunately getting debug info via logs is spotty at best. Might have something to do with how my Eye-fi card works. I think I could resolve this problem if debugging info was put inside the jpgs.

*

Offline reyalp

  • ******
  • 14121
Re: Temperature written to EXIF or log file?
« Reply #3 on: 11 / November / 2009, 17:30:07 »
what work has been done in trying to edit EXIF info in jpegs? I was considering turning my attention toward it.
very little AFAIK
Quote
I'm working with a camera installed remotely. Unfortunately getting debug info via logs is spotty at best. Might have something to do with how my Eye-fi card works. I think I could resolve this problem if debugging info was put inside the jpgs.
You might be able to just put your log in a file with an extension that the eyefi thinks is an image.
Don't forget what the H stands for.


Re: Temperature written to EXIF or log file?
« Reply #4 on: 11 / November / 2009, 17:54:56 »
>>You might be able to just put your log in a file with an extension that the eyefi thinks is an image.

I've been through a lot of variations on that one. The main problem is that it makes it through...sometimes.

I'm somewhat glad to hear that little work has been done on editing EXIF in jpgs. There is some fairly good python code that I might be able to translate

*

Offline reyalp

  • ******
  • 14121
Re: Temperature written to EXIF or log file?
« Reply #5 on: 11 / November / 2009, 18:06:58 »
>>You might be able to just put your log in a file with an extension that the eyefi thinks is an image.

I've been through a lot of variations on that one. The main problem is that it makes it through...sometimes.
Sticking a valid jpeg (or whatever) header on the front might be the way to do it.
Quote
I'm somewhat glad to hear that little work has been done on editing EXIF in jpgs. There is some fairly good python code that I might be able to translate
If nothing else, you could use lua file IO to modify them after the fact.
Don't forget what the H stands for.

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Temperature written to EXIF or log file?
« Reply #6 on: 23 / November / 2009, 16:08:27 »
I believe this wonderful new lua exif tagger thing will do the trick unless you can't afford a small delay between shots:

http://chdk.setepontos.com/index.php/topic,4533.msg43655.html

Re: Temperature written to EXIF or log file?
« Reply #7 on: 07 / December / 2009, 15:42:39 »
« Last Edit: 07 / December / 2009, 20:09:18 by naddel »


 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal