Re: Length of a video file (.avi, .mpg) from the command line
Hi,
On Wed, Aug 14, 2019 at 05:43:42PM +0200, Jean-Baptiste Thomas wrote:
> Can anyone recommend a command line program that could tell me
> the length of the video stream in a .avi or .mpg file ?
ffprobe from the ffmpeg package can extract the duration, and offers
programmatically-friendly output formats such as CSV, JSON and so
on.
http://trac.ffmpeg.org/wiki/FFprobeTips#Duration
Cheers,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
Reply to: