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

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

Moderators: cheriff, emoon

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

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

Post by keepkool »

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: 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 
# ./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: Select all

&#91;root@localhost mplayer-vo&#93;#  mplayer -fs -zoom /srv/samba/video.avi
MPlayer dev-SVN-r25539-4.1.2 &#40;C&#41; 2000-2007 MPlayer Team
AltiVec found
CPU&#58; PowerPC

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

&#91;root@localhost mplayer-vo&#93;#  mplayer -vo ps3 -fs -zoom /srv/samba/video.avi
MPlayer dev-SVN-r25539-4.1.2 &#40;C&#41; 2000-2007 MPlayer Team
AltiVec found
CPU&#58; PowerPC

Playing /srv/samba/Heroes - 2x01 - Four Months Later.avi.
AVI file format detected.
&#91;aviheader&#93; Video stream found, -vid 0
&#91;aviheader&#93; Audio stream found, -aid 1
VIDEO&#58;  &#91;XVID&#93;  624x352  12bpp  23.976 fps  786.7 kbps &#40;96.0 kbyte/s&#41;
Clip info&#58;
 Software&#58; VirtualDubMod 1.5.10.2 &#40;build 2542/release&#41;
SUB&#58; Detected subtitle file format&#58; subviewer
SUB&#58; Read 755 subtitles.
SUB&#58; Adjusted 82 subtitle&#40;s&#41;.
SUB&#58; Added subtitle file &#40;1&#41;&#58; /srv/samba/video.srt
Error opening/initializing the selected video_out &#40;-vo&#41; device.
==========================================================================
Opening audio decoder&#58; &#91;mp3lib&#93; MPEG layer-2, layer-3
mpg123&#58; Can't rewind stream by 46 bits!
AUDIO&#58; 48000 Hz, 2 ch, s16be, 128.0 kbit/8.33% &#40;ratio&#58; 16000->192000&#41;
Selected audio codec&#58; &#91;mp3&#93; afm&#58; mp3lib &#40;mp3lib MPEG layer-2, layer-3&#41;
==========================================================================
AO&#58; &#91;oss&#93; 48000Hz 2ch s16be &#40;2 bytes per sample&#41;
Video&#58; no video
Starting playback...
A&#58;   4.8 &#40;04.8&#41; of 22717.3 &#40; 6&#58;18&#58;37.3&#41;  1.7%
....a usefull note

Code: Select all

&#91;root@localhost mplayer&#93;# mplayer -vo help
MPlayer dev-SVN-r25539-4.1.2 &#40;C&#41; 2000-2007 MPlayer Team
AltiVec found
CPU&#58; PowerPC
Available video output drivers&#58;
        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.
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

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
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

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: Select all

# 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: Select all

SUB&#58; Detected subtitle file format&#58; subviewer
SUB&#58; Read 755 subtitles.
SUB&#58; Adjusted 82 subtitle&#40;s&#41;.
SUB&#58; Added subtitle file &#40;1&#41;&#58; /srv/samba/video.srt
next I try upscalling it with various parameters like:

Code: Select all

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  &#40;Double of Video Size 624x252&#41;
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
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

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: Select all

# 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: Select all

SUB&#58; Detected subtitle file format&#58; subviewer
SUB&#58; Read 755 subtitles.
SUB&#58; Adjusted 82 subtitle&#40;s&#41;.
SUB&#58; Added subtitle file &#40;1&#41;&#58; /srv/samba/video.srt
next I try upscalling it with various parameters like:

Code: Select all

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  &#40;Double of Video Size 624x252&#41;
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
User avatar
keepkool
Posts: 59
Joined: Thu Oct 11, 2007 9:20 am
Location: Portugal

Post by keepkool »

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
Akta77
Posts: 40
Joined: Sun Dec 09, 2007 9:57 pm
Location: France (Paris)

Post by Akta77 »

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...
Post Reply