Friday, 13 January 2012

Big Bash Of Video Players On Gnome 3


 Big Bash Of Video Players On Gnome 3 is a lazy comparative study of Linux based video players , specifically those which are available on GNOME 3.2.1 , openSUSE 12.1.openSUSE 12.1 offers a large variety of video players based on various platforms like gstreamer , phonon , xine , mplayer etc : Most of the video player options can be installed through the addition of OSS , Non OSS , Update and Packman repositories in YaST.
    Before one gets on with installing video players on openSUSE one must install the codecs for restricted multimedia formats .This will enable the video players to play the wide range of video formats available nowadays like mpg , divx / avi , xvid / avi , rm , rmvb , wmv , mkv , asf , flv , webm etc:The list seems to be endless.
  The various video players compared include Banshee , Gmerlin player , gnome-mplayer , gmplayer , SMPlayer , UMPlayer , Totem , VLC , Whaaw! Media Player , Xine-ui , XBMC .Though many other video players are available for openSUSE we will restrict ourselves with comparing the above ones.

Install Video Players 
One can go through Step 1 in this post to install all the required multimedia libraries on openSUSE / GNOME.Then one needs to ensure that all the required community repositories have been configured / installed.
Zypper way:-
==>Press Alt+F2 and in the command launch window type in "gnome-termial" and hit enter or return key
==>Execute the command "sudo zypper in umplayer". Here "sudo" is used for switching to super user mode,"zypper" is the installation tool,"in" stands for install and "umplayer" is the name of the software / package you are going to install
==>If prompted type in the admin password / passcode
Sample zypper output :-
anonymous@linux-9p85:~> sudo zypper in umplayer
root's password:
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
  umplayer
1 new package to install.
Overall download size: 1.4 MiB. After the operation, additional 3.6 MiB will be
used.
Continue? [y/n/?] (y): y
Retrieving package umplayer-0.97+r180-1.5.i586 (1/1), 1.4 MiB (3.6 MiB unpacked)
Retrieving: umplayer-0.97+r180-1.5.i586.rpm [done (62.3 KiB/s)]
Installing: umplayer-0.97+r180-1.5 [done]
GUI way:- 
If you are not comfortable with command line interface ( CLI ) or command mode then you can install the software through YaST.
==>Press left windows/Super key on your keyboard,this will bring up the activities window in GNOME 3
==>Click on Applications tab,it will appear on left hand side top of the activities windows
==>You can find "Install/Remove Software" menu by typing in install from your keyboard ( don't worry about placing your mouse cursor in search box,GNOME 3 is smart enough to do it for you). Alternatively you can locate it under "system tools" node of the tree like menu which sits on the right hand side in in the applications tab
==>Enter admin password when prompted and then and then wait for the tool to "refresh" your available software list
==>You can type in the name of the package / software / rpm you want to install like "gnome-mplayer" or "umplayer" and then click / check the software you want to install.You can "check" multiple software by changing the query in the "find" box and checking/selecting the software you need.
==>After checking the software your need hit apply button at the bottom of the software install window.You will be asked to confirm the software you want to install and then it will take a few minutes for the download and install process to complete.
==>You can then check the installed software "Applications" menu.
Comparison of video players
  First I compare the video players based on their looks (like whether they integrate well with desktop theme) , their stability(how many times they crash) , easy of use (use of scroll in mouse to seek etc),whether they are easily configurable (setting default subtitle language etc).

Banshee
http://banshee.fm/
Looks 04 / 05
Easy Of Use 04 / 05
Stability 03 / 05
Configurability 03 / 05
Skin/Theme Available? No


Gmerlin Player
http://gmerlin.sourceforge.net/
Looks 02 / 05
Easy Of Use 02 / 05
Stability 03 / 05
Configurability 03 / 05
Skin/Theme Available? Yes


gnome-mplayer
http://code.google.com/p/gnome-mplayer/
Looks 03 / 05
Easy Of Use 04 / 05
Stability 05 / 05
Configurability 04 / 05
Skin/Theme Available? No


gmplayer
http://www.mplayerhq.hu
Looks 03 / 05
Easy Of Use 03 / 05
Stability 03 / 05
Configurability 04 / 05
Skin/Theme Available? Yes


SMPlayer
http://smplayer.sourceforge.net/
Looks 04 / 05
Easy Of Use 04 / 05
Stability 04 / 05
Configurability 05 / 05
Skin/Theme Available? Yes


UMPlayer
http://www.umplayer.com
Looks 04 / 05
Easy Of Use 04 / 05
Stability 04 / 05
Configurability 05 / 05
Skin/Theme Available? yes


Totem
http://projects.gnome.org/totem/
Looks 05 / 05
Easy Of Use 04 / 05
Stability 04 / 05
Configurability 03 / 05
Skin/Theme Available? No


VLC
http://www.videolan.org/
Looks 03 / 05
Easy Of Use 04 / 05
Stability 04 / 05
Configurability 03 / 05
Skin/Theme Available? Yes




Whaaw! Media Player
http://home.gna.org/whaawmp/
Looks 03 / 05
Easy Of Use 04 / 05
Stability 04 / 05
Configurability 02 / 05
Skin/Theme Available? No


Xine-ui
http://www.xine-project.org/home
Looks 03 / 05
Easy Of Use 03 / 05
Stability 03 / 05
Configurability 03 / 05
Skin/Theme Available? yes


XBMC
http://xbmc.org/
Looks -N.A.-
Easy Of Use 03 / 05
Stability 04 / 05
Configurability 03 / 05
Skin/Theme Available? Yes


Screenshots Of video Players 
Banshee
Gmerlin Player
gmplayer
gnome-mplayer
SMPlayer
Totem
UMPlayer
VLC
Whaaw
XBMC
xine-ui
How Many Formats Does Your Video Player Handle?
  Any good video player should support multiple video formats.The generic rule is the more formats a video player supports, the better. I have randomly selected videos in 12  different formats to rigorously test the players and here are the results:-

File Formats used in tests:-
DivX/avi <== DivX is a video compression Codec that can compress long video segments into smaller sizes while maintaining good visual quality.
flv<==Flash Video is a container file format used to deliver video over the Internet
webm<==Free and open video format designed to provide royalty-free high-quality video compression for use with HTML5 video.
asf<== Advanced Streaming Format,proprietary format from MS 
rm<==RM video format is a multimedia container format created by RealNetworks
mkv<==Matroska is a extensible, open source, open standard Multimedia container
mov<==Video format for apple quicktime videos
xvid/avi<==Xvid is a video codec library following the MPEG-4 standard, specifically MPEG-4 . rmvb<==RealMedia Variable Bitrate is a variable bitrate extension of the RealMedia multimedia container format

mkv with embedded subs<==Matroska is a extensible, open source, open standard Multimedia container
wmv<==Windows Media Format
 

Banshee
File/Format Runs It Remarks
AVI_DivX.avi Yes
BlackJackOP.flv Yes
HTML_5_video_~.webm Yes
niceday.asf Yes
niceday.rm No Plays Audio No Video
sample.mkv Yes
sample_iTunes.mov Yes
Sample-pitbull~xvid~.avi Yes
Samurai X.mpg No Plays Audio No Video
szybcy sie sample.rmvb No Plays Audio No Video
vsshort-vorbis-subs.mkv Yes
WindowsMedia.wmv Yes



Gmerlin player
File/Format Runs It Remarks
AVI_DivX.avi Yes
BlackJackOP.flv Yes
HTML_5_video_~.webm Yes
niceday.asf Yes
niceday.rm No Crashes
sample.mkv Yes
sample_iTunes.mov Yes
Sample-pitbull~xvid~.avi Yes
Samurai X.mpg Yes
szybcy sie sample.rmvb No Plays Audio No Video
vsshort-vorbis-subs.mkv No Audio,video present No subtitle
WindowsMedia.wmv Yes



gnome-mplayer
File/Format Runs It Remarks
AVI_DivX.avi Yes
BlackJackOP.flv Yes
HTML_5_video_~.webm Yes
niceday.asf Yes
niceday.rm Yes
sample.mkv Yes
sample_iTunes.mov Yes
Sample-pitbull~xvid~.avi Yes
Samurai X.mpg Yes
szybcy sie sample.rmvb Yes
vsshort-vorbis-subs.mkv Yes
WindowsMedia.wmv Yes



gmplayer
File/Format Runs It Remarks
AVI_DivX.avi Yes
BlackJackOP.flv Yes
HTML_5_video_~.webm Yes
niceday.asf Yes
niceday.rm Yes
sample.mkv No Crashes
sample_iTunes.mov Yes
Sample-pitbull~xvid~.avi Yes
Samurai X.mpg Yes
szybcy sie sample.rmvb Yes
vsshort-vorbis-subs.mkv Yes
WindowsMedia.wmv Yes





SMPlayer
File/Format Runs It Remarks
AVI_DivX.avi Yes
BlackJackOP.flv Yes
HTML_5_video_~.webm Yes
niceday.asf Yes
niceday.rm Yes
sample.mkv Yes
sample_iTunes.mov Yes
Sample-pitbull~xvid~.avi Yes
Samurai X.mpg Yes
szybcy sie sample.rmvb Yes
vsshort-vorbis-subs.mkv Yes
WindowsMedia.wmv Yes



UMPlayer
File/Format Runs It Remarks
AVI_DivX.avi Yes
BlackJackOP.flv Yes
HTML_5_video_~.webm Yes
niceday.asf Yes
niceday.rm Yes
sample.mkv Yes
sample_iTunes.mov Yes
Sample-pitbull~xvid~.avi Yes
Samurai X.mpg Yes
szybcy sie sample.rmvb Yes
vsshort-vorbis-subs.mkv Yes
WindowsMedia.wmv Yes



Totem
File/Format Runs It Remarks
AVI_DivX.avi Yes
BlackJackOP.flv Yes
HTML_5_video_~.webm Yes
niceday.asf Yes
niceday.rm No Plays Audio No Video
sample.mkv Yes
sample_iTunes.mov Yes
Sample-pitbull~xvid~.avi Yes
Samurai X.mpg Yes
szybcy sie sample.rmvb Yes
vsshort-vorbis-subs.mkv Yes
WindowsMedia.wmv Yes



VLC
File/Format Runs It Remarks
AVI_DivX.avi Yes
BlackJackOP.flv Yes
HTML_5_video_~.webm Yes
niceday.asf Yes
niceday.rm No Video Present No Audio
sample.mkv Yes
sample_iTunes.mov Yes
Sample-pitbull~xvid~.avi Yes
Samurai X.mpg Yes
szybcy sie sample.rmvb Yes
vsshort-vorbis-subs.mkv Yes
WindowsMedia.wmv No Weird opens video in multiple windows



Whaaw! Media Player
File/Format Runs It Remarks
AVI_DivX.avi Yes
BlackJackOP.flv Yes
HTML_5_video_~.webm Yes
niceday.asf Yes
niceday.rm No Plays Audio No Video
sample.mkv Yes
sample_iTunes.mov yes
Sample-pitbull~xvid~.avi yes
Samurai X.mpg Yes
szybcy sie sample.rmvb Yes
vsshort-vorbis-subs.mkv Yes
WindowsMedia.wmv Yes



Xine-ui
File/Format Runs It Remarks
AVI_DivX.avi Yes
BlackJackOP.flv Yes
HTML_5_video_~.webm Yes
niceday.asf yes
niceday.rm No No Audio or Video,buzzing noise
sample.mkv Yes
sample_iTunes.mov Yes
Sample-pitbull~xvid~.avi Yes
Samurai X.mpg yes
szybcy sie sample.rmvb No No Audio or Video,buzzing noise
vsshort-vorbis-subs.mkv Yes
WindowsMedia.wmv Yes



XBMC
File/Format Runs It Remarks
AVI_DivX.avi Yes
BlackJackOP.flv Yes
HTML_5_video_~.webm Yes
niceday.asf Yes
niceday.rm No No Audio or Video
sample.mkv No No Audio or Video
sample_iTunes.mov Yes
Sample-pitbull~xvid~.avi Yes
Samurai X.mpg Yes
szybcy sie sample.rmvb Yes
vsshort-vorbis-subs.mkv Yes
WindowsMedia.wmv Yes
The sample files used for testing the video players are available below:-

Conclusion
  One must take a lot of things into consideration before choosing the video player for ones desktop like the file format it supports , whether it has the skins one likes etc. I would suggest keeping couple of players installed on the system and so that most the video formats can be played.

Thursday, 5 January 2012

GKrellM on GNOME 3 openSUSE 12.1

 
 GKrellM is a GTK toolkit  based software that can be used to monitor the status of CPUs, main memory, hard disks, network interfaces, local and remote mailboxes, and many other things. Plugins are available for a multitude of tasks like showing weather updates.This article is an overview of the capabilities of  GKrellM on GNOME 3.2.1 openSUSE 12.1 (ASPARAGUS)
GKrellM is so cool because:-
==>It is compatible with GNOME 3
==>It very light weight
==>It is skinnable
==>Has a number of awesome plugins
==>Easily configurable
==>It can act in panel mode(it will not show up in alt+tab list)
==>I can monitor my monthly internet usage.It can also show day and weekly usage stats too.
Installation Of GkrellM
==>It is available in Main repo(OSS)
==>Open the terminal (type in "gnome-terminal" and hit return or enter after pressing Alt+F2 key combination)
==> Execute the command :- "sudo zypper in gkrellm"
Note:- You may need to enter admin passcode when prompted and press y when it asks you whether it can install so and so software.
Add GKrellM to Startup
How to Start GKrellM along with your OS?
==>If you want to start the application along with GNOME then you need to add it to "gnome-session-properties".
==>Press key combination "Alt+F2" an type in "gnome-session-properties".

==>In the session properties windows,use add button.Give any name of your liking.In the command text-box you need to use "gkrellm" in lower case as demonstrated below. Press "Save" button and from next boot the application will start automatically

Configuring GkrellM
GKrellM can be easily configured.To access the configurations you can right click on the main window and access the configuration menu
Enable Bandwidth and Internet Usage Monitor
View internet data usage
We can view the internet data usage by clicking on the small button which will appear on the bandwidth monitor when the mouse cursor is moved over it
Enable Clock and Time
Remember screen location
This will cause the program to  remember the screen location so that it will show up where it is supposed to be even after restarting the system
Set As panel or dock setting
 This will cause the program to not show up in list of switchable programs when "Alt+Tab" , "Alt+`" key combinations are used.

GKrellM Weather Plugin
GKrellM has a lot of plugins whose rpms can be downloaded first,installed and then activated inside GKrellM settings and then configured to work properly. You can get weather updates on opensuse / linux / gnome using the GKrellM Weather plugin.

Download weather plugin
The program and plugins can be downloaded here:- here and here

Install GKRELLM with weather plugin
==>Open the terminal (type in "gnome-terminal" and hit return or enter after pressing Alt+F2 key combination)
==>Navigate to the directory of the where your package or rpm is present using cd <space><dirname>
==> Execute the command :-"sudo zypper in gkrellm-weather-2.0.8-1.fc16.i686.rpm gkrellm" 
Sample output for zypper installation:-
anonymous@linux-9p85:~/Software/rpms>sudo zypper in gkrellm-weather-2.0.8-1.fc16.i686 gkrellm2
root's password:
Loading repository data...
Reading installed packages...
'gkrellm2' not found in package names. Trying capabilities.
No provider of 'gkrellm2' found.
Resolving package dependencies...
The following NEW packages are going to be installed:
  gkrellm gkrellm-weather libpng12-0
3 new packages to install.
Overall download size: 497.0 KiB. After the operation, additional 1.3 MiB will
be used.
Continue? [y/n/?] (y): y
Retrieving package gkrellm-2.3.5-7.1.2.i586 (1/3), 397.0 KiB (1.1 MiB unpacked)
Retrieving: gkrellm-2.3.5-7.1.2.i586.rpm [done (63.5 KiB/s)]
Retrieving package libpng12-0-1.2.46-9.1.2.i586 (2/3), 73.0 KiB (170.0 KiB unpacked)
Retrieving: libpng12-0-1.2.46-9.1.2.i586.rpm [done (73.3 KiB/s)]
Retrieving package gkrellm-weather-2.0.8-1.fc16.i686 (3/3), 27.0 KiB (55.0 KiB unpacked)
Installing: gkrellm-2.3.5-7.1.2 [done]
Installing: libpng12-0-1.2.46-9.1.2 [done]
Retrieving package gkrellm-weather-2.0.8-1.fc16.i686 (1/3), 27.0 KiB (55.0 KiB unpacked)
Installing: gkrellm-weather-2.0.8-1.fc16 [done]
Additional rpm output:
warning: /var/cache/zypp/packages/rpms/gkrellm-weather-2.0.8-1.fc16.i686.rpm: Header V3 RSA/SHA256 Signature, key ID a82ba4b7: NOKEY

Configuring Weather Plugin
You need to get the 4 letter ICAO Location Indicator from this site
Navigate to the required country to display the weather stations
Locate the necessary location and get the 4 letter code
Right click on GKrellM window and click on configure menu and activate the weather plugin
Enter the location code and click apply
View weather updates
Note:-Similar installation and configuration can b carried out can be carried out for other plugins too.
Skins / Themes GKrellM
GKrellM has a variety of skins that can be downloaded here :- site
Typically the skin packages are available as tar packages like "MonkeyLovers.tar.gz" .You can untar or unzip them through terminal using command "tar -xvf MonkeyLovers.tar.gz" or you can use your favourite GUi based archiving tool like "peazip" or the gnome default "File Roller".

You need to move the skin folder to gkrellm theme folder.Sample path is:- "/home/<HOME>/.gkrellm2/themes/MonkeyLovers".Then you need to right click on the main window and click on "configure" menu and enable or switch to required theme.Alternatively you can click on the main window and use PageUp and PageDown keys to cycle through installed themes
 
Theme switcher
GKrellM in "MonkeyLovers" Theme


If you liked this post, you may like to check out:-


Things to do after moving to openSUSE 12.1 (Asparagus)
                       (OR) 

Monday, 2 January 2012

iTunes On Linux ,GNOME,openSUSE

How to browse iTunes On Linux , GNOME , openSUSE ?

The solution offered for browsing iTunes in this post is tested on openSUSE 12.1 (ASPARAGUS) / GNOME 3.2.1 / kernel 3.1.You can browse sites like apple itunes ,and other itunes based university sites itunes.mc.maricopa.edu, itunes.stanford.edu

Get "TunesViewer"
 You can download "TunesViewer" software from here. TunesViewer is originally a program to access itunes-university media and podcasts in Linux. After getting the rpm you need to install the rpm and other dependencies.To do that please go through rest of the post.

Installation Of iTunes Viewer

 We should install the downloaded rpm / package and two other packages "python-webkit" and "python-lxml" .
 Zypper way
==>Open the terminal (type in "gnome-terminal" and hit return or enter after pressing Alt+F2 key combination)
==>Navigate to the directory of the where your package or rpm is present using cd <space><dirname>
==> Execute the command :-
"sudo zypper in python-lxml python-webkitgtk tunesviewer-1.4.noarch.rpm"
Note:- You may need to enter admin passcode when prompted and press y when it asks you whether it can install so and so software.
Sample output for zypper installation:-
anonymous@linux-9p85:~/Software/rpms> sudo zypper in python-lxml python-webkitgtk tunesviewer-1.4.noarch.rpm
root's password:
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW packages are going to be installed:
  python-lxml python-webkitgtk tunesviewer
3 new packages to install.
Overall download size: 635.0 KiB. After the operation, additional 2.4 MiB will
be used.
Continue? [y/n/?] (y): y
Retrieving package tunesviewer-1.4-2.noarch (1/3), 68.0 KiB (192.0 KiB unpacked)
Retrieving package python-lxml-2.3-6.1.3.i586 (2/3), 532.0 KiB (2.1 MiB unpacked)
Retrieving: python-lxml-2.3-6.1.3.i586.rpm [done (64.2 KiB/s)]
Retrieving package python-webkitgtk-1.1.8-6.1.2.i586 (3/3), 35.0 KiB (115.0 KiB unpacked)
Retrieving: python-webkitgtk-1.1.8-6.1.2.i586.rpm [done (0 B/s)]
Retrieving package tunesviewer-1.4-2.noarch (1/3), 68.0 KiB (192.0 KiB unpacked)
Installing: tunesviewer-1.4-2 [done]
Installing: python-lxml-2.3-6.1.3 [done]
Installing: python-webkitgtk-1.1.8-6.1.2 [done]

YaST/GUI way

==>Press the left windows key on the keyboard and click on "Applications menu"
==>Open Install / Remove Software under "Applications"
Note:- You may need to enter admin passcode when prompted
==>Click on configuration==>repositories
==>Click "+Add" button in the repositories (configured software repositories) window
==>choose "Local Directory" in the "Media Type"(Screenshot below) window and click "Next"
==>In the next window and  give a name to the repository like "rpms" and then choose the path where your downloaded files/rpms are.The  downloaded path should be something like "/home/<User Name>/Downloads", and enable the checkbox "Plain RPM Directory"then click "Next"
==>You should see a new repository or repo by name "rpms" there.
Click "Ok" button
==>You should come back to the main window.Here you need to click a drop down on the left and navigate to repository and choose the new repository "rpms"
==>Check the packages to install i.e."tunesviewer" and hit the"Apply" button .You may also need to install "python-lxml" , "python-webkitgtk" from "MainRepository(OSS)".After the installation finishes you can check the installation. Relevant screenshots are below.

Install/Remove Software
Media Type
Choose Directory
See New Repo "rpms"
Click on "Groups"
Choose "rpms" repository and Install "tunesviewer"

Set-Up & Use "TunesViewer"
 Application can be quickly launched by keying in "tunesviewer" and hitting return or Enter key in the quick launch command window which can inturn be accessed by pressing "AltF2" .You can also access the  program by clicking on "Applications" tab after clicking left "windows" key on the keyboard .You can now use  TunesViewer  to browse and sample songs from iTunes . You may need to explore other settings available under Edit ==> preferences menu.

Applications=>TunesViewer
Launch TunesViewer though ALT+F2
TunesViewer,Browse iTunes
TunesViewer Preferences


If you liked this post, you may check out:-
Things to do after moving to openSUSE 12.1 (Asparagus)