DateTimeOriginal etc missing from MTS files from Panasonic TS1

Started by TS1, August 29, 2022, 12:03:50 AM

Previous topic - Next topic

TS1

Is it truly missing? or are the commandlines not right?

I'd like to extract the date/time that I recorded some 200 videos, years back (2010-2012), using a Panasonic TS1.

The debian system I'm using has ver 10.40 installed.  If that is the problem, I can see about installing the latest.

Here is what i get (sorry about the font, I couldn't see how to use a fixed-width or find any formatting buttons such as code, bold, etc)

exiftool -time:all -G1 -a -s -ee  file.mts
[ExifTool]      Now                            : 2022:08:28 20:37:45-07:00
[System]       
    <snip>
[System]     

exiftool -G1 -a -s -ee file.mts
[ExifTool]      ExifToolVersion                : 10.40
[ExifTool]      Now                            : 2022:08:28 20:49:06-07:00
[ExifTool]      NewGUID                        : 20220828-2049-0600-xxxxxxxxxx
[ExifTool]      FileSequence                    : 0
[ExifTool]      ProcessingTime                  : 0.0182 s
[System]       
      <snip>
[System]     
[File]          FileType                        : M2TS
[File]          FileTypeExtension              : mts
[File]          MIMEType                        : video/m2ts
[M2TS]          VideoStreamType                : H.264 Video
[M2TS]          AudioStreamType                : A52/AC-3 Audio
[M2TS]          Duration                        : 11.97 s
[AC3]          AudioBitrate                    : 192000 max
[AC3]          SurroundMode                    : Not indicated
[AC3]          AudioChannels                  : 2
[AC3]          AudioSampleRate                : 48000
[H264]          ImageWidth                      : 1280
[H264]          ImageHeight                    : 720
[Composite]    BaseName                        : file
[Composite]    FileExtension                  : mts
[Composite]    FileTypeDescription            : MPEG-2 Transport Stream
[Composite]    ImageSize                      : 1280x720
[Composite]    Megapixels                      : 0.922


No output is generated using the commandline in FAQ #30  https://exiftool.org/faq.html#Q30  "How do I extract absolutely all metadata from a file?
The problem seeming to reside in the -ee3 option.  No output is generated for ee3 ee2 nor ee1.  Output is generated when it is a plain ee, as in:

exiftool -ee -U -G3:1 -api requestall=3 -api largefilesupport  file.mts
[ExifTool]      ExifTool Version Number        : 10.40
[ExifTool]      Now                            : 2022:08:29 06:59:11-07:00
[ExifTool]      New GUID                        : 20220829-0659-1100-xxxxxxxxxxxxx
[ExifTool]      File Sequence                  : 0
[ExifTool]      Processing Time                : 1.2 s
[System]       
        <snip>
[System]       
[File]          File Type                      : M2TS
[File]          File Type Extension            : mts
[File]          MIME Type                      : video/m2ts
[M2TS]          Video Stream Type              : H.264 Video
[M2TS]          Audio Stream Type              : A52/AC-3 Audio
[M2TS]          Duration                        : 11.97 s
[AC3]          Audio Bitrate                  : 192000 max
[AC3]          Surround Mode                  : Not indicated
[AC3]          Audio Channels                  : 2
[AC3]          Audio Sample Rate              : 48000
[H264]          Image Width                    : 1280
[H264]          Image Height                    : 720
[Composite]    Base Name                      : file
[Composite]    File Extension                  : mts
[Composite]    File Type Description          : MPEG-2 Transport Stream
[Composite]    Image Size                      : 1280x720
[Composite]    Megapixels                      : 0.922

StarGeek Edit: Edited to correct formatting.

StarGeek

Quote from: TS1 on August 29, 2022, 12:03:50 AMIs it truly missing? or are the commandlines not right?

It is entirely possible that the data is not there.

QuoteThe debian system I'm using has ver 10.40 installed.

That version is over 5 years old and there have been over 200 updates since then.  The -ee3 option didn't exist until the -ee option was enhanced in ver 12.16.

Quote(sorry about the font, I couldn't see how to use a fixed-width or find any formatting buttons such as code, bold, etc)

The formatting buttons are directly above the text box.  The code button is this one
.

Fixed font is more of a problem. The original [tt][/tt] option was lost in the forum upgrade.   I'm currently using the "Courier New" font to list commands and tag names
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

I've modified the forum to add a new [t2] code.  Here is an example:

  Use [t2]exiftool -a FILE[/t2] to see all tags including duplicates.

(I tried to use [tt], but it didn't work for some reason -- probably disabled deep in the SMF code somewhere, but adding a new [t2] code worked.)


- Phil

Edit:  I figured out how the [tt] code was disabled, and changed [t2] back to [tt], and now all is good!  Example:

  Use exiftool -a FILE to see all tags including duplicates.
...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 ($).