diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-08-29 17:44:42 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-08-29 17:44:42 +0000 |
commit | 0769649711550c27940a0344683bbd5f4e7ae4b0 (patch) | |
tree | d1787c464e09804033da8c538f6558d29d7ee80a /doc | |
parent | d4be08e0c9fc9ed2862e952a489ef6a8943b5e5d (diff) | |
download | ffmpeg-0769649711550c27940a0344683bbd5f4e7ae4b0.tar.gz |
Add to the ffmpeg manual an example showing how to add streams to the
output.
Originally committed as revision 15030 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ffmpeg-doc.texi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi index 928751463b..35e750d57b 100644 --- a/doc/ffmpeg-doc.texi +++ b/doc/ffmpeg-doc.texi @@ -159,6 +159,20 @@ only formats accepting a normal integer are suitable. If you want to extract just a limited number of frames, you can use the above command in combination with the -vframes or -t option, or in combination with -ss to start extracting from a certain point in time. + +* You can put many streams of the same type in the output: + +@example +ffmpeg -i test1.avi -i test2.avi -vcodec copy -acodec copy -vcodec copy -acodec copy test12.avi -newvideo -newaudio +@end example + +In addition to the first video and audio streams, the resulting +output file @file{test12.avi} will contain the second video +and the second audio stream found in the input streams list. + +The @code{-newvideo}, @code{-newaudio} and @code{-newsubtitle} +options have to be specified immediately after the name of the output +file to which you want to add them. @c man end @chapter Invocation |