Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
real player video files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Fri Feb 17, 2006 9:17 am    Post subject: real player video files Reply with quote

Does anyone play real player video files (such as extension .rm) on ppc? If so, how have you set this up and how have your results been? I've been reluctant to install programs outside of portage but as my hope for a "native" solution dwindles, I'm considering other options. I've wanted to play .rm's for a long time now. Searching the forums and google, I don't see a solid method.
_________________
gentoo good to be true
Back to top
View user's profile Send private message
Taki
Apprentice
Apprentice


Joined: 22 Sep 2005
Posts: 249
Location: Johannesburg, South Africa

PostPosted: Fri Feb 17, 2006 10:56 am    Post subject: Reply with quote

Yo.

I don't have a power ppc but you can add the real USE flag and re-emerge mplayer. This will also emerge real player when you emerge mplayer. Real player 10 is in portage but I think mplayer play rm files better than real player in fullscreen mode.
_________________
I live a life of needles and wax.
When the needle touches the wax,
I begin to breathe.
Back to top
View user's profile Send private message
Fugee47
Apprentice
Apprentice


Joined: 25 Nov 2004
Posts: 196
Location: Germany

PostPosted: Fri Feb 17, 2006 12:08 pm    Post subject: Reply with quote

The helix-player is running on my ibook.
It plays real-sound-files, but i think it can also play the real-video-files.
Its not in the portage-tree, but i don``t remember where i got it from ...
Back to top
View user's profile Send private message
qleak
n00b
n00b


Joined: 17 Jun 2005
Posts: 67

PostPosted: Fri Feb 17, 2006 1:33 pm    Post subject: Reply with quote

Taki wrote:
Yo.

I don't have a power ppc but you can add the real USE flag and re-emerge mplayer. This will also emerge real player when you emerge mplayer. Real player 10 is in portage but I think mplayer play rm files better than real player in fullscreen mode.


Many of the mplayer flags are actually arch specific. I don't remember if real works or not. But win32codecs definately fails.

edit:
helix-player appears to have a ppc installer.

https://player.helixcommunity.org/2005/downloads/

I don't use it myself so consider it an adventure
Back to top
View user's profile Send private message
bz31
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 108

PostPosted: Fri Feb 17, 2006 4:48 pm    Post subject: Reply with quote

- Try first RealPlayer 10.0.5 ppc https://helixcommunity.org/download.php/1346/realplay-10.0.5.756-linux-2.2-libc6-gcc32-powerpc.bin

- If it doesn't work (this is my case), try mplayer + real-codecs :
Code:
# mkdir /usr/lib/win32
# cp /path/to/RealPlayer10/codecs/* /usr/lib/win32
(# cp /path/to/RealPlayer8/codecs/* /usr/lib/win32 <-- I don't know if we need it)


Realplayer8 in this page:
http://forms.real.com/real/player/blackjack.html
(It works fine for real audio)

For testing: http://service.real.com/realplayer/test/
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Sat Feb 18, 2006 10:38 pm    Post subject: Reply with quote

realplayer is not available for ppc via portage (see http://www.gentoo-portage.com/media-video/realplayer). Has anyone tried using the essential-ppc codecs package from mplayer?
_________________
gentoo good to be true
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Feb 18, 2006 11:42 pm    Post subject: Reply with quote

I asked the mplayer maintainer for you and he says it's not worth the trouble. The next version of ffmpeg (0.5.0) should have support for the codecs that this provides on ppc.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Sun Feb 19, 2006 7:22 am    Post subject: Reply with quote

Thanks.

-If realplayer exists for ppc (https://player.helixcommunity.org/2004/downloads/), why is it not found in portage?
-If the realplayer found at the link above does work, could you extract the codecs and implement them into mplayer?
-Where should additional codecs be put? Searching around, I've seen references to the directory /usr/local/lib/codecs which does not exist on my system. Should I create this directory and put the codecs there and then recompile?

***EDIT***
Found this on ubuntuforums. It looks promising, I just don't understand how to do this. It would be great to play real media files by way of mplayer on this ppc gentoo system.
_________________
gentoo good to be true
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Feb 19, 2006 4:48 pm    Post subject: Reply with quote

It's not found in portage because they didn't release an RPM version like on x86. The .bin installers don't work well with portage.

I have no idea about "extracting" the codecs, but you're more then welcome to try. Like I said, support should be in the next ffmpeg version for them, so I'm not sure it's worth the effort.

As far as I know, you do not need to recompile for the codec packs that mplayer provides, they are loaded on demand like regular shared libraries.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Tue May 02, 2006 10:42 pm    Post subject: Reply with quote

I am still trying to solve this issue. JoseJX, you mentioned there not being an rpm based installation for ppc. It appears that there is one at helixcommunity. See this link. Does this mean that there can be an ebuild?
_________________
gentoo good to be true
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue May 02, 2006 11:38 pm    Post subject: Reply with quote

The versions for ppc are either the helix player (which contains only open codecs, you might as well use mplayer) and old versions of realplayer. There are no up to date releases for PPC as far as I can see.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Sat May 06, 2006 2:37 am    Post subject: Reply with quote

WHOOA... this is great. I moved a codec or two to my root directory because the error messages seemed to indicate a failed attempt at accessing a codec from there. Now mplayer plays my .rm files!!! Now, I've only tried one but hopefully others will work as well. One thing I could use some help on is figuring out how to configure mplayer so that it searches for codecs in a directory more specific and suitable than the root directory. In other words, how do I specify a directory for mplayer to look for codecs there?

I'm using codecs found in mplayer's all-ppc package. I simply unpacked and once they were in the right spot, mplayer plays .rm nicely. No need for a Realplayer install so far.
_________________
gentoo good to be true
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Sat May 06, 2006 10:45 pm    Post subject: Reply with quote

Here are two quotes.

The first is from the mplayer website:
Quote:
"Download Real codecs from http://www.mplayerhq.hu/MPlayer/releases/codecs/ and extract them to the /usr/local/lib/codecs directory. If you want to store them in a different location, pass the --with-reallibdir option to configure."

The second is from user craks on the ubuntuforums.com:
Quote:
"To play rmvb/rm, install realplayer for ppc linux version, if installed to /opt/RealPlayer

to compile mplayer by hand

./configure --with-librealdir=/opt/RealPlayer/codecs

that can play real media very well"


Is there a way to have portage do something like this when emerging mplayer?
_________________
gentoo good to be true
Back to top
View user's profile Send private message
bz31
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 108

PostPosted: Sun May 07, 2006 2:59 am    Post subject: Reply with quote

Have you tried using /usr/lib/win32 as codecs directory (see my previous post) ?

Can you play real video 10 ( not 8 ) using real codecs from mplayer's web site ?
http://service.real.com/realplayer/test/
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Sun May 07, 2006 11:30 pm    Post subject: Reply with quote

I'm trying to avoid install realplayer, but I tried putting the codecs in /usr/lib/win32. I also tried re-emerging mplayer with the codecs there. In both cases, there is audio but no video.
_________________
gentoo good to be true
Back to top
View user's profile Send private message
bz31
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 108

PostPosted: Mon May 08, 2006 1:50 am    Post subject: Reply with quote

For video, you just need "install" realplayer and copy the codecs for mplayer. After that you can uninstall realplayer. It seems to me that the codecs from mplayer's web site are incomplete (no realvideo 10).
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Mon May 08, 2006 2:09 am    Post subject: Reply with quote

The codecs from mplayer's web site work fine when I place them in the root directory. But, I can't seem to get them noticed in any other directories. I've tried /usr/local/lib/codecs, /usr/lib/win32, and /opt/RealPlayer/codecs.
_________________
gentoo good to be true
Back to top
View user's profile Send private message
bz31
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 108

PostPosted: Mon May 08, 2006 8:13 am    Post subject: Reply with quote

bobotoes wrote:
The codecs from mplayer's web site work fine

Yes. You are right. Thanks.
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Mon May 08, 2006 10:57 pm    Post subject: Reply with quote

bz31, when you play real media through mplayer (or do you just use realplayer?), are your codecs located in the root directory or some other place?
_________________
gentoo good to be true
Back to top
View user's profile Send private message
bz31
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 108

PostPosted: Mon May 08, 2006 11:32 pm    Post subject: Reply with quote

I use debian unstable. I have to rebuild mplayer package by adding the option
--with-reallibdir=/usr/local/lib/codecs
(I told this to debian package maintainer, he will add --with-reallibdir option for next version)

It seems to me that gentoo mplayer ppc does the same and doesn't have a REALLIBDIR for ppc, you should send a bug report or change the ebuild.
Quote:

pkg_setup() {
if use real && use x86; then
REALLIBDIR="/opt/RealPlayer/codecs"
fi
}
Quote:
use x86 && myconf="${myconf} $(use_enable real)"
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Tue May 09, 2006 2:54 am    Post subject: Reply with quote

I did a search for codecs on my computer and found a directory, /usr/share/doc/mplayer-1.0.20060415/TOOLS/realcodecs/
In it are around 15 codecs. I think this directory along with its contents were installed when I emerged mplayer. When I try to play .rm files, it doesn't appear to try to use them, only from the root directory.
_________________
gentoo good to be true
Back to top
View user's profile Send private message
bz31
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 108

PostPosted: Tue May 09, 2006 7:07 am    Post subject: Reply with quote

Try this:
- remove the codecs
- play for exemple: mplayer -playlist http://service.real.com/learnnav/testrams/realvideo10_512.ram
- I see in the terminal:
Opening video decoder: [realvid] RealVideo decoder
Error: /path_to_a_directory/drvc.bundle/Contents/MacOS/drvc: cannot open shared object file: No such file or directory
- mkdir /path_to_a_directory/ and put the codecs there.


Try this:
bobotoes wrote:
I'm trying to avoid install realplayer, but I tried putting the codecs in /usr/lib/win32. I also tried re-emerging mplayer with the codecs there. In both cases, there is audio but no video.

/usr/lib/win32 is for win32 codecs.
Put codecs in /usr/lib/codecs or /usr/local/lib/codecs or /usr/local/RealPlayer8/Codecs/ (don't need install realplayer, just mkdir), then rebuild mplayer. Maybe it can do realplayer codecs autodection.
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Tue May 09, 2006 3:41 pm    Post subject: Reply with quote

my /path_to_a_directory/ is /

I've tried re-emerging (is that the same as rebuilding?) with the codecs in directories: /usr/local/lib/codecs, /opt/RealPlayer/codecs, and /usr/lib/win32.

I have not tried re-emerging when codecs are in: /usr/lib/codecs or /usr/local/RealPlayer8/Codecs.
_________________
gentoo good to be true
Back to top
View user's profile Send private message
bz31
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 108

PostPosted: Tue May 09, 2006 3:54 pm    Post subject: Reply with quote

bobotoes wrote:
my /path_to_a_directory/ is /

So I think that mplayer searches real codecs in / and this is why you can play real media when you put the codecs in /
I don't know how to change this in gentoo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum