Skip to content

Instantly share code, notes, and snippets.

@jnstq
Created January 22, 2009 15:20
Show Gist options
  • Save jnstq/50566 to your computer and use it in GitHub Desktop.
Save jnstq/50566 to your computer and use it in GitHub Desktop.
def parse(dvgrab_output)
if dvgrab_output =~ /"([.\w\/]*)":\s+(.*)\s+MiB\s+(\d+)\s+frames\s+timecode\s+(.*)\s+date/
@filename, @size, @frames, @timecode = $1, $2, $3, $4
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment