Difference between revisions of "FFMPEG Make Video"

From Custom Map Makers Wiki
Jump to: navigation, search
(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. ...")
 
 
Line 5: Line 5:
 
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.
 
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
+
  textures/mymap/video
 
  {
 
  {
 
         qer_editorImage textures/mymap/video.jpg
 
         qer_editorImage textures/mymap/video.jpg

Latest revision as of 12:08, 20 August 2011

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/mymap/video
{
        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).