From: ronag Date: Tue, 13 Mar 2012 21:13:30 +0000 (+0000) Subject: (no commit message) X-Git-Tag: docs_subtree~4 X-Git-Url: https://git.sesse.net/?p=casparcg;a=commitdiff_plain;h=18187a8da228b9f25d7252f5de16cd8b01b75eac --- diff --git a/source/tutorial/file-consumer.rst b/source/tutorial/file-consumer.rst index 609a9e50c..404f0e132 100644 --- a/source/tutorial/file-consumer.rst +++ b/source/tutorial/file-consumer.rst @@ -4,25 +4,26 @@ Running the File Consumer ************************* -The disk consumer uses ffmpeg to encode video and ffmpeg users will feel somewhat at home with the commands. +The file consumer uses ffmpeg to encode video. -The encoding will take advantage of multi-core cpus. +The encoding will automatically take advantage of multi-core CPUs. -To start the disk consumer you need to send the following command: +To start the file consumer you to send the following command: :: ADD 1 FILE myfile.mov -Where the file extension will decide the container format and appropriate codec. +If the "-f" or "-vcodec/-acodec" option is not supplied then the container format and appropriate codec will be automatically deduced from the file extension. -To stop it you simply type: +To stop writing to the file send: :: REMOVE 1 FILE -The default, and recommended format is H264 which uses the highly optimized libx264 encoder. You can of course also choose what codec to encode to. The file consumer follows commandline arguments syntax used by ffmpeg, see ffmpeg for more options. Some of the available options are: + +The file consumer follows commandline arguments syntax used by ffmpeg, see ffmpeg for more options. Some of the available options are: :: @@ -44,7 +45,9 @@ The default, and recommended format is H264 which uses the highly optimized libx ADD 1 FILE myfile.mov -vcodec dvvideo ADD 1 FILE myfile.mov -vcodec libx264 -For the above formats we have already provided high quality default parameters. Though you can of course also specify other codecs (see the -vcodec option in ffmpeg), and the corresponding options (see ffmpeg documentation): +For the above formats have already provided high quality default parameters. + +Another example: ::