SkillAgentSearch skills...

AvCapture

Decoding h264 rtsp stream with libavformat

Install / Use

/learn @jas0n1ee/AvCapture
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated1y ago
Forks10

Languages

C++

Security Score

75/100

Audited on Jun 19, 2024

No findings