Home > OS >  Tiny6410 development board to achieve MJPG - the streamer (start_uvc. Sh) since the launch of boot p
Tiny6410 development board to achieve MJPG - the streamer (start_uvc. Sh) since the launch of boot p

Time:10-18

This experiment is to use the kind of arm tiny6410 development board, implementations of MJPG - the streamer (start_uvc. Sh) boot from the start, first need to guarantee the development board MJPG - before you start the streamer has success of transplantation, and unpack it to MJPG - the streamer directory (also can be other directories, according to their own situation to decide) since the launch of implementation steps are as follows:
Step 1: write a script, called qt4, content is as follows:
#!/bin/sh

. Setqt4env

Export HOME=/root

CD/MJPG - the streamer//into the directory (can be any directory)
./start_uvc. Sh & amp;//run start_uvc. Sh, start the service
CD/tiny6410//into his writing qt4 procedures directory
The./system - QWS o//boot start writing your own program
Hotplug
(if you use a friendly arm of the original system, under the bin directory will have this file, it is good to just slightly modified)
Edit after put it in a bin directory,
Since the launch of the second step: modify the file/etc/init. D/rcS, the file last/bin/qtopia & amp; Modified to/bin/qt4 & amp; Can,
Restart the development board can see the following output:
MJPG Streamer Version. : 2.0
I: Using V4L2 device. :/dev/are
I: Desired Resolution: 640 x 480
I: Frames Per Second. : 5
I: the Format... : YUYV
I: JPEG Quality... : 80
O: WWW folder - path... :/WWW/
O: HTTP, TCP port... : 8080
O: username: password: disabled
O: commands... : enabled
Show success,
In addition, before seen another version on the net, the url is as follows: http://blog.sina.com.cn/s/blog_43bce9bb0100q4pn.html, but after their test is not successful, after his research found this method, hoping to help more people,
  • Related