Curiosity about reproduction speed and resizing >> Breakfast & Brunch >> Forum
Forum
  Search   Users   Registration   Entrance
Today: 11.07.2025 - 18:47:10
Pages:  1  2  

Curiosity about reproduction speed and resizing

Advertising

CROWD links from forums - 0,9 USD


MessageAuthor

Hi all: First post here :-). I have here a DivX 5.03 clip that I needed to use in a video editing project, and since editing with interframe compression codecs like DivX can be a pain, I converted it to both MJPEG (PICVideo codec) and HuffyUV (to test which one would take less space, etc.). While doing so, I noticed something interesting: -When using Windows Media Player 6.4 to play the MJPEG and HuffyUV clips, the CPU usage goes up to 100% when playing at 200% zoom, and the movement is noticeably jittery. When playing at a normal size (100%), the CPU usage goes down to 50% or so and it plays the clip without problems (I have a Duron 800Mhz, BTW). -With the DivX clip, however, the CPU usage never goes beyond 35%, and what's more, it never goes up, even when changing resolutions. No matter if you play it at 100% or 200%, the CPU usage stays the same. Why is this? I can understand that the other codecs are more CPU-intensive than DivX, but if playing a clip at 200% resolution takes more CPU resources, it should do so regardless of the codec used, shouldn't it? Is there something "special" about DivX that makes it effortless to resize the clip? (Note that this isn't a problem or a request for help; I'm just asking because I'm curious about it).

---------------------

DakkarM3

main-users




Statistics:
Messages: 293
Registration: 08.25.2002
10.03.22 - 16:58:27
Message # 1
RE: Curiosity about reproduction speed and resizing

duron 800? 

---------------------
Never Give Up - Read This

94 EURO M3

main-users




Statistics:
Messages: 440
Registration: 05.18.2001
10.03.22 - 17:02:49
Message # 2
RE: Curiosity about reproduction speed and resizing

I think the problem lies not in the intensity of the codec as divx files are more heavily compressed and therefore more cpu intensive to decode, But I would think that it is your video card that is having the problem and cannot shuffle the memory around fast enough.. are you using a) a laptop (ergo low qual gfx) b) a puny graphics card C) a machine with small memory (128mb).. or all three... what IS your machine spec?:D size DOES matter!

---------------------

mcoupe197

main-users




Statistics:
Messages: 249
Registration: 12.24.2003
10.03.22 - 17:13:56
Message # 3
RE: Curiosity about reproduction speed and resizing

I have 256 Mb. of RAM (and a Duron 800Mhz, as mentioned), and my video card is a GeForce4 MX420 with 64Mb (a puny one by today's standards, I understand :-), but I thought it would be enough for something as simple as playing video files). Anyway, I understand that DivX clips are more compressed and should be more CPU-intensive, but my experience is that CPU usage is actually lower when playing DivX than playing MJPEG or HuffyUV files.

---------------------
barge (big thanks to amibuggnu for this!)

badboybarge

main-users




Statistics:
Messages: 473
Registration: 12.17.2002
10.03.22 - 17:24:39
Message # 4
RE: Curiosity about reproduction speed and resizing

dont play at 200% 

---------------------
From wannabe to has been in a few short years..... the older I get, the faster I was

jayhudson

main-users




Statistics:
Messages: 11,931
Registration: 05.15.2001
10.03.22 - 17:30:47
Message # 5
RE: Curiosity about reproduction speed and resizing

Not actually all that puny .. certainly good enough for playback (I have mx460 64mb) .. it must be the codecs you have installed.. I thought you might have integrated motherboard gfx (shared ram (shiver)).

---------------------

Tremelune

main-users




Statistics:
Messages: 144
Registration: 11.08.2003
10.03.22 - 17:40:37
Message # 6
RE: Curiosity about reproduction speed and resizing

Its likely to be that the HuffYUV clip isn't using your graphics card video overlay. Things to check: Do you have DirectX9b installed? Do you have the latest drivers for your graphics card installed? Have you reduced the hardware acceleration slider in the "Troubleshoot" section of the Display Properties control panel (under settings/advanced)?

---------------------
1991 e30 318is Slicktop - Gone 1996 LS1 Z3 - Gone 99 e46 323i - Gone 2003 e46 xiT - Hers 2014 F-250 CC- Mostly stock

JoeZ

main-users




Statistics:
Messages: 10,482
Registration: 05.16.2002
10.03.22 - 17:51:25
Message # 7
RE: Curiosity about reproduction speed and resizing

Okay, things to check...: * I have Windows 2000 SP1 (because I also use Avid XpressDV, and it "is not supported for SP3 or 4"). * I think my version of DirectX is 8.1, but I'm not completely sure (!). * The NVIDIA drivers I'm using are of the version 4.17.00.24, not exactly the last ones. * As for the hardware acceleration slider, I have it in "full acceleration". Didn't touch that one. As you can see, I'm of the school of "if it ain't broke don't fix it"...

---------------------
2001 Z8 1995 325ic

T78PWR

main-users




Statistics:
Messages: 12
Registration: 04.23.2002
10.03.22 - 17:59:46
Message # 8
RE: Curiosity about reproduction speed and resizing

Most probably, Media Player / DirectShow is not using the hardware overlay, and is using direct RGB output with software scaling. Unfortunately, DirectShow often turns off overlay without any obvious reason. The DivX decoder uses some tricks to enforce overlay display in these cases. To test if overlay is used: Play a movie and take a screen shot. If the screen shot only shows an empty rect, the movie actually got played in an overlay buffer.

---------------------

blitzed310

main-users




Statistics:
Messages: 11,867
Registration: 08.01.2003
10.03.22 - 18:06:11
Message # 9
RE: Curiosity about reproduction speed and resizing

I just made that test, and you nailed it. That's exactly what it was.

---------------------

mcdonaldb

main-users




Statistics:
Messages: 504
Registration: 01.21.2003
10.03.22 - 18:10:54
Message # 10
RE: Curiosity about reproduction speed and resizing
Audio lags while playback : Previous topic
Pages:  1  2  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants