NEWS ARTICLES


    What's News in the PlayBasic world ? - Find out here.



 Writing AVIs In PlayBasic

By: Kevin Picone Added: January 23rd, 2010

Category: All,Video

     After tinkering with various video capturing packages and not really loving the results, I ended up deciding to just write some wrapper functions for saving an AVI streams (video only) from within a PB program. While this won't suit everything, it's turning out to be relatively painless to implement into an existing project.

     To use the AVI wrapper, require a few steps, due to needing to move the image data from PB into a window bitmap, so the AVI writer it happy. So we're drawing our FX screen as normal (it won't work on Video images!), then copying this to a Windows Bitmap so we can dump it to the Avi stream. Actually, what I find works best, is first copying the FX screen to another 1/2 sized screen, then copying to it the windows bitmap and dumping that to the avi stream. Which kills two birds with one stone, 1) it lowers the bandwidth and 2) it allows for the screen image to be post filtered...

     Anyway, the main reason for wanting to do this is just to make a manually creating videos for YouTube of PB games/app's a little easier and without the need for buying 3rd party app's..



Video=PlayBasic Write AVI Test (Sparkles) - Demo Src






 

 
     
 
       

(c) Copyright 2002 / 2024 Kevin Picone , UnderwareDesign.com  - Privacy Policy   Site: V0.99a [Alpha]