Rule vidéo ?

As I recall, some sessions for TRS2004 and TRS2006 had intro videos that would play as the session was loading. They were very crude and small. Maybe 320 x 200 or 640 x 480 in size and used the original Microsoft codec for .avi files or maybe Cinepak for .mov files. There was a toggle in the launcher to disable them from playing.

The Razorback Railway was where I remember seeing them the most often.


William

Edit: I opened a session from Trainz Railwayz. The built-in sessions used videos that were called from an HTML page so the video and the required .txt file were stored in the HTML asset.

For example, the required .txt file was named the same as the movie file but added .movie.txt to the name.
01_passengers_256x256.movie.txt is a simple text file with this in it.
Movie=01_Passengers_256x256.avi

The movie is using the .avi format with the Cinepak codec. It is 256 x 256 in size and 24 bits RGB.
The Cinepak codec is hardly used anymore due to it not being able to compress video files as well as modern codecs. I'm not sure that any newer codec would work.

The HTML code calling the movie looks like this:
<HTML>
<BODY><br>
       <img src=images/sessionbanner.jpg><br><br>
                             
<trainz-object style=video id='videoplayer'
video-filename='video/05_fl9_256x256.avi'
play-on-load='0'
width=320 height=240>
</trainz-object>

<br><br>                                                 
<a href="live://property/video-rewind"><IMG SRC='images/rewind.tga' width=40 height=40></a>
<a href="live://property/video-play"><IMG SRC='images/play.tga' width=40 height=40></a>
<a href="live://property/video-pause"><IMG SRC='images/pause.tga' width=40 height=40></a>
<a href="live://property/video-stop"><IMG SRC='images/stop.tga' width=40 height=40></a>

</BODY>
</HTML>
 
Last edited:
Back
Top