Web browsing Remote network video

Source: Internet
Author: User

Platform: MINI2440

System: Linux-2.6.32.2

Development: Ubuntu

Webcam: USB camera

Browser: Google Chrome


1. Compile Mjpeg-stream:

Source code: http://download.csdn.net/detail/wu20093346/7848285

Unzip the Mjpg-streamer.zip and go to the folder Mjpg-streamer:

# make CC=ARM-LINUX-GCC

To generate the Mjpeg-stream executable file.

Copy the Mjpg-streamer folder to the board

2. Set up the network: Change 2440 IP information to the same network segment as the current network

① modify/etc/eth0-setting:vi/etc/eth0-setting

② Restart the network:/etc/init.d/ Ifconfig-eth0 Restart

3. Run test: Run the start_uvc.sh

#/start_uvc.sh

In the folder if the following error occurs:

Pixel format is unavailable, using JPEG

Should never arrive exit fatal!!

I:init_videoln failed

Then compile the run attempt after modifying the source code, and modify the following:

Open PLUGINS/INPUT_UVC/V4L2UVC.C, delete the IF statement from rows 167 through 173, and repeat the steps above

4. Test Web page: The URL depends on the actual situation

Enter http://172.20.21.93:8080/stream_simple.html in Google Chrome to see real-time video streaming

Web browsing Remote network video

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.