Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved, sort-of] playing RealOne video on PPC
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
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Mon Jul 31, 2006 8:25 pm    Post subject: [solved, sort-of] playing RealOne video on PPC Reply with quote

Does anyone have working playback of RealOne video on a modern system (glibc-2.4, gcc-4*, kernel 2.6.17, etc.)?

I have RealPlayer 8 working fine, including video and audio playback. RealOne for PPC (any of the old experimental builds) is also installed, and plays audio fine, but goes into an infinite loop on attempting to play video.

I noticed that Suse Linux has a package for the 10.0.5.756 build for their PPC distribution; I based my setup on theirs. Also, using the PPC binary codecs form mplayerhq doesn't seem to work either. RealOne works fine on MacOSX, so can I use the codecs from the MacOSX app with mplayer or xine? Thanks!
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html


Last edited by timotheus25 on Thu Aug 03, 2006 2:17 am; edited 1 time in total
Back to top
View user's profile Send private message
Telemin
l33t
l33t


Joined: 25 Aug 2005
Posts: 734
Location: Glasgow, UK

PostPosted: Mon Jul 31, 2006 9:22 pm    Post subject: Reply with quote

According to the mplayer website the ppc esssential codecs package for mplayer contains the realplayer codec, so I should imagine a normal "emerge mplayer" will give you the codecs you need.
_________________
The Geek formerly known as -Freestyling-
When you feel your problem has been solved please add [Solved] to the topic title.
Please adopt an unanswered post
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Mon Jul 31, 2006 10:48 pm    Post subject: Reply with quote

I have the real player 10.0.5.756 installed on my ppc machine (only in my own
account not system wide, though I probably could do it - I am waiting for a proper
package to do that), and everything seems to be fine. Can you point me toward
a problematic video so I can see if I can reproduce your problem?
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Wed Aug 02, 2006 6:24 pm    Post subject: Reply with quote

freestyling wrote:
According to the mplayer website the ppc esssential codecs package for mplayer contains the realplayer codec, so I should imagine a normal "emerge mplayer" will give you the codecs you need.


Incorrect. The real keyword is profile masked on PPC and the mplayer ebuild restricts it to x86 only. However, I do always create my own ebuild to change these compile-time settings such that mplayer searches for Real codecs at /opt/RealPlayer/Codecs and arbitrary binary codecs at /usr/local/lib/codecs/ .

That said, I do have mplayer playing most RealOne videos now. For months mplayer did not play RV40, despite my correct setup (and even double-checking codecs.conf). But I have it working now for an unknown reason.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Wed Aug 02, 2006 6:38 pm    Post subject: Reply with quote

fb wrote:
I have the real player 10.0.5.756 installed on my ppc machine (only in my own
account not system wide, though I probably could do it - I am waiting for a proper
package to do that), and everything seems to be fine. Can you point me toward
a problematic video so I can see if I can reproduce your problem?


Sure. Even though I have mplayer working now, it can only play some RV40 movies, and others it cannot, because mplayer's support is limited.

For RealPlayer 10.0.5.756, (and all other PPC builds starting with 10.0.0), I still encounter an infinite loop at attempting video playback.

Looking at a few Gentoo Wiki HOWTOs:
http://www.gentoo-wiki.com/HOWTO_RealPlayer10Gold
http://gentoo-wiki.com/HOWTO_Rip_Streams_With_MPlayer
any and all test movies do not play with RealPlayer (most do with mplayer).

Specifically, one that does not play with RealPlayer on PPC, but does play with mplayer on PPC, mplayer on x86, and and RealPlayer10Gold on x86:
rtsp://media.real.com/showcase/ads/HNCD_0186.rm
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Thu Aug 03, 2006 1:15 am    Post subject: Reply with quote

Indeed I tested your last link and I see your problem.
I guess I don't watch enough of the right stuff (or
anything at all for that matter) to have spotted the problem.
If you have mplayer working then the problem is squarely
on the realplayer side, upstream and really not a gentoo
buissness.

Would be nice to have it working for the sake of the things
but that's about it.
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Thu Aug 03, 2006 2:16 am    Post subject: Reply with quote

@fb
Thanks for testing. I think that RealPlayer on PPC is just hopeless due to upstream apathy -- probably why it was removed from portage.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Thu Aug 03, 2006 2:27 am    Post subject: Reply with quote

Well the version 8 was removed because it is a security risk and outdated.
Version 10 has been discussed several time in this forum, and basically
it is not in portage for ppc because it is not packaged as an rpm like for the
x86 arch. There is only a binary installer and the gentoo ppc devs don't want
to touch it even with a long stick. If it was in rpm format it would probably
be in ~ppc, would not make it to ppc since upstream consider it experimental.

But yes apathy upstream is a pretty good summary.
It plays most of my .smil beautifully and works OK when I go to the BBC,
usually.
Back to top
View user's profile Send private message
stmiller
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2006
Posts: 119

PostPosted: Sat Aug 05, 2006 3:11 am    Post subject: Reply with quote

If I remember correctly, I used the installer from here for a PPC Linux build of realplayer:

https://helixcommunity.org/

and it works fine. I'm away from my gentoo machine at the moment. I'll have to check later, but I remember bbc video and other things working just fine.
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Tue Aug 29, 2006 12:59 am    Post subject: Reply with quote

For a long time, I've wanted to play real video with mplayer or some other program I could emerge. The best I am able to do at present is get the all-ppc codecs package from the mplayer site, place the extracted codecs in my root directory (/), and then play the videos with mplayer. It is frustrating. The codecs work. So I wonder two things: 1.) why not have the codecs looked for somewhere else besides /, or 2.) why not include all the ppc codecs in the mplayer package instead of seperate from mplayer's core package?
_________________
gentoo good to be true
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Tue Aug 29, 2006 1:42 am    Post subject: Reply with quote

bobotoes wrote:
For a long time, I've wanted to play real video with mplayer or some other program I could emerge. The best I am able to do at present is get the all-ppc codecs package from the mplayer site, place the extracted codecs in my root directory (/), and then play the videos with mplayer. It is frustrating. The codecs work. So I wonder two things: 1.) why not have the codecs looked for somewhere else besides /, or 2.) why not include all the ppc codecs in the mplayer package instead of seperate from mplayer's core package?


It is quite silly, no? I think the non-x86 aspects of certain ebuilds are missing some QA. But, for myself, I use my own overlay of ebuilds, and in the mplayer ebuild I put:
--with-reallibdir=/opt/RealPlayer/codecs
--with-codecsdir=/usr/local/lib/codecs

Then I dump the PPC codecs package from mplayerhq into the /usr/local/lib/codecs directory. Works well enough. It did not work correctly until version 1.0_pre8 though, for whatever reason.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Tue Aug 29, 2006 1:46 am    Post subject: Reply with quote

Your solution seems good (better than leaving some codecs lying around in /. I've never modified an ebuild. In this case, what file would I modify and would I simply add the example code you gave in your last post and then re-emerge?
_________________
gentoo good to be true
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Tue Aug 29, 2006 1:58 am    Post subject: Reply with quote

bobotoes wrote:
In this case, what file would I modify and would I simply add the example code you gave in your last post and then re-emerge?


See: http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1 .

In short:
Code:

# grep OVER /etc/make.conf
PORTDIR_OVERLAY="/usr/local/portage"


Code:

# /bin/su -
# mkdir -p /usr/local/portage/media-video/mplayer
# cp -pR /usr/portage/media-video/mplayer/mplayer-1.0_pre8.ebuild /usr/local/portage/media-video/mplayer/
# cp -pR /usr/portage/media-video/mplayer/files /usr/local/portage/media-video/mplayer/
# $EDITOR /usr/local/portage/media-video/mplayer/mplayer-1.0_pre8.ebuild

  Here you add the configuration options next other config options; think bash shell scripting syntax.

# ebuild /usr/local/portage/media-video/mplayer/mplayer-1.0_pre8.ebuild digest
# emerge -av ~media-video/mplayer-1.0_pre8

   Check that portage shows emerging from an overlay.


See the above Gentoo doc for further guidance. If you know Bash and are familiar with './configure ; make', it's quite strait-forward.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Tue Aug 29, 2006 2:59 am    Post subject: Reply with quote

Thanks. I did something a little different. I changed a section of /usr/local/portage/media-video/mplayer/mplayer-1.0_pre8.ebuild. The section:
Code:
pkg_setup() {
    if use real && use x86; then
        REALLIBDIR="/opt/RealPlayer/codecs"
    fi
}

was changed to
Code:
pkg_setup() {
    if use ppc; then
        REALLIBDIR="/usr/share/doc/mplayer-1.0_pre9/TOOLS/realcodecs/"
    fi
}


The realcodecs directory already existed so I extracted the all-ppc package there and made the above change. Seems to work. I'm very new at this so please let me know if I did something I shouldn't have.
_________________
gentoo good to be true
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Tue Aug 29, 2006 4:38 am    Post subject: Reply with quote

Not the greatest idea since you will have to repeat parts of it should you ever upgrade RealPlayer. (That is, if the upstream devels ever care about PPC again.) That is why I have two (2) codec folders, RealPlayer, and custom.

But, it will work. And, also, it should work okay with the latest build of RealOne PPC (10.0.5.756). The codec files are the same, but with different .so extensions (the md5s are the same), and any files that are overwritten will actually be the same binaries.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Sun Sep 17, 2006 2:19 pm    Post subject: Reply with quote

I've modify the mplayer's ebuild to get realvideo works on ppc.. you can find it here: https://bugs.gentoo.org/show_bug.cgi?id=147928

I've tried it only on my ibook and it works but maybe should be test more..
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
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