.smi (RealPlayer) streaming audio and xmms?

Place to discuss Fedora and/or Red Hat

.smi (RealPlayer) streaming audio and xmms?

Postby ZiaTioN » Fri Apr 23, 2004 2:57 pm

Has anyone had any success getting streaming auido of format type .smi to stream successfully to xmms player? I checked out my Mozilla preferences and see the application/smil in the list already and I set this up to launch xmms when this type of file extension is encountered but instead of xmms connecting it simply launches and opens up a windows asking what file I would like to play with a browse window.

I have successfully gotten a few mp3 formats using the .pls file extension to successfully stream to xmms player but this format will not work. I set up the mime types and launching app the same way in Moziilla for the smi files as I did for the mp3 files but one works and the other does not. Anyone have any ideas?
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Tux » Fri Apr 23, 2004 3:26 pm

Just use mplayer.
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Postby ZiaTioN » Fri Apr 23, 2004 4:02 pm

Hmm, yeah I read about that one and tried to install it via apt-get (apt-get install mplayer) and it seemed to grab everything it needed and installed it but when I try to launch it I get the following error.

[root@localhost root]# mplayer
mplayer: error while loading shared libraries: libxvidcore.so.4: cannot open shared object file: No such file or directory


The install looks as such:

[root@localhost root]# apt-get install mplayer
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
aalib alsa-lib faad2 lame libdv libdvdcss libdvdread libfame libmad
libpostproc lirc lzo mplayer-fonts xvidcore
The following NEW packages will be installed:
aalib alsa-lib faad2 lame libdv libdvdcss libdvdread libfame libmad
libpostproc lirc lzo mplayer mplayer-fonts xvidcore
0 upgraded, 15 newly installed, 0 removed and 0 not upgraded.
Need to get 9313kB of archives.
After unpacking 26.2MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms aalib 1.4.0-5.1.fc1 .fr [98.3kB]
Get:2 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms alsa-lib 1.0.4-1.1. fc1.fr [312kB]
Get:3 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms faad2 2.0-1.fr [412 kB]
Get:4 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms lame 3.95.1-1.fr [5 64kB]
Get:5 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms libdv 0.102-1.1.fc1 .fr [114kB]
Get:6 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms libdvdcss 1.2.8-2.f r [35.9kB]
Get:7 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms libdvdread 0.9.4-4. fr [57.0kB]
Get:8 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms libfame 0.9.1-1.fr [90.9kB]
Get:9 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms libpostproc 1.0-0.9 .20040415.1.fc1.fr [38.0kB]
Get:10 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms lirc 0.6.6-2.fr [3 43kB]
Get:11 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms lzo 1.08-3.fr [49. 6kB]
Get:12 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms libmad 0.15.1b-1.f r [79.8kB]
Get:13 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms xvidcore 1.0.0-0.r c3.1.fr [248kB]
Get:14 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms mplayer-fonts 1.1- 2.fr [1035kB]
Get:15 http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms mplayer 1.0-0.9.20 040415.1.fc1.fr [5834kB]
Fetched 9313kB in 54s (172kB/s)
Committing changes...
Preparing... ########################################### [100%]
1:mplayer ########################################### [ 7%]
2:aalib ########################################### [ 13%]
3:alsa-lib ########################################### [ 20%]
4:faad2 ########################################### [ 27%]
5:lame ########################################### [ 33%]
6:libdv ########################################### [ 40%]
7:libdvdcss ########################################### [ 47%]
8:libdvdread ########################################### [ 53%]
9:libfame ########################################### [ 60%]
10:libpostproc ########################################### [ 67%]
11:lirc ########################################### [ 73%]
12:lzo ########################################### [ 80%]
13:libmad ########################################### [ 87%]
14:xvidcore ########################################### [ 93%]
15:mplayer-fonts ########################################### [100%]
Done.


Any reason why this library file would not be found or installed along with the app?

Oh and I also tried to install the gui (apt-get install mplayer-gui) via the directions on the mplayer site but the freshrpms repository reports that no package named that exists.
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Void Main » Fri Apr 23, 2004 4:12 pm

Did you try running "gmplayer"? The FreshRPMS package is compiled with the GUI. I've never run into the missing library thing. I'll check on that as soon as I get home (on my way now). One other thing I usually do is download all the codecs from mplayerhq and install them in /usr/lib/win32.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Tux » Fri Apr 23, 2004 4:14 pm

Could you do an rpm -ql xvidcore to see that the lib installed correctly?
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Postby Tux » Fri Apr 23, 2004 4:16 pm

Also, once you get (g)mplayer up and running you may be interested in the xmms-Mplayer input plugin for xmms.
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Postby ZiaTioN » Fri Apr 23, 2004 4:32 pm

[root@localhost root]# rpm -ql xvidcore
/usr/include/xvid.h
/usr/lib/libxvidcore.so
/usr/lib/libxvidcore.so.4.0
/usr/share/doc/xvidcore-1.0.0
/usr/share/doc/xvidcore-1.0.0/AUTHORS
/usr/share/doc/xvidcore-1.0.0/ChangeLog
/usr/share/doc/xvidcore-1.0.0/LICENSE
/usr/share/doc/xvidcore-1.0.0/README
/usr/share/doc/xvidcore-1.0.0/TODO


It appears to be installed correctly.

Edit:
Ahh man that is dumb. For some reason the file it is looking for is "libxvidcore.so.4" and the one that was installed is "libxvidcore.so.4.0". I just did a "cp libxvidcore.so.4.0 libxvidcore.so.4" and it works now.
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby ZiaTioN » Fri Apr 23, 2004 4:47 pm

Now the mplayer works and the gmplayer launches successfully when I click a .smi link but no audio is played. There are no errors reported and no indication of failure at all, except for the fact that no sounds is emitted from my speakers (and yes they are on and volume turned up).
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Tux » Fri Apr 23, 2004 5:07 pm

Open the file in a text editor.
You will see a link rtsp://blahblahblah?some,otherjunk,may,be,here

Copy everything up to and excluding the question mark. eg rtsp://blahblahblah
And pass that to mplayer.
(g)mplayer rtsp://blahblahblah

If it doesn't work, then you need to download the revevant codec(s) from MPlayer's homepage, you mave also need the live rtsp libraries for mplayer but (I believe) that they have pulled this into the main codebase or something so don't do this until after you have checked the codec problem.
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Postby Void Main » Fri Apr 23, 2004 6:02 pm

Can you play other file types (*.ogg, *.mp3, *.avi) and hear sound? What audio driver are you using in gmplayer? Look at the "Audio" tab in your preferences. You may have it set to ALSA but not have ALSA properly set up (I noticed it downloaded the ALSA libraries when you install mplayer). Another common thing is after installing ALSA for the first time you have to open the ALSA mixer and turn up the master volume. You might just try changing gmplayer to use OSS though and see if that works (again, make sure your mixer volume is turned up).
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 1 guest

cron