Click here to Skip to main content
15,885,027 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
well i want to stream extended ram file from the internet so i did this code
VB
AxWindowsMediaPlayer1.URL = "http://www.mysite.com/files/thefile.ram"


this code is for example..any way the AxWindowsMediaPlayer1 start to connect tot he file and buffering then nothing happen..so i wonder dos it need spesific codec or ther's another tool to run and stream ram extended files
Posted
Updated 23-Jul-12 8:01am
v3

.ram is a Real Audio file, which Media Player does not know how to handle. As far as I know, there is no codec for it to make it work with Media Player.
 
Share this answer
 
Comments
newcoder1 23-Jul-12 14:31pm    
so what can i do??i want to make vb.net program that can run Real Audio files..is there any way to do that
Sergey Alexandrovich Kryukov 23-Jul-12 16:39pm    
There are some codecs, of course. You can use K-lite codecs or ffmpeg to transcode your files. Please see my answer.
--SA
You can use K-Lite Code Pack for this and many similar formats. Please see:
http://en.wikipedia.org/wiki/K-Lite_Codec_Pack[^],
http://codecguide.com/[^].

Another way is using ffmpeg to transcode your media files into something you can work with. Please see:
http://en.wikipedia.org/wiki/FFmpeg[^] (please see the list of the supported format here, some Real formats you may need are supported),
http://ffmpeg.org/[^].

I'm using the version of May 13, 2012 right now and your format is Real media (RealAudio or RealVideo); the codec list for this versions shows:
Codecs:
D..... = Decoding supported
.E.... = Encoding supported
..V... = Video codec
..A... = Audio codec
..S... = Subtitle codec
...S.. = Supports draw_horiz_band
....D. = Supports direct rendering method 1
.....T = Supports weird frame truncation

D A D  ralf RealAudio Lossless
DEA D  real_144 RealAudio 1.0 (14.4K)
D A D  real_288 RealAudio 2.0 (28.8K)
DEV D  rv10 RealVideo 1.0
DEV D  rv20 RealVideo 2.0
D V D  rv30 RealVideo 3.0
D V D  rv40 RealVideo 4.0
D A D  sipr  RealAudio SIPR / ACELP.NET


Of course, both tools are free to use.

Good luck,
—SA
 
Share this answer
 
v2
Comments
newcoder1 23-Jul-12 16:44pm    
can you tell me how can i import it to my program? i'm using vb.net as i said erlier
and which one to download
Download bzip2 tarball or Download gzip tarball
lewax00 23-Jul-12 17:56pm    
It doesn't matter if you download the bzip2 or gzip as long as you have a program to decompress them (if not, get 7-Zip), both should contain the same files.
Sergey Alexandrovich Kryukov 23-Jul-12 19:56pm    
What do you mean "import"? This is not how things work. Those are either applications and codecs. Well, you can look at the source code of ffmpeg and just borrow some code from it. As the codec pack, the codecs are just codecs, most players will use them if you install them in the system.
--SA
newcoder1 23-Jul-12 18:40pm    
can you tell me how can i import it to my program? i'm using vb.net
Sergey Alexandrovich Kryukov 23-Jul-12 19:57pm    
There is no such thing -- please see above.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900