Skip to content

Instantly share code, notes, and snippets.

@maliqq
Created April 14, 2010 12:01
Show Gist options
  • Save maliqq/365733 to your computer and use it in GitHub Desktop.
Save maliqq/365733 to your computer and use it in GitHub Desktop.
# display duration with ffmpeg
ffmpeg -i $1 2>&1 | grep "Duration" | cut -d ' ' -f 4 | sed s/,//
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment