jobrien-spamless
Guest
|
Posted:
Thu Dec 29, 2005 9:30 pm Post subject:
scren capture creating occasional broken videos |
|
|
I apologize for cross-posting, I spotted the SDK group after I already
posted in the NEcoder group.
Im using WME SDK to process a queue of movies played on the screen and
capture them to WMV. In a session I might create 35 movies, 2-7 minutes
in length, one after another. Out of those I can usually count on a few
of them being broken,
always in the same way, with the front of the movie chopped off at some
point.
Since I'm processing in serial, in a loop, I thought perhaps there was
something I
am doing wrong with the SDK in terms of flushing a bufffer, etc, before
I go on to the next one, but the intermittent nature of the error is
confusing, as is the almost
complete lack of predictability as to which movies will break.
In one case where a single movie broke repeatedly it always chopped off
the beginning in the same exact place mid-movie. This was a large movie
and when I split its content into 2 movies it worked fine the first
time through. Other times a small movie is being chopped off to the
middle.
Strange business, any clues appreciated - I can post the vb.net code Im
using. My platform is dual-core or dual xeon, windows XP or Win2k, 1-4G
Memory. plenty of disk space, capture to separate SATA drive. And Im
allowing a 5 second timer to go off between loops through my queue.
Currently Im trying to estimate an appropriate filesize, allow for a
fudge factor, and if its much less then that I re-capture the movie,
assuming its bad. Doesn't work all the time. Some of my redos are
actually already good, some that pass muster are actually bad, so my
estimate doesn't always work out and I'm wasting time. I'm going to
move to a test where I determine if a particular pixel is a particular
color, so I know the movie is starting at the beginning, but I would of
course like to figure out and solve the issue instead.
TIA,
John
|
|