1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00
mpv/TOOLS/midentify
ranma d1e9beb0ae Prevent vo window flashing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9573 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-12 16:25:25 +00:00

6 lines
189 B
Bash
Executable File

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