[MPlayer-cvslog] r34686 - trunk/TOOLS/midentify.sh
reimar
subversion at mplayerhq.hu
Sat Feb 11 18:21:15 CET 2012
Author: reimar
Date: Sat Feb 11 18:21:14 2012
New Revision: 34686
Log:
Optimize midentify script to not wasted time filling the cache.
This could take particularly much time when the file is
live audio stream and the cache is set large in the configuration.
Based on suggestion by Rodrigo Campos [rodrigo [at] sdfg com ar]
Modified:
trunk/TOOLS/midentify.sh
Modified: trunk/TOOLS/midentify.sh
==============================================================================
--- trunk/TOOLS/midentify.sh Sat Feb 11 16:35:39 2012 (r34685)
+++ trunk/TOOLS/midentify.sh Sat Feb 11 18:21:14 2012 (r34686)
@@ -12,7 +12,7 @@ if [ -z "$1" ]; then
exit 1
fi
-mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null |
+mplayer -noconfig all -cache-min 0 -vo null -ao null -frames 0 -identify "$@" 2>/dev/null |
sed -ne '/^ID_/ {
s/[]()|&;<>`'"'"'\\!$" []/\\&/g;p
}'
More information about the MPlayer-cvslog
mailing list