tags: MacOS Debug Tips
Question
Recently, I wanted to download the live playback course in nailing with the tried and true method, but some errors suddenly appeared when executing ffmpeg
on the command line:
[1] 40344 killed ffmpeg
Solution:
This problem can be solved by compiling and installing from the source code through the following command
brew tap homebrew-ffmpeg/ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg
At this time, enter ffmpeg
in the terminal to get:
❯ ffmpeg
ffmpeg version 5.0 Copyright (c) 2000-2022 the FFmpeg developers
built with Apple clang version 13.1.6 (clang-1316.0.21.2)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/5.0-with-options_2 --enable-shared --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libaom --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-demuxer=dash --enable-opencl --enable-videotoolbox --enable-neon --disable-htmlpages
libavutil 57. 17.100/57. 17.100
libavcodec 59. 18.100/59. 18.100
libavformat 59. 16.100/59. 16.100
libavdevice 59. 4.100/59. 4.100
libavfilter 8. 24.100/ 8. 24.100
libswscale 6. 4.100/ 6. 4.100
libswresample 4. 3.100/ 4. 3.100
libpostproc 56. 3.100/56. 3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Read More:
- Methods of compiling and installing ffmpeg and libx264 in Linux
- Solution to “550 create directory operation failed” in FTP operation file
- Xcode ffmpeg Error:/clang:1:1: linker command failed with exit code 1 (use -v to see invocation)
- Ffmpeg (libx264) compiling for IOS
- [Solved] Docker ubuntu swoole fatal error: openssl/ssl.h: No such file or directory
- Error running app:Instant Run requires Tools | Android Enable ADB integration‘ to be enabled.
- error 1962:no operating system found.boot sequence will automatically repeat.
- When Linux installs redis, it executes make install and reports an error: Make: * * [server. O] error 1 (solved)
- Unable to boot : please use a kernel appropriate for your cpu
- Google Maps API error: DeletedApiProjectMapError
- Apple mach-o linker (ID) error resolution
- RabbitMQ Error: {:plugins_not_found:[xxxx]}
- C++:error C2228: left of ‘.str’ must have class/struct/union
- Idle line number setting and linenumbers modification
- Implementation of screen cleaning in Python idle
- Error condition on socket for Sync: connection reused
- Python idle add configuration shortcut (Ctrl + L)
- Rabbitmq reported an error installing the web interface plug-in
- When NPM install, make: G + +: command not found will be prompted
- Opencv2.4.9 + ffmpeg1.2.12 installation configuration and problem solution under Ubuntu 14.04