tiny210 Transplant Mjpeg-streamer

Source: Internet
Author: User

1. Libjpeg Library Migration1.1) Unzip the jpegsrc.v6b.tar.gz and enter its directory1.2) Configure the source code./configure CC=ARM-LINUX-GCC--host=arm-linux--prefix=/usr/local/jpeg--enable-shared--
Enable-static (if prompted wrong, first./configure after make clean and then reconfigure)
1.3) Make compile source code

1.4) make install here to suggest that there is no that text directory, so we have to manually create, and then make the install.
2. Transplant Mjpegstreamer 2.1) Unzip mjpg-streamer-r136.tar.bz2 and enter its directory 2.2) modify the source code modification Plugins/input_uvc/makfile Modify
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 modifications
$ (CC) $ (CFLAGS)-ljpeg-o [email protected] input_uvc.c V4l2uvc.lo Jpeg_utils.lo Dynctrl.lo
Is $ (
CC) $ (CFLAGS)-ljpeg-l/usr/local/jpeg/lib-o [email protected] INPUT_UVC.C V4l2uvc.lo jpeg_utils.lo dynctrl.lo Note:/usr/local/jpegIs the directory that was installed after porting the JPEG Library 2.3) compile make CC=ARM-LINUX-GCC 2.4) copy all the compiled Mjpegstreamer and *.so under the source to the Development Board
2.5) Run Mjpegstreamer (note that the/DEV/VIDEO3 is the device when the camera is plugged into the development Board, not necessarily the same as the Development Board)

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




tiny210 porting Mjpeg-streamer

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.