forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error opening/initializing the selected video_out (-vo) devi

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development
View previous topic :: View next topic  
Author Message
keepkool



Joined: 11 Oct 2007
Posts: 59
Location: Portugal

PostPosted: Tue Jan 01, 2008 5:43 am    Post subject: Error opening/initializing the selected video_out (-vo) devi Reply with quote

First Thanks to All Developers of This Forum for the hard and excelent work with PS3RSX Tools developed so far :)

second: look a first post LOL, its prove that im a dump n00b. but belive for some months i read a lot in ps2dev, I prefer to read and not post, only if I need help or when I can positive contribute to the cause:)

third: forget my english, I know I write very bad ROTFL, but I try to do my best (always)...

next the problem:

I follow some good posts in this forum (TheReallyOne)
and I sucefully install a Fedora7 with:
libspe, mplayercodecs, ps3rsx, sdk21, xf86-video-ps3, libps3fb,mplayer, mplayer-vo, spu-medialib
(I Think So LOL)

have a ps3 connected to a 1080p with hdmi 1.3 and 100% in Gnome :)

my problem is that, i follow this install directives and installed patched mplayer:
Code:
# 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
# ./configure;
# make && make install


everything ok, no errors reported

next I try launch mplayer without the -vo ps3:
and everything ok, I view the excelent image quality and sound perfectly, only with a small square (624x352) in the center of the 1080p, because it doesnt upscalling the video
I stop and start many times it always work perfectly, closing mplayer and start again/thanks once again devs :)

log above

Code:
[root@localhost mplayer-vo]#  mplayer -fs -zoom /srv/samba/video.avi
MPlayer dev-SVN-r25539-4.1.2 (C) 2000-2007 MPlayer Team
AltiVec found
CPU: PowerPC

Playing /srv/samba/video.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  624x352  12bpp  23.976 fps  786.7 kbps (96.0 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.10.2 (build 2542/release)
SUB: Detected subtitle file format: subviewer
SUB: Read 755 subtitles.
SUB: Adjusted 82 subtitle(s).
SUB: Added subtitle file (1): /srv/samba/video.srt
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 46 bits!
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)
==========================================================================
AO: [oss] 48000Hz 2ch s16be (2 bytes per sample)
Starting playback...
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
[swscaler @ 0x107242ac]ALTIVEC: Color Space ARGB
[swscaler @ 0x107242ac]SwScaler: using unscaled yuv420p -> rgb32 special converter
VO: [fbdev] 624x352 => 624x352 ARGB  [fs] [zoom]
A:   3.0 V:   3.0 A-V:  0.003 ct:  0.025  74/ 74  6%  3%  1.7% 0 0


now the problem with -vo ps3 enabled
it plays sound and stop perfectly. but I can see the video, yes, it gives me the error Error opening/initializing the selected video_out (-vo) device. my question is

What I Miss?, What Im Doing Wrong?
The answear maybe you dont have vo driver sucefully installed, but I try to found the answear here and there, and I cannot see it, I Know its the last step in this long but great trip that is install PS3 Accelarated MPlayer . Now I Hope that someone helps me, I know its easy like all the things when we know how to do it, or when we are not a perfectly n00b in that area ROTFL

log above
Code:
[root@localhost mplayer-vo]#  mplayer -vo ps3 -fs -zoom /srv/samba/video.avi
MPlayer dev-SVN-r25539-4.1.2 (C) 2000-2007 MPlayer Team
AltiVec found
CPU: PowerPC

Playing /srv/samba/Heroes - 2x01 - Four Months Later.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  624x352  12bpp  23.976 fps  786.7 kbps (96.0 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.10.2 (build 2542/release)
SUB: Detected subtitle file format: subviewer
SUB: Read 755 subtitles.
SUB: Adjusted 82 subtitle(s).
SUB: Added subtitle file (1): /srv/samba/video.srt
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 46 bits!
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)
==========================================================================
AO: [oss] 48000Hz 2ch s16be (2 bytes per sample)
Video: no video
Starting playback...
A:   4.8 (04.8) of 22717.3 ( 6:18:37.3)  1.7%


....a usefull note
Code:
[root@localhost mplayer]# mplayer -vo help
MPlayer dev-SVN-r25539-4.1.2 (C) 2000-2007 MPlayer Team
AltiVec found
CPU: PowerPC
Available video output drivers:
        fbdev   Framebuffer Device
        fbdev2  Framebuffer Device
        cvidix  console VIDIX
        null    Null video output
        mpegpes Mpeg-PES to DVB card
        yuv4mpeg        yuv4mpeg output for mjpegtools
        tga     Targa output
        pnm     PPM/PGM/PGMYUV file
        md5sum  md5sum of each frame



Thanks for all and keep the excelent JOB, and a Good and Happy New Year for all, and for our PS3 Too LOL ;)


Last edited by keepkool on Tue Jan 01, 2008 6:03 am; edited 1 time in total
Back to top
View user's profile Send private message
Akta77



Joined: 09 Dec 2007
Posts: 40
Location: France (Paris)

PostPosted: Tue Jan 01, 2008 5:52 am    Post subject: Reply with quote

If you have the PS3RSX driver installed, i do not see the point using this mplayer version. This version is for accelerating FB display using SPE.

I think (correct me if i am wrong) that the XV / EXA Xorg Driver is doing a far better job!

Regards
Back to top
View user's profile Send private message
keepkool



Joined: 11 Oct 2007
Posts: 59
Location: Portugal

PostPosted: Wed Jan 02, 2008 4:11 am    Post subject: Reply with quote

first thanks for the help/repply Akta77

next when you say "I do not see the point using this mplayer version",
I must say I dont know that having PS3RSX driver installed, I dont need the patched version of mplayer, now I think I know it :)

if so, are you saying that I´m ready to test my configured mplayer ?

I´m a bit confused here, in fact I just started early in this task and I m trying to learn the process, but all the info is a bit technical here at ps2dev and we the noobs are a bit lost LOL

Test Results:
video.avi 624x252
video.srt

Code:
# mplayer /srv/samba/video.avi

plays video.avi 100% with audio sync but no subtitles,
I cant see subtitles
it seems all ok with mplayer log result

Code:
SUB: Detected subtitle file format: subviewer
SUB: Read 755 subtitles.
SUB: Adjusted 82 subtitle(s).
SUB: Added subtitle file (1): /srv/samba/video.srt


next I try upscalling it with various parameters like:

Code:
mplayer -zoom -x 1920 -y 1080 /srv/samba/video.avi
mplayer -zoom -x 1600 -y 1200 /srv/samba/video.avi
mplayer -zoom -x 1248 -y 704 /srv/samba/video.avi  (Double of Video Size 624x252)


but I have a problem, I always get a Blinking Green Dotted Vertical Bars in Video Output, it leaves me with one more question, how can I output it without green vertical bars?

other problem is, when I resize/upscale video, it looses performance and drop frames, what is the optimal or best resolution that mplayer and PS3RSX driver can achieve in this current state ????

thanks once again Akta77 and all the pll in this great forum
Back to top
View user's profile Send private message
Akta77



Joined: 09 Dec 2007
Posts: 40
Location: France (Paris)

PostPosted: Wed Jan 02, 2008 7:19 am    Post subject: Reply with quote

keepkool wrote:
first thanks for the help/repply Akta77

next when you say "I do not see the point using this mplayer version",
I must say I dont know that having PS3RSX driver installed, I dont need the patched version of mplayer, now I think I know it :)

if so, are you saying that I´m ready to test my configured mplayer ?

I´m a bit confused here, in fact I just started early in this task and I m trying to learn the process, but all the info is a bit technical here at ps2dev and we the noobs are a bit lost LOL

Test Results:
video.avi 624x252
video.srt

Code:
# mplayer /srv/samba/video.avi

plays video.avi 100% with audio sync but no subtitles,
I cant see subtitles
it seems all ok with mplayer log result

Code:
SUB: Detected subtitle file format: subviewer
SUB: Read 755 subtitles.
SUB: Adjusted 82 subtitle(s).
SUB: Added subtitle file (1): /srv/samba/video.srt


next I try upscalling it with various parameters like:

Code:
mplayer -zoom -x 1920 -y 1080 /srv/samba/video.avi
mplayer -zoom -x 1600 -y 1200 /srv/samba/video.avi
mplayer -zoom -x 1248 -y 704 /srv/samba/video.avi  (Double of Video Size 624x252)


but I have a problem, I always get a Blinking Green Dotted Vertical Bars in Video Output, it leaves me with one more question, how can I output it without green vertical bars?

other problem is, when I resize/upscale video, it looses performance and drop frames, what is the optimal or best resolution that mplayer and PS3RSX driver can achieve in this current state ????

thanks once again Akta77 and all the pll in this great forum


You have to use mplayer -vo xv <mediafile>

Regards
Back to top
View user's profile Send private message
keepkool



Joined: 11 Oct 2007
Posts: 59
Location: Portugal

PostPosted: Wed Jan 02, 2008 7:56 am    Post subject: Reply with quote

ok thanks once more for the repply

I will try and leave feedback after

can u tell me if its possible to upscale videos to 1920x1080p with PS3RSX driver?
this is my main objective, upscale and play videomedia files with subtitles

TIA
Back to top
View user's profile Send private message
Akta77



Joined: 09 Dec 2007
Posts: 40
Location: France (Paris)

PostPosted: Wed Jan 02, 2008 9:10 am    Post subject: Reply with quote

keepkool wrote:
ok thanks once more for the repply

I will try and leave feedback after

can u tell me if its possible to upscale videos to 1920x1080p with PS3RSX driver?
this is my main objective, upscale and play videomedia files with subtitles

TIA


Mplayer is doing this automatically for me... You really should use the vanilla version...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development All times are GMT + 10 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group