Web browsing remote network video, Web browsing network video
Platform: MINI2440
System: Linux-2.6.32.2
Development: Ubuntu
Camera: USB camera
Browser: Google Chrome
1.Compile mjpeg-stream:
Source code: http://download.csdn.net/detail/wu20093346/7848285
Decompress mjpg-streamer.zip and enter the mjpg-streamer Folder:
# Make CC = arm-linux-gcc
Generate an mjpeg-stream executable file.
Copy the mjpg-streamer folder to the board.
2.Set Network: Change the IP address 2440 to the same network segment as the current network.
① Modify/etc/eth0-setting: vi/etc/eth0-setting
② Restart Network:/etc/init. d/ifconfig-eth0 restart
3.Run the test: Run start_uvc.sh in the folder.
#./Start_uvc.sh
If the following error occurs:
Pixel format is unavailable, using JPEG
Shocould never arrive exit fatal !!
I: init_Videoln failed
After modifying the source code, compile and run the program. The modification is as follows:
Open plugins/input_uvc/v4l2uvc. c, delete the if statement from rows 167 to rows 173, and repeat the preceding steps.
4.Test webpage: depending on the actual situation
Enter http: // 172.20.21.93: 8080/stream_simple.html in Google browser to view the real-time video stream.
How to Establish a network video remote interactive conference website
You can ignore the task answer!
Why is the remote computer webpage video unavailable?
Check whether there is any anti-virus software supervision or firewall impact. There are also many reasons why videos cannot be watched because your computer does not have a player.
Yes. What are you doing? Let's talk about it.