 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Peter P Guest
|
Posted: Tue Aug 17, 2004 4:25 am Post subject: DV AVI FILE DATE & TIME STAMP |
|
|
Hi all,
I understand that when an Digital Video file is captured from a video camera
(Firewire), using either DV1 or DV2 file formats, the date and time the
video was taken is also saved to disk. Does anyone know how to read that
date and time information from the files?
Thanks, in advance, for your help,
Peter
|
|
| Back to top |
|
 |
Nouky Guest
|
Posted: Fri Oct 01, 2004 7:26 pm Post subject: Re: DV AVI FILE DATE & TIME STAMP |
|
|
Tue, 17 Aug 2004 14:25:36 +1000, Peter P <pp1 (AT) comrad (DOT) com.au> wrote:
| Quote: | Hi all,
I understand that when an Digital Video file is captured from a video
camera
(Firewire), using either DV1 or DV2 file formats, the date and time the
video was taken is also saved to disk. Does anyone know how to read that
date and time information from the files?
Thanks, in advance, for your help,
Peter
|
The API GetFileTime() will give you 3 differents date and time :
CreationStamp, LastAccessStamp, LastWriteStamp
That information is related to directory where the file reside.
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/sysinfo/base/getfiletime.asp
While the duration of the video can be obtain with
mciSendCommand(wDeviceID, MCI_STATUS, MCI_STATUS_ITEM,
DWORD(&mciStatusParms))
The duration is contain in: mciStatusParms.dwReturn
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/multimed/htm/_win32_mcisendcommand.asp
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|