|
|
#1 | |
|
Registered User
Join Date: Aug 2009
Posts: 8
|
Hi,
I am running SMPlayer Version: 0.6.9 (SVN r3447) Using MPlayer SVN r31722 on Linux Mint 9 x64. My laptop has a nvidia 9300GM graphics card and I have the latest driver from nvidia installed. I have SMPlayer set to use vdpau. How do I know that vdpay is actually woring? I do not know if it helps, but this is part of a typical log when playing video: Forced video codec: ffh264vdpau Forced video codec: ffmpeg12vdpau Forced video codec: ffwmv3vdpau Forced video codec: ffvc1vdpau Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ================================================== ======================== ID_VIDEO_CODEC=ffh264 ================================================== ======================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders [ac3 @ 0xc28a00]frame sync error AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000) ID_AUDIO_BITRATE=448000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) ================================================== ======================== AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample) ID_AUDIO_CODEC=ffac3 [Mixer] No hardware mixing, inserting volume filter. Starting playback... Movie-Aspect is 1.76:1 - prescaling to correct movie aspect. ID_VIDEO_ASPECT=1.7647 VO: [vdpau] 1920x1088 => 1920x1088 Planar YV12 |
|
|
|
|
|
|
#2 | |
|
FFmpeg developer
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: May 2008
Posts: 199
|
Use the command line.
Open the folder where your movie is and launch mplayer: Code:
mplayer -ao pulse -vo vdpau -vc ffodivxvdpau,ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau MOVIENAME Basically the idea is the following: mplayer -vo vdpau -vc *vdpau moviename You have to explicitly set the vdpau output device to *vdpau with -vo AND -vc to ensure hardware decoding, setting only -vo vdpau will use software decoding to the vdpau output device. PS. If it works, you should have ~10 % or less CPU usage on 1080p movies... |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Aug 2009
Posts: 8
|
Quote:
MPlayer SVN-r31722 (C) 2000-2010 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing test.mkv. libavformat file format detected. [matroska @ 0x23700c0] Estimating duration from bitrate, this may be inaccurate [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (ac3), -aid 0, -alang eng [lavf] stream 2: subtitle (dvdsub), -sid 0, -slang eng, VobSub [lavf] stream 3: subtitle (unknown), -sid 1, -slang eng, SRT VIDEO: [H264] 1440x810 0bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s) ================================================== ======================== Forced video codec: ffodivxvdpau Forced video codec: ffh264vdpau Forced video codec: ffmpeg12vdpau Forced video codec: ffwmv3vdpau Forced video codec: ffvc1vdpau Cannot find codec matching selected -vo and video format 0x34363248. So it doesn't work. I would assume I either need to build my own mplayer or find a ppa with vdpau enabled mplayer builds. I will look into that. |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Aug 2009
Posts: 8
|
Thank you guys. Based on your input I found out what was wrong (needed to compile mplayer) and got it all working.
|
|
|
|
![]() |
| Thread Tools | |
|
|