ExifTool Forum

ExifTool => Newbies => Topic started by: sevy on April 30, 2020, 09:55:13 AM

Title: .ts video files - duration
Post by: sevy on April 30, 2020, 09:55:13 AM
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
Title: Re: .ts video files - duration
Post by: Phil Harvey on April 30, 2020, 11:46:24 AM
This isn't by design.  I will look into this.

- Phil
Title: Re: .ts video files - duration
Post by: Phil Harvey on May 01, 2020, 10:02:25 AM
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
Title: Re: .ts video files - duration
Post by: sevy on May 01, 2020, 10:46:54 AM
Wonderful ! Thank you very much !!
Title: Re: .ts video files - duration
Post by: obetz on May 01, 2020, 01:34:58 PM
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.