Log in

View Full Version : Extract audio from .rm


Karkas
14th August 2009, 16:13
I'm trying to extract & convert the audio from a real media video file but cant find a program to do so.

Here is the media info on the file:
General
Format : RealMedia
File size : 4.49 MiB
Duration : 30mn 35s
Overall bit rate : 20.0 Kbps

Video
ID : 1
Format : RealVideo 1
Codec ID : RV10
Codec ID/Info : Based on H.263, Real Player 5
Duration : 30mn 35s
Bit rate : 15.0 Kbps
Width : 240 pixels
Height : 176 pixels
Display aspect ratio : 4/3
Frame rate : 15.000 fps
Resolution : 12 bits
Bits/(Pixel*Frame) : 0.024

Audio
ID : 0
Format : ACELP
Codec ID : sipr
Codec ID/Info : Real Player 4
Duration : 30mn 35s
Bit rate : 5 000 bps
Channel(s) : 1 channel
Sampling rate : 8 000 Hz
Resolution : 16 bits

avidemux & virtualdub cant open it. It will play the video in VLC, but no audio. Plays fine with RM player.

Thanks in advance

MatLz
14th August 2009, 18:15
Hi Karkas. If you have Avisynth and Ffdshow installed on your computer you can do a directshowsource in an avs script. Then put this script in virtualdub and do "save wav as".
Maybe...

Midzuki
14th August 2009, 18:21
Mencoder and ffmpeg may work as well.

Karkas
14th August 2009, 22:17
Hi Karkas. If you have Avisynth and Ffdshow installed on your computer you can do a directshowsource in an avs script. Then put this script in virtualdub and do "save wav as".
Maybe...

I have those installed, but unfortunately cluless how to actually do it. :confused:

smok3
14th August 2009, 22:35
my very old mplayer script looks like this, example;

mplayer -channels 2 -ao pcm:fast -vc null -vo null file.rm

MatLz
14th August 2009, 22:50
I have those installed, but unfortunately cluless how to actually do it. :confused:

Do a new text document. Write in it :
Directshowsource("C:\yourfile.rm"). Save the text document and just rename it in .avs in place of .txt
( "C:\" is an example, you must precise your file adresse)

Karkas
14th August 2009, 22:56
my very old mplayer script looks like this, example;

mplayer -channels 2 -ao pcm:fast -vc null -vo null file.rm

I don't even really know what to do with that... I am pretty much scripting retarded and thus stick with the GUI's. I mean, do you somehow write the script and then upen it with virtual dub?

smok3
14th August 2009, 23:04
no, just open cmd and cd to the dir where your file is, then type that (before that stuck mplayer.exe somewhere on the path, like c:\windows\system32, also you can write 'path' to see what are valid folders)

Karkas
14th August 2009, 23:09
no, just open cmd and cd to the dir where your file is, then type that (before that stuck mplayer.exe somewhere on the path, like c:\windows\system32, also you can write 'path' to see what are valid folders)

I thought mplayer was just a mediaplayer. I didn't think it could demux or anything like that...

Still somewhat confused on what to type and where, but when I get home tonight I'll have to play around a bit and see if I can get anything to happen.

Thanks

MatLz
14th August 2009, 23:12
I don't even really know what to do with that... I am pretty much scripting retarded and thus stick with the GUI's. I mean, do you somehow write the script and then upen it with virtual dub?

You have Virtuaddub. Have you VirtualdubMod?
If yes, do OPEN VIDEO FILE then choose ALL TYPE OF FILES then in the bottom there is an option "use Avisynth template", choose "directshowsource" and finaly your file. VirtualdubMod will do the script for you.

Karkas
14th August 2009, 23:45
You have Virtuaddub. Have you VirtualdubMod?
If yes, do OPEN VIDEO FILE then choose ALL TYPE OF FILES then in the bottom there is an option "use Avisynth template", choose "directshowsource" and finaly your file. VirtualdubMod will do the script for you.

I think so, though to be honest I only ever used to to demux audio from video files, and I haven't used it in a while. Either way, I can pick it up if I don't have it.

Thanks for your help, I'll give it a shot:thanks:

MatLz
15th August 2009, 00:13
There is an other solution if you have a supermegaaudioconverter15.0 who can convert .ra files. It's possible to extract the audio with mediaplayerclassic's dsm converter
Or
Merge in a mkv with mkvmerge and then extract audio with mkvextract.
A+

setarip_old
15th August 2009, 00:16
@Karkas

Hi!

The obvious question:

Why don't you use the same software you used to create the video?

Karkas
15th August 2009, 00:28
@Karkas

Hi!

The obvious question:

Why don't you use the same software you used to create the video?



I didn't create it. It is DVD video files from a Med School Study Course my wife took. She wants to listen to the lectures on her ipod nano which doesn't do video.

slipknot!
15th August 2009, 21:49
Why don't you merge it to *.mkv and then extract as separate files (mkv extract)?