1080p decoding problem

asked 2013-08-14 04:30:42 -0500

Snt gravatar image

I use cvCaptureFromFile in my project to connect to a camera by RTSP. This camera broadcasts a stream in 720p or 1080p.

I have no problems in 720p. But in 1080p my frame is never completely decoded. (See below)

What's the problem? Is it my implementation, or a problem with FFMPEG ?

image description

edit retag flag offensive close merge delete

Comments

1

A small suggestion, skip the C style API, and switch to the C++ API. Everything for handling video's is done using the VideoCapture interface. Can you see if the problem still persists?

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-14 04:33:15 -0500 )edit
1

Thank for your reply. I change cvCapture to VideoCapture and it's ok. But the connection with the camera is long, and after i have a big lag between reality and my screen. After a few minutes, the connection is lost.

Snt gravatar imageSnt ( 2013-08-14 08:52:37 -0500 )edit

I have no experience with that, will have to wait for others to jump in :)

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-14 14:37:36 -0500 )edit