Mercurial > mplayer.hg
view TOOLS/midentify @ 22514:ce431aaeab21
r22408: add -tv driver=help entry, also add dshow tv driver
r22409: 10l: dshow isnt in svn yet
r22453: add -xvfwopts compdata suboption to man page
r22461: -nomouseinput is no longer X11 only.
r22492: documented -reuse-socket
r22503: corrected description of -reuse-socket as described by Rich
r22508: Document lscale=2
r22512: wording/spelling for lscale=2 suboption
r22521: Clarify -reuse-socket description.
author | voroshil |
---|---|
date | Mon, 12 Mar 2007 18:05:39 +0000 |
parents | efb8b8fa323e |
children |
line wrap: on
line source
#!/bin/sh # # This is a wrapper around the -identify functionality. # It is supposed to escape the output properly, so it can be easily # used in shellscripts by 'eval'ing the output of this script. # # Written by Tobias Diedrich <ranma+mplayer@tdiedrich.de> # Licensed under GNU GPL. if [ -z "$1" ]; then echo "Usage: midentify <file> [<file> ...]" exit 1 fi mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null | sed -ne '/^ID_/ { s/[]()|&;<>`'"'"'\\!$" []/\\&/g;p }'