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

Stefano Sabatini stefano.sabatini-lala
Fri Aug 29 00:12:54 CEST 2008


On date Wednesday 2008-08-27 22:18:00 +0200, Stefano Sabatini encoded:
> On date Tuesday 2008-08-26 22:21:52 +0200, Stefano Sabatini encoded:
> > Hi, as in subject.
> [...]
> 
> I'll added more explanations and reformulated the command (-vcodec
> -acodec now specified just before the output file and not intermixed
> as before).
> 
> Regards.
> -- 
> FFmpeg = Furious and Fast Meaningful Pitiful Earthshaking Gymnast

> Index: doc/ffmpeg-doc.texi
> ===================================================================
> --- doc/ffmpeg-doc.texi	(revision 14991)
> +++ doc/ffmpeg-doc.texi	(working copy)
> @@ -159,6 +159,20 @@
>  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 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.
> +
> + at 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

I'll apply it tomorrow on evening if no one has objections/comments.

Regards.
-- 
FFmpeg = Fast and Friendly Majestic Purposeless Evanescent Game




More information about the ffmpeg-devel mailing list