Divx are very slow


Forum: Multimedia
Topic: Divx are very slow
started by: petertosh

Posted by petertosh on Feb. 05 2007,22:08
Hi all,
I have a laptope witn a pentium III processor a 600 MHz With 128 Mo of memory.

The problem with this computer is that when i want to play divx, the sound is n ot play at the same time with the video. I use Mplayer. I don't understand cause on dreamlinux, divx works perfectly. Maybe i have a problem of configuration but i don't know wich one.

If you've got an idea...  :p
Thank you^^

Posted by jls legalize on Feb. 05 2007,22:26
I use the mplayer in the uci section of mydsl optionals. I copied the config file from the /opt/mplayer... dir in /home/dsl/.mplayer/ and inserted this line in the file config :
framedrop=yes


legalize cannabis, etc.

Posted by mikshaw on Feb. 05 2007,22:29
If your movie is playing from a cd rom, you might get better performance by enabling dma for that drive:
sudo hdparm -d1 /dev/cdrom

Posted by petertosh on Feb. 05 2007,22:35
i play the divx from the HDD, and i already active the DMA for it ^^(maybe it's not a good idea, i don't know^^)
:D

Thanks to you^^

Posted by petertosh on Feb. 05 2007,22:41
ah, just a question, is it possible to play divx in xmms?

Grrrrr, everything works perfectly exceptly the divx ^^:laugh:

Posted by ^thehatsrule^ on Feb. 05 2007,23:53
Are you using video acceleration? If not, it's worth a shot.  (How is your dreamlinux's X set up like?)
Posted by petertosh on Feb. 09 2007,09:59
I didn't install the graphic driver on DSL. I have a SM 721 (Lynx3DM; 4MB).
But i don't know how to install it.
Have you got an idea?

Thanks a lot

Posted by ^thehatsrule^ on Feb. 09 2007,14:41
Try the "siliconmotion" driver maybe... < http://www.xfree86.org/4.3.0/siliconmotion.4.html >

SM720 seems to be the similar to the SM721 from looking around...

Posted by WDef on Feb. 09 2007,16:23
If you run mplayer from the commandline (the best way to run it)  it will print out some tips if playback is too slow, including

turning on framedropping (as mentioned)
setting -cache 8192 (if you are playing from slow media eg dvd/cdrom)
-autosync 30

and some others I can't recall.

Try playing it back smaller eg mplayer -xy 0.5 will half the resolution

Slow video playback can be caused by a buggy sound driver as well.

Getting graphics acceleration going is obviously the best thing, but with a processor 3x as fast as yours, dsl dma toram can get by without it (except for action movies or 3d games).

Posted by petertosh on Feb. 12 2007,14:08
Hi:)

I run mplayer in a terminal and i see tqo stranges things:
"Detected cache-line size is 32 bytes" (i have a PIII with 256 Ko of cash memory) Maybe i do a mistake and this size is not what i think^^

The most important is "MMX2 supported but disabled"
                                  "MMX:1 MMX2:0 SSE:1 SSE2:2"

Esxcept this everything looks great^^
I don't understand why i don't have my MMX2 activate.
If you've got an idea^^

Thanks a lot.

Posted by ^thehatsrule^ on Feb. 12 2007,14:44
Quote
"Detected cache-line size is 32 bytes" (i have a PIII with 256 Ko of cash memory) Maybe i do a mistake and this size is not what i think^^
I think you mean you have a 256Kb L2 cache capacity. 'cache-line' means something different... you can look this up if you want more details.

Quote
The most important is "MMX2 supported but disabled"
MMX2 finalized as SSE : see < http://www.anandtech.com/showdoc.aspx?i=902 >

Posted by humpty on Feb. 13 2007,02:48
try using the xine player.
Posted by stupid_idiot on Feb. 22 2007,17:19
Hello,
      If you are using the mplayer.uci from mydsl>testing, the problem was due to mplayer being compiled with '--disable-rtc'. The problem appears even on this build machine, a pentium 4. Just submitted a recompiled mplayer a few days ago and it has been uploaded to 'Testing'. So, this synch issue is now fixed.
('rtc': the computer's real-time clock provides an accurate time source to keep the video and audio playing together. '--disable-rtc' made it depend on *gaba gaba* some software technique which loses accuracy as the movie progresses, so video falls more and more behind sound.)

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.