[FFmpeg-devel] [PATCH] Show examples to avoid to decode audio streams in pass 1
Wed Aug 13 19:48:01 CEST 2008
On Tue, Aug 12, 2008 at 12:26:11PM +0200, Stefano Sabatini wrote:
> On date Saturday 2008-08-09 18:28:19 +0200, V?ctor Paesa encoded:
> > Diego Biurrun said:
> > > On Sat, Aug 09, 2008 at 09:23:31AM +0200, Stefano Sabatini wrote:
> > >>
> > >> +ffmpeg -i foo.mov -vcodec libxvid -pass 1 -an -f rawvideo -y
> > >> /dev/null + at end example
> > >
> > > Do we have Windows examples anywhere else?
> > Well, the FAQ humbly mentions the "copy" Windows command as closest
> > equivalent of "cat".
> I still continue to regard the -f null issue as a bug, but since it's
> not clear if it can be fixed I'm happy with this working command.
> --- doc/ffmpeg-doc.texi (revision 14711)
> +++ doc/ffmpeg-doc.texi (working copy)
> @@ -429,6 +429,12 @@
> +On pass 1, you may just deactivate audio and set output to null,
> +examples for Windows and Unix:
> + at example
> +ffmpeg -i foo.mov -vcodec libxvid -pass 1 -an -f rawvideo -y NUL
> +ffmpeg -i foo.mov -vcodec libxvid -pass 1 -an -f rawvideo -y /dev/null
If this can be reduced to just one command with -f null, I would prefer
it, otherwise this looks OK.
More information about the ffmpeg-devel