Welcome to the most active Linux Forum on the web.
Go Back > Blogs > In The Middle Of Nowhere [edK's blog]
User Name


In The Middle Of Nowhere

Life, universe and everything...
Blog title (C) Orbital
Rate this Entry

More notes on HD video playback in Linux: vlc code++, mplayer speed++

Posted 04-26-2011 at 10:16 AM by Web31337

Few days ago I've built a new gentoo environment: my previous system became a junkyard, so I ended up rebuilding it. First thing I've tested, is how it runs HD.

To mention entire list of updates:
Old system: Linux x86_64 [amd64], nvidia-drivers 260.19.29, libx264 0.0.20101029(portage), mplayer 1.0_rc4_p20100612(--version gives SVN-r30554-4.4.3), vlc 1.1.4.
New system: Linux x86_64 [amd64], nvidia-drivers 260.19.36, libx264 0.0.20110223(portage), mplayer 1.0_rc4_p20110322(--version tells SVN-r33094-4.4.5), vlc from git.

Hardware: intel core i7 860 (2.8 GHz), kingston 2*4 GB DDR3 1333MHz, nvidia 465 gtx.
Target: 1920x1080 x264-encoded file, 25 minutes, 7 GB, put into ramfs.

First test was with mplayer, running it with no lags, no horizontal sync issue, like it was before. Wondering what did I change?.. Perhaps have to do something with older X, older nv drivers, incorrect nv settings?

Then, i tried the same in vlc and... OMG WTF! It lagged like I was using P4 with unlabeled video card for $50... I thought it was random, I launched it again: same thing. Okay, downgrade from git-sources to 1.1.9. Now it works fine, but still slower than mplayer. mplayer was built with vdpau, while vlc lacks that USE flag. Perhaps, that's a key. Anyway it should not lag on this hardware. One more time I proved myself VLC is actually slower than mplayer. And most funny, git-sources are not being really tested. Though, we have to be thankful to VLC folks, as they did great job for multimedia playback in Linux, and also, they finally came to release of libbluray: no more hacks with BDMV needed

One more feature I've utilized in new system is mplayer -cache and -cache-min options, as I have much memory, I set it to 1 Gb. Thanks to
Actually, I was planning to put some files in ramfs to play it with mplayer from there, but then ended up with a question "what should I do about files > 8GB?"
Views 2397 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 05:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration