Exporting
- Check the Export Path. On the editor's Animation Settings tab, the Export Path must name a folder that exists. The video is written there.
- Go to the Animation tab and click Export Animation, the button beside the green arrow in the tab's heading.
- Choose the options, described below. The Output line shows the file that will be made.
- Click the green tick. Spanner draws the film a frame at a time. The progress bar shows how far it has got.
- Wait for the message that says how many frames were exported, and where to.
The video is named after the animation. A draft has Draft or Quick Draft added to its name, so a draft never replaces a final.
The export options
| Destination | Video makes one MP4 file. Image Files writes a numbered picture for every frame instead: see Image files. |
| Quality | Final, Draft or Quick Draft. See Quality. |
| Method | Software Off Screen or Hardware: how the frames are drawn. See Software or hardware. |
| Music File | A sound file to play under the video. See Music. |
| Merge Products | Draws the products that no action moves as a few large models, in place of thousands of small ones. The film should look the same and the export is much quicker, so leave it ticked. Untick it if a product ever looks wrong in the film. It changes the preview as well. |
| Output | The file, or for image files the folder, that the export will write to. |
The green tick, or the Enter key, starts the export. The red cross, or Esc, closes the window without exporting. Spanner remembers your choices for next time.
Quality
A draft draws fewer frames, so it is ready sooner. It plays for exactly the same time as the final: the timing you see in a draft is the timing you will get.
| Quality | Frames a second | Picture | Use it for |
|---|---|---|---|
| Quick Draft | 5 | 640 by 360 | Checking the order of events and the timing. It is jerky, and quick to make. |
| Draft | 10 | 1280 by 720 | Showing a colleague, and checking how the film looks at full size. |
| Final | 30 | 1280 by 720 | The film you present. Movement is smooth and edges are clean. |
Software or hardware
The method is how each frame's picture is made.
| Software Off Screen | Spanner draws each frame in the computer's memory, not on the screen. Every frame is complete before it is written, on any computer. You can cover the editor with another window and carry on with other work. A Final is drawn at nine times the detail and averaged down, which is what makes its edges clean. This is the method Spanner starts with. |
| Hardware | The graphics card draws each frame in the editor's window, and Spanner copies the picture from the window. On a computer with a good graphics card it can be quicker. The window has to stay as it is until the export ends. |
Use Software Off Screen unless you have a reason not to.
If you use Hardware
- Leave the editor's window alone. Keep it on the screen, uncovered and not minimised, and don't resize it. A window resized part-way stops the export.
- Set the picture's size first. The frames are copied at the size the picture has in the window. Right-click the preview, choose Set Render Size and type a width and a height, such as
1280 x 720. - Spanner may ask to change how it draws. If Spanner is set to draw 3D in software, it asks to switch to hardware for the export, and offers to save your open documents first. It switches back when the export ends.
- The marks are part of the check. During a hardware export, a row of small black and white squares appears beside the tab's name and beside the progress bar. They number each frame, so that Spanner can tell that the picture it copied is the frame it asked for.
Music
Type the path of a sound file in Music File, or click the button beside the box to choose one. MP3, WAV, AAC, FLAC, WMA and other common kinds can be used. The music starts with the film.
- Music longer than the film is cut off where the film ends.
- Music shorter than the film is followed by silence.
- Leave the box empty for a silent video. The box can't be used when the destination is image files.
- Check that you may use it. Most recorded music needs a licence before it can be used in a film you show to others.
When it finishes
The message at the end gives the number of frames exported, the time it took, and the file or folder they went to. Below that it shows where the time went:
| Animation | Working out what changes from one frame to the next. |
| Render | Drawing the pictures. |
| Wait | In a hardware export, waiting for each frame to reach the screen. |
| Write | Making the video, or saving the image files. |
| Repeat Frames | Frames in which nothing moved. They are not drawn again, so a film with pauses in it exports faster than its length suggests. |
| Frame Check | In a hardware export. OK means the copied pictures were checked against their frame numbers. A number in brackets counts frames that could not be checked, and Unavailable means the check could not be used at all. In either case, look through the video before you use it. |
If anything went wrong, the message ends with the word Error and the reason.
Image files
With Image Files as the destination, the export writes a picture for every frame into the Export Path, named frame0001, frame0002 and so on. Choose it when you want stills for a document, or frames to take into a video editor.
- Use an empty folder. Frames from an earlier, longer export are not cleared away. Left in the folder, they would be joined on to the end of the next video made from it.
- One still is easier another way. For a single picture, use Goto Frame Position in the preview and take a screenshot.
Joining image files into a video
Spanner can also turn a folder of frames into a video afterwards.
- Choose Tools › Join Image Frames into Video.
- Check the Image Frames Folder. Spanner offers the folder of the most recent frames exported from this document's animations. The line beneath says how many frames it found there.
- Add a Music File if you want one.
- Give the Video Output File: click the button beside the box and name the MP4 file to make.
- Click Create Video File. The button appears once there are frames to join and somewhere to write the video. A message beside it shows when the work starts and ends.
If something goes wrong
| What you see | What to do |
|---|---|
| There is no Export Animation button | The button is on the Animation tab only, and only when the animation has an Export Path. Type one on the Animation Settings tab. |
| "Export Directory Not Found" | The Export Path names a folder that doesn't exist. Create the folder, or correct the path. |
| "ffmpeg.exe Not Found" | Spanner makes videos with a program called FFmpeg, which is installed with it. Install Spanner again to put it back. Image files can still be exported without it. |
| "Render Size Error" | The editor's window changed size during a hardware export. Export again and leave the window alone, or use Software Off Screen. |
| The export stopped early | The tab was changed, or the red cross was clicked. Export again. |
| Other windows, or the wrong frames, appear in a hardware video | Something covered the editor while it was exporting. Use Software Off Screen. |
| The export is slow | Make drafts until the film is right. Keep Merge Products ticked. A Final by Software Off Screen is the slowest choice, because it is the most careful: leave it running and work in another window. |
| The film is longer than you expected | An action starts later than you meant. See Checks worth making. |