|
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
View previous topic :: View next topic |
Author |
Message |
marslars
Joined: 20 May 2009 Posts: 5
|
Posted: Wed May 27, 2009 2:47 am Post subject: Patched mplayer - no fullscreen |
|
|
Soo, here we are again :)
My working platform is Ubuntu 9.04, 32 bit
And i did the following to patch and install mplayer with vo ps3.
Got the newest mplayer from svn:
- svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer (rev 29324)
Got the newest spu-medialib + more from svn:
- svn co https://spu-medialib.svn.sourceforge.net/svnroot/spu-medialib spu-medialib (rev 263)
Got the newest libspe from svn:
- svn co https://libspe.svn.sourceforge.net/svnroot/libspe libspe
And downloaded speutils:
- wget http://speutils.googlecode.com/files/speutils-0.1.tgz
First I installed libspe2:
cd libspe/libspe2
make && make install
Then I installed speutils:
cd speutils-0.1
sh update.sh
cp spu
./configure --target=spu
cd ..
./configure --prefix=/usr
make && make install
Then I installed spu-medialib:
cd spu-medialib/trunk/spu-medialib
cd spu
./configure --target=spu
cd ..
./configure --prefix=/usr
nano spu/src/Makefile, edited OBJEXT = to OBJEXT = o
cd ..
cd ..
make && make install
Then I installed mplayer:
To patch mplayer i used the newest patch i could find from:
http://article.gmane.org/gmane.comp.video.mplayer.devel/52638/match=ps3
and saved it as mplayervo.patch
then i did:
cd mplayer
patch -p0 < ../mplayervo.patch
./configure --prefix=/usr/local --enable-ps3 --enable-alsa
make && make install
And then im ready to watch a movie, but I simply just can't get any fullscren. When I try to play it outputs:
mplayer -vo ps3 -ao alsa -zoom -fs -v sonoarch.avi
MPlayer SVN-r29324-4.3.3 (C) 2000-2009 MPlayer Team
AltiVec found
CPU: PowerPC
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr/local --enable-ps3 --enable-alsa
CommandLine: '-vo' 'ps3' '-ao' 'alsa' '-zoom' '-fs' '-v' 'sonoarch.avi'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Unoptimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('sonoarch.avi.conf') -> '/root/.mplayer/sonoarch.avi.conf'
Playing sonoarch.avi.
get_path('sub/') -> '/root/.mplayer/sub/'
[file] File size is 576711530 bytes
STREAM: [file] sonoarch.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: AVI format
AVI file format detected.
list_end=0x146
======= AVI Header =======
us/frame: 41708 (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 81309 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 624 x 352
==========================
list_end=0xD4
==> Found video stream: 0
[aviheader] Video stream found, -vid 0
====== STREAM Header =====
Type: sdiv FCC: DIVX (44495658)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 23976024/1000000 = 23.976
Start: 0 Len: 81309
Suggested BufferSize: 106775
Quality 0
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 624
biHeight 352
biPlanes 1
biBitCount 24
biCompression 1145656920='DIVX'
biSizeImage 658944
===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x146
==> Found audio stream: 1
[aviheader] Audio stream found, -aid 1
====== STREAM Header =====
Type: sdua FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 48000/1152 = 41.667
Start: 0 Len: 141303
Suggested BufferSize: 0
Quality 0
Sample size: 0
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1152
bits/sample: 16
cbSize: 12
mp3.wID=256
mp3.fdwFlags=0x2000000
mp3.nBlockSize=32772
mp3.nFramesPerBlock=256
mp3.nCodecDelay=0
==========================================================================
list_end=0x16A
hdr=Software size=16
Software : transcode-1.0.2
list_end=0x22299222
Found movie at 0x800 - 0x22299222
Reading INDEX block, 222612 chunks for 81309 frames (fpos=573149738).
AVI index offset: 0x0 (movi=0x800 idx0=0x800 idx1=0x1174)
Auto-selected AVI video ID = 0
Auto-selected AVI audio ID = 1
AVI: Searching for audio stream (id:1)
XXX initial v_pts=0.000 a_pos=0 (0.000)
AVI video size=518037530 (81309) audio size=53288496 (141303)
VIDEO: [XVID] 624x352 24bpp 23.976 fps 1222.0 kbps (149.2 kbyte/s)
Auto-selected AVI audio ID = 1
[V] filefmt:3 fourcc:0x44495658 size:624x352 fps:23.976 ftime:=0.0417
Clip info:
Software: transcode-1.0.2
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using AltiVec optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: Yes, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16be, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16be -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16be
[dummy] Was reinitialized: 48000Hz/2ch/s16be
Trying preferred audio driver 'alsa', options '[none]'
alsa-init: requested format: 48000 Hz, 2 channels, 8
alsa-init: using ALSA 1.0.18
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 256
alsa-init: fragcount=16
alsa-init: got buffersize=16384
alsa-init: got period size 256
alsa: 48000 Hz/2 channels/4 bpf/16384 bytes buffer/Signed 16 bit Big Endian
AO: [alsa] 48000Hz 2ch s16be (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16be -> 48000Hz/2ch/s16be...
[dummy] Was reinitialized: 48000Hz/2ch/s16be
[dummy] Was reinitialized: 48000Hz/2ch/s16be
Starting playback...
Increasing filtered audio buffer size from 0 to 18432
[ffmpeg] aspect_ratio: 1.772727
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO Config (624x352->624x352,flags=5,'MPlayer',0x32315659)
VO: [ps3] 624x352 => 624x352 Planar YV12 [fs] [zoom]
VO: Description: PS3 framebuffer w/ spe offload courtesy of spu_medialib (https://sourceforge.net/projects/spu-medialib)
VO: Author: Bill Garrett <wgarrett <at> sc.rr.com>
VO: Comment: Kristian Jerpetjoen <kristian.jerpetjoen <at> gmail.com
VO: [ps3] Initiated
*** [vo] Allocating (slices) mp_image_t, 624x352x12bpp YUV planar, 329472 bytes
*** [vo] Allocating (slices) mp_image_t, 624x352x12bpp YUV planar, 329472 bytes
*** [vo] Allocating (slices) mp_image_t, 624x352x12bpp YUV planar, 329472 bytes
Uninit audio filters... 0.003 ct: 0.013 193/193 5% 42% 1.7% 0 0
[libaf] Removing filter dummy
Uninit audio: mp3lib
Uninit video: ffmpeg
VO: [ps3] Closed and re-enabled console.
alsa-uninit: pcm closed
So how can I fix this?? :) Thx in advance guys! |
|
Back to top |
|
|
jonathan
Joined: 21 Sep 2007 Posts: 23 Location: Tasmania, Australia
|
Posted: Thu May 28, 2009 9:58 pm Post subject: |
|
|
I recall there being some problem with setting fullscreen from the command line - does it work if you press F while the video is running? |
|
Back to top |
|
|
marslars
Joined: 20 May 2009 Posts: 5
|
Posted: Fri May 29, 2009 1:24 am Post subject: Hmm |
|
|
Yeah..i can get fullscreen by pressing F..but then it lags totally..so what to do?
I read some of the info on the gmane site, and saw the spu-medialib perhaps isn't prepared for 4 buffers yet? That might be someting or? :) |
|
Back to top |
|
|
jonathan
Joined: 21 Sep 2007 Posts: 23 Location: Tasmania, Australia
|
Posted: Fri May 29, 2009 1:03 pm Post subject: |
|
|
I can't see why that video would be a problem...
Sorry, I have no more suggestions for the time being. |
|
Back to top |
|
|
marslars
Joined: 20 May 2009 Posts: 5
|
Posted: Mon Jun 01, 2009 10:07 pm Post subject: thanks |
|
|
Thanks alot for the help :)
// Marslars |
|
Back to top |
|
|
|
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group
|