Recently, the company is busy, its own director of the product is busy on-line, a long time has not updated the blog.
Recently, the product is making a WiFi camera, the camera and mobile phone simultaneously connected in a LAN, you can realize the camera image in the mobile phone display, and camera video and other functions
MJPEG is a picture of the transmission of a certain number of images per second, the screen will be a coherent movement. Therefore, memory consumption can be significant. And there may be fights between different threads.
The process of solving the problem is documented below
Image display:
1 Establish connection, receive MJPEG stream
2 Read only one shunt at a time and appear on the Mjpegview
Photo:
This is relatively simple, to get a frame image can be
Video:
1 Get a different number of pictures by the number of video frames saved locally
2 video conversion via FFMPEG to get video
Openwrt,mjpeg stream, WiFi camera and app linkage, photo, video