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

Måns Rullgård mans
Sat Aug 9 17:27:57 CEST 2008


Diego Biurrun <diego at biurrun.de> writes:

> 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
>
>> + at example
>> +ffmpeg.exe -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
>> + at end example
>
> Do we have Windows examples anywhere else?

"ffmpeg ... -f null anything" works everywhere, and is faster.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list