I have downloaded ffmpeg using homebrew and want to add amr-wb encoder support to it,
DEA.L. amr_nb AMR-NB (Adaptive Multi-Rate NarrowBand) (decoders: amrnb amr_nb_at libopencore_amrnb ) (encoders: libopencore_amrnb )
D.A.L. amr_wb AMR-WB (Adaptive Multi-Rate WideBand) (decoders: amrwb libopencore_amrwb )
I downloaded vo-amrbenc following the instruction here but don't understand where should I explicitly configure the build with --enable-libopencore-amrwb?
(https://ffmpeg.org/ffmpeg-codecs.html#Encoders)
A dumb question is that, I didn't find ./configure file under /usr/local/Cellar/ directory. I am really not an engineer and not familiar with the build and compile thing so any guidance would be really appreciated!
You can just download an already compiled ffmpeg. It has --enable-libvo-amrwbenc for AMR-WB encoding. Put it in /usr/local/bin.
The ffmpeg build script in Homebrew does not currently appear to support libvo-amrwbenc. If you want to compile using Homebrew you will have to edit the Homebrew script (I guess...I've never used Homebrew). If you want to compile without using Homebrew first install libvo-amrwbenc (or whatever provides vo-amrwbenc/enc_if.h) then use --enable-libvo-amrwbenc when configuring ffmpeg. See FFmpeg Wiki: macOS for additional information on Homebrew and compiling.
Opus audio is worth mentioning. It is a modern, flexible, free, open source format offering better quality than AMR in all but the lowest of bitrates.
Related
I have installed ffmpeg using yum install in my centos.Now i want to recompile it with 'libmp3lame'.Is possible a recompilation of the installed ffmpeg or i want to remove ffmpeg and reinstall.
suggestion is highly appreciable.
Unlike AAC and some other audio formats, FFmpeg does not have a native MP3 encoder, so you have to use a supported external encoding library such as libmp3lame. You have several options if your ffmpeg is not configured with --enable-libmp3lame:
Download an already compiled binary
Download ffmpeg for Linux. This is an already compiled binary. This is the easiest solution.
See the FFmpeg Download page for links to Windows and OS X builds.
Compile ffmpeg
Follow a non-invasive step-by-step guide to Compile FFmpeg on CentOS. If you can copy and paste you can compile.
Pipe to lame
ffmpeg -i input -f wav - | lame - output.mp3
I do not consider this to be a practical solution but it may be useful to some.
Use a different format
If you don't require MP3 you can use AAC or some other audio format that has native encoding support.
So, after poking around a bit, I discovered that ffmpeg may have the ability to load tracker files (like *.mod, *.xm *.it *s3m et cetera) via the power of libopenmpt.
The question is, how do I do this if it's possible?
Look for a ffmpeg binary that has support for libopenmpt, or the older but buggier libmodplug; refer to the FFmpeg Download page for links. Otherwise, you'll have to compile it.
Get the ffmpeg source code.
Install libopenmpt.
Install any other needed dependencies.
Compile ffmpeg ensuring you include --enable-libopenmpt when you run configure.
You did not include any information about your system, so you'll have to adapt one of the guides at FFmpeg Wiki: Compile.
configure failed
I want to use libx264 codec with ffmpeg.
when i tried to convert image files to a video using the codec, a message appears said Unknown encoder "libx264". so I tried to execute configure and make again at msys folder. I typed ./configure --enable-libx264 and it failed. :(
my ffmpeg version is 3.0.1 and x264 is also the latest version so far.
It is possible that you don't have the x264 libraries for compiling on your machine.
The last time I compiled FFMpeg I downloaded and compiled x264 also along with it to ensure I had the libraries installed.
http://www.videolan.org/developers/x264.html
It may also interest you to enable OpenH264 by Cisco.
http://www.openh264.org/
While compiling ffmpeg it's showing Unknown encoder libfdk_aac error.
Can anyone explain how I can install libfdk_aac for my FFMPEG?
I am using centos 6.
libfdk_aac is considered non-free and therefore non-redistributable, so you should find no builds with support for this encoder. Therefore, you must compile.
The FFmpeg Wiki has a compile guide with step-by-step instructions for CentOS. The resulting ffmpeg binary will support libfdk_aac:
FFmpeg Wiki: Compile FFmpeg on CentOS
Note that this guide performs a "local installation" into the ~/bin directory of the user following the guide: this is to avoid conflicts with the package management system, system files, and repository packages. Also, it allows a non-superuser to compile, such as on a shared server (assuming the build dependencies, like make, are available). This works fine for most users, but depending on your needs you may have to move the binary somewhere else in your PATH environment variable.
Alternatively, you could just use a different AAC encoder. Feed it enough bits and you'll do fine.
Generally, "link-only" answers are discouraged, but I'm going to make an exception in this case. I am hesitant to copy and paste the content from the link because of the size of the guide and the likely chance that the answer will become outdated as the guide is updated (such as what happens to the many rotting copycat compile guides).
I have installed ffmpeg using yum install in my centos.Now i want to recompile it with 'libmp3lame'.Is possible a recompilation of the installed ffmpeg or i want to remove ffmpeg and reinstall.
suggestion is highly appreciable.
Unlike AAC and some other audio formats, FFmpeg does not have a native MP3 encoder, so you have to use a supported external encoding library such as libmp3lame. You have several options if your ffmpeg is not configured with --enable-libmp3lame:
Download an already compiled binary
Download ffmpeg for Linux. This is an already compiled binary. This is the easiest solution.
See the FFmpeg Download page for links to Windows and OS X builds.
Compile ffmpeg
Follow a non-invasive step-by-step guide to Compile FFmpeg on CentOS. If you can copy and paste you can compile.
Pipe to lame
ffmpeg -i input -f wav - | lame - output.mp3
I do not consider this to be a practical solution but it may be useful to some.
Use a different format
If you don't require MP3 you can use AAC or some other audio format that has native encoding support.