.ts video files - duration

Started by sevy, April 30, 2020, 09:55:13 AM

Previous topic - Next topic

sevy

Hello,

I use ExifTool to generate a csv file of video files (mp4, mkv, flv, ts, avi) with duration.
It's working fine except for .ts file (filetype = M2T).
For those file, the duration is "0,06s", to get the real duration, I add -ee.
But it's time consuming and useless for other filestype.
Until now, I have 2 scripts (and 2 csv):
- the main for all video files except .ts file
- one for ts.

Is it possible to have only one script and to use -ee only for .ts file ?

Thanks in advance

Phil Harvey

This isn't by design.  I will look into this.

- 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

I've just released ExifTool 11.98 which fixes some problems determining Duration for M2TS files.  Hopefully this will work for you without the -ee option.

- 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 ($).

sevy

Wonderful ! Thank you very much !!

obetz

Quote from: Phil Harvey on May 01, 2020, 10:02:25 AM
I've just released ExifTool 11.98

Your release frequency is rather high these days.