videoplayer new

This commit is contained in:
Rmys
2021-02-13 17:25:59 +03:00
parent 7c3a5646f7
commit 798430e11a
99 changed files with 262777 additions and 290548 deletions
@@ -0,0 +1,14 @@
#!/bin/sh
#
# A wrapper for mplayer -identify to easily get info of a file
#
if [ -z "$1" ]; then
echo "Usage: midentify <file> [<file> ...]"
exit 1
fi
mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null |
grep IDENTIFY |
sed -n -e 's/.*ID_/ID_/' -e 's/[]()|&;<>`'"'"'\\!$" []/\\&/g;p'