The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Get The Length/Duration Of A Video With ffmpeg/ffprobe

TODO: Pull subtitle into page object
Code
ffprobe -v error -show_entries format=duration \
-of default=noprint_wrappers=1:nokey=1 \
input.mp4

Notes

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Get The Length/Duration Of A Video With ffmpeg/ffprobe

This is what I use to pull the duration time for 
videos in my projects:

-- code
-- bash

ffprobe -v error -show_entries format=duration \
-of default=noprint_wrappers=1:nokey=1 \
input.mp4


-- notes

- It gets the length of the container

- If the stream lenghts are different or if the file
format doesn't work with the above command >this page>
https://superuser.com/a/945604/85635> has more details.
It's where I got the solution from



-- blurb

-- categories
-- ffmpeg 

-- metadata
-- date: 2023-04-08 13:33:10
-- id: 2o9akw7w
-- site: aws
-- type: post
-- status: published