Support Topics
 Support topics UC-win/Road

Output videos using UC-win/Road

Maintenance and support service related information
    

This time, we will introduce how to create videos using UC-win/Road.

If you want to quickly export a video and skip some of the detailed settings, you can do so as follows

  

First, configure the minimum settings required to output a video. Click on "Options" under "Movie" in the "Record/Playback" menu to open the Movie Manager options screen. 


Figure 1: Menu "Record/Playback" Movie "Options"
Figure 2: Movie Manager Options Screen

● Output target items: The video format for output will be set to MP4/WMV files.
● Output target view: Check the box next to "Main View."
● Settings: Frame rate: 30.0 fps
・Specified size: width 1920 pixels, height 1080 pixels
(When outputting for testing purposes, reducing the size will result in faster completion)
● Options: Click the "MP4/WMV Options" button to open the Media Foundation settings screen.
 ・Video format: Set to "H.264".
 The average bit rate will be set to approximately 20 Mbps initially, and we will monitor its performance.
Check the output video and, if the image quality is poor, increase the numerical values.


Figure 3: Media foundation settings screen

Now that the video output is ready, we will start the video recording. For example, to begin recording road footage or script playback immediately, click "Start" under "Movie" in the "Record / Playback" menu. Alternatively, you can also right-click on the main screen and select "Start AVI Recording" to initiate the output.

Depending on the situation, it may be better to press "Start" in the "Movie" section first. In such cases, if you move to the starting position for the animation or the initial camera position of the script before starting the output, you can prevent unwanted scenery from appearing at the beginning of the video.


During recording, the window size will be adjusted to match the resolution specified above. If the window is maximized, it may cause problems, so we recommend starting the recording without maximizing the window. Also, please do not change the window size during recording, as this will also affect the output video size.


While recording, the recording time is displayed in red letters at the top right of the window (you can see it if you move the window, but it's not necessary to view it)

The time it takes to generate output is often longer than expected because it involves rendering 30 frames for every second of playback.


When it's time to stop recording, press "End." You can also end the recording by right-clicking on the main screen and selecting "Stop AVI Recording."


The generated video files are, by default, stored in a folder named with the date and time under the "C:\UCwinRoad Data xx.x\Movie" directory, and they are saved as "MainView.mp4".

Check the quality of the created video, and if you want to improve the quality, increase the average bitrate. However, this will also increase the file size, so adjust it to find a balance.


About video detailed settings

  

In the previous explanation, only some settings were adjusted. This section explains how to fine-tune video settings. Open the "Movie" - "Options" menu under the "Record/Playback" menu.

● Output Target Items: This setting specifies the format of the video to be output
It is possible to output in multiple formats simultaneously. However, when outputting multiple files, it may take some time. Output is available in the following 5 formats, and the settings for each format can be adjusted using the "Options" buttons located at the bottom of the screen.
・MP4/WMV files: Output MP4 or WMV video files
・AVI files: Output AVI video files
・BMP files: Outputs BMP image files as sequential frames
・PNG files: Outputs PNG image files sequentially for each frame
・POV-Ray files: Outputs POV-Ray script files for each frame


If you want to edit the video later, there is a way to output it in AVI format. Also, options such as left-right inversion, interlaced output, and cropping of the output image are only supported for AVI output.

Even if you edit AVI videos using a different video editing software, it's best to convert them to MP4 format in the end. This results in a smaller file size for the quality, making distribution and delivery easier. Because MP4 is supported by most media devices, you can provide it without worrying about whether the recipient can play it. In addition to video formats, it also supports sequential output of still images, which can be used for special purposes such as frame-by-frame editing.


● Output target views: In addition to the main screen (Main View), videos from each camera position can also be output. It is possible to output videos from multiple viewpoints simultaneously, but this will increase the processing time.
● Options: Clicking the "AVI Options" button will open the AVI options screen.


Figure 4: AVI Options Screen

  

● Codec: Select from the codecs that have been prepared in advance
The content under "Options" will change depending on the codec you select.


AVI format videos can vary significantly in quality and file size depending on the codec selected, so it is important to install and choose an appropriate codec. If you want to record lightweight yet high-quality video, codecs such as x264vfw are available. (x264vfw is released under the GNU General Public License version 2.0 (GPLv2) license)


If you download and install x264vfw in advance, it will become available as an option under "Codec" within the "AVI Options."
Select "X264:..." in the codec settings and configure the x264vfw options. Here is an example of a configuration setting.


Figure 5: The configuration screen for x264vfw

  

● Zero Latency: Prevents delays
●Rate control:
This setting allows you to configure the video encoding (compression and conversion) method
・Set to Single Pass with rate factor-based (Constant Rate Factor) encoding
Specify the quality (CRF) and encode it only once.
Adjust the image quality using the rate factor. I usually set it around 20 and then observe the results.
●Output mode:
If you set it to VFW format, the output video file will be generated in the specified folder (by default, the C:\UCwinRoad Data xx.x\Movie folder).


  

If you're unsure about the settings for x264vfw, try using the example settings provided above to generate the output.


The MP4 format we introduced earlier makes it easy to output videos, so please create and utilize videos using this format.

(Featured in the Spring issue of Up&Coming '25)

LOADING