[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple II Music Video - Welcome to the Jungle!!



In article <1163786375.477511.163000@h48g2000cwc.googlegroups.com>,
 "Frank M." <frank_o_rama@hotmail.com> wrote:
> [...] 
> Here's how i got the files rendered.....
> 1. Export 1 JPG per frame from normal MPG movie (AppleScripted
> Quicktime)
> 2. Convert JPGs to indexed-color 40x48pixel TIFFs (custom Photoshop
> actions/palettes)
> 3. Drop TIFFs onto a disk image (tips hat to Andy McFadden for
> CiderPress)
> 4. Frames are rendered using a BASIC program from the TIFF file.
> 5. GR screen dumps saved to single binary files.
> [...]
> Frank
> frank_o_rama@hotmail.com

On the source side, you might want to look at QuickASCII:

http://quickascii.sourceforge.net/

It uses QuickTime to open the media file; it then registers a call-back 
that converts each frame to ASCII after QuickTime renders it. You could 
replace the ASCII lookup table with a suitable lores table. It's only 
353 lines of code plus a command parser. It could effectively combine 
steps 1-3. For example:

$ ./quickascii -w 60 -t 28 /Library/User\Pictures/Animals/Butterfly.tif

    o77+i:                                        ==ti0xx.  
   7%668$$%%x+                                 ;0#$$@%t00s  
   oxss@#$66 %$@@7:                       !6@$$#.;@@8%0tt7  
    =66@6+@@$&i$$$@$00-               :x$$#@#==s@$;;t%x--   
     66&t$%%i;i&&x;t%%$0             i%#tt+00==+=&$$ost     
       +80$$s67ooi66oo=o8%%+     ,&%%t=i777==iio6@xxs;      
        t&%%sssxx6tiiio60xx7&%$$866xx7i=;;it7xx0&@88t       
         x$$7=i77x0&ss00&%%@$@$$#%sttot7xxxx7;;+7$00        
         -@@@%@$$$$$$$$$$%%&@$$$&s8##@$###@@@@@%8x::        
          xx$7+++++i==+-=tt;0$@@t+;----;;;++=;;&@6          
          %%%o;==i==ii7t-==o,stt:+!--i;+--+;;iii%s          
          @@7!+ii66toot!+tt- i.. :=::!toooit;---t@..        
          ==$6-++;-t77:;+--, ;,,  !==+:xoo!;+--0$7          
            o$$66-=+::=:o::  0    .++:;!+++!t##$7           
              t@@$$877t0,          ,,6o&88$$@ss             
               !!ox&66x+             -ts88&0-               

-- 
John Matthews
jmatthews at wright dot edu
www dot wright dot edu/~john.matthews/