Results 1 to 9 of 9

Thread: Playing RAM (RealAudio Media) files

  1. #1
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Playing RAM (RealAudio Media) files

    I haven't seen RAM files since the early days of the web. How can they be played on modern Ubuntu systems? Here is a sample of files:
    http://www.otr.net/?p=lone

    Edit: It may be called 'RealPlayer' now.
    Last edited by Lars Noodén; January 4th, 2013 at 08:21 PM.

  2. #2
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Playing RAM (RealAudio Media) files

    Quote Originally Posted by Lars Noodén View Post
    I haven't seen RAM files since the early days of the web. How can they be played on modern Ubuntu systems?
    Hi
    Here's an example...
    Download the ram file with wget:-
    Code:
    wget http://www.otr.net/r/lone/1.ram
    Open it with gedit/leafpad/etc and look inside:-
    rtsp://www.otr.net/28.8/lone - The Lone Ranger/lone.19--.--.--_Lone_Pine.rm?title="Lone Pine"&author="The Lone Ranger"&copyright="OTR.Network"
    Choose the part in front of the question mark:-
    rtsp://www.otr.net/28.8/lone - The Lone Ranger/lone.19--.--.--_Lone_Pine.rm

    Play it with MPlayer:-
    Code:
    mplayer "rtsp://www.otr.net/28.8/lone - The Lone Ranger/lone.19--.--.--_Lone_Pine.rm"
    Or download it with MPlayer:-
    Code:
    mplayer -bandwidth 9999999 "rtsp://www.otr.net/28.8/lone - The Lone Ranger/lone.19--.--.--_Lone_Pine.rm" -dumpstream -dumpfile Lone_Pine.rm

  3. #3
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Playing RAM (RealAudio Media) files

    Thanks. I tried VLC first but that didn't seem to work with rtsp://

    I tried both mplayer examples you have and both give the error 'Exiting... (End of file)' without any result. Would ffmpeg or avconv be able to handle that ancient a format?

  4. #4
    Join Date
    Dec 2006
    Beans
    7,305

    Re: Playing RAM (RealAudio Media) files

    MPlayer will play the links directly with the -playlist option:

    Code:
    andrew@skamandros~$ mplayer -playlist http://www.otr.net/r/lone/1.ram
    Resolving www.otr.net for AF_INET6...
    
    Couldn't resolve name for AF_INET6: www.otr.net
    Resolving www.otr.net for AF_INET...
    Connecting to server www.otr.net[66.90.77.10]: 80...
    
    Cache size set to 320 KBytes
    MPlayer SVN-r35710-4.7.2 (C) 2000-2012 MPlayer Team
    
    Playing rtsp://www.otr.net/28.8/lone - The Lone Ranger/lone.19--.--.--_Lone_Pine.rm?title="Lone Pine"&author="The Lone Ranger"&copyright="OTR.Network".
    Resolving www.otr.net for AF_INET6...
    
    Couldn't resolve name for AF_INET6: www.otr.net
    Resolving www.otr.net for AF_INET...
    Connecting to server www.otr.net[66.90.77.10]: 554...
    
    Cache size set to 320 KBytes
    Cache fill: 17.50% (57344 bytes)   
    
    libavformat version 54.50.102 (internal)
    REAL file format detected.
    Stream description: Audio Stream
    Stream mimetype: audio/x-pn-realaudio
    [real] Audio stream found, -aid 0
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    libavcodec version 54.81.100 (internal)
    [sipr @ 0xf67700]Invalid block_align: 320. Mode 16k guessed based on bitrate: 16000
    AUDIO: 16000 Hz, 1 ch, floatle, 16.0 kbit/3.12% (ratio: 2000->64000)
    Selected audio codec: [ffsipr] afm: ffmpeg (FFmpeg Sipr/Acelp.net audio)
    ==========================================================================
    AO: [oss] 16000Hz 1ch s16le (2 bytes per sample)
    Video: no video
    
    A:  19.6 (19.5) of 1186.0 (19:46.0)  0.1% 16%
    Seems like a very slow stream from my end of the world... I believe too that Real Audio sipr is a less commonly found in Real Media files.
    Last edited by andrew.46; January 4th, 2013 at 09:13 PM. Reason: Clarification...
    You think that's air you're breathing now?

  5. #5
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Playing RAM (RealAudio Media) files

    Quote Originally Posted by Lars Noodén View Post
    I tried both mplayer examples you have and both give the error 'Exiting... (End of file)' without any result
    Code:
    @ubuntu:~$ mplayer "rtsp://www.otr.net/28.8/lone - The Lone Ranger/lone.19--.--.--_Lone_Pine.rm"
    MPlayer SVN-r35707-4.5.2 (C) 2000-2012 MPlayer Team
    
    Playing rtsp://www.otr.net/28.8/lone - The Lone Ranger/lone.19--.--.--_Lone_Pine.rm.
    Resolving www.otr.net for AF_INET6...
    
    Couldn't resolve name for AF_INET6: www.otr.net
    Resolving www.otr.net for AF_INET...
    Connecting to server www.otr.net[66.90.77.10]: 554...
    
    Cache size set to 640 KBytes
    Cache fill: 18.75% (122880 bytes)   
    
    libavformat version 54.49.102 (internal)
    REAL file format detected.
    Stream description: Audio Stream
    Stream mimetype: audio/x-pn-realaudio
    [real] Audio stream found, -aid 0
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    libavcodec version 54.81.100 (internal)
    [sipr @ 0x8d167a0]Invalid block_align: 320. Mode 16k guessed based on bitrate: 16000
    AUDIO: 16000 Hz, 1 ch, floatle, 16.0 kbit/3.12% (ratio: 2000->64000)
    Selected audio codec: [ffsipr] afm: ffmpeg (FFmpeg Sipr/Acelp.net audio)
    ==========================================================================
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
    AO: [alsa] 16000Hz 1ch floatle (4 bytes per sample)
    Video: no video
    Starting playback...
    A:   0.0 (00.0) of 1186.0 (19:46.0)  0.3% 19%

  6. #6
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Playing RAM (RealAudio Media) files

    Ok. Thanks. I got it playing. Now I have to figure out how to filter the audio to improve it.

  7. #7
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Playing RAM (RealAudio Media) files

    Quote Originally Posted by Lars Noodén View Post
    ... Now I have to figure out how to filter the audio to improve it.
    Good luck with that, kemosabe.

  8. #8
    Join Date
    Jun 2007
    Beans
    175

    Re: Playing RAM (RealAudio Media) files

    According to Wikipedia there is a linux version of Real Player based on Helix. I have no personal experience of it, just something i googled.

  9. #9
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan
    Beans
    2,084
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Playing RAM (RealAudio Media) files

    Quote Originally Posted by bob-linux-user View Post
    According to Wikipedia there is a linux version of Real Player based on Helix. I have no personal experience of it, just something i googled.

    i tried that a couple of times for fun; but it was no fun as [for me] it did not work at all
    Last edited by shantiq; January 5th, 2013 at 07:23 PM.
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community
    Playing with Slackware too now ...
    ShanArt

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •