MPG playback becomes choppy during scenes with lots of movement
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353
Rep:
MPG playback becomes choppy during scenes with lots of movement
Hey guys,
Using Ubuntu 8.10 (Intrepid Ibex) 32 bit
I noticed that when playing an MPG file or DVD video in Xine, during scenes with lots of movement and action, the playback starts to produce horizontal lines and then starts to skip frames or become choppy.
Some info about my setup is:
* Video Card is ATI 128Mn Radeon Mobility HD 3400 series
* 3gb RAM
* Xine video driver setting is set to xshm
* fglrx restricted driver package is installed
* Compiz is installed and active
I wondered if anybody seen this kind of problem and had any suggestions to where to start tweaking?
it is a 933 P-III 512 meg ram 128 meg "gamer" video card [nvidia chip] using VLC to play the movies. with the medibuntu add in. runs fine palys DVDs and AVI files no pixalation.
try swapping DVD drive then if that is not it try a different video card. test memory. pull other cards shut off periferals [you would be supprised what a bad mouse cord will do.]
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353
Original Poster
Rep:
Quote:
Originally Posted by armandh
it is a 933 P-III 512 meg ram 128 meg "gamer" video card [nvidia chip] using VLC to play the movies. with the medibuntu add in. runs fine palys DVDs and AVI files no pixalation.
Are you running compiz? Maybe I might try VLC.
Quote:
Originally Posted by armandh
try swapping DVD drive then if that is not it try a different video card. test memory. pull other cards shut off periferals [you would be supprised what a bad mouse cord will do.]
I aint doing any of that, its a brand new notebook computer!
If this works, you can load the framedrop option automatically.
There is a hidden directory called .mplayer in your home folder. Edit or create a file called config and add this
framedrop=yes
You can add additional flages to this file. See the man page.
You can also use gmplayer and kmplayer. These are GUI front ends for mplayer.
I am puzzled, based on your your hardware, dvd and video files playback should run smoothly, unless your dvd has corrupted sectors or has scuff marks on certain areas on the disk.
Couple of good resources on dma on drives someone gave me on another forum. I happen to have one of the odd chipsets and drives that do not work well with the new method and have to force dma on my drives.
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353
Original Poster
Rep:
Thanks guys, but how would the dma on dvd drive also cause an MPG file that is stored on the SATA hard disk to play choppy and cause horizontal lines through the picture when there is a lot of action and movement in the video?
I was thinking the problem was more likely to do with the video drivers or settings somewhere.
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353
Original Poster
Rep:
I had already tried disabling compiz, and playback is a little better without Compiz running, especially for gstreamer-totem.
In fact, playback would probably be better if I did not use the ATI fglrx driver. However, I want to use the fglrx driver and Compiz, and all I am really wondering is if any body knows any little tweaks for xine or the xorg.conf file options that can improve things.
Last edited by greengrocer; 12-10-2008 at 12:08 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.