opencv 3.2 (python 3.4.3) with usbcam + raspberry pi 3 -
i doing project related video streaming @ client (socket programming) , getting 2 errors:
error 1:
many people talked error, not able clear view error - programming legends me solve below error.
corrupt jpeg data: 1 extraneous bytes before marker 0xd0 corrupt jpeg data: 1 extraneous bytes before marker 0xd0 corrupt jpeg data: 2 extraneous bytes before marker 0xd0 corrupt jpeg data: 3 extraneous bytes before marker 0xd0 corrupt jpeg data: 1 extraneous bytes before marker 0xd2 corrupt jpeg data: 1 extraneous bytes before marker 0xd4 corrupt jpeg data: 1 extraneous bytes before marker 0xd0 corrupt jpeg data: 1 extraneous bytes before marker 0xd0 corrupt jpeg data: 1 extraneous bytes before marker 0xd1
even-though above error coming output good. why corrupt error comes , how solve , not affecting stream - why?
error 2:
what problem facing is, when run server after successful run, showing first run error (check picture link-provided). after error terminate server , re-run it work - repeat every time - why?
once server started, perfect , frame client transfer won't stop till terminate server, , server won't getting terminated when client presses ctrl+c, , can terminate client , re-run connect server many times want till server turned on without first run error.
i can that, once server running good, next run error. , after error, next run successful stream.
Comments
Post a Comment