Date sent: 11 Jun 2007 21:40:40 -0000
To: [email protected]
Subject: Is there an "EXIF" for video files ?
From: TDJ <[EMAIL PROTECTED]>
Organization: ACME
> I use a Perl script to download images from my digital camera,
> and rename according to my archive standards.
>
> I read the original capture date using EXIF headers in the JPEG
> file.
>
> But about the video.. is it possible to read similar information
> from a video file (in MJPEG format) ?
> Basically what is need is to know when
> f.ex MOV_0193.MPG was shot
I believe that unless you've already made changes, the
localtime((stat($file))[9])
should give you the right date&time. That is if the camera was set
right ... I just had a problem putting together photos from two
different cameras I kept switching because one of them was about 15
minutes behind :-(
Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/