Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.computer > #9668 > unrolled thread
| Started by | Robert Baer <robertbaer@localnet.com> |
|---|---|
| First post | 2015-12-18 23:08 -0800 |
| Last post | 2015-12-23 21:55 -0500 |
| Articles | 11 — 2 participants |
Back to article view | Back to alt.computer
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
| From | Robert Baer <robertbaer@localnet.com> |
|---|---|
| Date | 2015-12-18 23:08 -0800 |
| Subject | Required CPU speed estimate please |
| Message-ID | <Wn7dy.3726$zT1.1947@fx26.iad> |
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?
[toc] | [next] | [standalone]
| From | Paul <nospam@needed.com> |
|---|---|
| Date | 2015-12-19 03:19 -0500 |
| Message-ID | <n533qj$neq$1@dont-email.me> |
| In reply to | #9668 |
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
[toc] | [prev] | [next] | [standalone]
| From | Robert Baer <robertbaer@localnet.com> |
|---|---|
| Date | 2015-12-19 12:49 -0800 |
| Message-ID | <Gpjdy.8105$Xk5.2806@fx17.iad> |
| In reply to | #9670 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.com> |
|---|---|
| Date | 2015-12-19 17:44 -0500 |
| Message-ID | <n54mf3$bui$1@dont-email.me> |
| In reply to | #9672 |
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
[toc] | [prev] | [next] | [standalone]
| From | Robert Baer <robertbaer@localnet.com> |
|---|---|
| Date | 2015-12-21 10:37 -0800 |
| Message-ID | <BFXdy.20467$8u4.7946@fx39.iad> |
| In reply to | #9675 |
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?
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.com> |
|---|---|
| Date | 2015-12-21 15:15 -0500 |
| Message-ID | <n59mg2$qvj$1@dont-email.me> |
| In reply to | #9677 |
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?
>
Hmmm.
That sounds like it's better than something on PCI bus.
So maybe splashing out for a new card isn't going to
help that much. I think I would do some more testing
first.
*******
If you want to go shopping for a new card, you
could review these articles. I notice on NVidia,
that only the midrange or high end cards have
the highest decoder level, so you'd have to
"back off a level" to get a card at the $50 level.
https://en.wikipedia.org/wiki/Unified_Video_Decoder <--- ATI/AMD video decoder
https://en.wikipedia.org/wiki/Nvidia_PureVideo <--- NVidia video decoder
To use those, you need an OS with DXVA or DXVA 2
as part of the architecture. Which might not be
part of Win2K. Perhaps your Win7 machine would be
a candidate for it.
https://en.wikipedia.org/wiki/DirectX_Video_Acceleration
DXVA 1.0 = Win2K, WinXP overlay, VMR7, VMR9 <--- (overlay planes used)
DXVA 2.0 = Vista/W7/W8/W10
= "DXVA integrates with Media Foundation and allows
DXVA pipelines to be exposed as
Media Foundation Transforms (MFTs)."
(The difference on the overlay plane, is if you attempt
to capture a movie off the screen by doing screen
capture, the default overlay plane is most likely
to work, while trying to capture the VMR9 one
might give a "green square" instead. The same
thing happens with Adobe Flash if you turn on
hardware acceleration, your average screen cap
program will get a colored square instead of the
video, so you have to switch off hardware acceleration
to do capture.)
Next, the player application has to be able to
use DXVA. if a program has its own CPU-based
decoder, then it would be as slow as before (as
the CPU would be doing all the work). This means
that freeware players made in someones basement,
might not be all that efficient.
Just about any of those cards would have a hardware
scaler, so making the image fill the screen is
"for free" with respect to wasting CPU on that
step.
And with a PCI Express x16 interface, the bus
bandwidth is no longer a problem.
*******
You could also try video playback of the movie
in question using a Linux LiveCD, just to see
if it is some sort of software problem in Windows.
Which is an alternative way to test. On Linux,
this is an example of the library/interface used.
https://en.wikipedia.org/wiki/VDPAU
The VDPAU interface is to be implemented by device
drivers to offer end-user software, such as VLC
media player or GStreamer.
So maybe we should be looking at VLC (available
for Windows and Linux), to see what hardware
acceleration it uses. I just can't keep up with
the acronyms. The fifth item down suggests
VLC uses DXVA 2 related materials via
Media Foundation Transform decoding pipeline.
http://www.videolan.org/vlc/releases/2.2.1.html
Acceleration
* GPU 0-copy decoding-rendering for Android using MediaCodec
* GPU accelerated auto-rotation, in OpenGL, Direct3D and Mediacodec
--> * GPU 0-copy decoding-rendering for Linux using VDPAU
* Support for HLSL shaders in Direct3D video output
--> * Media Foundation Transform audio and video decoder for Windows Vista/7
* GPU 0-copy decoding-rendering for RaspberryPi using MMAL
* OpenMAX IL improvements for Android, Linux and rPi
* Support GStreamer codecs on Linux
So that's an example of checking an application for
hardware acceleration support. And not really
being sure whether it's there or not (that's
how these things work, the "not being sure" part).
Paul
[toc] | [prev] | [next] | [standalone]
| From | Robert Baer <robertbaer@localnet.com> |
|---|---|
| Date | 2015-12-21 12:22 -0800 |
| Message-ID | <kcZdy.41122$Hz3.8860@fx43.iad> |
| In reply to | #9677 |
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..
[toc] | [prev] | [next] | [standalone]
| From | Robert Baer <robertbaer@localnet.com> |
|---|---|
| Date | 2015-12-21 21:16 -0800 |
| Message-ID | <s05ey.15868$xz4.467@fx12.iad> |
| In reply to | #9679 |
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?
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.com> |
|---|---|
| Date | 2015-12-22 01:13 -0500 |
| Message-ID | <n5aphd$6ll$1@dont-email.me> |
| In reply to | #9680 |
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
[toc] | [prev] | [next] | [standalone]
| From | Robert Baer <robertbaer@localnet.com> |
|---|---|
| Date | 2015-12-23 16:53 -0800 |
| Message-ID | <XlHey.41785$Hz3.10786@fx43.iad> |
| In reply to | #9681 |
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...
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.com> |
|---|---|
| Date | 2015-12-23 21:55 -0500 |
| Message-ID | <n5fmm8$va0$1@dont-email.me> |
| In reply to | #9682 |
Robert Baer wrote:
> 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...
>
If you need a copy of 7ZIP, you can probably find an older one.
http://www.oldversion.com/windows/7-zip/
The release history is here, but doesn't hint at your problem.
http://www.7-zip.org/history.txt
Paul
[toc] | [prev] | [standalone]
Back to top | Article view | alt.computer
csiph-web