Ask Your Question
0

h264 encode data -> socket -> opencv decode ??

asked 2020-01-21 03:12:13 -0500

When the data received through the socket is saved, it can be played normally.

Is there any way to play the received data frame by frame in real time?

encode one frame-> socket-> decode-> imshow

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2020-01-21 03:19:48 -0500

berak gravatar image

opencv has no means to encode single images to h264 or similar.

please use ffmpeg / gstreamer directly, not opencv for this.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-01-21 03:12:13 -0500

Seen: 546 times

Last updated: Jan 21 '20