Re: dauer von mp3 ogg bestimmen
Hallo,
Am Son, 18 Feb 2007, Vladislav Vorobiev schrieb:
>irgend wie finde ich kein Program die das mir auf der Konsolle die
>dauer von Mp3 anzeigt. Kann mir jemand etwas empfehlen?
ogginfo FOO.ogg
ogginfo FOO.ogg | sed -n '/Playback/s/^[^:]*://p'
mpg123 -v -t -n 1 FOO.mp3
mpg123 -v -t -n 1 FOO.mp3 2>&1 | \
awk -F'[' '/Frame/{sub("].*","",$3); print $3; }'
mpg123 -v -t -n 1 FOO.mp3 2>&1 | \
sed -n '/Frame/s/.*\[\([0-9]*..*\)\].*/\1/p'
Oder so, ganz nach Geschmack noch in ein Script verpackt ;)
-dnh
--
> Why is the speed of light so slow?
If the quantum police catch its starship speeding again, it'll be
forced to walk the Planck. -- The Usenet Oracle
Reply to: