Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.computer > #9682

Re: Required CPU speed estimate please

From Robert Baer <robertbaer@localnet.com>
Newsgroups alt.computer
Subject Re: Required CPU speed estimate please
References (3 earlier) <n54mf3$bui$1@dont-email.me> <BFXdy.20467$8u4.7946@fx39.iad> <kcZdy.41122$Hz3.8860@fx43.iad> <s05ey.15868$xz4.467@fx12.iad> <n5aphd$6ll$1@dont-email.me>
Message-ID <XlHey.41785$Hz3.10786@fx43.iad> (permalink)
Date 2015-12-23 16:53 -0800

Show all headers | View raw


Paul wrote:
> Robert Baer wrote:
>> Robert Baer wrote:
>>> Robert Baer wrote:
>>>> Paul wrote:
>>>>> Robert Baer wrote:
>>>>>> Paul wrote:
>>>>>>> Robert Baer wrote:
>>>>>>>> I have been able to capture HDTV signals as they were driving
>>>>>>>> one of
>>>>>>>> those huge 50 inch wide TVs (mostly commercials at the time).
>>>>>>>> 1.1Gby MP4 8:38 size, time; name=Encode_1080P_15.mp4 (name
>>>>>>>> applied by
>>>>>>>> the capture box).
>>>>>>>> Sound is perfect, video is jerky and Process Explorer indicates 100
>>>>>>>> percent of CPU time devoted to running the MP4.
>>>>>>>>
>>>>>>>> So, any (informed?) guesses as to what speed is needed?
>>>>>>>>
>>>>>>>
>>>>>>> What are you playing it on ?
>>>>>>>
>>>>>>> Does the video card in this playback device,
>>>>>>> have a hardware scaler ? A hardware scaler would
>>>>>>> take a 640x480 movie and make the pixels so it
>>>>>>> fits on a 1920x1080 screen. Without hardware to
>>>>>>> do that, it takes 40% of a Pentium 4 to do it.
>>>>>>> Just the scaling part, not even video decoding.
>>>>>>>
>>>>>>> Does the video card in this playback device,
>>>>>>> have a built-in video decoder capable of
>>>>>>> handling standard movie formats (DXVA 2 etc) ?
>>>>>>> Modern video cards can do a lot of the decoding
>>>>>>> process, so less CPU is needed.
>>>>>>>
>>>>>>> https://en.wikipedia.org/wiki/DirectX_Video_Acceleration
>>>>>>>
>>>>>>> In terms of decoder design, I've seen a range
>>>>>>> of 10:1 in terms of CPU cycles, just for an
>>>>>>> all-CPU based decoder. A badly written CPU-only
>>>>>>> decoder can use 10x as many cycles as a well
>>>>>>> written one.
>>>>>>>
>>>>>>> A rough estimate for a DVD is 1.5GHz. Your MP4 is a
>>>>>>> container, and you might want to use a media analysis
>>>>>>> tool to see what profile and codec was used.
>>>>>>>
>>>>>>> For example, MediaInfo. Now, I tried that once, and
>>>>>>> for the movie I had in hand, it didn't actually
>>>>>>> tell me all that much. Maybe you'll get lucky.
>>>>>>>
>>>>>>> https://upload.wikimedia.org/wikipedia/commons/9/98/MediaInfo_(2).png
>>>>>>>
>>>>>>>
>>>>>>> https://en.wikipedia.org/wiki/Mediainfo
>>>>>>>
>>>>>>> This is one I use more often, but it probably
>>>>>>> wouldn't help all that much in this case.
>>>>>>> As far as I know, the support for MediaInfo
>>>>>>> is probably more recent. GSpot hasn't been
>>>>>>> updated in quite a while.
>>>>>>>
>>>>>>> https://en.wikipedia.org/wiki/GSpot
>>>>>>>
>>>>>>> Paul
>>>>>> Thanks; will see what MediaInfo sez.
>>>>>> My video board is a GEForce 6200 PCI and DVDs play with no problem;
>>>>>> all WMVs also play with no problem, and all MP4s also play decently
>>>>>> _except_ this 1080p file (after all, it _is_ HDTV).
>>>>>> Grumble..had thought i said what OS and CPU...OS: Win2K, CPU:AMD
>>>>>> Athlon 64X2 dual core 5200; 2Gby RAM.
>>>>>>
>>>>>> Thanks again.
>>>>>
>>>>> Is the GEForce 6200 PCI actually on the PCI bus ?
>>>>> The PCI bus is only good for 133MB/sec for the
>>>>> 33Mhz 32 bit flavor. With normal burst transfer
>>>>> limits set, it weighs in at around 110-120MB/sec.
>>>>>
>>>>> I've had trouble with a similar card, which sits on
>>>>> PCI bus, and if I moved a small QuickTime movie window
>>>>> around the screen, it would "stutter". And that was
>>>>> a lack of PCI bus bandwidth.
>>>>>
>>>>> Try the math. Say I wanted 30FPS x 1920x1080x3 = about 180MB/sec.
>>>>> Now, your screen may not be that big. But if you wanted
>>>>> to use the hardware scaler, to scale down to fit,
>>>>> it might not have the bandwidth for that.
>>>>>
>>>>> The PCI card in question, is one I bought to be used
>>>>> when flashing the BIOS chip on a better video card.
>>>>> So you have two video cards plugged in, the regular card
>>>>> isn't connected to the monitor, the emergency PCI card
>>>>> is plugged into the machine as well, and it is
>>>>> connected to the monitor. I flashed an AGP card once,
>>>>> while using the PCI card so I could see what I was
>>>>> doing. And that card, also doubles as a "simulator" for
>>>>> people with all PCI (no PCI Express) machines of a
>>>>> bygone era. And that's how I was able to determine
>>>>> that a lot of desktop stuff ran fine, but Apple QuickTime
>>>>> wasn't very efficient when driving the screen, and
>>>>> ran out of bus bandwidth.
>>>>>
>>>>> Even a PCI Express x1 video card (they made some), is
>>>>> good enough for movies. Up to HD. An AGP 8x or a PCI Express x16
>>>>> should never have a problem either (on bus bandwidth).
>>>>>
>>>>> The AGP cards run two protocols. For random access, a byte
>>>>> at a time protocol, they use PCI 66MHz 32 bit or 266MB/sec
>>>>> protocol. The true AGP speed is used for burst transfers.
>>>>> So if the code is written to transfer in bursts, you can get
>>>>> ~2100MB/sec. PCI Express runs just one protocol, packet
>>>>> based. And PCI Express, the performance is limited by the
>>>>> buffer size in the Northbridge. So if the motherboard
>>>>> box says "4GB/sec PCI Express slot", it actually runs at
>>>>> slightly less than 2GB/sec. If a larger static RAM was
>>>>> inside the Northbridge, the thing could do better than
>>>>> that.
>>>>>
>>>>> But regular PCI just isn't that whizzy. And will stutter
>>>>> under the right conditions.
>>>>>
>>>>> Paul
>>>> That must be the problem. My MB has an on-board NVIDIA GeForce GPU
>>>> Northbridge supporting DirectX 9.0Shader Model 3.0 (whatever that
>>>> means), and a NVIDIA Nforce 430Media and Communications Processor
>>>> Southbridge (rest of description sounds like for RAID).
>>>> I have the BIOS set to bypass that for present video board which has 3
>>>> output ports (2 selectable at one time).
>>>> Amazingly, this MB, bought in Oct 2008 that was "dated" then, _has_ a
>>>> PCIE X16 slot.
>>>> So..i will need to find a GeForce PCIE X16 board that supports up to 2
>>>> ports (ideally SVGA type and DVI to drive HDMI).
>>>> As long as i am going to $pend for such a board, do you have any
>>>> suggestions?
>>>>
>>> More info (after reducing hosts file from >15K to 3 lines)..
>>> Overall bitrate | resolution | CPU use | avg CPU
>>> 539K | 360p | 14-22 | 16
>>> 600K | 720p | 86-95 | 86
>>> 16.6M | 1080p | 86-98 | 94 but still as jerky
>>> So, hosts file can bog down the CPU during play of MP4.
>>> But that is not the whole story..the video card needs to have the
>>> processing power.
>>> Am going to re-configure the computer to use the native video and see..
>>>
>> !! Win2K boots up !FAST! with native video card - maybe because it is
>> the first of a list of 3 (onboard, PCIE, PCI)..
>> Overall bitrate | resolution | CPU use | avg CPU
>> 16.6M | 1080p | 88-98 | 96 but still as jerky
>>
>> Check and double check..a video card, onboard or otherwise must have
>> the horsepower.
>> Thanks.
>>
>> So, as long as i am going to $pend for such a board, do you have any
>> suggestions?
>
> OK, so it's Win2K. Where will the video card
> drivers come from for your new video card ?
> And if we go back in time, will a Win2K era video card
> have *any* acceleration on decode ? You're between
> a rock and a hard place, when it comes to getting
> to use your new video card.
>
> *******
>
> OK, download "FFmpeg git-c0f67e1 32-bit Static" from the
> top of the left column on this page.
>
> http://ffmpeg.zeranoe.com/builds/
>
> Inside, should be "ffplay" program. Move your test file
> into the bin folder, of whatever place you unpacked the ZIP.
> In Command Prompt, CD to the folder with both the files in it.
> Run "ffplay name_of_movie.mp4", then check the CPU usage.
> See if either the CPU usage or jerky stuff improves.
>
> Maybe it will do a better job of decoding
> whatever method is used to compress your file.
>
> Paul
   Well, they say "7-Zip works in Windows 10 / 8 / 7 / Vista / XP / 2012 
/ 2008 / 2003 / 2000 / NT" but it is a lie; does not work in Win2K.
  Will try it in Win7 later.
   Message is: "The procedure entry point GetModuleHandleExA could not 
be found in the dynamic link library KERNEL32.dll".

   Meanwhile, i have ordered a Vamery 1GB DDR2 64Bit PCI Express 2.0 x 
16 DVI HDMI VGA Graphics Video Card to try.
   Beats the heck out of me if a "2.0" board will work in my old computer...

Back to alt.computer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Required CPU speed estimate please Robert Baer <robertbaer@localnet.com> - 2015-12-18 23:08 -0800
  Re: Required CPU speed estimate please Paul <nospam@needed.com> - 2015-12-19 03:19 -0500
    Re: Required CPU speed estimate please Robert Baer <robertbaer@localnet.com> - 2015-12-19 12:49 -0800
      Re: Required CPU speed estimate please Paul <nospam@needed.com> - 2015-12-19 17:44 -0500
        Re: Required CPU speed estimate please Robert Baer <robertbaer@localnet.com> - 2015-12-21 10:37 -0800
          Re: Required CPU speed estimate please Paul <nospam@needed.com> - 2015-12-21 15:15 -0500
          Re: Required CPU speed estimate please Robert Baer <robertbaer@localnet.com> - 2015-12-21 12:22 -0800
            Re: Required CPU speed estimate please Robert Baer <robertbaer@localnet.com> - 2015-12-21 21:16 -0800
              Re: Required CPU speed estimate please Paul <nospam@needed.com> - 2015-12-22 01:13 -0500
                Re: Required CPU speed estimate please Robert Baer <robertbaer@localnet.com> - 2015-12-23 16:53 -0800
                Re: Required CPU speed estimate please Paul <nospam@needed.com> - 2015-12-23 21:55 -0500

csiph-web