AvCapture
Decoding h264 rtsp stream with libavformat
Install / Use
/learn @jas0n1ee/AvCaptureREADME
AvCapture
I'm recently using OpenCV to do some video processing. And when dealing with some rtsp stream from a IP camera, I found the VideoCapture in OpenCV can't do it in tcp way and some time have a huge delay.
Then I turned into libavformat, which is part of ffmpeg.
To use AvCapture, you need install libavformat and OpenCV(as I'm using Mat to store video frames). I strongly suggest you install libx264 as well for h264 decoding. These dependency installation can either be done by some apt-get/yum/pacman/brew command or using a script provided in this project.
Some description
AvCapture will automatically create a thread to receive and decode the stream. This might give you extra diffculty to debug.
Related Skills
node-connect
340.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.2kCreate 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
340.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.2kCommit, push, and open a PR
