Error on windows: opus not found using pkg-config - windows

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?

Related

youtube_dl error ffprobe and ffmpeg not found

I've been using youtube_dl for a while now without any problems.
Since maybe around a week I am always getting the following error when trying to download something and don't know how to fix it:
ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install
one.
I am using it in a virtual python 3.8.10 environment with youtube_dl version 2021.12.17, ffmpeg version 1.4 and ffprobe version 0.5 displayed with "pip freeze" command.
The os is ubuntu server 20.04.5 LTS.
I already tried installing ffmpeg in multiple different ways (pip, apt install) and installing it on different "layers" (virtual env, normal user, root user) but nothing seemed to help.
For any tips / suggestions that might help I'd be really glad.

Open Video Downloader Error: Postprocessing: ffmpeg not found

Error Thrown:
ERROR: Postprocessing: ffmpeg not found. Please install or provide the path using --ffmpeg-location
Context: macOS Big Sur M1 Chip, using the open video downloader program GitHub release or Homebrew. This specifically was thrown at the end of downloading the video file and the audio file from a given URL. The two files remained separate as a result of the error, the video was playable normally, but audio was in a .webm format (unusable for most people).
Analysis: It is clear that a dependency is missing, or its path cannot be located. For macOS users like me, the first step after checking the app's preferences for a path set or dependency download function is to check for the given dependency in the system. Once checking using Homebrew, it became clear that several dependencies were missing.
Solution: Use a package manager like Homebrew to install the following in order of appearance below:
YouTube-dl
ffmpeg
For people that are new to Homebrew, you need to run these commands or your Terminal app:
brew install ffmpeg
brew install youtube-dl
If you are told that these packages exist then please update them using the upgrade command
brew upgrade youtube-dl
brew upgrade ffmpeg
In addition, the app may be installed, but not in the user's PATH env variable. Open a terminal shell as the user, and type
which ffmpeg . Make sure you get the expected answer.
Also note that Homebrew changed the location of ffmpeg. It used to be at /opt/homebrew/bin/ffmpeg
but they moved it to
/usr/local/bin/ffmpeg.

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.

How can I correctly install Bochs on OSX Sierra v10.13.4?

The path I took was using sh .conf.macos. After that, I tried sudo make and I get an error
../bochs.h:75:12: fatal error: 'types.h' file not found
#include <types.h>
using ./configure didn't help much because when I would make, I get a whole bunch of errors generated from carbon.cc. If I understand correctly, carbon.cc is deprecated but how do I deal with this?
I've tried this with both Bochs 2.6.8 and the latest SVN dated April 2, 2018.
I had similar problems while compiling bochs on MacOs. I saw lots of header not found problems. I tried with brew and it works.
Please use:
brew install bochs

ffplay is not getting compiled on 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.

Resources