Skip to content

Instantly share code, notes, and snippets.

@stefl
Created March 26, 2011 09:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefl/888150 to your computer and use it in GitHub Desktop.
Save stefl/888150 to your computer and use it in GitHub Desktop.
extract starting timecode from a video file using mediainfo
mediainfo -f /files/timecode/528006c9-33b0-4a89-9b94-c9bf7f6be2a9.mov | grep '^Delay.*: [0-9][0-9]:' | awk '{split($0,a,": "); print a[2]}'
@stefl
Copy link
Author

stefl commented Mar 26, 2011

Starting timecode appears as Delay when mediainfo is run with the -f flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment