简体   繁体   中英

How to get current frame of RTSP using C /C++language?

How to get current frame of RTSP using C /C++language?

I know there is many Python solution: Read Frames from RTSP Stream in Python

If we can not use command (such as ffmpeg..), just using c/c++ code.

I am try libvlc or openCV. How can I do? Thank you.

Use libvlc_video_set_callbacks() for libvlc 3.x.

There is another, faster, API in libvlc 4.x which uses the GPU.

Docs: https://www.videolan.org/developers/vlc/doc/doxygen/html/group__libvlc__media__player.html#ga612605f2e5c638d9f4ed59021d714bf0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM