ffplay is not getting compiled on Amazon EC2 - amazon-ec2

Asking this question as similar questions of stackoverflow didn't help me.
I wanted to install ffplay tool on my Amazon EC2 (Linux) instance. I have cloned the code from FFmpeg's official git repository.
executed ./configure and make. After these commands, there was no ffplay binary created. Only ffmpeg, ffprobe and ffserver binaries were generated.
Later tried with executing './configure --enable-ffplay' as suggested in few posts of web. Even this didn't work. Also i did not found any static binaries of ffplay which i could use for my testing
Can anyone suggest what was wrong with my build procedure ?

ffplay requires SDL2, so you need to install whatever package provides SDL.h (possibly SDL2-devel for RHEL based distros or libsdl2-dev for Debian based distors), or compile SDL2 if your distro does not provide it.
You won't need --enable-ffplay: that's only useful if you use --disable-tools or similar.

There is a similar issue here. But this could be used as reference.
Try these out:
Try installing SDL2 from RHEL or Debian distribution.
Try using --with-ffplay instead of --enable-ffplay as mentioned in the link above.

Related

How to Install FFMpeg on centos 6 in 2022?

a client of mine asked to add videos to their website, i decided to install FFMpeg on their server so whenever they upload a video, the service automatically generates the first frame for the preview and encodes them in webm.
Sadly it seems to be impossible to install without having to compile it myself (which i don't really want to do as i have never done it before and don't want to risk breaking something in their server),
The server is running cento6 but EVERY repository that provides the centos6 version of FFMpeg seem to use dependencies from dead hosts (they are offline and unreachable), every solution i find ends up with the same error like "Couldn't resolve host 'apt.sw.be'"
I've changed yam repositories, installed apt-get to try with that instead of yam, disabled and enable repos like nux that seem to be very outdated, even followed posts that were published/updated recently like this but they all keep ending up with the the same "Couldn't resolve host..." when installing decencies.
Is there any live and updated repo that provides a way to install FFMpeg for centos6 with yum or apt-get in 2022?
Thanks
EDIT
Following Romeo's tip about downloading the binaries, i managed to install it but in my case i needed a older 32 bit version to make it work (else i'd get Kernel too old):
$ wget https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.0.3-32bit-static.tar.xz
$ tar xvf ffmpeg-4.0.3-32bit-static.tar.xz
$ sudo mv ffmpeg-4.0.3-32bit-static/ffmpeg ffmpeg-4.0.3-32bit-static/ffprobe /usr/local/bin/
What you can do is to try to install statically build ffmpeg binary. This will help you not to search for contemporary package and update your CentOS.
You can try this version (64bit version).

Error on windows: opus not found using pkg-config

When I try to compile TelegramDesktop code as shown as instructions I have an error while I am installing FFMPEG.
When I run
bash --login ../patches/build_ffmpeg_win.shcommand
there is an error occured:
ERROR: opus not found using pkg-config 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 "ffbuild/config.log" produced by configure as this will help solve the problem.
There are some instructions how to install ffmpeg on ubuntu but can't find how to solve this on Windows 10?
Could anybody give me a hint?

FFMPEG 4.2.4, Python 3.9: "ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory"

I'm using ffmpeg 4.2.4 and Python 3.9
Currently getting error:
ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory
Tried the solutions from these links but they didn't work:
ffmpeg: error while loading shared libraries: libopenh264.so.5
Ffmpeg error in linux
If anyone has any idea how to fix it, or needs any more information, please let me know.
Edit: I've noticed that it's been over a year later since I created this post and it's still getting replies - I've created a gist explaining another way I overcame a similar issue
Basically, I uninstalled conda's version of ffmpeg (in the environment that's having issues) using conda uninstall ffmpeg --force and (for Ubuntu), update the system wide version (I think this is what it's called) with sudo apt install ffmpeg
Figured out you can conda update ffmpeg, even though you can't install it with conda...
Completely fixed the issue. Posting this incase someone else has the same problem.
Note: I got (the faulty) ffmpeg from downloading PyTorch with the command via the official site.
Like Wilan, my issue stemmed from getting ffmpeg with PyTorch. conda update ffmpeg did not work for me, but conda install -c conda-forge ffmpeg (specifying the conda-forge channel) fixed my issue.

Installation of ffmpeg and others on UWAMP

i try to install clip bucket for making a youtube clone site but the script ask to install ffmpeg and others compression tools on the server and i dont know how to do it .
Lots of online host dont allow those libs for free.
I use UWAMP but dont know how to install ffmpeg on UWAMP ...
Anyone know ?
It seems like you are using Windows, if yes then you can install FFMPEG using following link.
https://github.com/adaptlearning/adapt_authoring/wiki/Installing-FFmpeg
Yes, you need SSH access for install FFMPEG and other tool on server. Free web-hosting does allow you to install FFMPEG and other Libraries. You need Atleast VPS for this.

how to install ffmpeg in cpanel

I heard that most probably cpanel server dont have ffmpeg preconfigured in it. Can you explain a way to install it in cpanel.
Please if you can guide me through the installtion of ffmpeg in cpanel server in step by step process.
Can anyone please also give me links of other servers which have ffmpeg preconfigured and set to run.
This appears to be a reasonably comprehensive guide, but my knowledge of the situation isn't good personally. There are a few other tutorials but this would be good as a separate tutorial/perhaps wiki because it's quite a common question I hear asked by my hosting clients.
http://www.eukhost.com/forums/f15/how-install-ffmpeg-ffmpeg-php-mplayer-mencoder-flv2tool-lame-mp3-encoder-4893/
perhaps also
serverhostingsecrets.com/tutorials/cpanel-ffmpeg-howto/
If you have CentoOS, RedHat or fedorra, you can install it using yum.
First add the dag repo.
http://dag.wieers.com/rpm/FAQ.php#B
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
yum install ffmpeg ffmpeg-devel
Your can also install the mplayer and mencoder using yum from the dag repo
yum install mplayer mencoder

Resources