How can I use ffprobe to get the duration of a video file?

1 answer

Answer

1184126

2026-07-21 19:55

+ Follow

You can use ffprobe to get the duration of a video file by running the command "ffprobe -i yourvideofile.mp4 -showentries formatduration -v quiet -of csv"p0"". This will provide you with the duration of the video file in seconds.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.