rtsp-streamsync icon indicating copy to clipboard operation
rtsp-streamsync copied to clipboard

error while decoding MB 59 36, bytestream -5

Open PhuongNDVN opened this issue 2 years ago • 2 comments

Hi, I getting with this issue. Though it does not stop my program but the program takes a time to capture the next frames normally when it happens. Please help me to fix this. Thank you. I use python API to synchronize frames. The code is:

cams = []
for idx, (ip, vid_path) in enumerate(zip(ip_addresses, vid_addresses)):
    cams.append({"source": vid_path,
        "calibration_parameters": "camera_calibration/calibration_parameters/0",
        "frame_width": self.cam_configs[ip]["orig_shape"][1],
        "frame_height": self.cam_configs[ip]["orig_shape"][0],
        "frame_rate": self.cam_configs[ip]["fps"]})

self.stream_synchronizer = StreamSynchronizer(cams)
while(True):
  frame_packet = self.stream_synchronizer.get_frame_packet()
  if not frame_packet:
      raise RuntimeError("Received invalid Frame Packet")

PhuongNDVN avatar Sep 05 '22 08:09 PhuongNDVN

I found this. I will try as they suggested https://stackoverflow.com/questions/49233433/opencv-read-errorh264-0x8f915e0-error-while-decoding-mb-53-20-bytestream

PhuongNDVN avatar Sep 06 '22 02:09 PhuongNDVN

Hey PhuongNDVN, as you found out already, it seems to me like a problem with OpenCV itself rather than the stream synchronizer. I also never encountered this issue before, so I don't really know a solution. I hope you can find a fix to this.

LukasBommes avatar Sep 07 '22 09:09 LukasBommes