LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kmplayer won't play .rm files (https://www.linuxquestions.org/questions/linux-software-2/kmplayer-wont-play-rm-files-325288/)

Crayoneater 05-20-2005 04:37 AM

kmplayer won't play .rm files
 
i can't figure out how to play .rm files. they won't play in kmplayer, and if i try to play them with mplayer, it says:

Win32 LoadLibrary failed to load: avisynth.dll

i don't know what to do, i used to be able to play .rm files, but then i reinstalled linux and i can't get it to play. i use slackware 10.1....

teckk 05-20-2005 08:51 PM

http://www.real.com/linux/?rppr=rnwk...0104freeplayer
RealPlayer seems the best for real media

Mplayer with codecs will play real media too
http://www.mplayerhq.hu/homepage/design7/dload.html

Crayoneater 05-21-2005 01:38 AM

thank you for the reply, but i guess i didn't make myself clear earlier. i have real player 10 already, and it didn't play the file, it says something like unsupported file type. i also have the mplayer codecs installed. i think that the problem started when i updated kde, but i'm not too sure about that. the files worked previously on my computer.

kencaz 05-21-2005 01:49 AM

Well, I would suspect then, that it would have a lot to do with the update of KDE. I would suspect that if you have the codecs but the players can't find them, then maybe KDE has renamed, relocated, either your codecs or the paths to them.

Pretty sure kmplayer looks in the same place as mplayer for it's codecs /usr/lib/win32 Not sure where RP looks for them. but I would start there...

KC

Crayoneater 05-21-2005 02:13 AM

i don't have a /usr/lib/win32 directory. i found some codecs in /usr/lib/codecs but the avisynth.dll in not in there, and it isn't on my computer at all.

teckk 05-21-2005 07:56 AM

I looked in mplayers codecs package and avisynth.dll is in here. You may need to get the all package instead of the essential package. I put mine in usr/local/lib/codecs on this Linux Box. I put then in a different place on the BSD box, forget where this moment.
You can always do a file search for the library if you think that you already have it installed. If it worked before and not now after KDE upgrade I would say that a path got changed.
Here is a list of the codecs in the realplayer codec directory and it will play all real media.

file:/usr/local/RealPlayer/codecs/amrn.so
file:/usr/local/RealPlayer/codecs/amrw.so
file:/usr/local/RealPlayer/codecs/atrc.so
file:/usr/local/RealPlayer/codecs/colorcvt.so
file:/usr/local/RealPlayer/codecs/cook.so
file:/usr/local/RealPlayer/codecs/cvt1.so
file:/usr/local/RealPlayer/codecs/drv1.so
file:/usr/local/RealPlayer/codecs/drv2.so
file:/usr/local/RealPlayer/codecs/drvc.so
file:/usr/local/RealPlayer/codecs/raac.so
file:/usr/local/RealPlayer/codecs/rv10.so
file:/usr/local/RealPlayer/codecs/rv20.so
file:/usr/local/RealPlayer/codecs/rv30.so
file:/usr/local/RealPlayer/codecs/rv40.so
file:/usr/local/RealPlayer/codecs/sipr.so

I think that I let real player install itself to it's default on this box. So that is the path that it will probably be at. This is a Fedora box, might be different on Slack, and wil be different on BSD.

Crayoneater 05-22-2005 01:56 AM

i downloaded all the codecs for mplayer and i still don't have avisynth.dll i must be doing something wrong... could someone post a link to the exact file i need to download that has avisynth.dll in it?

edit: nevermind, i got it....thanks for the help guys..

sn22 06-09-2005 11:54 AM

Quote:

edit: nevermind, i got it....thanks for the help guys..
Hmm, I am having a similar problem, and I can't find avisynth.dll.
Where did you find it? Thanks.

teckk 06-10-2005 06:29 AM

http://www.mplayerhq.hu/homepage/design7/dload.html

There are Mplayers codecs.

sn22 06-10-2005 10:37 AM

Quote:

Originally posted by teckk
http://www.mplayerhq.hu/homepage/design7/dload.html

There are Mplayers codecs.

Thanks, I guess I should have said that I knew about that page.
I have installed MPlayer-1.0pre7.tar.bz2 and the codecs from all-20050412.tar.bz2, and I did not find avisynth.dll.

% tar jtf all-20050412.tar.bz2 | grep avisynth
%

Should it be in either of those 2 tarballs and I've gone blind? or is it found somewhere else?

edit: I guess I should say I've also looked in the essential codecs: essential-20050412.tar.bz2 and it is not there either. avisynth.dll is also not mentioned in:
http://www2.mplayerhq.hu/MPlayer/rel...decs/ChangeLog
http://www2.mplayerhq.hu/MPlayer/rel...050412-MD5SUMS
http://www2.mplayerhq.hu/MPlayer/rel...050412-MD5SUMS
nor any of the other MD5SUMS files I checked.

If anyone knows the exact filename or url where to find avisynth.dll please post it, thanks.

Crayoneater 06-10-2005 03:47 PM

i can't remember how i fixed the problem....but i do not have the file avisynth.dll

i remember i did something really simple to fix the problem, but i can't remember what it was...i will post back here when i remember.

kozaki 06-15-2005 03:33 PM

Quote:

Originally posted by teckk
I looked in mplayers codecs package and avisynth.dll is in here.
(...)
Here is a list of the codecs in the realplayer codec directory and it will play all real media.
(...)

Well, since a couple of weeks or so, I face the same problem than Crayoneater.
RealPlayer Gold 10 will not play some files (those pesky ~.rpm), QuickTime 6 (isntalled with CrossOverOffice will not show the video (but the sound yes), and mplayer won't play some Real media files (like that one from sptunik7.com, great site BTW).

I'm shipped with Mandriva 2005 Cooker with sources compiled mplayer,
/usr/local/RealPlayer/codecs/ shows every codecs mentionned by teckk
/usr/lib/win32/ shows much more

but mplayer keep printing (that's a very new behaviour / message to me ) :
Quote:

85 audio & 196 video codecs
Joue http://www.sputnik7.com/servlet/rpmp...,skth/file.rpm
Resolving www.sputnik7.com for AF_INET...
Connecting to server www.sputnik7.com[38.117.171.172]:80 ...
Cache size set to 8192 KBytes
Connecté au serveur: www.sputnik7.com
Cache fill: 0.00% (73 bytes) Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/codecs/avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
so if someone *knows* where's that avisynth pesky dll, please say :scratch:

Crayoneater 06-15-2005 04:17 PM

i remember how i got it to work now....i downloaded all of the mplayer codecs, and i couldn't get it to work still. i was trying to play a file that was on a website, and it wouldn't work, so i just downloaded the file to my computer, and then played it and it worked. so i would assume that my problem isn't the same as everyone else's, so i'm really not much help.

kozaki 06-15-2005 07:34 PM

allright, I may want to give your trick a try Crayoneater

thank you for coming back & answering:)

ninapratt 06-19-2005 12:33 PM

RealPlayer10Gold
 
Certifiable newbie here. I have been having a horrible time with RealPlayer10Gold. After a very kind geek at guilinux (Garret by name, hero by title) rummaged about in my computer for hours and hours, he finally got the dang thing to acknowledge that it was there, downloaded and would I please register it? Which I did, thinking, ah, that's fixed the little bugger. But, no. Still can't get it to play. Won't play cd's won't play streaming radio. At this point, I'm thinking of giving up entirely. Sometimes I can get Kaffeine to play streaming radio if I click on the Microsoft icon, but sometimes it won't, and I have no way of guessing/knowing when it will or will not work. Frustrating to say the least.

There is something very peculiar going on in my poor beleaguered computer ever since I downloaded it, though, and I wonder if these aren't clues? First, the Case Of The Disappearing And Reappearing Files. A file with helix (or something similar) shows up then disappears then shows up again. These are the guys who developed the linux version of RealPlayer. I'd go to their site and ask for help, but the site is so forbidding for a newbie that I tuck my tail between my legs and whimper and run home.

Then octet-stream started acting up. That I've fixed, thanks to a thread here. But for a while there, nothing would work, not Konquerer, not the mail program, not even Open Office. Jeesh.

So if anyone can help me in plain English, not taking ANY knowledge for granted as I have zero, that would be cool.:confused: :mad: :( :newbie:

kozaki 06-20-2005 07:13 PM

Yeah :) mplayer now plays the streams (like that one from sputnik7 above)

I downloaded mplayer full's codecs tarball + windows-all-200504xx, then uncompressed it on top of /usr/lib/win32/
Now it works just fine (i rebooted between for other reasons)

Crayoneater > :D

[EDIT] i realized i still missed a few codecs, but i found them in window-all mplayer's codecs page:D [/EDIT]

royalfox 06-26-2005 09:10 AM

MediaPlayerConnectivity
 
I've got the same issue w/mplayer. I've hunted through all their codec archives and still can't find avisynth.dll. However, I've also added the MediaPlayerConnectivity extention to FireFox and behold, when I click on the same link (rather than call it from the commandline), the audio stream works. I don't understand but I'll accept the results, my goal along was to simplify things and not have to revert to a commandline to make things work.

I also edited my .mplayer/config and changed cache from 8192 (the default) to 96. Have the cache so big was taking several minutes from the time I launched an audio feed to the time it started. Now things start within a few minutes. I also noticed that when I enlarge a video clip while watching it, the audio and video feeds were falling out of sync. The smaller cache keeps them together.:)

VibeOfOurTribe 08-05-2005 12:47 AM

It seems that .rm files work fine with mplayer. However, a .ram file is usually just a text file that points to a .rm file. To play a .ram file you must run:
mplayer `cat whatever.ram`

so to avoid the problem of clicking on .ram files in your browser and having them not work, you can write a little script and stick it in one of your bins. I called mine rmplayer. All that's in it is:
Code:

#!/bin/bash
xterm -e mplayer `cat "$1"`

Here is a little script I wrote to convert several ram files to mp3's... Hope it helps someone

Code:

#!/bin/bash
#
# convert ram files into mp3s

for i in *.ram
do
  #convert the ram file to a wav
    mplayer -ao pcm:file="$i.wav" `cat "$i"`
  #convert that wav file to an mp3
    lame -h -b 192 "$i.wav" "$i.mp3"
  #remove the wav file, it's useless now
    rm "$i.wav"
  #fix up the filename by removing extrenous extensions
    x=`echo "$i.mp3"|sed -e 's/ram.mp3/mp3/'`
    mv "$i.mp3" "$x"
done


kozaki 08-07-2005 02:47 AM

Very nice indeed VibeOfOurTribe :p

a point is that a bunch of .ram are Real video files, not only audio.
In that cas we're gonna get the sound (on which 192kbs seems way high), or gonna have to figure out how to hack you script & use mencoder instead of mplayer :)

mndar 10-25-2005 06:04 AM

playing rmvb files
 
I can play them in Realplayer but the audio is too slow or so I think. Anyway, you can't make out what the person is saying. I used an older version of xine-lib earlier which was able to play them but there was a problem with it. Processor usage jumped to 70%. With the newer version of xine-lib there is no sound and the video has some coloured strips.

koodoo 11-19-2005 01:12 PM

Quote:

Originally posted by sn22
If anyone knows the exact filename or url where to find avisynth.dll please post it, thanks.
Just for the sake of someone who might be having similar problems :)
You can download avisynth from here. Also you can visit the Avisynth HomePage. I haven't tried it myself. The SourceForge.net page says :
Avisynth is a scripting language and a collection of filters for simple (and not so simple!) non-linear video editing tasks. It frameserves video to applications.. Maybe you'll have to search around for avisynth.dll from amongst the package you download.

djbjrca 11-20-2005 07:56 AM

I FOUND IT! On their Sourceforge download page, click AviSynth 2 NOT 2.5. Then, download the dll file of version 2.0.5. NOT 2.0.6 or later, because they have an install system in place. Any version before that has a separate file with the dll in it. Then just extract the dll to whatever directory your codecs are in! Tell me if this works! I am a complete :newbie: :D .

helpdeskdan 12-13-2005 11:20 PM

Hey, that did work, djbjrca - Thankx!

djbjrca 12-14-2005 05:04 AM

Wow. Surprising. Cool.

oot 03-12-2006 01:23 PM

I just Googled across this thread while trying to solve the same problem. When I downloaded and installed the avisynth.dll file, then tried to play the .asx file, I just got a new error
size_confirm mismatch!: 22611 20047
Error while parsing chunk header
Trying default streaming for http protocol

The ultimate solution was to use the -playlist option when trying to use a .asx file. Eg mplayer -playlist http://url/to/file.asx

When doing this, the file will play, even without avisynth.dll in the codecs directory

narc 03-22-2006 06:39 AM

This is a very good thread, resolving many issues I had with mplayer (avisynth, playlist). Thanks to everybody.

Dominique_71 06-24-2006 07:30 PM

Well, I have another file that have the same problem. strandskata

In the ram file, it is pnm://lyssna.sr.se/p2/p2pippi/pip9807.ra and I don't even know how I can do to download this file.

I get the same error about a missing avisynth.dll
I installed avisynth.dll and get:

You need to obtain a new player to play this clip. Please point your web browser to http://www.real.com and download the latest RealOne Player from RealNetworks. Once you have installed it you should try this clip again.

I try with realplayer to play the file, but I get only something as: "Your file use a too old codec."

white_cafee 07-20-2006 03:14 AM

Hy there , i've had the same problem and i found a solutions here :

http://www.softwarecity.org/forum/vi...php?pid=24#p24

Hope this helps...:) Good luck..:)

dwpbike 02-12-2007 10:07 AM

Quote:

Originally Posted by koodoo
Just for the sake of someone who might be having similar problems :)
You can download avisynth from here. Also you can visit the Avisynth HomePage. I haven't tried it myself. The SourceForge.net page says :
Avisynth is a scripting language and a collection of filters for simple (and not so simple!) non-linear video editing tasks. It frameserves video to applications.. Maybe you'll have to search around for avisynth.dll from amongst the package you download.


this looked like an answer until i went to sourceforge. the exe won't do us anygood on linux. what do we do with the source? compiling with mplayer sounds possible, but scary. since avisynth is about video scripting and all i want to do is play audio, would i need it. i'm thinking we should get to a point where we have a mp3, ram, whatever to play. then mplayer will be ready to accommodate.

koodoo 02-22-2007 02:57 AM

Sorry for replying so late.
First of all AviSynth is a powerful tool for video post-production. It provides almost unlimited ways of editing and processing videos. AviSynth works as a frameserver, providing instant editing without the need for temporary files.
So I do not think that you need it to play audio.
Yes the exe wouldn't do any good and you don't need to compile mplayer with it. All you need to do is get hold of avisynth.dll (the Linux version and not the one for Windows) and put it in a location where mplayer can find it i.e. in
/usr/lib/codecs/avisynth.dll, or if you're using xine then maybe you'll need to put it in :
/usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll

I downloaded a .zip file from the Sourceforge page that I've mentioned and when I extracted it I got avisynth.dll in it. I do not remember what version I downloaded.
But now when I downloaded the .zip there's just the source code of avisynth there. So maybe you'll have to build the .dll from the source.

Hope this helps.


All times are GMT -5. The time now is 06:38 PM.