view TOOLS/midentify @ 8531:1aa2c9b460af

Merged EDL 0.5 patch - it's something like Quicktime's edit lists. (skip sections listed in a text file. it also supports creating them) patch by Michael Halcrow <mah69@email.byu.edu>
author arpi
date Mon, 23 Dec 2002 00:33:22 +0000
parents d151608b9f28
children 6cf694df50b3
line wrap: on
line source

#!/bin/sh
mplayer -identify "$@" 2>/dev/null |
	grep "^ID" |
	sed -e 's/[`\\!$"]/\\&/g' |
	sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'