How To Play .ram(Real Audio Metadata) In Redhat/Ubunto

0 comments

The .ram (Real Audio Metadata) is an properitery audo formate from Real media network's which is having its player called Real player.
This format is a stream media format, ie media is stramed from other source.

So how to play this file in Linux?
Ans :
To play this we have to install mplayer. you may get doubt that why I am saying mplayer, i dont suggest to you a properitery real plyaer which will be annoying you all sorts of ads etc. mplayer is a good open source software with which you can play almost every formate. This is my favorite player after VLC player, which is once again a open source.

These are the file formates supported by mplayer
1. Physical media : CDs, DVDs, Video CDs

2. Container formats : 3GP, AVI, ASF, FLV, Matroska, MOV (QuickTime), MP4,
NUT, Ogg, OGM, RealMedia

3. Video formats : Cinepak, DV, H.263, H.264/MPEG-4 AVC, HuffYUV, Indeo, MJPEG, MPEG-1, MPEG-2, MPEG-4 Part 2, RealVideo, Sorenson, Theora, WMV

4. Audio formats : AAC, AC3, ALAC, AMR, DTS, FLAC, Intel Music Coder, Monkey's Audio, MP3, Musepack, RealAudio, Shorten, Speex, Vorbis, WMA

5. Subtitle formats : AQTitle, ASS/SSA, CC, JACOsub, MicroDVD, MPsub, OGM, PJS, RT, Sami, SRT, SubViewer, VOBsub, VPlayer

6. Image formats: BMP, JPEG, MNG, PCX, PTX, TGA, TIFF, SGI, Sun Raster

7. Protocols : RTP, RTSP, HTTP, FTP, MMS, Netstream (mpst://), SMB –wikipedia.org

How to install mplayer in linux?
In Ubuntu Linux:
sudo apt-get install mplayer

In Redhat Linux:
yum install mplayer

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Batch Programming (Dos Scripting) VS Shell Scripting

    0 comments

    When I started my career in IT field. I have landed into windows world, as i know that no companies give a chance to fresher to work on production Linux servers.. Its a good experience to work on DOS scripts(aka Batch programming). There are so many similarities/differences/advantages/disadvantages between Batch programming and Shell scripting. Lets see what they are.

    Similarities


    Sl.No Batch programming Shell script
    1 Batch execution of commands in a batch file Batch execution of command in shell scripts
    2 Can read inputs from users Can read inputs from users
    3 Has control structures such as for, if, while, switch for better automating/scripting Has control structures such as for, if, while, switch for better automating/scripting
    4 Supports advanced features such as Functions and Arrays Supports advanced features such as Functions and Arrays
    5 Supports regular expressions(using findstr) Supports regular expressions
    6 Can include other programming codes such as perl(ie.. in middle of dos script we can include some other programming language code for effective scripting) Can include other programming codes such as Perl, AWK, SED etc.
     

    Differences

    Sl.No Batch programming Shell script
    1 Lack of richness of tools/commands Have good number of tools(as of my knowledge there are more than 75000 commands)
    2 Supports only one vender(ie windows) Supports for number of venders such as Sun/apple/IBM AIX/HP-UX etc.
    3 No other variants for DOS In Shall there are no of variants such as bash, ksh, csh, zsh etc..
    4 Low capabilities of integrating with other programming code in batch scripting Good capabilities of integrating other programming code in shell script
    5 Cannot handle complex regular expressions Can handle complex regular expressions.
    6 A batch file should always end with .bat There is no such concept like file extension, but a shell script file permission should be set to executable.
    7 To execute a batch program just enter the file name at CLI To execute a shell script, here are the ways to execute it
    1)chmod +x shellscript.sh;./shellscript.sh
    2)sh shellscript.sh



    Good article on how to convert your Batch program to a Shell script.
    http://tldp.org/LDP/abs/html/dosbatch.html

  • Like the post? Please Subscribe to free RSS feed to get updates
  • All About Firefox "About Protocol"

    0 comments

    Today I found some interesting hack about Mozilla/Firefox. I am in need of java in my Ubuntu machine. I have installed java, but I am not able to see any java related sites in my browser So when I have started searching for related topics, I found my answer how to check java is configured in your browser or not. I came to know about Firefox hidden “about protocol”. Though my browser is showing java enabled, but I am not able to see java content of site. The solution for this is to check whether java is configured properly to your browser or not.

    So how to check whether java is configured or not?
    Ans :
    Just open new tab in firefox and type about:plugins. This should show all
    the plug-in’s installed in your browser.




    If you didn’t find java. Then follow the below link for how to install and test it for your machine.
    http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox

    And When I tweaked some more I have realized we can do much with this Firefox about protocol.
    Though below things are not that much useful, but its fun to see them
    Type below about commands in your Firefox and see yourself what info you can find with Firefox. My favorite one is about:robots
    about:
    about:blank
    about:buildconfig
    about:cache
    about:cache-entry
    about:config
    about:crashes
    about:credits
    about:license
    about:mozilla
    about:plugins
    about:rights
    about:rights#webservices
    about:robots
    about:support

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Archive

    Translate this page

     

    The Linux Juggernaut | Copyright 2006-2009 Surendra Kumar Anne | Surendra's Home Page | Give us feedback how we are doing, Click here