Skip to content

Commit ea8c39c

Browse files
committed
Refactoring
1 parent 1f2b6c7 commit ea8c39c

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -82,26 +82,27 @@ FFmpeg
8282
======
8383
The toucan command line renderer can output raw frames to standard out.
8484
These frames can be piped to FFmpeg for encoding as a movie file.
85+
8586
Example command line:
8687
```
8788
toucan-render Transition.otio - -raw rgba | ffmpeg -y -f rawvideo -pix_fmt rgba -s 1280x720 -r 24 -i pipe: output.mov
8889
```
8990
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.
105106

106107
Building
107108
========

0 commit comments

Comments
 (0)