mario0alberto1 / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

error with vdpau & mplayer2 #534

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Trying to play H264 videos, the video is black until I stop and play again or 
go to Edit > Preferences and close

I'm using that packages:
https://launchpad.net/~ed10vi86/+archive/tst

Original issue reported on code.google.com by ed10v...@gmail.com on 27 Jun 2011 at 2:22

Attachments:

GoogleCodeExporter commented 8 years ago
I noticed you are using mplayer2, does it do this with mplayer as well? Will 
you be able to test SVN as I don't have any vdpau hardware to duplicate this 
problem with. I have an idea of how it might be fixed, but I will need your 
assistance to verify it.

Original comment by kdeko...@gmail.com on 27 Jun 2011 at 2:43

GoogleCodeExporter commented 8 years ago
works fine with mplayer

Original comment by ed10v...@gmail.com on 27 Jun 2011 at 2:50

GoogleCodeExporter commented 8 years ago
Try SVN r2144, it may help.

Original comment by kdeko...@gmail.com on 27 Jun 2011 at 3:01

GoogleCodeExporter commented 8 years ago
You also might try getting the latest version of mplayer2 and see if that helps.

Original comment by kdeko...@gmail.com on 27 Jun 2011 at 3:03

GoogleCodeExporter commented 8 years ago
It doesn't work, I'll try to update mplayer2

Original comment by ed10v...@gmail.com on 27 Jun 2011 at 7:54

GoogleCodeExporter commented 8 years ago
same error in latest git mplayer2 version

Original comment by ed10v...@gmail.com on 27 Jun 2011 at 10:56

GoogleCodeExporter commented 8 years ago
I got this email from my mplayer2 contact...

I'm not aware of any issues which would cause that. I tried current
gnome-mplayer (except before your latest commit which you said could
help) and it worked fine with -vo vdpau, both with and without hardware
decoding.

The report fails to clearly specify whether the problem is specific to
both -vo vdpau and h264 (I doubt it really is).

Original comment by kdeko...@gmail.com on 28 Jun 2011 at 12:37

GoogleCodeExporter commented 8 years ago
I've tried with a wmv and it causes the same error
Could it be because of the libav version?. I'm using 4:0.6.2-1ubuntu1

Original comment by ed10v...@gmail.com on 28 Jun 2011 at 1:05

Attachments:

GoogleCodeExporter commented 8 years ago
Executing
mplayer -vo vdpau, -vc 
ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau,ffodivxvdpau, file.wmv
Works fine for h265 and wmv

Original comment by ed10v...@gmail.com on 28 Jun 2011 at 1:16

GoogleCodeExporter commented 8 years ago
Ok, I put another change into gnome-mplayer to restart mplayer if mplayer emits 
"Error when calling vdp_output_surface_create". Hopefully it will work as I 
have no way of testing this change.

Original comment by kdeko...@gmail.com on 28 Jun 2011 at 1:35

GoogleCodeExporter commented 8 years ago
Not work, now start playback in black screen and at 4 or 5 seconds, player stop 
and I can't play file again

In the log, at the end I click stop and play and finally close

Original comment by ed10v...@gmail.com on 28 Jun 2011 at 2:37

Attachments:

GoogleCodeExporter commented 8 years ago
Not always fails

Original comment by ed10v...@gmail.com on 28 Jun 2011 at 2:46

Attachments:

GoogleCodeExporter commented 8 years ago
Can you update from SVN and try one more time?

Original comment by kdeko...@gmail.com on 28 Jun 2011 at 3:24

GoogleCodeExporter commented 8 years ago
Now playback is stopped

Original comment by ed10v...@gmail.com on 28 Jun 2011 at 3:57

Attachments:

GoogleCodeExporter commented 8 years ago
Sometimes I also get this error:
MPlayer interrupted by signal 11 in module: check_framedrop

And some X corruption

Original comment by ed10v...@gmail.com on 28 Jun 2011 at 3:59

Attachments:

GoogleCodeExporter commented 8 years ago
Ok, I have removed that code now. Apparently I cannot make mplayer2 and vdpau 
work on your system. 

Original comment by kdeko...@gmail.com on 28 Jun 2011 at 4:22

GoogleCodeExporter commented 8 years ago
Sorry but it seems that it was working for h264 but not for wmv

Original comment by ed10v...@gmail.com on 28 Jun 2011 at 5:00

GoogleCodeExporter commented 8 years ago
I don't really do much special for wmv files, unless they are in DivX format. 
And in that case I disable the divx vdpau encoding and restart mplayer. The 
fact that the mplayer2 developer was unable to duplicate your issue may mean 
that that are other factors involved. Upgrading your video driver may also help.

Original comment by kdeko...@gmail.com on 28 Jun 2011 at 5:04

GoogleCodeExporter commented 8 years ago
I've updated to 275.09.07 and there is no change
My system is a dell inspiron 1720 with a GeForce 8600M GT. Ubuntu 11.04
If there is any change I'll notify
Thanks for your effort.

Original comment by ed10v...@gmail.com on 28 Jun 2011 at 5:37

GoogleCodeExporter commented 8 years ago
Can you try this workaround...

get the source code, open src/libgmtk/gmtk_media_player.c

locate the function socket_realized

Comment out this line

gtk_widget_modify_bg(GTK_WIDGET(player->socket), GTK_STATE_NORMAL, 
&(style->black));

A simple // in the front of the line should do that... then rebuild and test. 
It may be due to a color setting issue in the vdpau output.

Original comment by kdeko...@gmail.com on 14 Jul 2011 at 7:18

GoogleCodeExporter commented 8 years ago
Doesn't work, the only difference is that the video takes the window color

Original comment by ed10v...@gmail.com on 14 Jul 2011 at 11:59

GoogleCodeExporter commented 8 years ago
If you have the time, can you test the SVN code? Changes have been made that 
may correct your issue.

Original comment by kdeko...@gmail.com on 4 Feb 2013 at 1:57

GoogleCodeExporter commented 8 years ago
It seems to work every thing fine with 1.0.7, in Ubuntu 12.04 and nvidia driver 
310.32
Sorry for not reporting it before, I don't use to play wmv videos
Thanks for your work

Original comment by ed10v...@gmail.com on 4 Feb 2013 at 2:20

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 4 Feb 2013 at 2:44