Ubuntu Multimedia :: Smooth 1080p On VDPAU Mplayer On Hardy 8.04.4?
Dec 5, 2010
I had a problem playing full HD videos (1080p @ 30 fps), frames dropped, CPU utilisation (on 1 of 2 CPUs) maxed out etc.As I'm still stuck on Hardy I didn't find much stuff that directly answers my question on how to play this... After hunting about a bit the following two links gave me some idea of what needs to be done, namely install a new version of Mplayer that supports VDPAU (NVidia's hardware video acceleration solution).
Luckily I had a NVidia video card that supports VDPAU and I had installed the NVidia proprietary drivers before [URL]To check if your NVidia card supports VDPAU please look at the proprietary driver release details.
Quote from Wikipedia:
"Currently only second generation of PureVideo HD bit-stream processor in some of NVIDIA's GeForce 8 series and later graphics cards hardware that has support since the Beta device driver version 180.06. Unsupported hardware from the GeForce 8 series includes the 8800GTS 320/640MB editions and the 8800GTX. Later cards based on the G9x series cores e.g. the 8400GS and the 8800GTS 512mb (G92 core) are supported."
I usually play using VLC but was put-off from trying to upgrade that to CDPAU support because of this little detail from the Ubuntu forum links above:
"VLC is available with vdpau by way of VA-API, in this PPA:[URL]However, to install it you'll have to upgrade your precious and very touchy ffmpeg packages. There have been a couple of SONAME upgrades since Karmic's ffmpeg was released, and this will inevitably result in breakage of anything that A) uses dynamic ffmpeg, and B) is not rebuilt against the new version, ie. every package that's on your system that didn't come from that PPA."
I am trying to take advantage of VDPAU for playing video files with my ASRock ION 330. As far as I know, MPlayer and VLC both include VDPAU support. Ok then, I managed to make MPlayer work from the command line:
mplayer -vo vdpau -vc ffh264vdpau ./filename.mkv
In this way it plays a 720p content smoothly, with under 10% CPU use. Great!The problem is when I try to make this permanent, i.e., configuring the files ~/.mplayer/config and ~/.mplayer/gui.conf.This is what I have in there:
But still, when I open MPlayer from the menu, no matter what file I try to open it gives this ugly message:Error opening/initializing the selected video_out (-vo) device. With regard to VLC, I had no luck, although I am using the latest "1.0.3 Goldeneye" version, I don't know how to make use of VDPAU.
I've tried watching material in 1080p resolution on my notebook and i experienced some slowdowns, tearing, etc. Video is encoded by x264 and sound is flac 5.1, all in mkv container. I know it's quite heavy one, but it was playing quite good on windows+CoreAVC, so i expect no less from my shiny Ubuntu I did a bit of googling and found out that AVIVO/UVD/Whatever is already turned on by default in fglrx drivers when using Xv, yet CPU is struggling on 90-100% load. Is there a way to turn hardware decoding on? It doesn't seem to work by "default" (or i'm too desperate to acknowledge that hardware acc is already on and still struggling to decode this ).
Specs of my notebook:
Intel Pentium Dual-Core T4200 2.0 GHz Mobility Radeon HD4570 256MB with fglrx from maverick repo 3GB RAM (doh!) mplayer and codecs from medibuntu repo mplayer uses -vo xv -va pulse , ffh264 and ffflac codecs
I am using mplayer with vdpau enabled in Ubuntu 10.10. It works very well in general, reducing cpu usage for hd from 50% to 60% to around 10 -15% or less. There is however one slightly annoying problem. It is that mplayer would appear to "forget" its vdpau output setting once in a while and especially after rebooting. When that happens it needs to be "reset" in order to use vdpau. "Resetting" basically just means opening gnome-mplayer and change video output to xv and then back to vdpau again.
I should clarify that the setting has not actually been lost, it still says "vdpau", it just need resetting).
I have a Zotac IONITX-F-E motherboard (Intel Atom Dual Core 1.6 GHz + Nvidia ION) -based box with Ubuntu 10.04 64-bit installed. My goal is to play back 1080p video.
I have mplayer installed (which I compiled from source with --enable-vdpau). I try to run mplayer with this command:
Code: mplayer -vo vdpau -vc ffh264vdpau path/to/myfile.mkv I get the following message in my terminal: Code: Error opening/initializing the selected video_out (-vo) device. I have libvdpau-dev and libvdpau1 installed.
Before doing all this, I was able to get the nvidia 195.36.24 driver installed, but I am still having some trouble, which may or may not be related.
I recently updated my Squeeze installation to testing and since then I've been unable to use VDPAU with SMPlayer and MPLayer. When VDPAU is enabled every video file gives the same error (see log at the end; don't mind the extra channel entries, they're for converting AAC to AC3 on-the-fly). Before this everything worked as it should.
I have a nVIDIA Geforce 8500 GT on my Ubuntu system.and have the latest 260.19.36 driver installed.the Mplayer was from SVN checkout also the latest version.but the configure script from mplayer can't detect VDPAU on my system. just give me the output like this Check VDPAU .... No If I force Enable the VDPAU. the make process won't be successful.just googled, most article that I can find about Mplayer and VDPAU is out of date.
I can successfully play h264 and vc1 encoded HD videos with vdpau acceleration using Gnome MPlayer or SMplayer, but in order to accomplish this, I have to provide -vc ffh264vdpau/ffvc1vdpau as an extra argument for MPlayer. Now this totally sucks as I have to manually type this in for HD videos and remove for all others every single time... What's worse is that I have to know what the video is in advance so I first need to analyze it before playing.So, I figured that if there's a way to tell MPlayer to aways use ffh264vdpau codec for h264 and ffvc1vdpau for vc1 videos, I'd be free to just click and watch.
If you want to use XBMC 9.11 (Camelot) and MPlayer, I suggest to use RPM Fusion. VDPAU support is now mainline...My repository provides pre-beta XBMC Dharma packages (xbmc-dharma) and recent mplayer packages with bluray support (through libbluray and libaacs). These packages depend on RPM Fusion.
xbmc-dharma is also compiled with vdpau and vaapi support. vaapi is supposed to be compatible with Nvidia (through vdpau, install vdpau-video), ATI (through xvba, install xvba-video) and Intel (directly). For me (NVidia), it doesn't work, xbmc instantly crash. Anyway, you can try. Maybe it's useful for someone. You can maybe find informations here: [URL] For NVidia and ATI, it can only work with the closed source driver. For Intel. libva, vdpau-video source packages were copied from [URL](I forgot) and recompiled by me.
One last thing, RTMP [URL] support was removed from XBMC after 9.11. If you want to watch videos over this protocol (usually flash), you have to install librtmp (provided in my repo). Repository URL:[URL] If you want to install it in yum, copy [URL]
I ended up getting 1080p playback working perfectly with vlc on my 1201n about 2 months ago, but then I decided I'd reformat my system to clean it out a little. There's other tutorials out there, but none are as straightforward as that one. I literally copy and pasted the commands and it worked like magic...now I have the latest nvidia driver installed, but vlc 1.1 won't let me check the GPU acceleration box under Preferences > 'Input and Codecs'.
I remember that this tutorial gave you PPAs for debs of vlc pre-1.1 git files, and a list of all the necessary software to install (vlc, vdpau, smplayer). It was hosted on a site other than ubuntuforums, and it was the only one that worked at the time for me.
Anyone know what I'm talking about, or give similar links? I think with this new nvidia driver stuff is actually being slowed down a bit, but that doesn't explain why VLC won't let me activate GPU acceleration.
I have a high resolution file (1080p) encoded with H.264 and when I play it back, it lags at certain parts (and enough parts to destroy the job of watching the video).
I don't think that my computer is that crappy and it has been able to play many H.264 encoded files with high resolution - so there is always a possibility that this file is just encoded poorly (lacking a better computer, I cannot test).
For information, I'm running Ubuntu 9.10 64 bit. I have a Intel Core2 Quad CPU Q9550 (@2.83 GHz). I have 8 GB of RAM (forgot the speed off the top of my head). And a Nvidia GeForce GTX 280 (1 GB of memory).
During the playback, the RAM is far from being completely used; however, it seems that one (and only one) of the cores of my CPU becomes saturated at 100% precisely at the moments in which the file lags. When the CPU utilization is below 100%, there is smooth playback.
My question is - is it possible to use all four cores during playback, or is such a process not capable of easy parallel processing.
Another side question is, how can I be sure that my GPU is being used in the decoding process - or is that also being under-utilized?
This forum has been a wonderful treasure of knowledge. I am stuck up with something thats getting onto my nerves. I have installed lucid and followed the perfect desktop guide.
I have a mkv file (4.6Gigs) 1080p HD with DTS 5.1 audio. when I play the file either of the video or audio gets stuck (mostly video) I tried every possible configs from this forum but in vain. Im using Dell LAT D830 with 2GB RAM 2.2GHz CPU NVIDIA Graphics.
When I watch a HD movie, the video will freeze momentarily sometimes. Would a 8400GS or 9600GT take care of this? My video card is a 7300 le, CPU= Phenom 8450 Memory= 4gb PC2-6400 Power= OCZ Fatal1ty OCZ550FTY 550W
I'm having trouble getting 1080p out my xfx 9800gt that has an onboard hdmi socket. No doubt my HDTV is 1080p (panasonic TH-427PZ70B a few years old now), and it will do and has run at 1080p 60hz.
It auto detects the display as simply panasonic-tv and outputs at 1080i. As I've been running mythtv with tv tuners this actually worked quite well as dvb-t is interlaced anyway and most ofthe HD video files I play are 720p. However I would like to run it at 1080p for all the usual reasons- especially as I have some 1080p files I'd like to enjoy in all their glory!!
This doesn't seem to be ubuntu specific as mandriva behaves the same, and makes no difference if I use the open source (default with 9.10), the official nvidia package or as I've just tried 10.04 with default and nvidia.
I've searched around for nvidia hdmi 1080p etc but can't seem to dig up anything useful. Surely I should be able to force the graphics card to output standard 1080p 60hz?
Should I be able to do this through xrandr by setting a modeline or in xorg.conf or nvidia control pannel!?
My totem media player hangs a lot.The video playback is not smooth ..as if i am on a very old computer and believe me i am not. though everything runs smooth on vlc . but i'd still prefer totem if it can be fixed.i running ubuntu 10.10 , the graphic card i have is Nvidea 8600GTM
I have a Zotac IONITX-F-E motherboard (Intel Atom Dual Core 1.6 GHz + Nvidia ION) -based box with Ubuntu 10.04 64-bit installed. Do you or does someone you know have the same setup as I do? If so, do they have 1080p video playback working? If so, what driver are they using? I've tried following every guide I could find, but no luck so far. I have libvdpau1 and libvdpau-dev installed. I have the nvidia 195.36.24 driver installed (I used the nvidia installer). I have mplayer installed (which I compiled from source with --enable-vdpau).
I try to run mplayer with this command: Code: mplayer -vo vdpau -vc ffh264vdpau path/to/myfile.mkv
I get the following message in my terminal: Code: Error opening/initializing the selected video_out (-vo) device. I have libvdpau-dev and libvdpau1 installed.
After Googling this problem, I found a post that suggested the following steps: Code: sudo add-apt-repository ppa:nvidia-vdpau sudo apt-get update sudo apt-get install nvidia-glx-195 nvidia-195-modaliases
It turns out that I had already added the nvidia-vdpau repository. However, despite that, I get: Code: E: Couldn't find package nvidia-glx-195 The same problem exists for the nvidia-195-modaliases package. Do these packages exist? Is there some other way to get them?
I am preparing to purchase a new laptop, with Ubuntu 10.04 built in, from System76 with 8.0 GB DDR3 1333 MHz RAM, ATI 4570 graphics with 512 MB GDDR2 memory, 500 GB 7200 RPM SATA II hard drive, and I get to choose a CPU. I am wondering: 1) Would I get better 1080p video playback performance with a dual core Core i7-620M or quad core Core i7-840QM CPU? 2) What is the best playback software in Ubuntu that takes full advantage of such a CPU, and also the GPU?
I upgraded from Ubuntu 9.10 to 10.04. After the upgrade, mplayer no longer play a DVD.
I put the missing codecs, as described here: [url] Now DVD worked.
Also during the upgrade package libvdpau1 was disappeared, I restored it from the default repository. Then vdpau worked, but only after a reboot. After restarting gdm (select "Log Out" or sudo service gdm stop/start, or Ctrl + Alt + Backspace) an error:
After reboot everything works again.I updated libvdpau1 from repository [url], but it did not help, same error.
Video: nvidia 9600M GT Notebook [url] Driver set the default, 195.36.15-0ubuntu3, from the standard repositories. In Karmic was 185, everything worked.
I noticed this feature, I do not know whether it is connected with subj:
Immediately after loading the gdm starts with the seventh console, ie when you exit the virtual console by Ctrl + Alt + F2 again to hit Ctrl + Alt + F7.
After you restart gdm is in the eighth console, Ctrl + Alt + F8.
If I run a guest session, it starts with the ninth console.
In the karmic like always with the seventh started.
When booting too strange things happen.
Ubuntu Karmic I installed with Alternate CD to an encrypted LVM.
I booting in text mode, ie without "quiet splash".
Booting reached requiring a password, when entering the password does not display an asterisk, after entering the password then continue normally.
After upgrading to Lucid booting lines are shown as a twisted, ladder when entering the password it displays asterisks and when I enter each character again displays prompt.
I did not like, and I again put the "quiet splash".
I'm using Ubuntu 10.04 and have it hooked up to my HDTV. My GPU is an 8600 GT and I am using the current nvidia driver. Mother board is GIGABYTE GA-MA78GM-S2H, CPU is AMD 4850e, using 2x1G ram 800MHz. Everything I have installed on it comes straight through Synaptic. Smplayer seems to work fine with the VDPAU selected (cpu usage is nice and low during HD playback), but there is a slight problem that really annoys. Every 2-3 seconds the picture seems to have the hiccups, its as though it gets stuck on one frame for a split second and then jumps to the next.
i installed the new flash 10.2 (with flash-aid) and i have no acceleration on videos.i thought that maybe i had something wrong with my system, so i reinstalled ubuntu 10.10.then installed flash and the vdpau-va-driver. still nothing.i have a ion card, so i should have full flash acceleration on video, like i have in windows.
I've had issues with the later versions of Ubuntu, so in an effort to road-test Firefox 3.5 on Hardy I'd like to change my Karmic/Hardy dual boot to a Hardy/Hardy dual boot, and follow the instructions in [URL] to put the Mozilla build of 3.5 on the new installation.
I can't see any reason why a Hardy/Hardy dual-boot shouldn't work, but does anyone know of any issues with this I might not be aware of?
I've been using ubuntu for several years now and one thing I've always have had problems with is getting a smooth picture when viewing videos. I currently have an amd dual core 2.2ghz processor and a H3200 ati graphics card which is more than capable of playing HD and blu ray perfectly in windows. I'm running ubuntu 9.10 with the latest graphics drivers 10.2. If I can movies etc., to play without lag etc., I can finally delete my windows partition. I want to avoid using a virtual machine for now.
I have installed the Packman Mplayer and smplayer packages. I have also installed the proprietary nvidia drivers from the main site. However when I try using vdpau in mplayer, the video doesn't show up and the logs show these messages:
I have tried many ways to enable vdpau support in my machine but for no avail. A member here helped me very much but I couldn't manage to succeed. My system has Ubuntu 9.10 64-bit, Nvidia 8500GT 512mb, Intel Core 2 duo. I have installed Nvidia driver version 195 currently available from their site. I tried compiling mplayer with vdpau support from various tutorials thread here around in Ubuntu forums.
Is there anyone in this forum with Ubuntu 9.10 64 bit with the same other system requirements as mine who have successfully managed to make the VDPAU work?