On Wed, Jan 20, 2010 at 10:32:11AM +0100, Christian Ebert wrote: > mplayer -endpos 0 -vo null -ao null -identify <infile> 2> /dev/null | > awk -F '=' '/^ID_LENGTH/ { print $2 }' Another way is to use midentify.sh from TOOLS: midentify.sh <infile> | grep 'ID_LENGTH' | cut -d '=' -f 2 Many different ways to do this one :). Andrew -- Do you think that's air you're breathing?