Tiny210 port mjpeg-streamer

Source: Internet
Author: User

Tiny210 port mjpeg-streamer
1. libjpeg library Port 1. 1. Unzip src.v6b.tar.gz and go to its directory 1.2) Configure source code. /configure CC = arm-linux-gcc -- host = arm-linux -- prefix =/usr/local/jpeg -- enable-shared --
Enable-static (if an error is prompted, first./configure and then make clean before reconfiguration)
1.3) make compile source code

1.4) make install: there is no such text directory, so we can create it manually and then make install.
2. Port mjpegstreamer 2.1)to decompress mjpg-streamer-r136.tar.bz2 and go to its directory 2.2.) modify the source code to modify plugins/input_uvc/Makfile.
CFLAGS =-O2-DLINUX-D_GNU_SOURCE-Wall-shared-fPIC
For CF
LAGS =-O2-DLINUX-D_GNU_SOURCE-Wall-shared-fPIC-I/usr/local/jpeg/include Modification
$ (CC) $ (CFLAGS)-ljpeg-o $ @ input_uvc.c v4l2uvc. lo jpeg_utils.lo dynctrl. lo
Is $ (
CC) $ (CFLAGS)-ljpeg-L/usr/local/jpeg/lib-o $ @ input_uvc.c v4l2uvc. lo has _utils.lo dynctrl. lo Note:/usr/local/jpeg is the directory installed after the jpeg library is transplanted above 2.3) Compile make CC = arm-linux-gcc 2.4) compile the compiled mjpegstreamer and *. so copy ALL TO THE DEVELOPMENT BOARD
2.5) Run mw.streamer (Note:/dev/video3 is the device used when the camera is connected to the Development Board. Different Development Boards may not be the same)

2.6) Run vlc on the computer where the VLC is installed and enter http: // ip /? Action = stream to play.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.