FFmpeg loading tracker files - ffmpeg

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.

Related

How to build ffmpeg with vo-amrwbenc library?

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.

ffmpeg install on Solaris 11.3

I have archive software that uses ffmpeg on a Solaris server to generate previews during the archive process. I have installed ffmpeg on the Solaris server following the steps outlined here
It appears as though the package installs successfully but if I run 'ffmpeg' as root I receive '-bash: ffmpeg: command not found'. From what I understand, running this command is what needs to work for the archive software to be able to use ffmpeg. From a bit of research it looks like I either have to move the ffmpeg install location to somewhere else or define some path that points to the ffmpeg software. My Solaris knowledge is limited so I am not sure how to do either of those things. Could someone describe how to define the path or move the installed package to the correct location?
Thank you

How to install libfdk_aac for FFMPEG

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).

gcc is unable to create an executable file when installing FFmpeg

I'm trying to install FFmpeg directly from the source and I keep getting this error:
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user#ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
Can anyone help? Also, yum install ffmpeg doesn't work.
Apparently, with the limited information I have, you need to at least install gcc to compile ffmpeg. See How to Compile FFmpeg on CentOS for instructions. It is designed for CentOS, but should work for RHEL and Fedora.
Alternatively you can simply use a static build of ffmpeg instead of compiling, but it doesn't have the advantage of customization that compiling provides.
Note that Stack Overflow is limited to programming questions and discussions.

file required for ffmpeg portability

I'm making a python GUI app and using ffmpeg to encode files. I'm bundling ffmpeg with it, so I'm wondering what do I need to make it portable. Would it work with just the ffmpeg binary in my /opt/local/bin folder?
Whatever binaries you distribute with your application need to be compiled for each target platform you want them to run on.

Resources