I've never done ingame video playback, so take this advice at face value.

On Wed, Feb 4, 2009 at 10:35 AM, Jonas 'Sortie' Termansen <[email protected]
> wrote:

> - AVI files seem to be rather large, according to my experience


Compress them? If you're running 1080 movies then no wonder they are large.
If you make them 640 or 320 then they will reduce in size significantly.
Your source video files will be likely uncompressed or lossless compressed,
but the final cut you can export with lossy compression to reduce the
filesize to about 1/10th. I can't imagine your video is more than a couple
minutes long, it should get to over a couple dozen megs if you choose the
right compression options.

- The tutorial doesn't mention how to get sound from an movie file playing
> while ingame


If you can't get the video to be an audio source as well, it would be easy
to try having the audio in a separate .wav or .mp3, and having an ingame
audio entity play the sound separate from the video, and hope the two don't
get out of sync.

TF2 uses bink to play videos on a vgui panel and that may be the easiest
option for you, but I don't think Valve has ever done this with an ingame
vgui panel, only a HUD one, so you may run into problems. Bink files get
ridiculously small and are effortless to make, with the only real limitation
being the inablitity to change the video's position while it's playing
without restarting it.

-- 
Jorge "Vino" Rodriguez
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to