12-14-2014, 06:22 PM
Hi,
I'm triying to develope a custom video compression filter using a VLGenericFilter on ProcessData I'm able to compress the frame succesfully(I have tested that this is donde correctly decompessing the frame), the result of compression is return in a TMemoryStream, how can I write the compressed data to the OutBuffer var?
I have tested the following but I get and AV.
P := OutBuffer.Write;
CompStream.Read(P,CompSize);
Thanks In advance,
Omar Zelaya
I'm triying to develope a custom video compression filter using a VLGenericFilter on ProcessData I'm able to compress the frame succesfully(I have tested that this is donde correctly decompessing the frame), the result of compression is return in a TMemoryStream, how can I write the compressed data to the OutBuffer var?
I have tested the following but I get and AV.
P := OutBuffer.Write;
CompStream.Read(P,CompSize);
Thanks In advance,
Omar Zelaya