codec for .wmv with audio v3

Nils Kassube kassube at
Sat May 2 14:54:26 BST 2009

Brendan wrote:
> I download a ton of wmv files...and honestly, I have never had one
> without sound. I can't seem to figure out how to loop through all of
> the wmv files in a dir and get the audio info on it...mplayer
> -identify in a for loop wouldn't play nice and xine has no listed
> option...Anyone know of a method in a for loop?

What's your problem with mplayer -identify? How about this loop?

for f in $(find -iname \*.wmv);do
  echo -n "$f "
  mplayer -identify -nosound -novideo "$f" |grep ID_AUDIO_ID
done 2>/dev/null


More information about the kubuntu-users mailing list