NOTE: Depending on some factors the video won't be reproduced with enough frames per second. This example is mainly intended to illustrate networking with the board. If you want to stream with higher FPS try with a lower resolution video.

== Video capture ==

== Video capture ==

The previewer and resizer for video capture must be initialized by the user. In order to do that the application named ''IPIPE initializer'' must be installed on the target. On the configuration screen (''make config'') go to ''File System Configuration->Select target's file system software'' and select it.

The previewer and resizer for video capture must be initialized by the user. In order to do that the application named ''IPIPE initializer'' must be installed on the target. On the configuration screen (''make config'') go to ''File System Configuration->Select target's file system software'' and select it.

−

Once it is installed (it will be installed under /examples), the previewer and resizer can be initialized by typing:

+

Once it is installed, the previewer and resizer can be initialized by typing:

−

#ipipe_init -d 1

+

ipipe_init -d

The application has another options like white balance and brightness/contrast adjustment. You can explore them by using --help.

The application has another options like white balance and brightness/contrast adjustment. You can explore them by using --help.

You also can capture JPEG images from the camera module. You can use the initializer mentioned above in order to do that or just do it directly from the pipeline using the property ''chain-ipipe'' of the v4l2src element (this feature has been added in our last versions of the SDK) the following pipelines capture a JPEG image for VGA and 720P resolutions using the MT9P031 sensor.

NOTE: Depending on some factors the video won't be reproduced with enough frames per second. This example is mainly intended to illustrate networking with the board. If you want to stream with higher FPS try with a lower resolution video.

Video capture

The previewer and resizer for video capture must be initialized by the user. In order to do that the application named IPIPE initializer must be installed on the target. On the configuration screen (make config) go to File System Configuration->Select target's file system software and select it.

Once it is installed, the previewer and resizer can be initialized by typing:

ipipe_init -d

The application has another options like white balance and brightness/contrast adjustment. You can explore them by using --help.

NOTE: The initialization must be done before any video capture session.

Image capture

You also can capture JPEG images from the camera module. You can use the initializer mentioned above in order to do that or just do it directly from the pipeline using the property chain-ipipe of the v4l2src element (this feature has been added in our last versions of the SDK) the following pipelines capture a JPEG image for VGA and 720P resolutions using the MT9P031 sensor.