reading the recorded date off an AVI encapsulated DV stream

Started by mokalan, July 24, 2013, 05:33:28 PM

Previous topic - Next topic

mokalan

Hi,

I can get the date with MediaInfo, under "Recorded date", but not with ExifTool.

Am I missing something or is it just not supported yet?

thanks

Phil Harvey

A sample would be useful.  ExifTool should extract all standard (and most non-standard) date/time information from most supported file types.  Try this command:

exiftool -a -G1 -time:all some_file.jpg

If you want a more informed answer, it would be useful to at least know what type of file you are talking about.

- Phil

Edit: Doh!  It says the file type in your subject.  ExifTool currently does not yet parse the video streams of any container other than M2TS.  Adding this ability has been on my list of things to do for a while.  Supporting a large number of video compression schemes is not practical, but adding support for H.264 shouldn't be too hard because I already support that in M2TS.
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

mokalan

Hi Phil,

The DV was captured out of a miniDV camcorder by WinDV. I think the tool already embedded the time within the AVI container tags.


General
Complete name                            : /tape01.2006-12-02_20-04-16.00.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
Commercial name                          : DVCPRO
File size                                : 252 MiB
Duration                                 : 1mn 13s
Overall bit rate mode                    : Constant
Overall bit rate                         : 28.9 Mbps
Recorded date                            : 2006-12-02 20:04:16.000

Video
ID                                       : 0
Format                                   : DV
Commercial name                          : DVCPRO
Duration                                 : 1mn 13s
Bit rate mode                            : Constant
Bit rate                                 : 24.4 Mbps
Encoded bit rate                         : 28.8 Mbps
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Standard                                 : PAL
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Bottom Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 2.357
Time code of first frame                 : 00:54:46:21
Time code source                         : Subcode time code
Stream size                              : 251 MiB (100%)
Encoding settings                        : ae mode=full automatic / wb mode=automatic / white balance= / fcm=manual focus

Audio #1
ID                                       : 0-0
Format                                   : PCM
Muxing mode                              : DV
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 1mn 13s
Bit rate mode                            : Constant
Bit rate                                 : 768 Kbps
Encoded bit rate                         : 0 bps
Channel(s)                               : 2 channels
Sampling rate                            : 32.0 KHz
Bit depth                                : 12 bits
Stream size                              : 6.70 MiB (3%)
Encoded stream size                      : 0.00 Byte (0%)

Audio #2
ID                                       : 0-1
Format                                   : PCM
Muxing mode                              : DV
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 1mn 13s
Bit rate mode                            : Constant
Bit rate                                 : 768 Kbps
Encoded bit rate                         : 0 bps
Channel(s)                               : 2 channels
Sampling rate                            : 32.0 KHz
Bit depth                                : 12 bits
Stream size                              : 6.70 MiB (3%)
Encoded stream size                      : 0.00 Byte (0%)


Phil Harvey

Send me the AVI file and I'll take a look.  My email is philharvey66 at gmail.com

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

Phil Harvey

Thanks for the sample.  I have checked, and I'm pretty sure there isn't any date/time metadata that Exiftool is missing.  So the information must be stored in the audio/video stream data (which in this particular video is interleaved in a single stream).

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