|
|
#25 | |
|
Registered User
Join Date: Jan 2006
Posts: 193
|
Enable the Composite extension, to solve that gray-box issue - I've seen somebody posting about this somewhere, so this is probably a small bug, or sth.
You should be able to use vdpau vo and HW accelerated ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau codecs from there on. Edit your /etc/X11/xorg.conf file and change: Section "Extensions" Option "Composite" "Disable" EndSection To: Section "Extensions" Option "Composite" "Enable" EndSection |
|
|
|
|
|
|
#26 | |
|
Registered User
Join Date: Nov 2008
Posts: 43
|
Quote:
So I added "msglevel=9" in "~/.mplayer/config" but all I get in .xsession-errors appears to be a few "!!! [Hook] hook(): title not found" when I use the vdpau codecs. Enabling the Composite extension fixed the vdpau output but the codecs still won't work... |
|
|
|
|
|
|
#27 |
|
Registered User
Join Date: Jan 2006
Posts: 193
|
Hmmm... Dwonload the youtube vid you're trying to play, open a terminal and type mplayer -vc ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau, -v /path/to/your_video > ~/mplayerlog.txt
Go to you home dir and throw mplayerlog.txt somewhere :-) And I nearly forgot put this: export VDPAU_NVIDIA_9cfhn89fhn=38047802 Into your ~/.bash_profile to make sure that the GPU will be able to accelerate more than one video stream at once! |
|
|
|
|
|
#28 | |
|
Registered User
Join Date: Nov 2008
Posts: 43
|
It works when I do that. Outside of this embedded method vdpau works fine...
|
|
|
|
|
|
|
#29 |
|
Registered User
Join Date: Jan 2006
Posts: 193
|
Hmmm... What player are you using? Is it gnome-mplayer, or something different? Mind posting ~/.mplayer/config here too?
|
|
|
|
|
|
#30 | |
|
Registered User
Join Date: Nov 2008
Posts: 43
|
I am using the mozilla-mplayer plugin in Ubuntu 9.10 64bit and jyavenard's mplayer package. I don't think it uses gmplayer, the script seems to have it's own gui controls.
This is my current config: Code:
vo=vdpau, vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau, ao=pulse demuxer=lavf cache=8192 msglevel=9 |
|
|
|
|
|
|
#31 |
|
Registered User
Join Date: Nov 2008
Posts: 43
|
There is also a "~/.mplayer/mplayerplug-in.conf" file that the script uses.
This is the contents: Code:
vo=vdpau ao=pulse cachesize=512 cache-percent=5 dload-dir=/home/watto/Desktop showtime=1 enable-wmp=1 enable-qt=1 enable-rm=1 enable-gmp=1 enable-dvx=0 enable-mpeg=1 enable-mp3=1 enable-ogg=1 enable-midi=0 enable-pls=1 enable-smil=1 enable-helix=1 nomediacache=0 nopauseonhide=0 rtsp-use-tcp=0 rtsp-use-http=0 msglevel=9 |
|
|
|
|
|
#32 |
|
Registered User
Join Date: Jan 2006
Posts: 193
|
Dunno how to help you with this one... I'm using gnome-mplayer which shares it's config with mplayer and works nicely. Why don't you install it too? :-)
|
|
|
|
|
|
#33 |
|
Registered User
Join Date: Nov 2008
Posts: 43
|
Ok I installed it but how do you use it with the embedded player? It still doesn't work...
|
|
|
|
|
|
#34 |
|
Registered User
Join Date: Jan 2006
Posts: 193
|
Make sure the plugin is recognized by Firefox. Type about
lugins in the address bar and see if a line: mplayerplug-in is now gecko-mediaplayer 0.9.8 is there and you've got all the supported video types listed below.If it's there then you should be good to go. Open your ~/.mplayer/config and put this in it: [gnome-mplayer] vo=vdpau ao=pulse msglevel=all=5 vc=ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpa u, And finally run gnome-mplayer open the prefs panel and tick every but the last option on the "Plugin" page. |
|
|
|
|
|
#35 |
|
Registered User
Join Date: Nov 2008
Posts: 43
|
Ok I had to uninstall the mozilla-mplayer package and install gecko-mediaplayer. Much nicer!
However it still doesn't work... I checked verbose debugging and I found TONS of these messages in .xsession-errors: Code:
ERROR: [h264_vdpau @ 0xc3dc00]decoding to PIX_FMT_NONE is not supported. ERROR: [h264_vdpau @ 0xc3dc00]decode_slice_header error ERROR: [h264_vdpau @ 0xc3dc00]no frame! ERROR: Error while decoding frame! |
|
|
|
|
|
#36 |
|
Registered User
Join Date: Nov 2008
Posts: 43
|
Figured out it was the "Deinterlace Video" option under Mplayer. I guess the option is not for the vdpau deinterlacer...
Works great now! |
|
|
|
![]() |
| Thread Tools | |
|
|