Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
Last edited by VibeOfOurTribe; 08-05-2005 at 12:56 AM.
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
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.
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.
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 .
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
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."
Last edited by Dominique_71; 06-25-2006 at 08:18 AM.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.