luckylz
Active Member
- Joined
- Apr 8, 2015
- Messages
- 414
- Reaction score
- 107
- Country
- China
I'd like to share my program (written in C) can get some exif information from Xiaomi Yi photo(jpg) / thumbnail(thm), directly run in camera.
Limitations:
1.Only works for jpg & thm on Xiaomi Yi camera, others camera jpg format is not same;
2.As I only need the ISO & ShutterSpeed, there are only 2 values read from photos.
If you know how make bash script, that can be easily adapter to your own script.
Installations:
1. download & unzip the file getexif to your micro sd card;
2. enabled camera's telnet mode.
How to use:
1. connect to telnet;
2. just type the command getexif.
![getexif.png getexif.png](https://dashcamtalk.com/forum/data/attachments/20/20183-405810998850202d3de4a1051982b25a.jpg?hash=QFgQmYhQIC)
Have fun !
Limitations:
1.Only works for jpg & thm on Xiaomi Yi camera, others camera jpg format is not same;
2.As I only need the ISO & ShutterSpeed, there are only 2 values read from photos.
If you know how make bash script, that can be easily adapter to your own script.
Installations:
1. download & unzip the file getexif to your micro sd card;
2. enabled camera's telnet mode.
How to use:
1. connect to telnet;
2. just type the command getexif.
Code:
USAGE: getexif <JPEGFILE>
Code:
Example 1:
/tmp/fuse_d/getexif /tmp/fuse_d/DCIM/100MEDIA/YDXJ0032.jpg
result:
<ISO>142</ISO><EXP>1/480</EXP>
Example 2:
cd /tmp/fuse_d/
./getexif /tmp/fuse_d/DCIM/100MEDIA/YDXJ0033.THM
result:
<ISO>393</ISO><EXP>1/60</EXP>
![getexif.png getexif.png](https://dashcamtalk.com/forum/data/attachments/20/20183-405810998850202d3de4a1051982b25a.jpg?hash=QFgQmYhQIC)
Have fun !
Attachments
Last edited: