Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I just came across an old file witn a ram extension. I've tried viewing it ( just to see what it is ) and am having extreme difficulties. I've tried looking for spftware online and alll I find are Windows programs and some online conversion sites.I would like to have a local utility convert such files.

Does anyone know something?

How about for other weird file formats?

share|improve this question
2  
The extention sounds like Real Audio Metadata. Does less $filename show anything recognizable? What is the output of file $filename? Is mplayer able to play it? –  michas May 19 '13 at 19:28

1 Answer 1

Most of the conversions can be handled by ffmpeg which comes with a amazing number of codecs.

To convert your file, try the following command:

ffmpeg -i file.rma file.avi

Useful information about a file can be retrieved using the file command. Remember that avi or rma are just containers, so two avi files may not use the same encoding for audio or video. That's why a conversion from ram to avi may not work in all cases, if one of the codec used in the original file is not supported by ffmpeg.

For example, on my computer, with three different files:

> file file1.avi 
file1.avi: RIFF (little-endian) data, AVI, 720 x 400, 25.00 fps, video: DivX 4, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)
> file file2.avi 
file2.avi: RIFF (little-endian) data, AVI, 608 x 336, ~24 fps, video: Motion JPEG
> file file3.avi 
file3.avi: RIFF (little-endian) data, AVI, 640 x 304, 25.00 fps, video: DivX 4, audio: MPEG-1 Layer 3 (stereo, 24000 Hz)
share|improve this answer
    
While ffmpeg is great for encoding, I'd prefer mplayer for a file in wtf-format. –  Bananguin May 19 '13 at 22:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.