[FFmpeg-devel] [PATCH] Show examples to avoid to decode audio streams in pass 1

Stefano Sabatini stefano.sabatini-lala
Tue Aug 12 12:26:11 CEST 2008


On date Saturday 2008-08-09 18:28:19 +0200, V?ctor Paesa encoded:
> Hi,
> 
> Diego Biurrun said:
> > On Sat, Aug 09, 2008 at 09:23:31AM +0200, Stefano Sabatini wrote:
> >> Hi all,
> >>
> >> patch suggested by Erwan Ducroquet:
> >> http://thread.gmane.org/95011c1c0808051518l6e46fc80k4f2db45faba3038c at mail.gmail.com
> >>
> >> Regards.
> >> --
> >> FFmpeg = Faboulous & Foolish Martial Programmable Eccentric God
> >
> >> Index: doc/ffmpeg-doc.texi
> >> ===================================================================
> >> --- doc/ffmpeg-doc.texi	(revision 14673)
> >> +++ doc/ffmpeg-doc.texi	(working copy)
> >> @@ -410,6 +410,12 @@
> >> +On pass 1, you may just deactivate audio and set output to null,
> >> +examples for windows and unixes:
> >
> > Windows, Unix

Fixed.

> >> + at example
> >> +ffmpeg.exe -i foo.mov -vcodec libxvid -pass 1 -an -f rawvideo -y NUL
> 
> I would use "ffmpeg" instead of "ffmpeg.exe" to minimize differences. It
> works fine on Windows, unless you have a "ffmpeg.bat" also.

OK.
 
> >> +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.

Thanks for the reviews, regards.
-- 
FFmpeg = Frenzy & Funny Meaningful Proud Elegant Gadget
-------------- next part --------------
A non-text attachment was scrubbed...
Name: improve-pass-docs-01.patch
Type: text/x-diff
Size: 681 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080812/e4f79fb0/attachment.patch>



More information about the ffmpeg-devel mailing list