Pages

How to set up ( Fedora php ruby on rails )

Showing posts with label mplayer. Show all posts
Showing posts with label mplayer. Show all posts

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'

Tuesday, August 4, 2009

how to play audio and video on fedora

How to play audio video music files on linux (VLC mplayer )


playing audio video on fedora is kinda easy work to do you need to just follow these commands and in end you will have number of player with which you can play almost all video format on your fedora operating system


Fedora is not shipped with audio video codec like mp3 or avi so first of all you need some repositories so copy and paste into your terminal the below commands


[ismail@localhost ~]$ su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm'

[ismail@localhost ~]$ su -c 'rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'


[ismail@localhost ~]$ su -c 'rpm -Uvh http://rpm.livna.org/livna-release.rpm'

Downloading and installing codec from livna


[ismail@localhost ~]$ su -c 'yum install gstreamer-plugins-bad gstreamer-plugins-bad-extras gstreamer-plugins-ugly xine-lib-extras-nonfree totem-xine'

That is what you want it now others are optional choose your favourite player or install all


Audicious


[ismail@localhost ~]$ su -c 'yum install audacious-plugins-nonfree-aac audacious-plugins-nonfree-alac audacious-plugins-nonfree-mms audacious-plugins-nonfree-mp3 audacious-plugins-nonfree-tta audacious-plugins-nonfree-wma audacity-nonfree'


ffmpeg


It must be install its good for internet audio and video play


[ismail@localhost ~]$ su -c 'yum install ffmpeg ffmpeg-libs ffmpeg2theora gstreamer-ffmpeg'

VLC


one of the popular video and audio player VLC


[ismail@localhost ~]$ su -c 'yum install vlc'

Rhythmbox


[ismail@localhost ~]$ su -c 'yum install rhythmbox-lirc rhythmbox-upnp'

Mplayer


one of the finest media player


[ismail@localhost ~]$ su -c 'yum install mplayer mplayer-doc mplayer-gui mplayerplug-in gnome-mplayer'