Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I went through the documentation but couldn't find a solution. I'm hoping there is some kind of argument that will tell FFmpeg to not show the output in the console.

The output that I'm referring to is in the screenshot given below

enter image description here

share|improve this question
    
Have you tried using simple command-line redirection like ffmpeg args >NUL? Although that may be a problem if it's waiting for input from the console... – martineau Feb 21 '13 at 14:32

There are two possibilities to either vastly reduce the amount of output, or redirect it to somewhere else.

  1. From ffmpeg manual: Run ffmpeg with the -loglevel quiet option.

  2. Do what @martineau said and redirect it to a null file descriptor. FFmpeg outputs to stderr by default, so in Windows you'd do ffmpeg ... 2>NUL; on Cygwin or Linux/OS X/BSD, you'd do ffmpeg ... 2> /dev/null.

share|improve this answer
4  
ffmpeg sends all of its text to stderr, so you need to use ffmpeg ... 2> /dev/null or ffmpeg ... 2>NUL – evilsoup Feb 21 '13 at 15:53

As per the other answer, -loglevel quiet supresses everything. But, sometimes it's useful to retain some output. Here are some other options:

  • You can suppress report printing (the lines beginning with frame= that are output every few frames) by adding the -nostats option to your command line.

  • You can suppress the banner (copyright notice, libraries, etc) by adding the -hide_banner option to your command line.

There are other options, see the documentation for details.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.