home *** CD-ROM | disk | FTP | other *** search
-
- VIDPAK, the Public Domain Digital Video System
-
- by
-
- John W. Ratcliff
-
- This is the public domain release of VIDPAK. VIDPAK is a video playback
- tool that works a great deal like the standard .FLI format, except
- VIDPAK supports an interleaved audio track and the DIGPAK standard for
- sound. Only these tools are being released into the public domain.
-
- I will publish the file format for VIDPAK into the public domain at a
- later date as well. The only reason I'm not doing it right now is
- because it will take me a little time to put it all together.
-
- The source code to all of the VIDPAK tools is the propery of John W.
- Ratcliff, and I am keeping that for myself. If you need a DOS digital
- video playback system, and don't feel like paying your own engineers to
- do the job, I would probably be willing to consider licensing, on a
- non-exclusive basis, the source to the VIDPAK player. My primary
- concern is developing my own products, not so much licensing code. I
- find it takes a lot of time away from my own product development efforts
- which is my primary concern. However, there is no point having these
- tools languishing on my hard-drive, not doing anybody any good, so if
- you can find some practical use for them either by compressing your own
- FLI files or making your own little DOS digital videos, great!
-
- If any shareware CD-ROM type guys choose to distribute VIDPAK and any
- .VDO files created with it, I would greatly appreciate a complimentary
- copy of the CD in exchange. If you develop cool .VDO's or put together
- a mutlimedia CD-ROM or demo, please send me a copy at:
-
- John W. Ratcliff
- 747 Napa Lane
- St. Charles, MO 63304
- CSERVE: 70253,3237
- BBS: 1-314-939-0200
-
- I'm not a prude, so if any VDO's you create are a bit racey, you can
- still send them my way. I'll try not to blush to brightly.
-
- This upload contains all of the tools necessary to convert a .FLI file
- into the .VDO file format, and then add a compressed audio sound track.
- You can then reconstitute a FLI file from the VDO if you so wish, in
- effect compressing the FLI file by removing chroma-noise from the input
- video signal.
-
- What does VIDPAK do?
-
- It reads a standard .FLI file in, compresses it using a lossy compressor
- and writes a .VDO file out. You can then add a compressed audio track
- to that .VDO file. You can play the .VDO file back using the utility
- VIDTV. You can also turn that .VDO file back into a .FLI file using the
- tool VDO2FLI. With VIDTV you can specify the number of times to play
- back the video before it exits. While the video is playing back you
- can press the plus and minus keys on the numeric keypad to scale
- the size of the video. You can put the file VIDTV.EXE and SOUNDRV.COM
- in your utilities directory, or anywhere on your path, it will load
- the sound driver from that directory, and then play the VDO file
- from the directory you launched from.
-
- How does VIDPAK 'compress' a FLI file?
-
- The .FLI format is very efficient for storing animations that have lots
- of similiarities between frames of data. However, with video, there is
- so much noise in the data that virtually every pixel on the screen
- changes from frame to frame, even if, to the viewer, the data is
- the same. VIDPAK searches for 'chroma noise' in a video data stream
- and more efficiently determines delta frames. The user selects the
- level of lossiness when using the VIDPAK compressor VIDCMP. A number
- down around 8-15 will result with some compression, and almost no
- noticable loss, while a number of 22-32 will give good compression
- and varying levels of lossiness depending on the quality of video
- encountered.
-
- What does VIDPAK compress well?
-
- VIDPAK compresses any video pretty efficiently. There is a lot of
- chroma noise in standard video, and a lot of time domain dependency.
- VIDPAK efficiently encodes those deltas. Additionally, unlike the .FLI
- file format which always encodes delta's, VIDPAK will switch to single
- frame compression modes if the delta frame is too large. This can
- increase the compression rate over the .FLI format where many sudden
- transitions in the data are occuring.
-
- What does VIDPAK compress poorly?
-
- VIDPAK doesn't really compress poorly, per se. Worst case VIDPAK is
- just going to store the data out at the same compression rate as a
- standard .FLI file. Most FLI files that you find do not contain chroma
- noise, and you will not get any extra compression with VIDPAK. VIDPAK
- is designed to compress VIDEO not so much computer animations. But keep
- in mind that VIDPAK will compress a computer animation just as
- efficiently as a standard .FLI, and will let you add an audio track to
- boot. A nice bonus.
-
- How do I get a QuickTime movie into a .FLI file?
-
- There is only one practical way to do this and it by using a program
- called DeBabbalizer on the Macintosh. With DeBabbalizer you create a
- super palette for the entire quicktime movie, then save the QuickTime
- movie out as a .FLI file, by remapping each frame into the super palette
- and setting the document size to 320x200, to conform to the .FLI format.
- This will produce one fully functional digital video movie in the
- standard .FLI format, but without a sound track. A note of warning.
- QuickTime uses a different type of lossy compression than VIDPAK.
-
- QuickTime trashes the individual frames of video, by turning them into
- big blobs of color, which looks really gross by the way. VIDPAK wants
- you to pass it the highest resolution video possible. Since VIDPAK
- is delta-frame based, where you see blocks in Quicktime, will instead
- contain high-resolution data with VIDPAK, data retained on the screen
- from previous frames.
-
- How do I get the sound track from a QuickTime movie?
-
- I use Adobe Premiere. I assume there are other ways as well. Go
- into Adobe Permiere, add the movie clip to your project, select
- the video track, delete it, leaving only the audio track. On output
- options select 11khz audio. Make a movie. When you copy that file
- over to the IBM, all you will have is the raw audio sound track.
-
-
- In this .ZIP file is a small quicktime movie called QT.FLI and
- it's sound track is called QT.SND. This is a short video clip
- of my daughter telling some story or another. You will notice
- that VIDPAK only compresses this .FLI in half. That's because
- of the tremendous amount of shakiness in the camera. But, hey,
- 50% is still is twice as fast a download! VIDPAK compresses
- VIDEO the best when the camera is still. What I call 'talking
- head' video.
-
-
- Here is how you convert it into .VDO.
-
- Run: VIDCMP QT 34 0 0 159 119
-
- Which means, compress QT.FLI (extension assumed) with a chroma noise
- value of 34, and compress the rectangular region from 0,0 to 159,119.
- When this is finished you will have a file QT.VDO, which is less than
- half the size of the original .FLI file.
-
- The mean function of VIDCMP is going to be that Chroma Noise level.
- This is the distance in RED/GREEN/BLUE before VIDCMP considers a pixel
- a changed color or not. On computer animations, which has gradients
- and sharp edges, you wont get away with a very large chroma noise
- constant. Generally between 8-12 yields a compressed video with
- no perceptible loss of quality. But in true colorful, noisy, video
- data, you will get acceptable video with a chroma noise constant as
- high as even 38 sometimes. With higher chroma noise constants you
- will see ghost trails of previous frames of video on the screen
- during playback. These ghost trails corrspond to the blocky areas
- you see with QuickTime and other video compressors. Because VIDCMP
- doesn't block out areas of the image, it has a greater 'perceived
- detail'. This is why it is important to always start out with the
- highest resolution video possible.
-
- VIDCMP also supports single frame, or inter-frame delta compression.
- You enable this with the command line switch /I. The chroma noise
- constant acceptable here is much less than the delta frame constant.
- Using /I4 to /I8 will yield a somewhat improved compression rate.
- You can set the interframe compression constant higher to get some
- bizarre effects in the video.
-
- VIDCMP also supports a smoothing algorithm, that sometime can clean
- up some crappy video. Using between /m4 and /m8 will clean up
- a video a bit, and sometimes improve, slighlty, the compression rate.
-
- VIDCMP has a command switch for block smoothing, which is a technique
- that I thought would improve compression rates, but doesn't do anything
- but munge up the data. However, it can create some interesting
- artifacts in the video data, so you can play with it. The command switch
- is /b2 to /b8 or so. It attempts to block out portions of the video
- image, so that it will run-length encode more effieciently.
-
- VIDCMP assumes a frame rate of 15 fps, but you can specify a different
- frame rate by using the /r option. Make sure you add the /r option
- to the trackit program as well.
-
- Now we add the soundtrack. You do this by running:
-
- TRACKIT /n4 /s2 QT QT
-
- Which means, add the sound track QT.SND to the video file QT.VDO
- using a mean error of 4 and a silence squelch of 2, using the ACOMP
- audio compression algorithm.
-
- You now have a file called QT.VDO with the compressed audio track
- embedded in it. TRACKIT makes a backup file called QT.$$$, you can
- delete this file, or restore it if you wish.
-
- You must have selected a sound driver to playback the movie with by
- running SETD. Pick a sound driver.
-
- Now type VIDTV QT
- and you will play your movie.
-
- To convert the movie back into an FLI file, you would run 'VDO2FLI QT'
- Note, this will overwrite your previous copy of QT.FLI. Note the
- the .FLI file produced is still about half the size of the original
- .FLI file.
-
- What are all of these files?
-
- DEMO.BAT Demonstrates compression the QT.FLI file.
- QT.FLI The demonstration quick time movie, converted into .FLI
- QT.SND The 8 bit 11khz raw sound track for QT.FLI
-
-
-
- SOURCE COM Walt Disney Sound Source DIGPAK driver
- PAUDIO COM ProAudio Spectrum DIGPAK driver
- SBCLONE COM SoundBlaster CLONE DIGPAK driver
- SNDSYS COM Microsoft Windows Sound System DIGPAK driver
- ARIA COM Sierra Semiconductors Aria DIGPAK driver
- SETD EXE DIGPAK Sound Driver SETUP program
- CVXSND COM Covox Speech Thing Sound Driver
- STFX COM ATI Stereo FX Sound Driver
- PAS16 COM ProAudio Spectrum 16 sound driver
- NOSOUND COM No Sound Card sound driver
- ADLIB COM Adlib Personal Music System DIGPAK
- TANSLTL COM Tandy Sensation SL/TL DIGPAK sound driver
- SETD SND DIGPAK Setup program demo sound effect
- ADLIBG COM Adlib Gold DIGPAK sound driver
- SOUNDRV COM Default Sound Driver configuration
- TANEXTX COM Tandy EX/TX DigPak sound driver
- SBLASTER COM Creative Labs SoundBlaster DIGPAK driver
- LANTSND COM Lantastic Voice Adaptor DIGPAK sound driver
- IBM1BIT COM 1 Bit PC Speaker Sound Driver
- BIGMOUTH COM Talking Technologies BigMouth Sound Driver
- MULTISND COM Turtle Beach MultiSound DIGPAK sound driver
- IBMBAK COM PC Speaker Background driver
- DIGISP COM DS201 Digispeech DIGPAK driver
- IBMSND COM PC Speaker Foreground driver
- GF166 COM Gravis Ultrasound DIGPAK driver
- VMSND COM Covox Voice Master I DIGPAK sound driver
- LSIZE COM Activision Life Size Sound Enhancer DIGPAK sound driver
- SBPRO COM Creative Labs SoundBlaster Pro DIGPAK sound driver
- ECHOII COM Echo II DIGPAK driver
- SMSND COM Covox SoundMaster I DIGPAK driver
-
- VIDTV EXE VIDPAK VIDTV program plays .VDO files.
- VIDCMP EXE VIDPAK compressor
- TRACKIT EXE VIDPAK Audio Track utility
- VDO2FLI EXE Convert .VDO files into .FLI files.
-
- VPLAY H C prototype header for for VIDPAK tools.
- VIDSHOW C Demo C source code to simple VDO player using VIDPAK.
-
-