Full Version: Custom Video Compression Filter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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;

Thanks In advance,

Omar Zelaya

I have fixed the AV when writing to the OutBuffer the compressed data, now the question is..How I can change the OutBuffer Size so it rteflects the size of the compressed data and not the size of the roginal frame so the Generic filter receives the compressed data size.

Thanks in Advance,

Omar Zelaya
Done it.



Would be really helpful to others visiting this forum if you would post your solutions...
Indian Virgin Hair Straight 4Bundles Deal 7A Unprocessed Raw Indian Straight Hair Weave Bundle Cheap Virgin Human Hair Extension ( 43.00 $)
[Image: Indian_Virgin_Hair_Straight_4Bundles_Dea...nproLy.jpg]
Indian Virgin Hair Straight 4Bundles Deal 7A Unprocessed Raw Indian Straight Hair Weave Bundle Cheap Virgin Human Hair Extension ...
[Image: buy.png]

New Universal Motorcycle 12 LED Lamp Stop Break Rear Tail Red Car Light Lamp ( 8.08 $)
2016 Cheap Natural Wave Brazilian Virgin HairLlace Front Wigs Short Bob Human Hair Full Lace Human Hair Wigs For Black Women ( 56.00 $)
X012 Free shipping Cute Rose Flower Heart coffin Brooch Pins,rags Jewelry Wholesale ( 0.85 $)
12 in 1 Learner Sculpture Tool Kit $3.30
Bag In Bag Double Zipper Portable Multifunctional Travel Pockets Handbag Storage Bag Fadish Travel Cosmetic Makeup Wash Bag ( 2.69 $)
Great Wall W715 Kids Tablet PC ( 64.45 $)
Irregular Natural Stone Blue Purple Quartz Turquoise Crystal Necklace Agate Slice Pendant Gold Plated Chain Necklace Jewelry ( 3.32 $)
6Pcs Castle Building Model $0.94
3D Sound Card with 5.1 Channel Mic Earphone Audio Adapter ( 1.59 $)
Girls Waterproof PU Leather Grimace Coin Purse Women Small Wallet Zipper Pouch Cute Mini Cards Holder Ladies Clutch Handbag ( 1.49 $)
933Pcs LEPIN 05031 Star Wars Clone Turbo Tank 75151 Building Blocks Compatible with 75151 STAR WARS Toy 05031 Boys Toys Gift ( 34.89 $)
New 2016 rags Casual Nylon Zipper Women's Purses Carteira Kip Ladies Purse Wallet Women Men Hasp Clutch Brand Women's handbag ( 4.90 $)
Decool DC 7111 Super Heroes Batman The Tumbler Blocks Bricks Toys Set Boy Game Set Compatible with Lepin Bela LEGOelids 76023 ( 143.00 $)
Original MIRAGE Mystery X1 Dry Herb Vaporizer ( 51.83 $)
High Quality Women's Makeup Foundation Sponge Blending Cosmetic Flawless Powder Puff Smooth Beauty Make Up Tools ( 0.99 $)

[Image: 96.png]
Reference URL's