Formula
1 VideosThese are some videos
You can create a video around your track in an easy way, you just need an open source video editing program: VirtualDubMod.
Create the images (png) with TORCS
You
have to set up the torcs/confing/raceengine.xml.
<section name="Movie
Capture">
<attstr name="enable
capture" in="yes,no" val="yes"/>
<attnum name="fps"
val="5"/>
<attstr name="output
directory" val="\Archivos
de programa\torcs\movies"/>
</section>
You have to set up the eneble capture (yes), set the number of frames per second (fps) and finally the output directory.
Run
torcs and to make the movie press the cbutton
in your keyboard. The png images for you video
will be
saved
into the output directory.
The name of the images is: torcs-0001-00000000.png, torcs-0001-00000001.png, torcs-0001-00000002.png, torcs-0001-00000003.png...
Create the video from the png images.
Now we will use VirtualDubMod. Start this program and click on File -> Open Video File and select torcs-0001-00000000.png and click on Open, (al the images created with torcs will be loaded into VirtualDubMod.

Go to
video -> Frame Rate and set up the frame rate you have choosen
in
the torcs/confing/raceengine.xml.
Now
File -> Save as and select the video compression and type the
name
of the video and click on Save. It can take a while, and your video
will be created.
If
you want you can modify the video with the tools provided with
VirtualDubMod, change the resolution...
You can record the sound that is sounding on your speakers, you just need an open source sound editing program: Audacity.
Record the sound from TORCS with Audacity.Open Audacity and select the stereo mix option (it is the type of reconding we want). Adjust the volume of the input (the michrophone that is drawn to in the display net to the mix option):0,05 or 0,01%.

Press the record button and run torcs. Play with torcs and the sound will be recorded into this audio file in audacity. Now you can save the waw, ogg or mp3 (you will need to download the lame_enc.dll from the internet because is not provided with audacity) file by clicking on File -> save.
Congratulations you have the audio file of your lap in torcs. Now you can edit the audio file with the tools provided with torcs.
Mixing the adio file and the video file from TORCS
You
can mix the sound and audio file with the aid of VirtualDubMod.
Open your video file in VirtualDubMod, then go to Stream -> Stream List and click on Add then select your audio file. Right click on the text that will apear and select the option Full processing mode. Afther that right click and select the Audio compression.
Your
audio is ready.
Finally you can save the video file with the audio: File -> Save as and select the video compression and





Hay actualmente 1 visitantes en este sitio web. |