]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Add to the ffmpeg manual an example showing how to add streams to the
authorstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 29 Aug 2008 17:44:42 +0000 (17:44 +0000)
committerstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 29 Aug 2008 17:44:42 +0000 (17:44 +0000)
output.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15030 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

doc/ffmpeg-doc.texi

index 928751463bc9d13c6bdb98bdbe1e9d7216a1daaf..35e750d57b8460405736b4a2af54959269548c17 100644 (file)
@@ -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