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 

Framebuffer frozen after playback finishes (and workaround)

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> spu-medialib
View previous topic :: View next topic  
Author Message
zefie



Joined: 12 Feb 2008
Posts: 6

PostPosted: Wed May 14, 2008 6:52 am    Post subject: Framebuffer frozen after playback finishes (and workaround) Reply with quote

When I use mplayer-ps3 -vo ps3 and play a video, the video successfully plays, however when the video ends, or I exit mplayer, the framebuffer will kick back to the last known text console, but will not update (cannot see anything new you type).

I tried using ps3-video-mode to switch the framebuffer resolution to 'revive' it, but this didn't work. The only solution I have found that revives the framebuffer (short of restarting) is to quickly play and quit mplayer-ps3 using the original fbdev device.

Example:

mplayer-ps3 my_xvid_file.mkv -vo ps3

(video plays, video ends)
(framebuffer returns to the last known text console, so you see the mplayer instance that just started starting, but you do not get a prompt.)

press up, then backspace 3 times, and type fbdev, then hit enter. You wont see this but effectively you are running:

mplayer-ps3 my_xvid_file.mkv -vo fbdev

You will see the video appear in the upper left corner, press q to quit mplayer, and now the framebuffer behaves as desired.
Back to top
View user's profile Send private message AIM Address
zefie



Joined: 12 Feb 2008
Posts: 6

PostPosted: Wed May 14, 2008 6:58 am    Post subject: Reply with quote

Sorry for the double post, but I can't edit my original post.

I made a shell script for those who are having the same problem.

This is just a basic shell script and wont accept any mplayer params, just the media filename

/usr/bin/mplayer-ps3-playback
Code:
#!/bin/sh
mplayer-ps3 -vo ps3 $1
mplayer-ps3 -vo fbdev -frames 1 $1


This dirty hack will at least restore you to a working framebuffer console when you are done.
Back to top
View user's profile Send private message AIM Address
unsolo



Joined: 16 Apr 2007
Posts: 155
Location: OSLO Norway

PostPosted: Thu Oct 16, 2008 10:09 am    Post subject: Reply with quote

Issue solved in new vo
_________________
Don't do it alone.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> spu-medialib 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