2

Using a lot the ffmpeg program, I want to configure ffmpeg on linux so that it always hides banner (option -hide_banner) to reduce text output. I cannot seem to find anything that would tell me where this file should be and how it should be named so that ffmpeg will look at it every time it is run.

  • 3
    Why not create an alias? e,g, alias ffnb="ffmpeg -hide_banner" Search on SU for how to make it permanent. – Gyan Jan 14 '17 at 17:42
  • yes, this seems like a smart workaround. i put my aliases in ~/.bash_aliases - which is by default sourced by ~/.bashrc – Luka Jan 15 '17 at 0:44
0

No, ffmpeg does not use a configuration file post-install.

lots of ways to build ffmpeg, but generally you have to configure everything before install.

for example, with brew (macOS package manager) you have to edit the following file to supply your --enable or --disable args BEFORE INSTALLING.

/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ffmpeg.rb

if you didn't get your args in on your original install, then you need to uninstall and re-install again with your desired options and args.

also: instead of supplying your options (--with-webp for example) from the CLI during install, you can write them in ffmpeg.rb.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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