@@ -82,26 +82,27 @@ FFmpeg
82
82
======
83
83
The toucan command line renderer can output raw frames to standard out.
84
84
These frames can be piped to FFmpeg for encoding as a movie file.
85
+
85
86
Example command line:
86
87
```
87
88
toucan-render Transition.otio - -raw rgba | ffmpeg -y -f rawvideo -pix_fmt rgba -s 1280x720 -r 24 -i pipe: output.mov
88
89
```
89
90
Notes:
90
- * The ` - ` tells ` toucan-render ` to use standard out instead of an output file.
91
- * The ` -raw ` option specifies the pixel format of the frames. This should match
92
- the ` -pix_fmt ` option given to ` ffmpeg ` . One exception to this is that the
93
- ` toucan-render ` options do not specify the endian, the endian of the current machine
94
- is used. So for example the option ` -raw rgbaf16 ` might match the ` ffmpeg ` option
95
- ` -pix_fmt rgbaf16le ` .
96
- * The ` -y ` flag tells ` ffmpeg ` to overwrite the output file.
97
- * The ` -f ` flag tells ` ffmpeg ` the input is raw video frames.
98
- * The ` -pix_fmt ` option specifies the input pixel format as described above.
99
- * The ` -size ` options specifies the size of the input frames. The ` toucan-render ` can
100
- print the image size of a timeline with the ` -print_size ` option.
101
- * The ` -r ` option specfies the frame rate. The ` toucan-render ` can print the rate
102
- of a timeline with the ` -print_rate ` option.
103
- * The ` -i pipe: ` option tells ` ffmpeg ` to use standard input.
104
- * Finally, ` output.mov ` specifies the output movie file.
91
+ * The "-" tells toucan to use standard out instead of an output file.
92
+ * The " -raw" option specifies the pixel format of the frames. This should match
93
+ the " -pix_fmt" option given to FFmpeg . One exception to this is that the
94
+ toucan options do not specify the endian, the endian of the current machine
95
+ is used. So for example the option " -raw rgbaf16" might match the FFmpeg option
96
+ " -pix_fmt rgbaf16le" .
97
+ * The "-y" flag tells FFmpeg to overwrite the output file.
98
+ * The "-f" flag tells FFmpeg the input is raw video frames.
99
+ * The " -pix_fmt" option specifies the input pixel format as described above.
100
+ * The " -size" options specifies the size of the input frames. The toucan can
101
+ print the image size of a timeline with the " -print_size" option.
102
+ * The "-r" option specfies the frame rate. The toucan can print the rate
103
+ of a timeline with the " -print_rate" option.
104
+ * The " -i pipe:" option tells FFmpeg to use standard input.
105
+ * Finally, " output.mov" specifies the output movie file.
105
106
106
107
Building
107
108
========
0 commit comments