[FFmpeg-devel] [PATCH] Add an example showing how to add streams to the output file

Diego Biurrun diego
Thu Aug 28 23:58:10 CEST 2008


On Wed, Aug 27, 2008 at 10:18:00PM +0200, Stefano Sabatini wrote:
> 
> I'll added more explanations and reformulated the command (-vcodec
> -acodec now specified just before the output file and not intermixed
> as before).
> 
> --- doc/ffmpeg-doc.texi	(revision 14991)
> +++ doc/ffmpeg-doc.texi	(working copy)
> @@ -159,6 +159,20 @@
> +
> +* You can put many streams of the same type in output:

the output

> + at example
> +ffmpeg -i test1.avi -i test2.avi -vcodec copy -acodec copy -vcodec copy -acodec copy test12.avi -newvideo -newaudio
> + at end example
> +
> +The resulting output file @file{test12.avi} in the example will
> +contain also the second video stream and the second audio stream found
> +in the input streams list.

This "also" construction sounds weird.  Just list everything the
resulting file will contain.  This way there cannot be
misunderstandings.

> + at code{-newvideo}, @code{-newaudio}, and @code{-newsubtitle} options

The ...

Diego




More information about the ffmpeg-devel mailing list