Building a servfox video server on fs2410

Source: Internet
Author: User

Build a servfox video server on fs2410

 

[Compiling environment]Ubuntu 8.10 + VMware + Windows XP

[Target machine]Fs2410

[Cross compiler]Arm-softfloat-Linux-GNU-gcc

 

1. Ensure that the USB and cs8900a work properly, the network communication between the target board and the host is normal, and the camera driver compatible with SPCA works properly.

See another article about camera driver porting: http://blog.csdn.net/boat_man/archive/2011/01/09/6125384.aspx.

 

2. Download from the networkServfox-R1_1_3.tar.gz
, Decompress the package and go to the findMakefile. Arm
, Change itMakefile
You can also modify the makefile to replace the cross-compiler with what you need (for example, my arm-softfloat-Linux-GNU-GCC ).

 

3. Make will generateServfox
File, copy it to the target board.

 

4. IfNo/dev/video0
Create a device file:Mknod/dev/video0 C 81 0
.

 

5../Servfox-D/dev/video0-g-s 640x480-W 7070
Run it. It is displayed normally:

 

Servfox version: 1.1.3 date: (c) mxhaard@magic.fr
Waiting... for connection. ctrl_c to stop !!!!

Show: servfox version: 1.1.3 date: (c) mxhaard@magic.fr when abnormal
Error opening v4l Interface

 

6. Download from the networkSpcaview-20061208.tar.gz
, Decompress the package and go to make. If an SDL error occurs, check the next step.

7. Download To http://www.libsdl.org/download-1.2.phpSDL-1.2.14.tar.gz
Source code package, run the./configure file, compile the file make, install the file make install, and redo make in step 1.

8../Spcaview-g-W 192.168.2.100
(IP address of my target board). If an error occurs:Cocould not initialize SDL: no available video device
, Startx switch to XWindow and then run it.

 

9. The console of the target machine displays:Got connection from 192.168.2.223
(The IP address of my Ubuntu virtual machine ).

 

10. You can see the video of the USB camera uploaded from the target board in Ubuntu! So happy!

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.