UnderwareDESIGN

PlayBASIC => Show Case => Topic started by: kevin on January 23, 2010, 01:04:44 PM

Title: Writing AVI's In PlayBasic
Post by: kevin on January 23, 2010, 01:04:44 PM
 Writing AVI's In PlayBasic

    After tinkering with various video capturing packages and not really loving the results, I ended up deciding to jst 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..


    PlayBasic Write AVI Test (Sparkles) (http://www.youtube.com/watch?v=qgwShCfhsZ0)

   



    Demo Src (http://www.underwaredesign.com/forums/index.php?topic=3176.0)


Title: Re: Writing AVI's In PlayBasic
Post by: ATLUS on January 23, 2010, 01:25:36 PM
nice ideai!!!
Title: Re: Writing AVI's In PlayBasic
Post by: kevin on January 24, 2010, 05:14:07 PM

[plink]PB AVI Library V0.01 (http://www.underwaredesign.com/forums/index.php?topic=3342.0)[/plink]

Title: Re: Writing AVI's In PlayBasic
Post by: ATLUS on January 25, 2010, 05:28:17 AM
great work!!!
I'll try
Title: Re: Writing AVI's In PlayBasic
Post by: kevin on January 26, 2010, 10:31:04 PM

  Parallax 2D Platformer Video (http://www.youtube.com/watch?v=Q9UimlC-pHQ)



Title: Re: Writing AVI's In PlayBasic
Post by: kevin on January 27, 2010, 08:51:27 PM
 Spooky Shadows Video (http://www.youtube.com/watch?v=7mTSs0XmYSo)




(http://www.underwaredesign.com/forums/index.php?action=dlattach;topic=3125.0;attach=2818;image)

(http://www.underwaredesign.com/forums/index.php?action=dlattach;topic=3125.0;attach=2820;image)
Title: Re: Writing AVI's In PlayBasic
Post by: kevin on January 28, 2010, 06:03:09 AM
  YAAC (Yet Another Asteroids Clone) Video (http://www.youtube.com/watch?v=SsTf6iIdlyU)

 



(http://www.underwaredesign.com/forums/index.php?action=dlattach;topic=3258.0;attach=3057;image)

(http://www.underwaredesign.com/forums/index.php?action=dlattach;topic=3258.0;attach=3059;image)
Title: Re: Writing AVI's In PlayBasic
Post by: ATLUS on January 28, 2010, 11:27:35 AM
YAAC (Yet Another Asteroids Clone) Video
I also tried to make a video for this source but I do not what did not work =(