view TOOLS/midentify @ 8598:824481376632

"MPlayer does the right thing, presents frame 9 for 1.1 seconds, and continues with frame 20. MEncoder calculates the right "frame_time", but duplicates the frame following the gap, i.e. frame 20 is presented for 1.1 seconds." patch by Jan Kritzner <kritzner@i4.informatik.rwth-aachen.de>
author arpi
date Sat, 28 Dec 2002 12:51:05 +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; }'