Quick tip: Play mp3 in loop using mplayer movie player

in Categories Linux, Linux desktop, Linux laptop, UNIX, Windows last updated October 11, 2007

mplayer is a movie player for Linux and other platforms. It plays most MPEG/VOB, AVI, ASF/WMA/WMV, RM, QT/MOV/MP4, Ogg/OGM, MKV, VIVO, FLI, NuppelVideo, yuv4mpeg, FILM and RoQ files, supported by many native and binary codecs. You can watch Video CD, SVCD, DVD, 3ivx, DivX 3/4/5 and even WMV movies, too.

If you just need to play mp3 in loop use -loop option. It loops movie playback times. Add 0 numbers to play it forever:
mplayer -loop 0 /presentation/foss/bit/08/background.soft.welcome.mp3

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 2 comments/add one below):

2 comment

    Have a question? Post it on our forum!