opencv 3.4.1 decoding error while get streaming from h264

asked 2018-07-04 21:40:44 -0500

whdt gravatar image

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:

  1. error while decoding MB 14 16
  2. P sub_mb_type 16 out of range at 62 25
  3. left block unavailable for requested intra4x4 mode -1
  4. cbp too large <3199971767> at 29 25
  5. mb_type 84 in P slice too large at 11 45
  6. out of range intra chroma pred mode
  7. negative number of zero coeffs at 14 35
edit retag flag offensive close merge delete

Comments

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.

berak gravatar imageberak ( 2018-07-05 01:02:45 -0500 )edit

thanks for your reply, it might have some way to solve this?

whdt gravatar imagewhdt ( 2018-07-24 01:20:15 -0500 )edit