opencv 3.4.1 decoding error while get streaming from h264
I'm using visual studio 2015 for testing the code to get stream from rtsp, i have try to use capture.set(cv_cap_prop_frame_width); and capture.set(cv_cap_prop_frame_height ); however still getting the same error, the output size of the camera 1024*768 , bitrate 1000, encoder type h.264 base profile, encoder mode CBR. streaming rtsp://192.168.1.4//?h264/stream0 i'm running out of solution to fix this, anyone please help me. thank you
Here are the error list:
- error while decoding MB 14 16
- P sub_mb_type 16 out of range at 62 25
- left block unavailable for requested intra4x4 mode -1
- cbp too large <3199971767> at 29 25
- mb_type 84 in P slice too large at 11 45
- out of range intra chroma pred mode
- negative number of zero coeffs at 14 35
unfortunately, we usually can't help with this class of errors.
opencv is using 3rd party libs (ffmpeg, gstreamer, MFMF) for this, and those errors come straight from there.
thanks for your reply, it might have some way to solve this?