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
- Xcode ffmpeg Error:/clang:1:1: linker command failed with exit code 1 (use -v to see invocation)
- How to Solve Error: The emulator process for AVD was killed.
- Ffmpeg (libx264) compiling for IOS
- How to Solve MacOS Big Sur MySQL workbench flashback problem
- Vs2013 compiling ffmpeg
- How to Use ffmpeg to convert MP4 and other formats to MP3 format
- Opencv2.4.9 + ffmpeg1.2.12 installation configuration and problem solution under Ubuntu 14.04
- MacOS: How to start or stop Docker
- MacOS: How to Fix Intellij-IDEA main menu disappears Bug
- How to Solve Gbase 8A Troubleshooting (rhel7 start CGroup error)
- Solution to “550 create directory operation failed” in FTP operation file
- Conversion of audio file format with ffmpeg command
- AVD FFmpeg avcodec_ A solution of open2 returning – 1 (operation not permitted)
- Converting H264 bit stream to. MP4 format by ffmpeg
- Extract audio from ffmpeg video to mp3 format or m4a format command
- Homebrew reports an error after upgrading MacOS to Big Sur
- Solution of node canvas error reporting in MacOS M1 installation
- Vs2015 compiling ffmpeg source code
- Cmake compile opencv report error qtcore_ DIR QtOpenglDIR QtGui_ Dir ffmpeg loading failed