FFMPEG Make Video

From Custom Map Makers Wiki
Revision as of 12:08, 20 August 2011 by John (talk | contribs) (Created page with "Having downloaded FFMPEG and prepared your video (for example myvideo.avi) ffmpeg -i myvideo.avi -r 30 -s 256x256 myvideo.roq Will convert to .roq format for use in your map. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Having downloaded FFMPEG and prepared your video (for example myvideo.avi)

ffmpeg -i myvideo.avi -r 30 -s 256x256 myvideo.roq

Will convert to .roq format for use in your map. A simple shader can be constructed which can be applied to a simple brush face.

textures/underwater/videowall
{
        qer_editorImage textures/mymap/video.jpg
        surfaceparm nolightmap
        {
                videoMap myvideo.roq
                rgbGen identity
        }
}

You'll need to put the video in the video folder (top level).