SIPSorceryMedia.FFmpeg
No description available
Install / Use
/learn @sipsorcery-org/SIPSorceryMedia.FFmpegREADME
Repository Moved as of 21 Feb 2026
The repository has now been absorbed into the main SIPSorcery repository. Any iusses or pull requests should be raised there.
SIPSorceryMedia.FFmpeg
This project is an example of developing a C# library that can use features from FFmpeg native libraries and that inegrates with the SIPSorcery real-time communications library.
This project has been tested successfully on Windows, MacOs and Linux.
The classes in this project provide functions to:
- Video codecs: VP8, H264
- Audio codecs: PCMU (G711), PCMA (G711), G722, G729 and Opus
- Video input:
- using local file or remote using URI (like this)
- using camera
- using screen
- Audio input:
You can set any Video input (or none) with any Audio input (or none)
There is no Audio ouput in this library. For this you can use SIPSorcery.SDL2
Installing FFmpeg
For Windows
Install the FFmpeg binaries using the packages at https://www.gyan.dev/ffmpeg/builds/#release-builds and include the FFMPEG executable in your PATH to find them automatically.
As of 14 Jan 2024, the command below works on Windows 11 and installs the required FFmpeg binaries and libraries where they can be found by SIPSorceryMedia.FFmpeg:
winget install "FFmpeg (Shared)" --version 7.0
Another option is to get the binaries stored on the FFmpeg.AutoGen Github project.
For Linux
Install the FFmpeg binaries using the package manager for the distribution.
sudo apt install ffmpeg
For Mac
Install homebrew
brew install ffmpeg
brew install mono-libgdiplus
Testing
Test
- with FFmpegFileAndDevicesTest project
- or with the WebRTC Test Pattern demo
Related Skills
node-connect
335.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
335.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.5kCommit, push, and open a PR
