View previous topic :: View next topic |
Author |
Message |
odegard Guru

Joined: 08 Mar 2003 Posts: 324 Location: Trondheim, NO
|
Posted: Mon Feb 13, 2006 3:57 pm Post subject: Easy workaround for mplayer bluescreen |
|
|
For some reason, mplayer will turn all blue while the sound is running as normal after a while. There is a problem with xv, and one solution is to use -vo gl, -vo gl2 etc but for me all these are way to slow.
I read this somewhere, I've forgot where, but what you do is:
start playing the movie (blue)
start playing another instance of the movie (not blue!)
stop the first instance of the movie
et voila!
Now I don't have to restart X  |
|
Back to top |
|
 |
Da Fox Guru


Joined: 06 Jul 2005 Posts: 341
|
Posted: Mon Feb 13, 2006 7:52 pm Post subject: |
|
|
if you're using XV that doesn't sound like something that would work, because when you start the first movie, it uses XV (which is what you want), but when you start the second movie the video overlay is in use, and thus it will fail to connect to the vx-port.
But then again, I've never had a blue screen with mplayer, and if this is a bug with XV it might work...  _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
 |
Merlin-TC l33t


Joined: 16 May 2003 Posts: 603 Location: Germany
|
Posted: Tue Feb 14, 2006 11:28 am Post subject: |
|
|
As Da Fox said this doesn't really work.
Since the first player is blocking XV and then when you start a second instance it won't use XV but as fallback X11 which is not hardware accelerated. |
|
Back to top |
|
 |
FormerSlacker Guru


Joined: 11 Mar 2003 Posts: 340 Location: Toronto, ON. Canada
|
Posted: Tue Feb 14, 2006 2:34 pm Post subject: |
|
|
Well I find that using the Nvidia control panel, reset to defaults button in XVideo section usually solves any XV problems.
I don't know what it is, but every couple of days my XV refuses to work, but reseting it always does the trick. Better then restarting the entire xserver  |
|
Back to top |
|
 |
odegard Guru

Joined: 08 Mar 2003 Posts: 324 Location: Trondheim, NO
|
Posted: Tue Feb 14, 2006 9:43 pm Post subject: |
|
|
Merlin-TC wrote: | As Da Fox said this doesn't really work. |
Ehh... what? I'm a bit astounded... of course it works, if it didn't, I wouldn't have posted it!
Your setup might differ from mine. If your mplayer jumps to x11 when xv is not available, just specify xv. Yeah, you don't feel particularly intelligent when you do this, but it's much better than restarting X.
You are correct, the two movies will not play at the same time, the second will wait until the first one is finished (or in this case, when you press 'q'). This is a bug in XV and this is just a simple workaround.
I will look into the Nvidia control panel, thanks for the tip. This should be a lot more practical  |
|
Back to top |
|
 |
Da Fox Guru


Joined: 06 Jul 2005 Posts: 341
|
Posted: Tue Feb 14, 2006 11:11 pm Post subject: |
|
|
the second instance of mplayer will not wait for some other application (even mplayer itself) to release the XV port, it will simply tell you that it 'Could not find free Xvideo port - maybe another process is already using it.', and exit.
actual output when trying to run mplayer -vo xv twice:
Code: | Xv: could not grab port 67
Could not find free Xvideo port - maybe another process is already using it.
Close all video applications, and try again. If that does not help,
see 'mplayer -vo help' for other (non-xv) video out drivers.
Error opening/initializing the selected video_out (-vo) device.
|
_________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
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
|
|