more DM videos - rev 0.60

30 views
Skip to first unread message

james cardona

unread,
Dec 19, 2012, 11:45:39 AM12/19/12
to fre...@googlegroups.com
Hi All,
here are some new videos of the new rev to be released real soon

BITF video

http://youtu.be/pOpiQF7h6kY

 

Huxley video

http://youtu.be/Q2SoA2H5Pek

I think someone was trying to do a mode like BITF before?  anyway I figured it out f anyone wants to know.
Jim

james cardona

unread,
Dec 20, 2012, 7:45:01 AM12/20/12
to fre...@googlegroups.com
and here is a video of the video mode so far for demolition man

Kaboom! Video Mode from rev 0.60
http://www.youtube.com/watch?v=C9iExVWyE1E

Aeneas Verhé

unread,
Dec 24, 2012, 2:08:52 AM12/24/12
to fre...@googlegroups.com
Just had time this weekend to watch your video. Great job you did !
That video mode is similar to a mode I was considering doing, good to see it's possible on in freewpc.
 
I also like your the movie sequences you added. Can you explain a bit more what programs you used to convert everything in batch ?
 
thanks,
 
  Aeneas.

Op donderdag 20 december 2012 13:45:01 UTC+1 schreef james cardona het volgende:

james cardona

unread,
Dec 24, 2012, 8:25:45 AM12/24/12
to fre...@googlegroups.com
I used virtualDUB to extract the movie frames.  This is a free program you can download.  Basically you just pick a begin and endpoint and export as an image sequence.  Try not to pick too much - just a few seconds of video at a time.  The export will give you about 24 or 30 frames (pictures) per second. 
 
I then go in an manually delete about 1/2 or more of the pictures since I am doing about 10 frames per second on the dmd. 
 
Then in photoshop I have several filters that I strung together that can be batch applied to all files in a directory.  to create the filter string goto window->workspace->automation and create a new action, then to run that action in batch goto file->automate->batch.  The filters I run are something like these, you might have to try other things out depending on the type and quality of your video: 1) resize picture to 128x32, 2) increase contrast and brightness, 3) make into grayscale, 4) save as GIF

At that point comes the real tedious part.  I then have to load the image files into DMDpaint one-by-one and see if they will look good on the DMD - sometimes an image that looks great in photoshop is completely unintelligble on the DMD.  if it looks good then I save it as PGM.  I have gotten the best results using CNTRL-J to open the files in DMDpaint by the way.  Check out the DMDpaint readme for other options.  Once I have a string on PGMs I simply display them in a loop with a task_sleep of 100MS at the end of each frame.

By the way, the frames take up a lot of space - I think I am almost full and have less than 1000 frames (and that is with the 27c080 chip).  At 10 frames per sec that is only 100 seconds or less than 2 minutes of video so what you have to do is make your videos short and choose wisely.  almost all my videos in the game are less than 20 frames, and many are less than 10.  I try to loop them where possible and play them forward and backward also.

If you are a good programmer you might be able to tackle making the video compression better so we could fit more video on the chip - that stuff is probably over my head.

good luck and let me know if you need help out.
Reply all
Reply to author
Forward
0 new messages