The hunt for the perfect PS3 MPlayer+Freevo setup

Investigation into how Linux on the PS3 might lead to homebrew development.

Moderators: cheriff, emoon

User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

anthraxx wrote:Reboot/Halt option in freevo
I edited a file named "basic.fxd", it's in /usr/share/freevo/skins/main.
There, we could add a label "Reboot" and "Halt" after the "Shutdown" item. I tried that, but it was not shown. It could be because freevo uses the blurr theme at default (?), but i thought it all inherits from basic.fxd. Except that the (obsolete?!) README in the same directory states, that everything inherits from something like blue1_big_800x600, which does not exists?! And, maybe those .fxd theme files get compiled and saved in ~/freevo/vfs. Not very intuitive and clear, imho. I'll have another look at it later.
Its easy edit local_conf.py and add the following lines to activate commands plugins ;)

Code: Select all

plugin.activate('command', level=45)
COMMANDS_DIR='/usr/share/freevo/fxd'
But warning this plugins is shown in MainMenu > Commands (View ScreenShots), If u wanna have it in in MainMenu use (local_conf.py):

Code: Select all

# plugin.activate('command.CommandMainMenuItem', args=('/usr/share/freevo/fxd/ps3_boot-game-os.fxd', ), level=45)
# plugin.activate('command.CommandMainMenuItem', args=('/usr/share/freevo/fxd/ps3_halt.fxd', ), level=45)
I comment mine (tested and working), because it seems that I cant Add ICONS/Images to MenusItems Halt and Boot-Game-OS....I prefer to have a Dynamic FXD Dir LOL
PS3 - 60GB EUR - FW v1.55 + FC7
anthraxx
Posts: 27
Joined: Sun Nov 11, 2007 12:14 am

Post by anthraxx »

Of the pictures, i like best: the last one, and the 3rd-last.
XBOX360 start button aint so correct, hm :-)

I added the freevo "commands", works great.
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

anthraxx wrote:1) Of the pictures, i like best: the last one, and the 3rd-last.
2) XBOX360 start button aint so correct, hm :-)
3) I added the freevo "commands", works great.
1) Of the pictures, i like best: the last one, and the 3rd-last.
please pay attention, this is not pictures from photoshop, its from my working freevo, a live working version of "our" theme, usign freevo with screen shots hotkey, like a theme made by others
..its the theme I use since that day that I make my last post, and belive me I will never use the default ones, thie is much kool, and ps3 like, and works well, and I re align and fix many components from the basic theme version

the day I post the pics I have theme completed (beta), and I only want sugestions about the global look, like
theme name, ex themeps3 black edition, themeps3 White edition etc
and not choosing the best shot.......

I explain any shot that u view, is from freevo menu
ex XBOX its shutdown,
I make shots from submenus too,
note the selection box and title in shots

When We change menuoptions its change its icons with png transparently,
this mean we change this icons at any time, and we change the background also, and theme works perfectly

the objective is make 2 or 3 versions based colors, one black, white and other based colors, like blue etc, and we can make others, its easy, belive me, I make this in a night ;)
a 1/10 the time I spend trying to find the mplayer crash, or subtitles LOL
...thanks to u I pass one of them ;)

2) XBOX360 start button aint so correct, hm :-)
we can change the icons at any time, send me pics to the menus, like shutdown, headlines etc and I replace, just a few seconds....

3) I added the freevo "commands", works great.
yes, very well, u can see a screenshots of commands too, just create in fxd and presto, its in menu, I like it that way ;)

if u like I send u the theme, u copy too freevo folder, and select the theme with hotkey D, and thats all

but first try to send me some feedback, this way I correct first and send after ;)
PS3 - 60GB EUR - FW v1.55 + FC7
embrion
Posts: 7
Joined: Mon Jan 07, 2008 8:27 pm

Post by embrion »

Interesting topic.
Could You check how well does this sample plays?

http://rapidshare.com/files/82525583/ki ... 4.mkv.html

Any problems with HDMI audio+video output? (in general, not on this clip)
Greets,
Embrion
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

embrion wrote:1) Interesting topic.
2) Could You check how well does this sample plays?
http://rapidshare.com/files/82525583/ki ... 4.mkv.html
3) Any problems with HDMI audio+video output? (in general, not on this clip)
1) A Dead Post You Mean LOL....but Welcome my friend :)

2) yes, its downloading...

3) HDMI audio+video output Problems?
Nothing at all, its work like a charm...
Audio Always Sync, Perfect Image and speed framerate, subtitles 100%.
Its finish for me..I´m very happy with this silence media player and powered by a custom freevo theme belive me..
I´m a Happy PS3 User :)

with this mplayer we can see normal divx plays in a 1080p 40" tv at fullsize screen with outstanding quality (with justscan), the upscaling its awsome, you must see it for belive :)
PS3 - 60GB EUR - FW v1.55 + FC7
warrennn
Posts: 12
Joined: Wed Oct 24, 2007 1:20 pm
Location: Seattle

Post by warrennn »

Hello,

I have the ps3rsx hack installed (with supposedly accelerated 2D xorg) and tried to play that sample using:

mplayer -vo xv killa.sampla.x264.mkv

and I get a very broken up video - short bursts of video and audio. Am I doing something wrong? Perhaps I should use the spu medialib approach if it works better.

Thanks.

Warren Nagourney

Ubuntu 7.10, FW 2.01
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Post by ps2devman »

h264 is a complex algorithm that needs huge calculation power.
A few guys are probably thinking about making a h264 codec that can use all available SPU's (6 addionnal processors very fast if focused on specific tasks), but we will have to wait for such a release.

What you have is fast 2D rendering (uncompressed 2D image ready in memory, copied into video ram).

So a codec has 2 parts : one calculates (for now using PPU only, thus slow if algorithm is complex and bitrate set for movie is high) and one renders (accelerated now, for you).

If you render more classic mpeg2 or divx based avi or mkv's, you should be happy.

The big h264 fun is not for today, but nothing will prevent it.
Last edited by ps2devman on Sat Feb 02, 2008 6:32 am, edited 1 time in total.
anthraxx
Posts: 27
Joined: Sun Nov 11, 2007 12:14 am

Post by anthraxx »

keepkool wrote: the day I post the pics I have theme completed (beta), and I only want sugestions about the global look, like
theme name, ex themeps3 black edition, themeps3 White edition etc
and not choosing the best shot.......

if u like I send u the theme, u copy too freevo folder, and select the theme with hotkey D, and thats all

but first try to send me some feedback, this way I correct first and send after ;)
now i understand!

I think the theme looks great, i like everything, the font, the transparency etc...
The only thing that bottered me: why orange titles? I thought about what Sony/PS3 uses for colors except black and white. Because of blueray and the blue LED (and because blue modding is _IN_), i like to see a theme with more leet blue! :-)

I'm still trying to get wireless controllers working (my new kernel does not boot :-( ), and the external usb disc array (all 4 discs seem to have the same serial/vendor/etc, that's bad because i cant uniqly identify them and mount into correct places, but this has nothing todo with ps3/freevo/mplayer).

Post your theme, i want to use it! =)
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

anthraxx wrote:now i understand!
I think the theme looks great, i like everything, the font, the transparency etc...
The only thing that bottered me: why orange titles? I thought about what Sony/PS3 uses for colors except black and white. Because of blueray and the blue LED (and because blue modding is _IN_), i like to see a theme with more leet blue! :-)
...
Post your theme, i want to use it! =)
first sorry but i´m very stressed with work.

remeber change the theme for blue, change orange text, and images its a fraction of seconds, Its so easy, just say what you wanna changed and i remake it a quick :)

if you want you can send me big pictures of icons too like .......

Code: Select all

audio.png, boot-game-os.png, commands.png, games.png, halt.png, headlines.png, image.png, ps3_boot-game-os.png, ps3_halt.png, scheduledtv.png, shutdown.png, tv.png, video.png, weather.png etc
we can make many flavours versions....if you watch out, this is just a good startup man, the colors, fonts etc we polish after :)
I make this in one night and I never change it, only to select movies, mp3 etc in my freevo LOL
and I dont know shit about it, but its easy stuff, now that I know and have all in illustrator, its a matter of seconds, i only wanna feedback.....because for me its alright now....I dont be piss because orange, or xbox icon, for me its alright, but if others like it, and have interest, I change all just for you ppl...
so please test theme and feedback after ;)

send resource links like PS3 LOOK and Design Colors, UNIFIED ICONS etc

we change it all, i dont affraid of it LOL

what causes my fear is HUNT FOR BUGS,
when I´m not the developer of the solution:(
and "I dont know the rooms of the house"

If the ppl have intereset when we finish the 800x600 standart ps3 theme, I wanna make a 1920x1080p for lucky owners of the FullHD TV´s like me, but first lets finish this, i when we finish I will make some for specific resolutions, this way we have maximum quality, and none upscalling

Download Ps3 Theme Version ALPHA 001 LOL

please note, I´m not at home, and I packed the theme in a rush,
but maybe I forget some files,
please test and say your justice,
and if i forget any file please tell me
and I upload the corrected zip ;)

I hope someone likes it like i do :)
PS3 - 60GB EUR - FW v1.55 + FC7
warrennn
Posts: 12
Joined: Wed Oct 24, 2007 1:20 pm
Location: Seattle

Post by warrennn »

ps2devman: Thanks for the explanation of the poor performance on h264.

keepcool: Were you able to play the killa.sample.x264.mkv using the spu based mplayer with good results?

Thanks.

-wn
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

warrennn wrote:keepkool: Were you able to play the killa.sample.x264.mkv using the spu based mplayer with good results?

Thanks.

-wn
first sorry for the late post, but i´m very busy this weak/year
next I play your mkv and the log of your video test is above
what I see is a frame per second,
like a slow motion movie
sometimes with good frame quality,
and sometimes full of "artifacts", big ones like a square artifact attack

I dont know any shit about codecs stuff,
and I cant help any more

but I screenshot my vlc with the mkv info that I test,
and when I view it I dont see any lost frames
and the playback is very good at full screen upscaled to 1920*1080,

obvious yours is bigger
1920x1080 (yours/justscan) to 1280x720 (mine/upscalled)

maybe this can helps u,
I only test this Afro Samurai serie,
but I can dl more mkv when I have time LOL (only for test)

Image
Image

Code: Select all

MPlayer dev-SVN-r25760-4.1.2 (C) 2000-2008 MPlayer Team
AltiVec found
CPU: PowerPC
117 audio & 239 video codecs

Playing killa.sampla.x264.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang und
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1920x1080  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
ps3 suboptions:
           debug:0
           noscale:0
           noadj:0
           snapshot:0
[vo_ps3] init_framebuffer: Initialized framebuffer & disabled console
FB is 1920x1080 at offset 0x0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
AUDIO: 48000 Hz, 2 ch, s16be, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [oss] 48000Hz 2ch s16be (2 bytes per sample)
Starting playback...
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
[vo_ps3] query_format: Called for Planar YV12 (0x32315659)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [ps3] 1920x1080 => 1920x1080 Planar YV12  [fs]
[vo_ps3] query_format: Called for Planar YV12 (0x32315659)
[vo_ps3] config: Times called:0 Setting up for src=1920x1080, suggested dst=1920x1080, format=Planar YV12 (32315659)
                 vo_fs:0, vo_doublebuffering:1, vo_directrendering:0, vo_screenwidth:0, vo_screenheight:0
[vo_ps3] config: Set vo_screen(width/heigh) to 0x0, forced direct rendering, & double buffering
[vo_ps3] config: src_buf_siz=3110400, src_stride[]={1920,960,960}, src_p_siz[]={2073600,518400,518400}
                     maxWxmaxH=1920x1080, offset=0
[vo_ps3] clear: Clearing buffers
[vo_ps3] init_framebuffer: Initialized framebuffer & disabled console
FB is 1920x1080 at offset 0x0
[vo_ps3] setup_scale: Using dest WxH:1920x1080
[vo_ps3] fix_scale: Adjusted image size to WxH:1920x1080
[vo_ps3] setup_screen: After mplayer aspect changes:
                       vo_dx/dy=0x0, vo_screenwidth/height=1920x1080, offset=0
                       desired image size=1920x1080
powerpc64 not detected
 manipulating adress space
[vo_ps3] init_spu_medialib: Initialized spu-medialib's spu_yuv2argb_scaler with:
                            1920x1080=>1920x1080, offset:0, maxW:1920
spu_yuv2argb_scaler: SRC width 1920,DST width 1920
spu_yuv2argb_scaler: SRC height 1080,DST height 1080
spu_yuv2argb_scaler: DST offset 0
spu_yuv2argb_scaler: No scaling proceeding with direct csc
spu_yuv2argb_scaler: Initiation completed
A:   0.2 V:   0.1 A-V:  0.088 ct:  0.000   1/  1 ??% ??% ??,?% 0 0                                                                                            
A:   0.3 V:   0.1 A-V:  0.168 ct: -0.004   2/  2 ??% ??% ??,?% 1 0                                                                                            
A:   0.4 V:   0.2 A-V:  0.270 ct: -0.008   3/  3 ??% ??% ??,?% 2 0                                                                                            
A:   0.6 V:   0.2 A-V:  0.395 ct: -0.013   4/  4 ??% ??% ??,?% 3 0                                                                                            
A:   0.7 V:   0.2 A-V:  0.497 ct: -0.017   5/  5 ??% ??% ??,?% 4 0                                                                                            
A:   0.9 V:   0.3 A-V:  0.625 ct: -0.021   6/  6 ??% ??% ??,?% 5 0                                                                                            
A:   1.1 V:   0.3 A-V:  0.722 ct: -0.025   7/  7 ??% ??% ??,?% 6 0                                                                                            
A:   1.2 V:   0.4 A-V:  0.852 ct: -0.029   8/  8 ??% ??% ??,?% 7 0                                                                                            
A:   1.4 V:   0.4 A-V:  0.948 ct: -0.033   9/  9 ??% ??% ??,?% 8 0                                                                                            
A:   1.5 V:   0.5 A-V:  1.072 ct: -0.037  10/ 10 ??% ??% ??,?% 9 0                                                                                            
A:   1.7 V:   0.5 A-V:  1.200 ct: -0.041  11/ 11 ??% ??% ??,?% 10 0                                                                                           
A:   1.8 V:   0.5 A-V:  1.303 ct: -0.044  12/ 12 ??% ??% ??,?% 11 0                                                                                           
A:   2.0 V:   0.6 A-V:  1.432 ct: -0.047  13/ 13 355% 39% 57.4% 12 0                                                                                          
A:   2.2 V:   0.6 A-V:  1.539 ct: -0.050  14/ 14 353% 40% 57.1% 13 0                                                                                          
A:   2.3 V:   0.7 A-V:  1.663 ct: -0.053  15/ 15 350% 40% 57.4% 14 0                                                                                          
A:   2.5 V:   0.7 A-V:  1.771 ct: -0.054  16/ 16 348% 40% 56.3% 15 0                                                                                          
A:   2.7 V:   0.8 A-V:  1.900 ct: -0.057  17/ 17 348% 40% 54.5% 16 0                                                                                          
A:   2.8 V:   0.8 A-V:  1.996 ct: -0.058  18/ 18 345% 40% 54.3% 17 0                                                                                          
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A:   2.9 V:   0.8 A-V:  2.077 ct: -0.054  19/ 19 361% 40% 56.4% 17 0                                                                                          
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A:   3.0 V:   0.9 A-V:  2.164 ct: -0.050  20/ 20 365% 40% 55.1% 17 0                                                                                          
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A:   3.1 V:   0.9 A-V:  2.186 ct: -0.046  21/ 21 370% 40% 53.1% 17 0                                                                                          
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A:   3.1 V:   1.0 A-V:  2.176 ct: -0.042  22/ 22 375% 40% 50.8% 17 0                                                                                          

...
CUTTED Maybe Lines ... a lot of times here
...

Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A:   5.1 V:   3.0 A-V:  2.082 ct:  0.163  71/ 71 449% 41% 25.9% 17 0                                                                                          
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A:   5.1 V:   3.0 A-V:  2.041 ct:  0.167  72/ 72 450% 41% 25.6% 17 0                                                                                          
exit from SPU
spu context destroyed
[vo_ps3] cleanup_spu_medialib: Destroyed spu-medialib's scaler/converter
[vo_ps3] uninit: Cleaned up FrameBuffer and re-enabled console.
[vo_ps3] uninit: These SHOULD BE ZERO:
        yuvcsc_not_ready:0
[vo_ps3] uninit: Statistics:
        draw_frame calls:0
        draw_slice calls:70
        draw_image calls:70
        flip_page calls:70
        get_image calls:0
   Played src killa.sampla.x264.mkv (1920x1080) at 1920x1080

Playing killa.sampla.x264.log.


Exiting... (End of file) 
dont forget the
Too many video packets in the buffer: (51 in 8654878 bytes).
messages
PS3 - 60GB EUR - FW v1.55 + FC7
pitrz
Posts: 8
Joined: Sun Nov 18, 2007 10:52 pm

Post by pitrz »

Hi guys,
thanks for all your efforts on this,
i was able to successfully create the same setup(on ubuntu) you have using this thread as reference. Great.

Keep up the good work.

P.
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

pitrz wrote:Hi guys,
thanks for all your efforts on this,
i was able to successfully create the same setup(on ubuntu) you have using this thread as reference. Great.

Keep up the good work.

P.
you are welcome ;)

this post seems a bit dead since I post my freevo skin,
nobody comment about it.....maybe because of my selection of pics or maybe because I dont clone the look of ps3, but its just a work of night, the gfx flavours its easy too change after the bits are working???

maybe someone can comment it,
without it comments I dont toutch it,
I´m happy with it,
and I dont have many spare time too.....

for all keep the good work ;)
PS3 - 60GB EUR - FW v1.55 + FC7
pitrz
Posts: 8
Joined: Sun Nov 18, 2007 10:52 pm

Post by pitrz »

I like the skin.
I only saw the screenshots but it does look very nice.
I think you clone the look of ps3 more than enough :).

I personally don't like the look of xmb. It does look nice with a few icons, but isn't really built for navigating large amounts of icons/files etc.

When it comes to to mediaplayer functionality, i prefer more straighforward software like Eugene's excellent SMS for PS2.
A lot of time will pass before some media player on the ps3 reaches its great usability, stability,ease of configuration/installation and not to mention the fantastic optimalization.
I probably wouldn't bother with playing media on the ps3 at all, only if i hadn't borrowed my ps2 to a friend which seem very little motivated to return it :/.

But freevo + mplayer can be a good combinaton.
Yesterday after i've recompiled mplayer with the patch, and the modification to stop the freezing after playback exit, i've tested several media files with it.

SDTV divx/xvid/mpeg2/h.264 plays perfectly.

720p divx/xvid/mpeg2 also plays smoothly here... I am surprised that someone didn't mention this before, everybode is just nagging about hdtv h.264 playback, but hdtv xvid is still a nice alternative. And it plays without skipping here, i actually turned even some postprocessing on.

I didn't any 1080i/p material yet.


My roadmap for next work on my ps3 mediacenter configuration is following:

1, Subtitles. I guess this won't be a problem, it is well described here.


2, Correctly setup logitech mediaboard pro bluetooth keyboard. It seems to disconnnect after some reboots of linux, and i always have to bring my usb keyboard from main pc. I guess it will be possible to force bluez utils to connect to the keyboard on boot. Anyway a nice keyboard+mouse combo. I don't have any bluetooth manager since i use xubuntu->xfce

3, Analyze possibilities of 5.1 dts/dd passthrough through hdmi or optical out from mplayer. I have looked into kernel's ps3av.c and my first impression is that the framework is there. I will elaborate more on this, since i don't know how optical out passthrough is used from linux (any linux) yet.

4, Do something about overscan. My 720p tv does a lot of overscan (upper right icons in freevo are cut). I know i can modify the resolution of non fullscreen modes in kernel.
But i would much rather match the videomode with native resolution of my tv (1366*768). I've already done some research on this, and was told that it probably isn't possible, but who knows :), one can always hope. I've already achieved several impossible goals in my life .).


5, Start freevo on boot :).

Thanks everybody,

P.
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

Awsome topic

from the author of spu-medialib

Well im so far along with spexms now its time to start rolling it into spu-medialib

now what will this mean..

well first of all using all available spe's will give a lot better response time

it also means we now have a tool that should allow us to accellerate the ultra small tasks from h264 ( intra frame) amongst other things.

The draw_rect (also used in an experimental EXA driver will come back to life)
the removed need to wait for a task completion should make it easier to fix the spu accellerated xv driver.

Planning on attempting a complete removal of the attribute dependencies on in and maybe outgoing. so that it scales almost anything to almost anything

maybe we get some better up scalers than bilinear such as cubic etc. who knows .. need more people tho ;)
Don't do it alone.
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

pitrz wrote:I like the skin.
I only saw the screenshots but it does look very nice.
I think you clone the look of ps3 more than enough :).
thanks :)
u already try my freevo theme? or just look at screenshots?
pitrz wrote:But freevo + mplayer can be a good combinaton.
Yesterday after i've recompiled mplayer with the patch, and the modification to stop the freezing after playback exit, i've tested several media files with it.

SDTV divx/xvid/mpeg2/h.264 plays perfectly.

720p divx/xvid/mpeg2 also plays smoothly here... I am surprised that someone didn't mention this before....
I mention it here, but it seems that nobody reads it
I also strange why ppl dont use and abuse of the currently ps3 mediacenter with divx it has an awsome upscale quality :)
and download other type of media its a waste of time for me, i m really happy with my ps3 mcenter, may not belive but bought my ps3 a year ago, and never play a game, and I dont regret it:)
pitrz wrote:1, Subtitles. I guess this won't be a problem, it is well described here.
you are right, follow our hunt for subtitles....the topic starts here :)
the problems and solutions are exposed ;)

ps: sorry for my late repply pitrz,
but i´m full of work......I hope you understand
PS3 - 60GB EUR - FW v1.55 + FC7
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

unsolo wrote:Awsome topic
from the author of spu-medialib
what an honour master unsolo

thanks about your spu-medialib words,
it seems that you reserve some surprises for all of us in a near future.
I´m right?
unsolo wrote:need more people tho ;)
what this mean? do you need beta testers or a sort of?

and to terminate,
thanks for your work unsolo.
without that this post never exists :)
PS3 - 60GB EUR - FW v1.55 + FC7
fedda
Posts: 13
Joined: Thu Feb 28, 2008 9:31 am

tried to follow how-to guide

Post by fedda »

Hello, after a couple of hour of installation its stops up on compiling the mplayer, with make, get this error :>

video_out.c:173: error: 'video_out_ps3' undeclared here (not in a function)
ake[1]: *** [video_out.o] Error 1
make[1]: Leaving directory `/home/fredrik/mplayer/libvo'
make: *** [libvo/libvo.a] Error 2

Installed Gentoo with this Guide and installcd :> http://overlays.gentoo.org/proj/cell/wi ... entooOnPS3

Did all that except: Install GRP Packages.

Any idea why it fails?

ps. by the way I must say that you guys are doing a good job.

/Fredrik
fedda
Posts: 13
Joined: Thu Feb 28, 2008 9:31 am

Re: tried to follow how-to guide

Post by fedda »

fedda wrote:Hello, after a couple of hour of installation its stops up on compiling the mplayer, with make, get this error :>

video_out.c:173: error: 'video_out_ps3' undeclared here (not in a function)
ake[1]: *** [video_out.o] Error 1
make[1]: Leaving directory `/home/fredrik/mplayer/libvo'
make: *** [libvo/libvo.a] Error 2

Installed Gentoo with this Guide and installcd :> http://overlays.gentoo.org/proj/cell/wi ... entooOnPS3

Did all that except: Install GRP Packages.

Any idea why it fails?

ps. by the way I must say that you guys are doing a good job.
okey, I manage to compile mplayer, but don't use lates rev, I used r25827 that one worked, but it freezes when hitting esc in movie. Which version does it work on?

/Fredrik
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Re: tried to follow how-to guide

Post by keepkool »

fedda wrote:okey, I manage to compile mplayer, but don't use lates rev, I used r25827 that one worked, but it freezes when hitting esc in movie. Which version does it work on?/Fredrik
1) today I leave my ps3 off, but when I power it on, I will check my mplayer version and original source.tgz and repply here with my mplayer compile version and notes.

2) I can review my mplayer notes later and try to help in compile problem, but I´m using the suberb FC7 (Fedora) and maybe I cant help in this point....

3) When you say "freezes when hitting esc in movie" are you INSIDE FREEVO when press ESC or Outside freevo (command line only)?

if inside freevo read this post in first page, our pal "anthraxx" as made a patch for freevo and all works good. (thanks once again anthraxx)

if you are outside freevo, see if you are usign ps3rsx driver before launching mplayer.

try to follow some guides (I know its not easy, it seems theres no start/end guide for our release), and try to not give up, its a hard road, but belive me, its worth the time "waste", and its a solid media player, never fails ;).

I hope I help,
but I have "setuped" my ps3 in the past and I dont rember all my steps and faillures but all my initial problems are reported here in this thread. and I dont have any mplayer issues (lucky) in the past, only with VO driver, but this is required to UPSCALE, without VO driver you can view the videos but without the awsome UPSCALE ;)
PS3 - 60GB EUR - FW v1.55 + FC7
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

to fedda

Hi, I´m with PS3 Off but I find some of my compile notes here:

Code: Select all

# svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer
# svn co svn://svn.ps2dev.org/ps3ware/trunk/mplayer-vo mplayer-vo
# cd mplayer
# patch -p0 < ../mplayer-vo/latest.patch

patching file libvo/video_out.c
patching file libvo/vo_ps3.c
patching file configure
Hunk #1 succeeded at 365 with fuzz 2 &#40;offset 1 line&#41;.
Hunk #2 succeeded at 539 &#40;offset 3 lines&#41;.
Hunk #3 succeeded at 858 &#40;offset 6 lines&#41;.
Hunk #4 succeeded at 4478 &#40;offset 23 lines&#41;.
Hunk #5 succeeded at 8532 &#40;offset 17 lines&#41;.

# ./configure &#40;--enable-ps3 optional, make auto detects and uses it if detect libspe&#41;
# make 
# make install
Note:
(--enable-ps3 optional, make auto detects and uses it if detect libspe)
not needed, it will autodetect it, if you have libspe installed, like me, I use only ./configure

I check my mplayer version later and post it here ;)
PS3 - 60GB EUR - FW v1.55 + FC7
fedda
Posts: 13
Joined: Thu Feb 28, 2008 9:31 am

Re: tried to follow how-to guide

Post by fedda »

keepkool wrote:
fedda wrote:okey, I manage to compile mplayer, but don't use lates rev, I used r25827 that one worked, but it freezes when hitting esc in movie. Which version does it work on?
3) When you say "freezes when hitting esc in movie" are you INSIDE FREEVO when press ESC or Outside freevo (command line only)?

try to follow some guides (I know its not easy, it seems theres no start/end guide for our release), and try to not give up, its a hard road, but belive me, its worth the time "waste", and its a solid media player, never fails ;).
I didn't have time yesterday to install freevo, but compiling Freevo right now.

I follow the guide which you linked in this thread, and everything worked until I got to mplayer, tried an earlier release from the svn, and patch that with mplayer-vo, and did ./configure - make && make install, got mplayer installed. But when I tried mplayer with following command mplayer -vo ps3 -fs -zoom file.avi , it played the file ok but hitting esc or q, It hanges on that clean up.

You also said something, if am using ps3rsx, I don't find it in modules or in the dmesg, So I guess that I don't use it. I quess thats right because its out since am running the lates firmware on my ps3, or am I wrong!

But find out which mplayer rev you are using...

I will also give you the result when I got Freevo up and running..

/Fredrik
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

One should also check what version of libspe2 is installed since we have had experiences in that being the reason things get a bit hang up.
Don't do it alone.
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

I must have ps3rsx driver enabled, else crash ;)

Code: Select all

&#91;root@localhost ~&#93;# lsmod | grep ps3rsx
ps3rsx                 30312  0
My Mplayer Version

Code: Select all

&#91;root@localhost ~&#93;# mplayer -V
MPlayer dev-SVN-r25760-4.1.2 &#40;C&#41; 2000-2008 MPlayer Team
libspe downloaded files

Code: Select all

http&#58;//www.bsc.es/plantillaH.php?cat_id=463
# wget http&#58;//www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/cbea/libspe2-2.2.0-91.ppc64.rpm
# wget http&#58;//www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/cbea/libspe2-devel-2.2.0-91.ppc64.rpm
# wget http&#58;//www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/cbea/libspe2-debuginfo-2.2.0-91.ppc64.rpm
# wget http&#58;//www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/cbea/libspe2-adabinding-devel-2.2.0-91.ppc64.rpm 
Command Line

Code: Select all

# rpm -iv libspe2-2.2.0-91.ppc64.rpm
# rpm -iv libspe2-devel-2.2.0-91.ppc64.rpm
# rpm -iv libspe2-debuginfo-2.2.0-91.ppc64.rpm
# rpm -iv libspe2-adabinding-devel-2.2.0-91.ppc64.rpm
This is the Stuff I Have Used! its all in my notes and filez

I hope you get It ;)
Dont give man (never)!!!!
PS3 - 60GB EUR - FW v1.55 + FC7
fedda
Posts: 13
Joined: Thu Feb 28, 2008 9:31 am

thanx for version

Post by fedda »

Thanx for the info keepkool, I used the lates of everything. I quess its not a good idea. I manage to install freevo, patched it ++, but when I start it:

No video mode large enough for 1918x1080

Am going to recompile everything with the same version of packages which you are using.

The ps3rsx, isn't that only for those ps3 which the firmware is not updated? Or does it work on mine which have the lates firmware from Sony..

Another thing which is irritating me with Gentoo is that the kernel doesn't support smbfs, so I have to compile a module for that too!!!

/Fredrik
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Re: thanx for version

Post by keepkool »

fedda wrote:Thanx for the info keepkool, I used the lates of everything. I quess its not a good idea. I manage to install freevo, patched it ++, but when I start it:
I remeber I try a lots of mplayer versions, but I dont know why! sorry my head is like a ball of soccer this weak :( lots of stuff to do
fedda wrote:No video mode large enough for 1918x1080
try 1918x1080 for me this works like a charm, in fact 1920x1080 says me the same No video mode large enough for 1920x1080
fedda wrote:Am going to recompile everything with the same version of packages which you are using.
its just what I do if I was you :)
belive its works, I dont toutch anything for a long time ago :)
fedda wrote:The ps3rsx, isn't that only for those ps3 which the firmware is not updated? Or does it work on mine which have the lates firmware from Sony..
maybe unsolo can repply this one ;)
I dont have sure, but seems that only 3d goodies as removed,
not the 2D (but I´m not sure like I said my head.....)
fedda wrote:Another thing which is irritating me with Gentoo is that the kernel doesn't support smbfs, so I have to compile a module for that too!!!
No smbfs, its a requirement in a media center like this, go for it

I go dinner, good luck, I hope your next post is written watching a divx with awsome quality :)
with freevo and a wireless keyboard LOL
Last edited by keepkool on Tue Mar 04, 2008 11:21 am, edited 1 time in total.
PS3 - 60GB EUR - FW v1.55 + FC7
fedda
Posts: 13
Joined: Thu Feb 28, 2008 9:31 am

Install log

Post by fedda »

Well, tried the same mplayer version as you got, but it still freezes. I also checked the libspec, I uses libspec2-2.2.0-91.ppc.rpm ++, Only difference is that I am in a 32bit-userland while you are in a 64bit (with the libspec2.2)

But here is a complete log of my installation, http://www.fedda.no/ps3/ps3-gentoo-mplayer.info

/Fredrik
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

from your notes
//mplayer result include exit / freezes the ps3, only accessible with ssh
#mplayer -vo ps3 -fs -zoom file.avi

are you running mplayer inside x ?
I never goes X, I boot my ps3 in shell and launch freevo or mplayer by using mplayer movie.avi from command line

I read that mplayer crashes inside X, maybe this is the problem, I hope so....
I only try to help, nothing more....if I´m wrong please forgive me ;)

good luck, you are a few steps left
PS3 - 60GB EUR - FW v1.55 + FC7
fedda
Posts: 13
Joined: Thu Feb 28, 2008 9:31 am

mplayer + gentoo

Post by fedda »

keepkool wrote:from your notes
//mplayer result include exit / freezes the ps3, only accessible with ssh
#mplayer -vo ps3 -fs -zoom file.avi

are you running mplayer inside x ?
I never goes X, I boot my ps3 in shell and launch freevo or mplayer by using mplayer movie.avi from command line

I read that mplayer crashes inside X, maybe this is the problem, I hope so....
I only try to help, nothing more....if I´m wrong please forgive me ;)
Nope, straight in the command line, I have disable the xdm in init.d, "chmod -x xdm" so it doesn't start!!
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

why are you depending on the ps3rsx..

im not!
Don't do it alone.
Post Reply