Pages

How to set up ( Fedora php ruby on rails )

Wednesday, August 5, 2009

How to play wmv and wma on Fedora and linux (windows media video and audio)

Windows media files playing on fedora and other distributions (Linux)



Lets play windows media files on linux just few steps and you be done


[ismail@localhost ~]$ cd /tmp

[ismail@localhost tmp]$ wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2

[ismail@localhost tmp]$ tar -jxvf all-20071007.tar.bz2

[ismail@localhost tmp]$ su -c 'mkdir -p /usr/local/lib/codecs'

[ismail@localhost tmp]$ su -c 'cp all-20071007/* /usr/local/lib/codecs'

[ismail@localhost tmp]$ rm -rf /tmp/all-20071007*

Optional


add this line in command line so other applications may also be able to play windows media


[ismail@localhost tmp]$ su -c 'ln -sf /usr/local/lib/codecs /usr/lib/codecs && ln -sf /usr/local/lib/codecs /usr/local/lib/win32 && ln -sf /usr/local/lib/codecs /usr/lib/win32'

1 comment:

  1. It seems a bit diffcult for me to understand this tutorial. Any pictures illustration or video demo?

    ReplyDelete