{"id":185,"date":"2006-01-24T00:09:54","date_gmt":"2006-01-23T21:09:54","guid":{"rendered":"http:\/\/void.gr\/kargig\/blog\/?p=185"},"modified":"2006-01-24T00:10:06","modified_gmt":"2006-01-23T21:10:06","slug":"mplayer-headaches-with-alsa-solved-hopefully","status":"publish","type":"post","link":"https:\/\/www.void.gr\/kargig\/blog\/2006\/01\/24\/mplayer-headaches-with-alsa-solved-hopefully\/","title":{"rendered":"mplayer headaches with alsa solved (hopefully)"},"content":{"rendered":"<p>Lately I had a problem with my gentoo. I could not get HR video files with mplayer to work smoothly. In order to test what was going on I downloaded ExperienceMP10_1280x720_8mbps.wmv from http:\/\/www.wmvhd.com\/ .<\/p>\n<p>Whenever I tried playing it the result was choppy video and sound. Mplayer gave me a banner that said: <code>Your system is too SLOW to play this!<\/code>. Hey my pc is based on an Athlon XP 2800+! It&#8217;s NOT slow! So the problem was surely not cpu power. I tried playing around with mplayers&#8217; -vo options. In fact -vo gl gave me some more fps&#8230;but it was still unwatchable. Then it was time to play aroung with -ao options. I tried them all&#8230; alsa, oss, sdl, alsa:mmap, alsa:noblock, nothing&#8230;each one was worse than the other. Then I tried -ao null. And what a surprise&#8230;when audio was disabled video stopped being choppy. It was playing just fine! So the problem was surely audio related. I have the latest alsa installed from portage and other programs play really ok with it, so I thought maybe there a newer mplayer version could do the trick. I first checked on gentoo forums where I found this <a href=\"http:\/\/forums.gentoo.org\/viewtopic-t-382903.html\">very helpfull thread about multimedia overlay in portage<\/a>. I installed it in my portage overlay dir, unmerged mplayer from normal portage tree and emerged mplayer-cvs from the new overlay. After some compile time it was finally ready. The results ? amazing \ud83d\ude42<br \/>\nIt works with every video format I&#8217;ve tried! No sloppy playback, no lagging sound, just perfect.<\/p>\n<p>I hate using custom solutions and ebuilds to cure my problems, but at least I have not compiled anything by &#8220;.\/configure;make;make install&#8221; yet. Long live the gentoo community. Thnx a lot to all \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lately I had a problem with my gentoo. I could not get HR video files with mplayer to work smoothly. In order to test what was going on I downloaded ExperienceMP10_1280x720_8mbps.wmv from http:\/\/www.wmvhd.com\/ . Whenever I tried playing it the result was choppy video and sound. Mplayer gave me a banner that said: Your system [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-185","post","type-post","status-publish","format-standard","hentry","category-linux"],"aioseo_notices":[],"views":8077,"_links":{"self":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/comments?post=185"}],"version-history":[{"count":0,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/185\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/media?parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/categories?post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/tags?post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}