Contours
V3D V2
V3D V2

16. Show Media (Video and Audio)

A show can have a video or audio file attached: a performance reference, a music track, or rehearsal footage. Contours plays it in step with the show, so you can shape motion against it while you build (see chapter 10), simulate and run (see chapter 11), record (see chapter 12) and test (see chapter 22).

The Media card with Sign Moving.MPG paused at 12 s, and the Show card below it

Figure 16.1. The Media card on the Shows tab: Add media and Clear media beside the file's name, and the video with its play, pause and pop-out buttons.

Adding media to a show

  1. On the Shows tab, select the show. Its Media card appears below the show list. If the card is folded, click the arrow at the right of its title to open it.

  2. In the Media card, click Add media (the film icon) and choose the file. The card shows the file's name; point at the name to see the full path.

  3. To remove the media, click Clear media (the bin icon).

Contours plays the common video and audio formats that Windows can play, such as MP4, MOV, WMV, MPG and MP3. Video recorded in portrait on a phone is shown upright. An audio-only file plays sound and shows the playback time, with no picture.

The video panel

The show's video appears in a panel in the Media card on the Shows tab, on the Record screen, and on the Test tab. It is the same player everywhere: one picture, one soundtrack, one playback position. Each panel has:

  • Play video and Pause video.

  • Pop out / dock video, which shows the video in its own window, or brings it back.

  • The playback time, shown as position / length.

When a show has no media, the panel shows No media. If the file can't be found, it shows Media file not found (see Where media files should live, and chapter 26).

Keeping the video in step with the show

  • Moving the cursor. Dragging the time chart's cursor, dragging the cursor on the zoom bar under the chart (see chapter 10), or clicking the path in the path view (see chapter 17) moves the video to the same time and pauses it. The picture updates as you drag. The Show card's Cursor line gives the time.

  • Simulate plays the video from where the play begins, with the cursor. When it stops, at the show's end or with Stop, the video pauses at the cursor.

  • Run show plays the video from the cursor once the motors start moving. Stop pauses it, and the video goes to where the cursor stopped. Simulate, Run show and Stop are in the floating block over the chart (see chapter 11).

  • Recording. Each new take plays the video from the start, and a resumed take plays it on from where it paused. Pause pauses it; Stop, Save and Cancel stop it and take it back to the start (see chapter 12).

  • A test run. Start plays the video from the start as soon as the motors report that they are moving, and each Loop Show pass plays it from the start again. It pauses when the run ends (see chapter 22).

  • Switching between the Shows, Test and Axes tabs pauses the video and keeps its position.

  • While a recording or a test run is in progress, the panel's Play video and Pause video buttons are unavailable, so the video can't drift out of step. The recording and run controls start and stop the video instead.

Note. The Model window plays a show on its own clock (see chapter 19) and doesn't play the video.

Popping the video out

Click Pop out / dock video to show the video in its own window. The window:

  • Can be resized; the picture keeps its shape.

  • Can be moved to a second monitor, which is useful for watching the video full size while you record.

  • Minimises and closes with Contours.

  • Shows the show's name in its title bar.

While the video is popped out, the panels in the main window keep their buttons but hide the picture. Click Pop out / dock video again, or close the window, to bring the picture back. Contours remembers the window's position and size until you close Contours.

The Media card without a picture beside the popped-out video window

Figure 16.2. The video popped out. The Media card keeps its buttons; the picture is in its own window.

Where media files should live

Contours saves the media location relative to the project file. To move a project to another folder or PC, copy the project file and its media together, keeping the same folder layout, for example a Media folder next to the project file.

  • Media on a different drive from the project is saved with its full path.

  • When you open a project and the saved media location doesn't exist, Contours also looks for a file with the same name in the project's folder.

  • Save As to a different folder updates the saved media location automatically.

  • Changing or clearing a show's media counts as an unsaved change, so Contours asks you to save it.

Tip. Keep each project and its media together in one folder, so the project can be backed up, copied or moved as a single unit. The project's 3-D model files can live there too (see chapter 5).