On 2022-01-19 05:29 pm, Bo Berglund wrote:
On Wed, 19 Jan 2022 17:10:26 +0530, Gyan Doshi <[email protected]> wrote:

What do I need to just get that output I want?
The closest you can get is

      ffprobe -v 0 -of compact=p=0:nk=1 -sexagesimal -show_entries
format=duration INPUT
Thanks, this returns the following output:
0:43:26.384000

Can the duration be limited to only seconds resolution (no decimals)?




ffprobe -v 0 -of compact=p=0:nk=1 -sexagesimal -show_entries
format=duration INPUT | grep -oP "^[\d:]+"

Gyan

_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to