Hi
As in my earlier posts allready told I have chosen avifile library to
generate  AVI files from offscreenrenderer output without saving the images
to disc.

The help I got so far was usefull including avimace form the samples/misc
directory

but as I've allready posted in the bugreport 609048, when implementing the
encoder part in the same way as in avimake
i get a sefault in memcpy somewhere down in the avifile library
i experimented some time and replaced frame generation used in avimake by
simply telling the data the size in x and y and the bitsperpixels

but i did get the segfault again

then I tried to do the memcpy myselve and telling avifile that i'v allready
copied the data but the same

The only big difference in my encoderpart is that i use qthread to have
avifile encode the actual frame while the offscreenrender takes the next
frame at the specified time.
I further use a dataarray protected by qsemaphores to determine wether the
databuffer containing the pending frames has enough space to store the next
frame or if the frame has to be dropped.

So I would apriciate hints which tell me what to consider when writing an
encoder which is running in multithread mode parallel to offscreenrenderer
Hint where to seek for the segfault cause
(preconditions,postconditions,avifile sources)

cu
Christoph Hinterm�ller
ps:reply to this mailinlist is suficient as this time i decided to describe
as this might become a bit longer than 2 emails :)


-- 
It doesn't matter what you are
it matters that you are yourself
It doesn't matter who loves you
it matters that you like yourself

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to