开发者

FFMPEG on windows (for H.264 RTSP decoding)

开发者 https://www.devze.com 2023-02-28 00:23 出处:网络
Has anyone used the latest FFMPEG version for decoding H.264 based RTSP stream on windows environment using OpenCV.

Has anyone used the latest FFMPEG version for decoding H.264 based RTSP stream on windows environment using OpenCV.

My problem is that I am able to successfully decode H.264 based RTSP stream on Linux successfully but when I use the same code to decode H.264 based RTSP stream on windows the output is pretty much pixelated. 开发者_如何学运维Can someone tell me as to why there is a difference in behaviour (is it due to version mismatch)? Also how do I find out which version of FFMPEG is being used by the OpenCV SDK 2.1.0 and 2.2.0 available for windows?

Awaiting your response. Thanks in advance.


I didn't know that you can decode RTPS stream using Opencv. I have decode RTSP stream using Direct show techmology, I'd recommend using Directshow platform due to low cpu consumption ,the video decoding is consumption mostly consumed by the graphic card.

Instead of you , I'll chose to decode the RTSP stream using DirectShow platform, First install direct show SDK , then install FFD show ,

I'd recommend using filters taken from elecard
(I didn't find any other implementation for RTSP source filter).

Use edit graph to watch your stream

Great tuturial I have found is this (Please read the continuation of this tuturial )

I'm not sure this would be the right answer for you , since I was using a totally different technology...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号