14-jan-1994 Dithering & Resizing can be fast, very fast..., even on a GEM program!!! Brainstorm FLI/FLC Movie Player ½1994 Brainstorm This program is freeware. It can be freely distributed as long as: 1: All files (and only these files) listed below are included in the archive: - MOVIE100.ZIP: - MOVIE.100\MC68000\MOVIE.ACC ; 68000 version of the program - MOVIE.100\MC680X0\MOVIE.ACC ; 68020+ version of the program - MOVIE.100\MOVIE.TXT ; the file you are reading now - MOVIE.100\SAMPLES\MOUSE.FLI ; a sample movie file - MOVIE.100\SAMPLES\LINKS.FLC ; a sample movie file - MOVIE.100\SAMPLES\HANDS.FLI ; a sample movie file 2: The files provided in the archive remain unchanged. 3: If provided on a floppy disk, the archive must always be the only file on the disk. 4: No charges greater than 5 US$ (30 FF, 9 DM) is requested to the user of this program. WHAT IS THIS PROGRAM??? It's an application/accessory able to play any FLI/FLC files. Its main features are: - GEM program, TOS/MultiTOS compatible. - Runs in any Atari standard resolution. - AES colors friendly (uses standard AES palette). - Movies can be resized on the fly. - Uses most new GEM features (clipboard, MultiTOS drag&drop, iconification ...) - Several files can be played at the same time. - Nice and simple user interface (well, in my opinion:-) To play a movie, just run the program. A file seletor appears. Select a FLI/FLC file. A window appears, with several buttons: 'Infos', 'Stop', 'Play'. - 'Infos' button: A new window appears, with some informations about the loaded movie. - 'Stop' button: The movie is stopped, and resetted to the first frame. - 'Play' button: In fact, a 'Play/Pause' button. Click on the 'play' button... You can of course resize the movie with the window sizer. NOW, A BIT ABOUT DISPLAY MODES: - 2 colors: The movie is displayed in black&white, using dithering (4x4 bayer matrix). - 4 colors: The movie is displayed in black&white, using dithering (4x4 bayer matrix). - 16 colors: The movie is displayed in 8 colors, using dithering (4x4 bayer matrix). - 256 colors: The movie is displayed in 216 colors, using dithering (4x4 bayer matrix). - true color 15 bits: The movie is displayed in 256 colors. This player currently only runs in ATARI STANDARD RESOLUTION. If you have a graphic card, it will probably display garbage, instead of a nice movie. The reason is that I don't know how to recognize third party graphic cards (cookie name and structure). If you have any useful information, please let me know!!! If you have information about other movie file formats, specially movies in 256 colors (non interleaved) since the dithering routines are already written, let me know. ADVANCED FEATURES & SHORTCUTS: - Under MultiTOS, you can drag the current frame to any application just clicking on it, and dragging it to another window. The current frame is saved in the clipboard (XIMG format), and a drag message is sent. You can load a movie just dragging it from a desktop window to a player window too. - Under MultiTOS 1.08, the movie window can be iconified, using the iconifier gadget. The movie is then still displayed, in the icon!!! - ^C: copy the current frame to the clipboard (XIMG format). - ^I: Display the current movie information wind. - ^O: load another movie. - ^Q: Close all windows and quit. - ^W: Close the current window. KNOWN BUGS: - Under MultiTOS with memory protection, the player may crash AT ANY MOMENT, if used with NVDI. It's due to a NVDI bug, in its vro_cpyfm routine. - Under TOS/MultiTOS, the player may crash if the movie file is badly corrupted. - Under programs like WinX, the redraw is not performed correctly, due to differences between GEM and WinX rectangle list management. DIFFERENCES BETWEEN 68000 AND 68020 VERSION: - The 68020 version is of course faster than the 68000 one. It handles all Atari graphic modes. The 68000 version only runs in 2, 4, and 16 colors. WARNING: No CPU test is performed in the program. If you run the 68020 version on a 68000 computer, the program may crash, or do strange things... NEXT FEATURES: Now, a list of features that are going to be implemented for the next version: - Handle the computer language (french, english, german, ...). - Center the start and full window coordinates. - Handle correctly very small movies (smaller than the minimum window size). - Add movie contrast/brightness support. - Improve 'drag&drop' protocol (send a .IMG message too, instead of ARGV only). - Add Ctrl-D shortcut (toggle windows). - Add Ctrl-P shortcut (print the current frame, using GDOS). - Add Ctrl-S shortcut (save the current frame). - Add third party video cards compatibility. - Improve the 4 bitplanes dithering, using 15 colors, instead of 8??? - Handle 'direct from disk' playing. - Improve IMG export routines (speed and compression factor). - Avoid the 'MouseOff/MouseOn' when the mouse in not above a movie window??? - Write a gamma correction CPX??? - Handle movie random access (dragging the slider with the mouse). - Handle incoming GEM features (BOTTOMER gadget, etc...). - Write a fast 'vro_cpyfm' patch (TSR)??? - Handle others file formats (.IFF, .DL, .GL, etc...)??? - Add horizontal/vertical mirror modes??? - Write a 'Wall Paper' Accessory??? - Fix all bugs!!! THE END!!! You can send comments/suggestions/bug reports at: Brainstorm 19 bis, rue de Cotte 75012 Paris, FRANCE tel: +33-1-44-67-08-09 fax: +33-1-44-67-08-11 bbs: +33-1-44-67-08-44 (Brasil, Atari french developpers support) email: raphael@brasil.frmug.fr.net