LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-20-2005, 07:13 PM   #16
kozaki
Member
 
Registered: Jun 2004
Location: France, UE
Distribution: Arch Linux, Bodhi, Debian, Mageia, OpenMediaVault, Q4OS
Posts: 133

Rep: Reputation: 20

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 >

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

Last edited by kozaki; 06-21-2005 at 10:07 AM.
 
Old 06-26-2005, 09:10 AM   #17
royalfox
LQ Newbie
 
Registered: Jun 2005
Location: Omaha, NE
Distribution: Fedora Core
Posts: 5

Rep: Reputation: 0
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.
 
Old 08-05-2005, 12:47 AM   #18
VibeOfOurTribe
LQ Newbie
 
Registered: Jul 2004
Posts: 21

Rep: Reputation: 16
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.
 
Old 08-07-2005, 02:47 AM   #19
kozaki
Member
 
Registered: Jun 2004
Location: France, UE
Distribution: Arch Linux, Bodhi, Debian, Mageia, OpenMediaVault, Q4OS
Posts: 133

Rep: Reputation: 20
Very nice indeed VibeOfOurTribe

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
 
Old 10-25-2005, 06:04 AM   #20
mndar
Member
 
Registered: Feb 2005
Posts: 34

Rep: Reputation: 16
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.
 
Old 11-19-2005, 01:12 PM   #21
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 33
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.

Last edited by koodoo; 11-19-2005 at 01:17 PM.
 
Old 11-20-2005, 07:56 AM   #22
djbjrca
LQ Newbie
 
Registered: Nov 2005
Distribution: Ubuntu 6.06 LTS "Dapper Drake"
Posts: 2

Rep: Reputation: 0
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 .
 
Old 12-13-2005, 11:20 PM   #23
helpdeskdan
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
Hey, that did work, djbjrca - Thankx!
 
Old 12-14-2005, 05:04 AM   #24
djbjrca
LQ Newbie
 
Registered: Nov 2005
Distribution: Ubuntu 6.06 LTS "Dapper Drake"
Posts: 2

Rep: Reputation: 0
Wow. Surprising. Cool.
 
Old 03-12-2006, 01:23 PM   #25
oot
Member
 
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
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
 
Old 03-22-2006, 06:39 AM   #26
narc
Member
 
Registered: Aug 2004
Location: Montréal
Distribution: Linux from scratch
Posts: 68

Rep: Reputation: 15
This is a very good thread, resolving many issues I had with mplayer (avisynth, playlist). Thanks to everybody.
 
Old 06-24-2006, 07:30 PM   #27
Dominique_71
Member
 
Registered: Nov 2005
Location: Switzerland
Distribution: Agnula/DeMuDi Gentoo SuSE
Posts: 58

Rep: Reputation: 15
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.
 
Old 07-20-2006, 03:14 AM   #28
white_cafee
LQ Newbie
 
Registered: Jul 2006
Posts: 12

Rep: Reputation: 0
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..
 
Old 02-12-2007, 10:07 AM   #29
dwpbike
Member
 
Registered: Sep 2005
Location: macon, ga
Distribution: downgraded from rh9 to fc8
Posts: 57

Rep: Reputation: 16
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.
 
Old 02-22-2007, 02:57 AM   #30
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 33
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't play WMV with Kmplayer. duffmckagan Linux - Software 7 08-29-2005 11:04 PM
Playing .DAT files with KMplayer chandru.in Linux - Software 1 07-18-2005 05:28 AM
Kaffeine, won't play a DVD but will play individual VOB files? GameGuru Linux - Newbie 12 07-08-2005 12:33 AM
Real player files in KMplayer gregorya Linux - Software 2 08-23-2004 05:36 AM
[SOLVED] getting kmplayer to play dvds bwaynej2002 Linux - Software 19 08-26-2003 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration