Exporting files
The Export tool writes out the current file as a single still image, a numbered image sequence, or a movie. The tabs at the top choose the kind of export: Image, Sequence, or Movie. Everything under them is that kind's: the settings, which the three share, the options of its own, and the button that exports.
Locations: Tools menu, Tools toolbar
Open it with Tools > Export (F2).
- Directory — Where the export is written.
- Render size — Source for the size of what is being exported with no scaling; one of the preset widths, or Width for a width typed in, where the height follows the aspect ratio of what is being exported so nothing is squashed to fit; or Custom for a width and height typed in, used as they are. A height that follows from a width is rounded to an even number for a movie, which its codecs need; the source's own size and a custom size are used as they are, and the export says if the codec cannot take them.
- Size — The size the export comes out at, with the edits for what can be typed.
- Burn in drawings — Write the review drawings into the picture, on the frames they are on (see Review).
- File name — The name of the file to write, without its extension. A run of
#is replaced by the frame number, as many digits wide as there are#:render.####writesrender.0023.exr. Digits are part of the name. A name typed with one of the extensions on it takes that extension. - Extension — The file format to write.
- Output — The name that will be written, or what is wrong with the file name. Exporting over a file that is already there asks first, so nothing is overwritten without saying so.
An export goes into the queue under the export button, and runs while the work goes on.
Image
An Image export is just the current frame, as a single still image. A file name without # has no frame number; with one, the number follows the playhead.
Export Still
File > Export Still (Ctrl/Cmd+Shift+S) writes the current frame in one step, without the Export tool: as the viewport shows it, with the files being compared, the color, and the drawings when Burn in drawings is on, at the size the sources are shown at. It goes into the Export tool's directory in the extension chosen for Image, named after the file and the time as the time units show it: Train-Shaded_01-00-00-03.tif. A still of the same frame is written over.
Locations: File menu, File toolbar
Sequence
A Sequence export is the in/out range as a numbered image sequence. The file name needs a # where the frame number goes; render.#### with .exr gives render.0001.exr. The Output preview shows the first and last files of the sequence. Exporting asks first if any frame of the range is already on disk.
Movie
A Movie export is the in/out range as a movie file. The Preset chooses the output: MJPEG, ProRes 422 and 4444, APV 422 and 444, FFV1, CineForm, AV1, and GIF are encoded by DJV, where the build has the encoder — the menu lists only the presets it can write, so a package without a ProRes encoder offers no ProRes — and the presets marked ffmpeg command are encoded by the FFmpeg command line application installed on the system, which provides H.264, HEVC, and VP9. Where to find the external FFmpeg is set in the settings; the command presets write video only.
The GIF preset is for where a movie cannot go: reference boards, design tools, chat. A GIF holds 256 colors a frame, so the colors are chosen from the picture and the rest is dithered; it has no audio, its frame rate is rounded to hundredths of a second, and it is large for what it shows, so a smaller Render width and a short range suit it best.
The Extension lists the file types the chosen preset is written to — CineForm to .mov, AV1 to .mp4 or .mkv, FFV1 to .mkv first of all, GIF to .gif, and so on — and changes with the preset. A preset and a file type that do not go together is not a combination the export can make; where one is asked for from a script it is reported rather than quietly changed.
If the source has audio it is included in the movie, except with the ffmpeg command presets — H.264, HEVC, and VP9 — which write video only, so the movie they write has no audio whatever the source had, and with GIF, which has nowhere to put it. The Audio codec defaults to Auto, which lets the file format choose, or a specific codec can be selected; it is disabled when the source has no audio, or when the preset writes video only, and what the export will do with the audio is written under it either way.
Available extensions depend on how DJV was built, and the Extension menu lists them. Image and sequence exports typically support .exr, .png, .tif, and .tiff; movie exports typically support .mov, .mp4, .mkv, and .m4v.
Exports respect the current layer, playback speed, in/out range, and color settings. A comparison is exported the way the viewport shows it: a side by side comparison of two files writes both of them, at the size the comparison comes to, and the Source render width follows that rather than the A file on its own.
The file that is written carries a color description: the display's when the export is color managed, the source's when it is not.
The queue
The export button adds to the queue under it, which runs the exports one after another while the work goes on: playing, reviewing, opening other files, or closing the one being exported, which frees its cache. An export is made from the settings as they were when it was asked for — the color, the comparison, the in/out range, the drawings — so changing them afterwards changes nothing about an export already in the queue, and one file after another can be queued. An export to a file another one in the queue is writing is refused.
The running export is at the top of the list, then the ones waiting, in the order they will run, then the ones that have stopped, newest first. Each row says how far its export has got and about how long it has left, and once it is done, how long it took; once two or more are done, the line beside Clear adds up how long the finished ones on the list took (failed and cancelled ones are not counted). The Messages tool logs each export's time as well, and when more than one ran back to back, the time for all of them, to compare one export or one machine with another. The stop button beside a running or waiting export cancels it. What has been written is kept: the frames of a sequence so far, or a movie finished at the frame it got to, which plays. The × beside one that has stopped takes it off the list; Clear takes off every one that has stopped. The rows keep their places while the pointer is on the list, so that a second click does not land on the export moved up under it. A finished export can be opened from its row, to look at what was written. Quitting while exports are running asks first.
While the exports run, a ring beside the status indicator in the bottom tool bar fills with how far they have got, and its tooltip says which is running; the status bar says when they finish. The ring stays full until the Export tool is opened, red if any export failed, and clicking it shows or hides the tool.
The exports run one at a time because an encoder needs memory of its own. The long GOP codecs, H.264, HEVC, and AV1, hold dozens of frames to compare them with and can use a few gigabytes at 4K, where ProRes and the other codecs that encode each frame on its own need a few hundred megabytes. On a machine short of memory, close the file once its export is queued, or lower the cache in the settings.