<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.lindeni.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ardon</id>
		<title>Lindenis Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.lindeni.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ardon"/>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php/Special:Contributions/Ardon"/>
		<updated>2026-05-03T00:30:41Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Setup&amp;diff=536</id>
		<title>Linbian Setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Setup&amp;diff=536"/>
				<updated>2019-05-29T01:56:02Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Download the image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbain安装]]&lt;br /&gt;
== What you Need ==&lt;br /&gt;
&lt;br /&gt;
You will need the following to get started with using your Lindenis V5 board:&lt;br /&gt;
* Windows / Linux PC or MAC with a SD Card Reader connected to the Internet.&lt;br /&gt;
* Power Supply (PSU) and a micro usb cable. Please make sure to use a PSU rated at +5V@2A.&lt;br /&gt;
* MicroSD card (4GB or higher capacity) rated 'class 10' or better.&lt;br /&gt;
* Camera module (recommended).&lt;br /&gt;
* HDMI cable (optional).&lt;br /&gt;
* Network Cable connected to the Internet (optional).&lt;br /&gt;
* Input device(s) such as: keyboard, mouse, etc.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
=== Download the image ===&lt;br /&gt;
&lt;br /&gt;
Download the image from [ftp://13.57.226.143/images/ FTP server] with user 'ftp' (password: lindeni).&lt;br /&gt;
&amp;lt;br&amp;gt;For China mainland users, you can also download the images from '''[https://pan.baidu.com/s/1iU08tr5TMzQzyNSSwBaM1Q Baidu Netdisk]'''. The key code is &amp;quot;vcss&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note that there are two type images here. Make sure you download the right one.&lt;br /&gt;
* For-SDCard: the image can be written to the SD card&lt;br /&gt;
* For-eMMC: the image can be written to the eMMC (you should purchase a eMMC module firstly)&lt;br /&gt;
&lt;br /&gt;
=== Writing an image to the SD card ===&lt;br /&gt;
&lt;br /&gt;
Writing the image to MicroSD Card by Etcher is recommended.&lt;br /&gt;
* Using a computer with an MicroSD Card reader.&lt;br /&gt;
* Visit [https://etcher.io/ etcher.io] and download and install the Etcher SD card image utility.&lt;br /&gt;
* Run Etcher and select the image you downloaded.&lt;br /&gt;
* Select the SD card drive. Note that the software may have already selected the right drive.&lt;br /&gt;
* Finally, click '''Flash''' to transfer the image to the MicroSD Card. You'll see a progress bar that tells you how much is left to do. Once complete, the utility will automatically eject/unmount the SD card so it's safe to remove it from the computer.&lt;br /&gt;
&lt;br /&gt;
[[File:Etcher.gif|none]]&lt;br /&gt;
&lt;br /&gt;
Now that you have an operating system. You can slot your SD card into your SBC and connect the power. Then you will boot directly to the desktop environment.&lt;br /&gt;
&lt;br /&gt;
=== [[Writing an image to the eMMC]] ===&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=526</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=526"/>
				<updated>2019-02-01T03:41:47Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Allwinner official documents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW_MPP_IPC_Media_Processing_Software_Development_Reference.pdf English version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''There is a instruction name readme.txt in every sample, you should read the document first when you running the sample'''&lt;br /&gt;
&lt;br /&gt;
'''And then you can know how to config the sample, some sample needed be configured,maybe config file is sample_xxx.conf.'''&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp1.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*You can see that the two remote device can get the data at the same time&lt;br /&gt;
&lt;br /&gt;
*There are two output data channel, you can get 720p from channel0 and 4K data from channel1&lt;br /&gt;
&lt;br /&gt;
*Tt also can be viewed by mobile phone, a simple IPC mode.&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Two ISP can work at the same time&lt;br /&gt;
&lt;br /&gt;
*And each one can send 4K 30fps data out when you preview the picture&lt;br /&gt;
&lt;br /&gt;
*Device can support 4K 15fps encode when two ISP work at the same time&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Support face detect which the data source minmum pixels is 20&lt;br /&gt;
&lt;br /&gt;
*Support face detection and tracing at the same time, the maximum number is 16&lt;br /&gt;
&lt;br /&gt;
*The maximum detect face number is 128&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== OpenCV ===&lt;br /&gt;
&lt;br /&gt;
sample_virvi2opencv2vo&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
OpenCV version 4.0.1&amp;lt;br&amp;gt;&lt;br /&gt;
This is a simple sample for motion detection via opencv. &amp;lt;br&amp;gt;&lt;br /&gt;
When running this sample, if the picture captured by the camera is still, it will be black screen. If there is a moving object, the outline of the moving object will be displayed. When the mean difference of the real-time image frame difference is greater than the sensitivity value, the following printing appears, indicating that there is a significant change in the image or something is moving.&lt;br /&gt;
&lt;br /&gt;
Something is moving! mean_diff:10&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:70&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:94&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:120&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:362&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:34&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:30&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
sample_virvi2opencv2vo&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2opencv2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2opencv2vo -path ./sample_virvi2opencv2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can change the conf in the sample_virvi2opencv2vo.conf&lt;br /&gt;
# auto_test_count : test times&lt;br /&gt;
# get_frame_count : number of frame in one time test&lt;br /&gt;
# dev number: video node&lt;br /&gt;
# src_width * src_height:720p/1080p;&lt;br /&gt;
# src_frame_rate: 25&lt;br /&gt;
# pic_format is nv21&lt;br /&gt;
# enable_disp_color: 0 disable, 1 enable&lt;br /&gt;
# moving_detect_sensitivity &amp;gt;=1 , 1 is most sensitive&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Black Screen.jpg|thumb|left]]&lt;br /&gt;
[[File:Something is moving.jpg|thumb|left]]&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=525</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=525"/>
				<updated>2019-02-01T03:40:14Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Allwinner official documents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW_MPP_IPC_Media_Processing_Software_Development_Reference.pdf English version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''There is a instruction name readme.txt in every sample, you should read the document first when you running the sample'''&lt;br /&gt;
&lt;br /&gt;
'''And then you can know how to config the sample, some sample needed be configured,maybe config file is sample_xxx.conf.'''&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp1.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*You can see that the two remote device can get the data at the same time&lt;br /&gt;
&lt;br /&gt;
*There are two output data channel, you can get 720p from channel0 and 4K data from channel1&lt;br /&gt;
&lt;br /&gt;
*Tt also can be viewed by mobile phone, a simple IPC mode.&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Two ISP can work at the same time&lt;br /&gt;
&lt;br /&gt;
*And each one can send 4K 30fps data out when you preview the picture&lt;br /&gt;
&lt;br /&gt;
*Device can support 4K 15fps encode when two ISP work at the same time&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Support face detect which the data source minmum pixels is 20&lt;br /&gt;
&lt;br /&gt;
*Support face detection and tracing at the same time, the maximum number is 16&lt;br /&gt;
&lt;br /&gt;
*The maximum detect face number is 128&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== OpenCV ===&lt;br /&gt;
&lt;br /&gt;
sample_virvi2opencv2vo&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
OpenCV version 4.0.1&amp;lt;br&amp;gt;&lt;br /&gt;
This is a simple sample for motion detection via opencv. &amp;lt;br&amp;gt;&lt;br /&gt;
When running this sample, if the picture captured by the camera is still, it will be black screen. If there is a moving object, the outline of the moving object will be displayed. When the mean difference of the real-time image frame difference is greater than the sensitivity value, the following printing appears, indicating that there is a significant change in the image or something is moving.&lt;br /&gt;
&lt;br /&gt;
Something is moving! mean_diff:10&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:70&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:94&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:120&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:362&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:34&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:30&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
sample_virvi2opencv2vo&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2opencv2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2opencv2vo -path ./sample_virvi2opencv2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can change the conf in the sample_virvi2opencv2vo.conf&lt;br /&gt;
# auto_test_count : test times&lt;br /&gt;
# get_frame_count : number of frame in one time test&lt;br /&gt;
# dev number: video node&lt;br /&gt;
# src_width * src_height:720p/1080p;&lt;br /&gt;
# src_frame_rate: 25&lt;br /&gt;
# pic_format is nv21&lt;br /&gt;
# enable_disp_color: 0 disable, 1 enable&lt;br /&gt;
# moving_detect_sensitivity &amp;gt;=1 , 1 is most sensitive&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Black Screen.jpg|thumb|left]]&lt;br /&gt;
[[File:Something is moving.jpg|thumb|left]]&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=524</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=524"/>
				<updated>2019-02-01T03:20:28Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''There is a instruction name readme.txt in every sample, you should read the document first when you running the sample'''&lt;br /&gt;
&lt;br /&gt;
'''And then you can know how to config the sample, some sample needed be configured,maybe config file is sample_xxx.conf.'''&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp1.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*You can see that the two remote device can get the data at the same time&lt;br /&gt;
&lt;br /&gt;
*There are two output data channel, you can get 720p from channel0 and 4K data from channel1&lt;br /&gt;
&lt;br /&gt;
*Tt also can be viewed by mobile phone, a simple IPC mode.&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Two ISP can work at the same time&lt;br /&gt;
&lt;br /&gt;
*And each one can send 4K 30fps data out when you preview the picture&lt;br /&gt;
&lt;br /&gt;
*Device can support 4K 15fps encode when two ISP work at the same time&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Support face detect which the data source minmum pixels is 20&lt;br /&gt;
&lt;br /&gt;
*Support face detection and tracing at the same time, the maximum number is 16&lt;br /&gt;
&lt;br /&gt;
*The maximum detect face number is 128&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== OpenCV ===&lt;br /&gt;
&lt;br /&gt;
sample_virvi2opencv2vo&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
OpenCV version 4.0.1&amp;lt;br&amp;gt;&lt;br /&gt;
This is a simple sample for motion detection via opencv. &amp;lt;br&amp;gt;&lt;br /&gt;
When running this sample, if the picture captured by the camera is still, it will be black screen. If there is a moving object, the outline of the moving object will be displayed. When the mean difference of the real-time image frame difference is greater than the sensitivity value, the following printing appears, indicating that there is a significant change in the image or something is moving.&lt;br /&gt;
&lt;br /&gt;
Something is moving! mean_diff:10&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:70&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:94&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:120&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:362&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:34&amp;lt;br&amp;gt;&lt;br /&gt;
Something is moving! mean_diff:30&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
sample_virvi2opencv2vo&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Build ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2opencv2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2opencv2vo -path ./sample_virvi2opencv2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can change the conf in the sample_virvi2opencv2vo.conf&lt;br /&gt;
# auto_test_count : test times&lt;br /&gt;
# get_frame_count : number of frame in one time test&lt;br /&gt;
# dev number: video node&lt;br /&gt;
# src_width * src_height:720p/1080p;&lt;br /&gt;
# src_frame_rate: 25&lt;br /&gt;
# pic_format is nv21&lt;br /&gt;
# enable_disp_color: 0 disable, 1 enable&lt;br /&gt;
# moving_detect_sensitivity &amp;gt;=1 , 1 is most sensitive&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Black Screen.jpg|thumb|left]]&lt;br /&gt;
[[File:Something is moving.jpg|thumb|left]]&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=FAQ&amp;diff=523</id>
		<title>FAQ</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=FAQ&amp;diff=523"/>
				<updated>2019-02-01T02:59:57Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Getting Start */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting Start ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | '''We have released the documents that you need''' &lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Getting start || Setup || http://wiki.lindeni.org/index.php/Main_Page#Hardware_Guide&lt;br /&gt;
|-&lt;br /&gt;
| Firmware download || http://wiki.lindeni.org/index.php/Main_Page#Download_the_image&lt;br /&gt;
|-&lt;br /&gt;
| Power on || http://wiki.lindeni.org/index.php/Main_Page#Power_on_the_SBC&lt;br /&gt;
|-&lt;br /&gt;
| SDK download || http://wiki.lindeni.org/index.php/SDK_Download_and_Build#Downloading&lt;br /&gt;
|-&lt;br /&gt;
| SDK build || http://wiki.lindeni.org/index.php/SDK_Download_and_Build#Building&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | V5 dev board || Feature of board || http://wiki.lindeni.org/index.php/Lindenis_V5#Key_Features&lt;br /&gt;
|-&lt;br /&gt;
| Board spec || http://wiki.lindeni.org/index.php/Lindenis_V5#Hardware_Specification&lt;br /&gt;
|-&lt;br /&gt;
| Accessory introduction || http://wiki.lindeni.org/index.php/Accessories&lt;br /&gt;
|-&lt;br /&gt;
| Component spec || http://wiki.lindeni.org/index.php/Lindenis_V5#Datasheet&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | OS || Sytem introduction || http://wiki.lindeni.org/index.php/Linbian_Overview&lt;br /&gt;
|-&lt;br /&gt;
| Function config || http://wiki.lindeni.org/index.php/Linbian_Configuration&lt;br /&gt;
|-&lt;br /&gt;
| Gstreamer || http://wiki.lindeni.org/index.php/Linbian_Usage_Guide#Gstreamer&lt;br /&gt;
|-&lt;br /&gt;
| Camera || http://wiki.lindeni.org/index.php/Linbian_Usage_Guide#Camera_Module&lt;br /&gt;
|-&lt;br /&gt;
| MPP view || http://wiki.lindeni.org/index.php/Linbian_Usage_Guide#MPP&lt;br /&gt;
|-&lt;br /&gt;
| MPP Sample || http://wiki.lindeni.org/index.php/Linbian_Usage_Guide#Demo_programs&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Typical app || Rtsp || http://wiki.lindeni.org/index.php/Linbian_Usage_Guide#RTSP&lt;br /&gt;
|-&lt;br /&gt;
| Dual camera || http://wiki.lindeni.org/index.php/Linbian_Usage_Guide#Dual_Camera&lt;br /&gt;
|-&lt;br /&gt;
| Face detect || http://wiki.lindeni.org/index.php/Linbian_Usage_Guide#Face_detection&lt;br /&gt;
|-&lt;br /&gt;
| OpenCV || http://wiki.lindeni.org/index.php/Linbian_Usage_Guide#OpenCV&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | '''Support from Allwinnertech'''&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Doc from AW	|| http://files.lindeni.org/lindenis-v5/documents/&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; |&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | '''You can get more information from the offical platform'''&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Wiki || http://wiki.lindeni.org/index.php&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Forum || http://forum.lindeni.org&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Ts Email || services@lindeni.com&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; |&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | '''Electronic store of Lindenis'''&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Taobao || https://shop581648038.taobao.com&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Aliexpress || https://www.aliexpress.com/store/4504082&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=506</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=506"/>
				<updated>2019-01-29T09:23:46Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Test result */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''There is a instruction name readme.txt in every sample, you should read the document first when you running the sample'''&lt;br /&gt;
&lt;br /&gt;
'''And then you can know how to config the sample, some sample needed be configured,maybe config file is sample_xxx.conf.'''&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp1.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*You can see that the two remote device can get the data at the same time&lt;br /&gt;
&lt;br /&gt;
*There are two output data channel, you can get 720p from channel0 and 4K data from channel1&lt;br /&gt;
&lt;br /&gt;
*Tt also can be viewed by mobile phone, a simple IPC mode.&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Two ISP can work at the same time&lt;br /&gt;
&lt;br /&gt;
*And each one can send 4K 30fps data out when you preview the picture&lt;br /&gt;
&lt;br /&gt;
*Device can support 4K 15fps encode when two ISP work at the same time&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Support face detect which the data source minmum pixels is 20&lt;br /&gt;
&lt;br /&gt;
*Support face detection and tracing at the same time, the maximum number is 16&lt;br /&gt;
&lt;br /&gt;
*The maximum detect face number is 128&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=File:Rtsp1.jpg&amp;diff=505</id>
		<title>File:Rtsp1.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=File:Rtsp1.jpg&amp;diff=505"/>
				<updated>2019-01-29T09:23:12Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;rtsp test result&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=479</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=479"/>
				<updated>2019-01-23T07:46:37Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Dual Camera view */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''There is a instruction name readme.txt in every sample, you should read the document first when you running the sample'''&lt;br /&gt;
&lt;br /&gt;
'''And then you can know how to config the sample, some sample needed be configured,maybe config file is sample_xxx.conf.'''&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
*You can see that the two remote device can get the data at the same time&lt;br /&gt;
&lt;br /&gt;
*There are two output data channel, you can get 720p from channel0 and 4K data from channel1&lt;br /&gt;
&lt;br /&gt;
*Tt also can be viewed by mobile phone, a simple IPC mode.&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Two ISP can work at the same time&lt;br /&gt;
&lt;br /&gt;
*And each one can send 4K 30fps data out when you preview the picture&lt;br /&gt;
&lt;br /&gt;
*Device can support 4K 15fps encode when two ISP work at the same time&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Support face detect which the data source minmum pixels is 20&lt;br /&gt;
&lt;br /&gt;
*Support face detection and tracing at the same time, the maximum number is 16&lt;br /&gt;
&lt;br /&gt;
*The maximum detect face number is 128&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=478</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=478"/>
				<updated>2019-01-23T07:45:29Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Test result */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''There is a instruction name readme.txt in every sample, you should read the document first when you running the sample'''&lt;br /&gt;
&lt;br /&gt;
'''And then you can know how to config the sample, some sample needed be configured,maybe config file is sample_xxx.conf.'''&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
*You can see that the two remote device can get the data at the same time&lt;br /&gt;
&lt;br /&gt;
*There are two output data channel, you can get 720p from channel0 and 4K data from channel1&lt;br /&gt;
&lt;br /&gt;
*Tt also can be viewed by mobile phone, a simple IPC mode.&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera view ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Two ISP can work at the same time&lt;br /&gt;
&lt;br /&gt;
*And each one can send 4K 30fps data out when you preview the picture&lt;br /&gt;
&lt;br /&gt;
*Device can support 4K 15fps encode when two ISP work at the same time&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Support face detect which the data source minmum pixels is 20&lt;br /&gt;
&lt;br /&gt;
*Support face detection and tracing at the same time, the maximum number is 16&lt;br /&gt;
&lt;br /&gt;
*The maximum detect face number is 128&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=477</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=477"/>
				<updated>2019-01-23T07:33:31Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Test result */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''There is a instruction name readme.txt in every sample, you should read the document first when you running the sample'''&lt;br /&gt;
&lt;br /&gt;
'''And then you can know how to config the sample, some sample needed be configured,maybe config file is sample_xxx.conf.'''&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
*You can see that the two remote device can get the data at the same time&lt;br /&gt;
&lt;br /&gt;
*There are two output data channel, you can get 720p from channel0 and 4K data from channel1&lt;br /&gt;
&lt;br /&gt;
*Tt also can be viewed by mobile phone, a simple IPC mode.&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera view ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Two ISP can work at the same time&lt;br /&gt;
&lt;br /&gt;
*And each one can send 4K 30fps data out when you preview the picture&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Support face detect which the data source minmum pixels is 20&lt;br /&gt;
&lt;br /&gt;
*Support face detection and tracing at the same time, the maximum number is 16&lt;br /&gt;
&lt;br /&gt;
*The maximum detect face number is 128&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=476</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=476"/>
				<updated>2019-01-23T07:23:07Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Test result */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''There is a instruction name readme.txt in every sample, you should read the document first when you running the sample'''&lt;br /&gt;
&lt;br /&gt;
'''And then you can know how to config the sample, some sample needed be configured,maybe config file is sample_xxx.conf.'''&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
*You can see that the two remote device can get the data at the same time&lt;br /&gt;
&lt;br /&gt;
*There are two output data channel, you can get 720p from channel0 and 4K data from channel1&lt;br /&gt;
&lt;br /&gt;
*Tt also can be viewed by mobile phone, a simple IPC mode.&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera view ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
*Two ISP can work at the same time&lt;br /&gt;
&lt;br /&gt;
*And each one can send 4K 30fps data out when you preview the picture&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=475</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=475"/>
				<updated>2019-01-23T07:03:31Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Test result */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''There is a instruction name readme.txt in every sample, you should read the document first when you running the sample'''&lt;br /&gt;
&lt;br /&gt;
'''And then you can know how to config the sample, some sample needed be configured,maybe config file is sample_xxx.conf.'''&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
*You can see that the two remote device can get the data at the same time&lt;br /&gt;
&lt;br /&gt;
*There are two output data channel, you can get 720p from channel0 and 4K data from channel1&lt;br /&gt;
&lt;br /&gt;
*Tt also can be viewed by mobile phone, a simple IPC mode.&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera view ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=474</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=474"/>
				<updated>2019-01-23T06:53:22Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Demo programs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''There is a instruction name readme.txt in every sample, you should read the document first when you running the sample'''&lt;br /&gt;
&lt;br /&gt;
'''And then you can know how to config the sample, some sample needed be configured,maybe config file is sample_xxx.conf.'''&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera view ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=473</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=473"/>
				<updated>2019-01-23T06:46:31Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Demo programs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''There is a instruction name readme.txt in every sample, you should read the document first when you running the sample, and then you can know how to config the sample(sample_xxx.conf).'''&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera view ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=472</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=472"/>
				<updated>2019-01-23T06:45:10Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Demo programs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''There is a instruction name readme.txt in every sample, you should read the document first when you running the sample, and then you can know how to config the sample.'''&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera view ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=471</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=471"/>
				<updated>2019-01-23T03:29:13Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Test result */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera view ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Dual camera.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=File:Dual_camera.jpg&amp;diff=470</id>
		<title>File:Dual camera.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=File:Dual_camera.jpg&amp;diff=470"/>
				<updated>2019-01-23T03:28:30Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;dual camera test result&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=469</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=469"/>
				<updated>2019-01-23T03:27:06Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Demo programs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Dual Camera view ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_virvi2ise2vo&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_virvi2ise2vo&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_virvi2ise2vo -path sample_virvi2ise2vo.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=468</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=468"/>
				<updated>2019-01-23T03:15:17Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* RTSP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Rtsp.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=File:Rtsp.png&amp;diff=467</id>
		<title>File:Rtsp.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=File:Rtsp.png&amp;diff=467"/>
				<updated>2019-01-23T03:14:13Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;rtsp test result&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=466</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=466"/>
				<updated>2019-01-23T03:00:19Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* RTSP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/app&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./release/app_mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There will shows the following message when you execultive the cmd, and type the num according the menu.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num: 1&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 1&lt;br /&gt;
&lt;br /&gt;
 ***************** Choice VI+VENC scene **************************&lt;br /&gt;
 [0]:VI_4K@30fps + VENC(4K@30fps+VGA@30fps)&lt;br /&gt;
 [1]:VI_4K@25fps + VENC(4K@25fps+720P@25fps) [default]&lt;br /&gt;
 [2]:VI_2K@30fps + VENC(2K@30fps+720P@30fps)&lt;br /&gt;
 [3]:VI_1080P@30fps + VENC(1080P@30fps+720P@30fps)&lt;br /&gt;
 [4]:VI_2880x2160@30fps + VENC(2880x2160@30fps+1080P@30fps)&lt;br /&gt;
 [5]:VI_2592x1944@30fps + VENC(2592x1944@30fps+1080P@30fps)&lt;br /&gt;
 Please choose VI+VENC scene ID 0~3 or (q-Quit): 1&lt;br /&gt;
&lt;br /&gt;
 ***************************************************************&lt;br /&gt;
  1 : Set VI+VENC scene     (Resolution,    default:4K@25fps+720P@25fps)&lt;br /&gt;
  2 : Set VENC Payload Type (H264/H265,     default:H264)&lt;br /&gt;
  3 : Set VENC RC Mode      (CBR/VBR/FIXQP, default:CBR)&lt;br /&gt;
  4 : Set VENC Profile      (BL/MP/HP,      default:Main Profile)&lt;br /&gt;
  5 : Set VENC rotate       (0/90/180/270,  default:rotate_0)&lt;br /&gt;
  6 : Save confige and run this sample&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~6 num: 6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=465</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=465"/>
				<updated>2019-01-23T02:50:50Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Demo programs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RTSP ===&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=464</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=464"/>
				<updated>2019-01-23T02:33:27Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Test result */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
[[File:Face detect.jpg|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=File:Face_detect.jpg&amp;diff=463</id>
		<title>File:Face detect.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=File:Face_detect.jpg&amp;diff=463"/>
				<updated>2019-01-23T02:31:09Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;there will show the detect result of pepole face&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=462</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=462"/>
				<updated>2019-01-23T02:28:37Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Face detection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
==== Test result ====&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=461</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=461"/>
				<updated>2019-01-23T01:45:25Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* user commd */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;./ldcam -?&amp;quot; or &amp;quot;./ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97&amp;diff=450</id>
		<title>Linbian使用指南</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97&amp;diff=450"/>
				<updated>2018-10-27T10:04:56Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* 相机模块 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[en:Linbian_Usage_Guide]]&lt;br /&gt;
== 终端 ==&lt;br /&gt;
&lt;br /&gt;
在Linbian操作系统上，默认的终端应用是LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
你可以从'''Application Menu''' -&amp;gt; '''System Tools'''打开它.&lt;br /&gt;
== 相机模块 ==&lt;br /&gt;
===下载代码===&lt;br /&gt;
*ldcam 应用基于gstreamr开发&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===编译===&lt;br /&gt;
*在v5开发板环境编译&lt;br /&gt;
::直接执行&amp;quot;make&amp;quot;命令&lt;br /&gt;
*在PC环境编译&lt;br /&gt;
::需要自己创建Makefile &lt;br /&gt;
===命令使用===&lt;br /&gt;
:可以使用 &amp;quot;ldcam -?&amp;quot; 和 &amp;quot;ldcam --help&amp;quot; 命令获取命令使用帮助信息&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97&amp;diff=449</id>
		<title>Linbian使用指南</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97&amp;diff=449"/>
				<updated>2018-10-27T10:01:43Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* 相机模块 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[en:Linbian_Usage_Guide]]&lt;br /&gt;
== 终端 ==&lt;br /&gt;
&lt;br /&gt;
在Linbian操作系统上，默认的终端应用是LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
你可以从'''Application Menu''' -&amp;gt; '''System Tools'''打开它.&lt;br /&gt;
== 相机模块 ==&lt;br /&gt;
===下载代码===&lt;br /&gt;
*ldcam 应用基于gstremaer开发&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===编译===&lt;br /&gt;
*在v5开发板环境编译&lt;br /&gt;
::直接执行&amp;quot;make&amp;quot;命令&lt;br /&gt;
*在PC环境编译&lt;br /&gt;
::需要自己创建Makefile &lt;br /&gt;
===命令使用===&lt;br /&gt;
:可以使用 &amp;quot;ldcam -?&amp;quot; 和 &amp;quot;ldcam --help&amp;quot; 命令获取命令使用帮助信息&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=448</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=448"/>
				<updated>2018-10-27T09:55:11Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Camera Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
*ldcam developed base on gstreamer&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;ldcam -?&amp;quot; or &amp;quot;ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97&amp;diff=447</id>
		<title>Linbian使用指南</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97&amp;diff=447"/>
				<updated>2018-10-27T09:52:05Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[en:Linbian_Usage_Guide]]&lt;br /&gt;
== 终端 ==&lt;br /&gt;
&lt;br /&gt;
在Linbian操作系统上，默认的终端应用是LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
你可以从'''Application Menu''' -&amp;gt; '''System Tools'''打开它.&lt;br /&gt;
== 相机模块 ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=446</id>
		<title>Linbian Usage Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Usage_Guide&amp;diff=446"/>
				<updated>2018-10-27T09:27:30Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Camera Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[zh:Linbian使用指南]]&lt;br /&gt;
== Terminal ==&lt;br /&gt;
&lt;br /&gt;
On Linbian OS, the default terminal application is LXTerminal.&lt;br /&gt;
&lt;br /&gt;
[[File:Lxterminal.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
You can open it from '''Application Menu''' -&amp;gt; '''System Tools'''.&lt;br /&gt;
&lt;br /&gt;
== Camera Module ==&lt;br /&gt;
===download source code from github===&lt;br /&gt;
:git clone https://github.com/lindenis-org/ldcam-gst.git&lt;br /&gt;
===compile===&lt;br /&gt;
*compile on v5 board===&lt;br /&gt;
::you can execute &amp;quot;make&amp;quot; directly&lt;br /&gt;
*compile on your own env&lt;br /&gt;
::you should create the Makefile by yourself &lt;br /&gt;
===user commd===&lt;br /&gt;
:you can use &amp;quot;ldcam -?&amp;quot; or &amp;quot;ldcam --help&amp;quot; to get the cmd instructions&lt;br /&gt;
&lt;br /&gt;
== Webcams ==&lt;br /&gt;
&lt;br /&gt;
== Gstreamer ==&lt;br /&gt;
=== Camera source ===&lt;br /&gt;
*'''lindeniv4l2src: Video (video4linux2) Source'''&amp;lt;br&amp;gt;&lt;br /&gt;
Use for CSI Camera&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24&lt;br /&gt;
&lt;br /&gt;
=== Omx hardware H.264 decoder and encoder ===&lt;br /&gt;
*'''omxh264dec: OpenMAX H.264 Video Decoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
*'''omxh264videoenc: OpenMAX H.264 Video Encoder'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! omxh264videoenc target-bitrate=5000000 ! mpegtsmux ! filesink location=1.ts&lt;br /&gt;
&lt;br /&gt;
=== Display sink ===&lt;br /&gt;
*'''sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices'''&amp;lt;br&amp;gt;&lt;br /&gt;
Example:&amp;lt;br&amp;gt;&lt;br /&gt;
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink&lt;br /&gt;
&lt;br /&gt;
== Play Video ==&lt;br /&gt;
&lt;br /&gt;
== Play Audio ==&lt;br /&gt;
&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
== GPIO ==&lt;br /&gt;
&lt;br /&gt;
== MPP ==&lt;br /&gt;
&lt;br /&gt;
MPP is the media process platform of Allwinner V5, including following components.&lt;br /&gt;
* system control, API family: AW_MPI_SYS&lt;br /&gt;
: This component deal with the media hardware initialization, other components initialization and component state management and etc.&lt;br /&gt;
* video input, API family: AW_MPI_VI&lt;br /&gt;
* video output, API family: AW_MPI_VO&lt;br /&gt;
* image stitch engine, API family: AW_MPI_ISE&lt;br /&gt;
* video encode, API family: AW_MPI_VENC&lt;br /&gt;
* video decode, API family: AW_MPI_VDEC&lt;br /&gt;
* mux, API family: AW_MPI_MUX&lt;br /&gt;
* demux, API family: AW_MPI_DEMUX&lt;br /&gt;
* audio input, API family: AW_MPI_AI&lt;br /&gt;
* audio output, API family: AW_MPI_AO&lt;br /&gt;
* audio endode, API family: AW_MPI_AENC&lt;br /&gt;
* audio output, API family: AW_MPI_AOUT&lt;br /&gt;
* Region, API family: AW_MPI_RGN&lt;br /&gt;
 &lt;br /&gt;
=== Allwinner official documents ===&lt;br /&gt;
* MPP Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AW%20IPC%e5%aa%92%e4%bd%93%e5%a4%84%e7%90%86%e8%bd%af%e4%bb%b6%e5%bc%80%e5%8f%91%e5%8f%82%e8%80%83.pdf Chinese version].&lt;br /&gt;
* ISP Module User Guide, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20%e6%a8%a1%e5%9d%97%e7%94%a8%e6%88%b7%e6%8c%87%e5%8d%97.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/MPP_ISP%20Development%20User%20Guide.pdf English version].&lt;br /&gt;
* EVE Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%e5%ba%94%e7%94%a8API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version], [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/EVE%c2%a0Application%c2%a0API%c2%a0Reference%c2%a0Manual_%e5%85%ad%e7%82%b9%e7%a7%91%e6%8a%80.pdf English version].&lt;br /&gt;
* Human Counting Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e4%ba%ba%e5%91%98%e8%ae%a1%e6%95%b0API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Motion Detection Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e8%bf%90%e5%8a%a8%e7%9b%ae%e6%a0%87%e8%af%86%e5%88%ab%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
* Binocular depth of field (DOF) Application Development Reference Manual, [http://files.lindeni.org/lindenis-v5/documents/soft_design/MPP/AIE_CVE%e5%8f%8c%e7%9b%ae%e6%b7%b1%e5%ba%a6%e4%bf%a1%e6%81%af%e7%ae%97%e6%b3%95API%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c.pdf Chinese version]&lt;br /&gt;
&lt;br /&gt;
=== Samples ===&lt;br /&gt;
&lt;br /&gt;
Please refer to [[#Demo_programs | Demo programs]].&lt;br /&gt;
&lt;br /&gt;
== Demo programs ==&lt;br /&gt;
&lt;br /&gt;
Allwinner release a series of MPP samples. You can download from [https://github.com/lindenis-org/mpp_sample Github].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/lindenis-org/mpp_sample ~/mpp_sample&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, You will get the following directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/&lt;br /&gt;
Makefile.param&lt;br /&gt;
README.md&lt;br /&gt;
sample_adec/&lt;br /&gt;
sample_aenc/&lt;br /&gt;
sample_ai/&lt;br /&gt;
......&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''app/''' includes a set of MPP samples with a command line based menu. '''sample_xxx/''' is a separate sample of the scene. Root privileges is required when run these sample. e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./app/release/app_mpp_sample&lt;br /&gt;
&lt;br /&gt;
***************************************************************&lt;br /&gt;
  1 : vi+(venc+rtsp)+vo&lt;br /&gt;
  2 : vi+(venc+rtsp)&lt;br /&gt;
  3 : vi+vo&lt;br /&gt;
  4 : vi+ise+(venc+rtsp)+vo&lt;br /&gt;
  5 : [vi+venc+vo]+[ai+aenc+ao]+rtsp&lt;br /&gt;
  6 : vi-&amp;gt;yuv+venc+rtsp&lt;br /&gt;
  7 : vi+venc+mux&lt;br /&gt;
  8 : vi+(venc+mux)+vo&lt;br /&gt;
  9 : demux+vdec+vo&lt;br /&gt;
 10 : ai+aenc+mux+ao&lt;br /&gt;
 11 : demux+adec+ao&lt;br /&gt;
 12 : Quit&lt;br /&gt;
***************************************************************&lt;br /&gt;
 Please choice 1~12 num:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Face detection ===&lt;br /&gt;
&lt;br /&gt;
Face detection based on EVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_face_detect&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_face_detect&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_face_detect&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The picture of face crop and store at '''./pic''' directory when detected.&lt;br /&gt;
&lt;br /&gt;
=== Motion detection ===&lt;br /&gt;
&lt;br /&gt;
Motion detection based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2MOD&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2MOD&lt;br /&gt;
$ make &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2MOD -path sample_vi2MOD.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./DTCAResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Human counting ===&lt;br /&gt;
&lt;br /&gt;
Hunman counting based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2HCNT&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2HCNT&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2HCNT -path sample_vi2HCNT.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected target was stored at ./HCNTResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== VLPR ===&lt;br /&gt;
&lt;br /&gt;
VLPR based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_vi2VLPR&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2VLPR&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2VLPR -path sample_vi2VLPR.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The information of detected vehicle license plate was stored at ./VLPRResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Binocular depth information image ===&lt;br /&gt;
&lt;br /&gt;
BDII based on CVE.&lt;br /&gt;
&lt;br /&gt;
==== Location ====&lt;br /&gt;
&lt;br /&gt;
sample_AILib/sample_BDII&lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ~/mpp_sample/sample_AILib/sample_vi2BDII&lt;br /&gt;
$ make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Running ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo ./sample_vi2BDII -path sample_vi2BDII.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output is a 8bit-gray-scale picture, stored at ./BDIIResult.bin .&lt;br /&gt;
&lt;br /&gt;
=== Image stitch ===&lt;br /&gt;
&lt;br /&gt;
Camera module is in development.&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=334</id>
		<title>Linbian Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=334"/>
				<updated>2018-09-04T09:26:13Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Manage Bt devices */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== linbian-config ==&lt;br /&gt;
&lt;br /&gt;
In development&lt;br /&gt;
&lt;br /&gt;
== UART configuration ==&lt;br /&gt;
&lt;br /&gt;
By default, the ttyS0 is assigned to the Linux console. The UART transmit and receive pins are on PB9 and PB10 espectively, which are pins 8 and 10 on the 'PI BUS' GPIO header.&lt;br /&gt;
&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
&lt;br /&gt;
Ethernet is enabled by default. Plug in the network cable will automatically connect to the Internet.&lt;br /&gt;
&lt;br /&gt;
[https://launchpad.net/wicd Wicd] is used for manage wireless and wired interface.&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Desktop Environment ===&lt;br /&gt;
&lt;br /&gt;
Open '''Wicd Network Manager''' from desktop. If the board is properly set up and connected, you should see a Window as follow.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wired.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Text Mode ===&lt;br /&gt;
&lt;br /&gt;
Open a Terminal from desktop. Type '''wicd-curses''':&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-curses.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Manage network by keyboard.&lt;br /&gt;
&lt;br /&gt;
== Wi-Fi ==&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Lindenis V5 without builtin Wi-Fi. Follow [http://files.lindeni.org/lindenis-v5/accessories/Lindenis_V5_Wi-Fi_Bluetooth_Installation_Guide.pdf these instructions] and install a module.&lt;br /&gt;
&lt;br /&gt;
=== Add Service In Running Environment ===&lt;br /&gt;
&lt;br /&gt;
Add configure file wifi.conf in /etc/modules-load.d, and the context of the configure file is the driver name, for example :bcmdhd&lt;br /&gt;
&lt;br /&gt;
Reboot the system&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
Manage Wi-Fi by Wicd (open '''Wicd Network Manager''' from desktop).&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Click '''Properties''' button to set access point password.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-prop.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
And then click '''Connect''' button to get access.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-connected.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
Bluetooth firmware and service are not installed by default&lt;br /&gt;
=== Add configure file ===&lt;br /&gt;
add configure file bt in &amp;quot;device/eagle/rootfs/etc&amp;quot; of sdk or &amp;quot;/etc&amp;quot; in running environment, and the context as follow:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Shell script to install Bluetooth firmware and attach BT part of&lt;br /&gt;
 #&lt;br /&gt;
 TTY=&amp;quot;/dev/ttyS1&amp;quot;&lt;br /&gt;
 BT_POWER_MGR_PATH=/sys/class/rfkill/rfkill0&lt;br /&gt;
 BT_FW_PATH=/lib/firmware/rtl_bt&lt;br /&gt;
 test -d $BT_POWER_MGR_PATH || exit 1&lt;br /&gt;
 test -d $BT_FW_PATH || exit 1&lt;br /&gt;
 echo &amp;quot;Using device $TTY for initializing Bluetooth&amp;quot;&lt;br /&gt;
 #BT power initialize&lt;br /&gt;
 echo 0 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 sleep 0.1&lt;br /&gt;
 echo 1 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 brcm_patchram_plus --patchram /etc/firmware/BCM4345C0.hcd --no2bytes --tosleep 1000 $TTY&lt;br /&gt;
 hciattach $TTY any&lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
=== Add Service ===&lt;br /&gt;
If you want to add service in running environment, you can use the following cmd:&lt;br /&gt;
 insserv /etc/init.d/bt&lt;br /&gt;
If you want to add service in sdk, you should modify &amp;quot;debain/mk-rootfs-stretch.sh&amp;quot; as follow:&lt;br /&gt;
&lt;br /&gt;
 diff --git a/mk-rootfs-stretch.sh b/mk-rootfs-stretch.sh&lt;br /&gt;
 index 75dd3ce..c46d605 100755&lt;br /&gt;
 --- a/mk-rootfs-stretch.sh&lt;br /&gt;
 +++ b/mk-rootfs-stretch.sh&lt;br /&gt;
 @@ -91,6 +91,10 @@ if insserv -s | grep mpp &amp;gt; /dev/null ; then&lt;br /&gt;
 insserv /etc/init.d/mpp&lt;br /&gt;
 fi&lt;br /&gt;
 +if insserv -s | grep bt &amp;gt; /dev/null ; then&lt;br /&gt;
 +insserv /etc/init.d/bt&lt;br /&gt;
 +fi&lt;br /&gt;
 +&lt;br /&gt;
 apt-get install -y bash-completion&lt;br /&gt;
&lt;br /&gt;
=== Manage Bt devices ===&lt;br /&gt;
&lt;br /&gt;
You can use some open source tools, for example :sudo apt-get install blueman&lt;br /&gt;
&lt;br /&gt;
== Camera Config ==&lt;br /&gt;
&lt;br /&gt;
== External Storage Config ==&lt;br /&gt;
&lt;br /&gt;
== Localisation ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=333</id>
		<title>Linbian Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=333"/>
				<updated>2018-09-04T09:25:59Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Manage Bt devices */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== linbian-config ==&lt;br /&gt;
&lt;br /&gt;
In development&lt;br /&gt;
&lt;br /&gt;
== UART configuration ==&lt;br /&gt;
&lt;br /&gt;
By default, the ttyS0 is assigned to the Linux console. The UART transmit and receive pins are on PB9 and PB10 espectively, which are pins 8 and 10 on the 'PI BUS' GPIO header.&lt;br /&gt;
&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
&lt;br /&gt;
Ethernet is enabled by default. Plug in the network cable will automatically connect to the Internet.&lt;br /&gt;
&lt;br /&gt;
[https://launchpad.net/wicd Wicd] is used for manage wireless and wired interface.&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Desktop Environment ===&lt;br /&gt;
&lt;br /&gt;
Open '''Wicd Network Manager''' from desktop. If the board is properly set up and connected, you should see a Window as follow.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wired.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Text Mode ===&lt;br /&gt;
&lt;br /&gt;
Open a Terminal from desktop. Type '''wicd-curses''':&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-curses.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Manage network by keyboard.&lt;br /&gt;
&lt;br /&gt;
== Wi-Fi ==&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Lindenis V5 without builtin Wi-Fi. Follow [http://files.lindeni.org/lindenis-v5/accessories/Lindenis_V5_Wi-Fi_Bluetooth_Installation_Guide.pdf these instructions] and install a module.&lt;br /&gt;
&lt;br /&gt;
=== Add Service In Running Environment ===&lt;br /&gt;
&lt;br /&gt;
Add configure file wifi.conf in /etc/modules-load.d, and the context of the configure file is the driver name, for example :bcmdhd&lt;br /&gt;
&lt;br /&gt;
Reboot the system&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
Manage Wi-Fi by Wicd (open '''Wicd Network Manager''' from desktop).&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Click '''Properties''' button to set access point password.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-prop.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
And then click '''Connect''' button to get access.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-connected.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
Bluetooth firmware and service are not installed by default&lt;br /&gt;
=== Add configure file ===&lt;br /&gt;
add configure file bt in &amp;quot;device/eagle/rootfs/etc&amp;quot; of sdk or &amp;quot;/etc&amp;quot; in running environment, and the context as follow:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Shell script to install Bluetooth firmware and attach BT part of&lt;br /&gt;
 #&lt;br /&gt;
 TTY=&amp;quot;/dev/ttyS1&amp;quot;&lt;br /&gt;
 BT_POWER_MGR_PATH=/sys/class/rfkill/rfkill0&lt;br /&gt;
 BT_FW_PATH=/lib/firmware/rtl_bt&lt;br /&gt;
 test -d $BT_POWER_MGR_PATH || exit 1&lt;br /&gt;
 test -d $BT_FW_PATH || exit 1&lt;br /&gt;
 echo &amp;quot;Using device $TTY for initializing Bluetooth&amp;quot;&lt;br /&gt;
 #BT power initialize&lt;br /&gt;
 echo 0 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 sleep 0.1&lt;br /&gt;
 echo 1 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 brcm_patchram_plus --patchram /etc/firmware/BCM4345C0.hcd --no2bytes --tosleep 1000 $TTY&lt;br /&gt;
 hciattach $TTY any&lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
=== Add Service ===&lt;br /&gt;
If you want to add service in running environment, you can use the following cmd:&lt;br /&gt;
 insserv /etc/init.d/bt&lt;br /&gt;
If you want to add service in sdk, you should modify &amp;quot;debain/mk-rootfs-stretch.sh&amp;quot; as follow:&lt;br /&gt;
&lt;br /&gt;
 diff --git a/mk-rootfs-stretch.sh b/mk-rootfs-stretch.sh&lt;br /&gt;
 index 75dd3ce..c46d605 100755&lt;br /&gt;
 --- a/mk-rootfs-stretch.sh&lt;br /&gt;
 +++ b/mk-rootfs-stretch.sh&lt;br /&gt;
 @@ -91,6 +91,10 @@ if insserv -s | grep mpp &amp;gt; /dev/null ; then&lt;br /&gt;
 insserv /etc/init.d/mpp&lt;br /&gt;
 fi&lt;br /&gt;
 +if insserv -s | grep bt &amp;gt; /dev/null ; then&lt;br /&gt;
 +insserv /etc/init.d/bt&lt;br /&gt;
 +fi&lt;br /&gt;
 +&lt;br /&gt;
 apt-get install -y bash-completion&lt;br /&gt;
&lt;br /&gt;
=== Manage Bt devices ===&lt;br /&gt;
&lt;br /&gt;
You can use some open source tools, for example sudo apt-get install blueman&lt;br /&gt;
&lt;br /&gt;
== Camera Config ==&lt;br /&gt;
&lt;br /&gt;
== External Storage Config ==&lt;br /&gt;
&lt;br /&gt;
== Localisation ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=332</id>
		<title>Linbian Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=332"/>
				<updated>2018-09-04T09:24:12Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Add configure file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== linbian-config ==&lt;br /&gt;
&lt;br /&gt;
In development&lt;br /&gt;
&lt;br /&gt;
== UART configuration ==&lt;br /&gt;
&lt;br /&gt;
By default, the ttyS0 is assigned to the Linux console. The UART transmit and receive pins are on PB9 and PB10 espectively, which are pins 8 and 10 on the 'PI BUS' GPIO header.&lt;br /&gt;
&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
&lt;br /&gt;
Ethernet is enabled by default. Plug in the network cable will automatically connect to the Internet.&lt;br /&gt;
&lt;br /&gt;
[https://launchpad.net/wicd Wicd] is used for manage wireless and wired interface.&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Desktop Environment ===&lt;br /&gt;
&lt;br /&gt;
Open '''Wicd Network Manager''' from desktop. If the board is properly set up and connected, you should see a Window as follow.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wired.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Text Mode ===&lt;br /&gt;
&lt;br /&gt;
Open a Terminal from desktop. Type '''wicd-curses''':&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-curses.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Manage network by keyboard.&lt;br /&gt;
&lt;br /&gt;
== Wi-Fi ==&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Lindenis V5 without builtin Wi-Fi. Follow [http://files.lindeni.org/lindenis-v5/accessories/Lindenis_V5_Wi-Fi_Bluetooth_Installation_Guide.pdf these instructions] and install a module.&lt;br /&gt;
&lt;br /&gt;
=== Add Service In Running Environment ===&lt;br /&gt;
&lt;br /&gt;
Add configure file wifi.conf in /etc/modules-load.d, and the context of the configure file is the driver name, for example :bcmdhd&lt;br /&gt;
&lt;br /&gt;
Reboot the system&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
Manage Wi-Fi by Wicd (open '''Wicd Network Manager''' from desktop).&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Click '''Properties''' button to set access point password.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-prop.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
And then click '''Connect''' button to get access.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-connected.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
Bluetooth firmware and service are not installed by default&lt;br /&gt;
=== Add configure file ===&lt;br /&gt;
add configure file bt in &amp;quot;device/eagle/rootfs/etc&amp;quot; of sdk or &amp;quot;/etc&amp;quot; in running environment, and the context as follow:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Shell script to install Bluetooth firmware and attach BT part of&lt;br /&gt;
 #&lt;br /&gt;
 TTY=&amp;quot;/dev/ttyS1&amp;quot;&lt;br /&gt;
 BT_POWER_MGR_PATH=/sys/class/rfkill/rfkill0&lt;br /&gt;
 BT_FW_PATH=/lib/firmware/rtl_bt&lt;br /&gt;
 test -d $BT_POWER_MGR_PATH || exit 1&lt;br /&gt;
 test -d $BT_FW_PATH || exit 1&lt;br /&gt;
 echo &amp;quot;Using device $TTY for initializing Bluetooth&amp;quot;&lt;br /&gt;
 #BT power initialize&lt;br /&gt;
 echo 0 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 sleep 0.1&lt;br /&gt;
 echo 1 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 brcm_patchram_plus --patchram /etc/firmware/BCM4345C0.hcd --no2bytes --tosleep 1000 $TTY&lt;br /&gt;
 hciattach $TTY any&lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
=== Add Service ===&lt;br /&gt;
If you want to add service in running environment, you can use the following cmd:&lt;br /&gt;
 insserv /etc/init.d/bt&lt;br /&gt;
If you want to add service in sdk, you should modify &amp;quot;debain/mk-rootfs-stretch.sh&amp;quot; as follow:&lt;br /&gt;
&lt;br /&gt;
 diff --git a/mk-rootfs-stretch.sh b/mk-rootfs-stretch.sh&lt;br /&gt;
 index 75dd3ce..c46d605 100755&lt;br /&gt;
 --- a/mk-rootfs-stretch.sh&lt;br /&gt;
 +++ b/mk-rootfs-stretch.sh&lt;br /&gt;
 @@ -91,6 +91,10 @@ if insserv -s | grep mpp &amp;gt; /dev/null ; then&lt;br /&gt;
 insserv /etc/init.d/mpp&lt;br /&gt;
 fi&lt;br /&gt;
 +if insserv -s | grep bt &amp;gt; /dev/null ; then&lt;br /&gt;
 +insserv /etc/init.d/bt&lt;br /&gt;
 +fi&lt;br /&gt;
 +&lt;br /&gt;
 apt-get install -y bash-completion&lt;br /&gt;
&lt;br /&gt;
=== Manage Bt devices ===&lt;br /&gt;
&lt;br /&gt;
You can use some open source tools, for example blueman&lt;br /&gt;
&lt;br /&gt;
== Camera Config ==&lt;br /&gt;
&lt;br /&gt;
== External Storage Config ==&lt;br /&gt;
&lt;br /&gt;
== Localisation ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=331</id>
		<title>Linbian Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=331"/>
				<updated>2018-09-04T09:21:09Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Add Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== linbian-config ==&lt;br /&gt;
&lt;br /&gt;
In development&lt;br /&gt;
&lt;br /&gt;
== UART configuration ==&lt;br /&gt;
&lt;br /&gt;
By default, the ttyS0 is assigned to the Linux console. The UART transmit and receive pins are on PB9 and PB10 espectively, which are pins 8 and 10 on the 'PI BUS' GPIO header.&lt;br /&gt;
&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
&lt;br /&gt;
Ethernet is enabled by default. Plug in the network cable will automatically connect to the Internet.&lt;br /&gt;
&lt;br /&gt;
[https://launchpad.net/wicd Wicd] is used for manage wireless and wired interface.&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Desktop Environment ===&lt;br /&gt;
&lt;br /&gt;
Open '''Wicd Network Manager''' from desktop. If the board is properly set up and connected, you should see a Window as follow.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wired.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Text Mode ===&lt;br /&gt;
&lt;br /&gt;
Open a Terminal from desktop. Type '''wicd-curses''':&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-curses.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Manage network by keyboard.&lt;br /&gt;
&lt;br /&gt;
== Wi-Fi ==&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Lindenis V5 without builtin Wi-Fi. Follow [http://files.lindeni.org/lindenis-v5/accessories/Lindenis_V5_Wi-Fi_Bluetooth_Installation_Guide.pdf these instructions] and install a module.&lt;br /&gt;
&lt;br /&gt;
=== Add Service In Running Environment ===&lt;br /&gt;
&lt;br /&gt;
Add configure file wifi.conf in /etc/modules-load.d, and the context of the configure file is the driver name, for example :bcmdhd&lt;br /&gt;
&lt;br /&gt;
Reboot the system&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
Manage Wi-Fi by Wicd (open '''Wicd Network Manager''' from desktop).&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Click '''Properties''' button to set access point password.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-prop.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
And then click '''Connect''' button to get access.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-connected.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
Bluetooth firmware and service are not installed by default&lt;br /&gt;
=== Add configure file ===&lt;br /&gt;
add configure file bt in &amp;quot;device/eagle/rootfs/etc&amp;quot; of sdk or &amp;quot;/etc&amp;quot; in running environment, and the context as follow:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Shell script to install Bluetooth firmware and attach BT part of&lt;br /&gt;
 #&lt;br /&gt;
 TTY=&amp;quot;/dev/ttyS1&amp;quot;&lt;br /&gt;
 BT_POWER_MGR_PATH=/sys/class/rfkill/rfkill0&lt;br /&gt;
 BT_FW_PATH=/lib/firmware/rtl_bt&lt;br /&gt;
 test -d $BT_POWER_MGR_PATH || exit 1&lt;br /&gt;
 test -d $BT_FW_PATH || exit 1&lt;br /&gt;
 echo &amp;quot;Using device $TTY for initializing Bluetooth&amp;quot;&lt;br /&gt;
 #BT power initialize&lt;br /&gt;
 echo 0 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 sleep 0.1&lt;br /&gt;
 echo 1 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 #rtk_hciattach -n -s 115200 $TTY rtk_h5 &amp;gt; /var/log/bt_start.log 2&amp;gt;&amp;amp;1 &amp;amp;&lt;br /&gt;
 brcm_patchram_plus --patchram /etc/firmware/BCM4345C0.hcd --no2bytes --tosleep 1000 $TTY&lt;br /&gt;
 hciattach $TTY any&lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
=== Add Service ===&lt;br /&gt;
If you want to add service in running environment, you can use the following cmd:&lt;br /&gt;
 insserv /etc/init.d/bt&lt;br /&gt;
If you want to add service in sdk, you should modify &amp;quot;debain/mk-rootfs-stretch.sh&amp;quot; as follow:&lt;br /&gt;
&lt;br /&gt;
 diff --git a/mk-rootfs-stretch.sh b/mk-rootfs-stretch.sh&lt;br /&gt;
 index 75dd3ce..c46d605 100755&lt;br /&gt;
 --- a/mk-rootfs-stretch.sh&lt;br /&gt;
 +++ b/mk-rootfs-stretch.sh&lt;br /&gt;
 @@ -91,6 +91,10 @@ if insserv -s | grep mpp &amp;gt; /dev/null ; then&lt;br /&gt;
 insserv /etc/init.d/mpp&lt;br /&gt;
 fi&lt;br /&gt;
 +if insserv -s | grep bt &amp;gt; /dev/null ; then&lt;br /&gt;
 +insserv /etc/init.d/bt&lt;br /&gt;
 +fi&lt;br /&gt;
 +&lt;br /&gt;
 apt-get install -y bash-completion&lt;br /&gt;
&lt;br /&gt;
=== Manage Bt devices ===&lt;br /&gt;
&lt;br /&gt;
You can use some open source tools, for example blueman&lt;br /&gt;
&lt;br /&gt;
== Camera Config ==&lt;br /&gt;
&lt;br /&gt;
== External Storage Config ==&lt;br /&gt;
&lt;br /&gt;
== Localisation ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=330</id>
		<title>Linbian Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=330"/>
				<updated>2018-09-04T09:16:18Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Add Service in SDK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== linbian-config ==&lt;br /&gt;
&lt;br /&gt;
In development&lt;br /&gt;
&lt;br /&gt;
== UART configuration ==&lt;br /&gt;
&lt;br /&gt;
By default, the ttyS0 is assigned to the Linux console. The UART transmit and receive pins are on PB9 and PB10 espectively, which are pins 8 and 10 on the 'PI BUS' GPIO header.&lt;br /&gt;
&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
&lt;br /&gt;
Ethernet is enabled by default. Plug in the network cable will automatically connect to the Internet.&lt;br /&gt;
&lt;br /&gt;
[https://launchpad.net/wicd Wicd] is used for manage wireless and wired interface.&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Desktop Environment ===&lt;br /&gt;
&lt;br /&gt;
Open '''Wicd Network Manager''' from desktop. If the board is properly set up and connected, you should see a Window as follow.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wired.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Text Mode ===&lt;br /&gt;
&lt;br /&gt;
Open a Terminal from desktop. Type '''wicd-curses''':&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-curses.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Manage network by keyboard.&lt;br /&gt;
&lt;br /&gt;
== Wi-Fi ==&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Lindenis V5 without builtin Wi-Fi. Follow [http://files.lindeni.org/lindenis-v5/accessories/Lindenis_V5_Wi-Fi_Bluetooth_Installation_Guide.pdf these instructions] and install a module.&lt;br /&gt;
&lt;br /&gt;
=== Add Service In Running Environment ===&lt;br /&gt;
&lt;br /&gt;
Add configure file wifi.conf in /etc/modules-load.d, and the context of the configure file is the driver name, for example :bcmdhd&lt;br /&gt;
&lt;br /&gt;
Reboot the system&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
Manage Wi-Fi by Wicd (open '''Wicd Network Manager''' from desktop).&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Click '''Properties''' button to set access point password.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-prop.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
And then click '''Connect''' button to get access.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-connected.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
Bluetooth firmware and service are not installed by default&lt;br /&gt;
=== Add configure file ===&lt;br /&gt;
add configure file bt in &amp;quot;device/eagle/rootfs/etc&amp;quot; of sdk or &amp;quot;/etc&amp;quot; in running environment, and the context as follow:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Shell script to install Bluetooth firmware and attach BT part of&lt;br /&gt;
 #&lt;br /&gt;
 TTY=&amp;quot;/dev/ttyS1&amp;quot;&lt;br /&gt;
 BT_POWER_MGR_PATH=/sys/class/rfkill/rfkill0&lt;br /&gt;
 BT_FW_PATH=/lib/firmware/rtl_bt&lt;br /&gt;
 test -d $BT_POWER_MGR_PATH || exit 1&lt;br /&gt;
 test -d $BT_FW_PATH || exit 1&lt;br /&gt;
 echo &amp;quot;Using device $TTY for initializing Bluetooth&amp;quot;&lt;br /&gt;
 #BT power initialize&lt;br /&gt;
 echo 0 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 sleep 0.1&lt;br /&gt;
 echo 1 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 #rtk_hciattach -n -s 115200 $TTY rtk_h5 &amp;gt; /var/log/bt_start.log 2&amp;gt;&amp;amp;1 &amp;amp;&lt;br /&gt;
 brcm_patchram_plus --patchram /etc/firmware/BCM4345C0.hcd --no2bytes --tosleep 1000 $TTY&lt;br /&gt;
 hciattach $TTY any&lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
=== Add Service ===&lt;br /&gt;
&lt;br /&gt;
add service in &amp;quot;debain/mk-rootfs-stretch.sh&amp;quot; of sdk&lt;br /&gt;
&lt;br /&gt;
 diff --git a/mk-rootfs-stretch.sh b/mk-rootfs-stretch.sh&lt;br /&gt;
 index 75dd3ce..c46d605 100755&lt;br /&gt;
 --- a/mk-rootfs-stretch.sh&lt;br /&gt;
 +++ b/mk-rootfs-stretch.sh&lt;br /&gt;
 @@ -91,6 +91,10 @@ if insserv -s | grep mpp &amp;gt; /dev/null ; then&lt;br /&gt;
 insserv /etc/init.d/mpp&lt;br /&gt;
 fi&lt;br /&gt;
 +if insserv -s | grep bt &amp;gt; /dev/null ; then&lt;br /&gt;
 +insserv /etc/init.d/bt&lt;br /&gt;
 +fi&lt;br /&gt;
 +&lt;br /&gt;
 apt-get install -y bash-completion&lt;br /&gt;
&lt;br /&gt;
rebuild sdk and download firmware&lt;br /&gt;
&lt;br /&gt;
=== Manage Bt devices ===&lt;br /&gt;
&lt;br /&gt;
You can use some open source tools, for example blueman&lt;br /&gt;
&lt;br /&gt;
== Camera Config ==&lt;br /&gt;
&lt;br /&gt;
== External Storage Config ==&lt;br /&gt;
&lt;br /&gt;
== Localisation ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=329</id>
		<title>Linbian Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=329"/>
				<updated>2018-09-04T09:16:02Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Add configure file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== linbian-config ==&lt;br /&gt;
&lt;br /&gt;
In development&lt;br /&gt;
&lt;br /&gt;
== UART configuration ==&lt;br /&gt;
&lt;br /&gt;
By default, the ttyS0 is assigned to the Linux console. The UART transmit and receive pins are on PB9 and PB10 espectively, which are pins 8 and 10 on the 'PI BUS' GPIO header.&lt;br /&gt;
&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
&lt;br /&gt;
Ethernet is enabled by default. Plug in the network cable will automatically connect to the Internet.&lt;br /&gt;
&lt;br /&gt;
[https://launchpad.net/wicd Wicd] is used for manage wireless and wired interface.&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Desktop Environment ===&lt;br /&gt;
&lt;br /&gt;
Open '''Wicd Network Manager''' from desktop. If the board is properly set up and connected, you should see a Window as follow.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wired.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Text Mode ===&lt;br /&gt;
&lt;br /&gt;
Open a Terminal from desktop. Type '''wicd-curses''':&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-curses.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Manage network by keyboard.&lt;br /&gt;
&lt;br /&gt;
== Wi-Fi ==&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Lindenis V5 without builtin Wi-Fi. Follow [http://files.lindeni.org/lindenis-v5/accessories/Lindenis_V5_Wi-Fi_Bluetooth_Installation_Guide.pdf these instructions] and install a module.&lt;br /&gt;
&lt;br /&gt;
=== Add Service In Running Environment ===&lt;br /&gt;
&lt;br /&gt;
Add configure file wifi.conf in /etc/modules-load.d, and the context of the configure file is the driver name, for example :bcmdhd&lt;br /&gt;
&lt;br /&gt;
Reboot the system&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
Manage Wi-Fi by Wicd (open '''Wicd Network Manager''' from desktop).&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Click '''Properties''' button to set access point password.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-prop.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
And then click '''Connect''' button to get access.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-connected.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
Bluetooth firmware and service are not installed by default&lt;br /&gt;
=== Add configure file ===&lt;br /&gt;
add configure file bt in &amp;quot;device/eagle/rootfs/etc&amp;quot; of sdk or &amp;quot;/etc&amp;quot; in running environment, and the context as follow:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Shell script to install Bluetooth firmware and attach BT part of&lt;br /&gt;
 #&lt;br /&gt;
 TTY=&amp;quot;/dev/ttyS1&amp;quot;&lt;br /&gt;
 BT_POWER_MGR_PATH=/sys/class/rfkill/rfkill0&lt;br /&gt;
 BT_FW_PATH=/lib/firmware/rtl_bt&lt;br /&gt;
 test -d $BT_POWER_MGR_PATH || exit 1&lt;br /&gt;
 test -d $BT_FW_PATH || exit 1&lt;br /&gt;
 echo &amp;quot;Using device $TTY for initializing Bluetooth&amp;quot;&lt;br /&gt;
 #BT power initialize&lt;br /&gt;
 echo 0 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 sleep 0.1&lt;br /&gt;
 echo 1 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 #rtk_hciattach -n -s 115200 $TTY rtk_h5 &amp;gt; /var/log/bt_start.log 2&amp;gt;&amp;amp;1 &amp;amp;&lt;br /&gt;
 brcm_patchram_plus --patchram /etc/firmware/BCM4345C0.hcd --no2bytes --tosleep 1000 $TTY&lt;br /&gt;
 hciattach $TTY any&lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
=== Add Service in SDK ===&lt;br /&gt;
&lt;br /&gt;
add service in &amp;quot;debain/mk-rootfs-stretch.sh&amp;quot; of sdk&lt;br /&gt;
&lt;br /&gt;
 diff --git a/mk-rootfs-stretch.sh b/mk-rootfs-stretch.sh&lt;br /&gt;
 index 75dd3ce..c46d605 100755&lt;br /&gt;
 --- a/mk-rootfs-stretch.sh&lt;br /&gt;
 +++ b/mk-rootfs-stretch.sh&lt;br /&gt;
 @@ -91,6 +91,10 @@ if insserv -s | grep mpp &amp;gt; /dev/null ; then&lt;br /&gt;
 insserv /etc/init.d/mpp&lt;br /&gt;
 fi&lt;br /&gt;
 +if insserv -s | grep bt &amp;gt; /dev/null ; then&lt;br /&gt;
 +insserv /etc/init.d/bt&lt;br /&gt;
 +fi&lt;br /&gt;
 +&lt;br /&gt;
 apt-get install -y bash-completion&lt;br /&gt;
&lt;br /&gt;
rebuild sdk and download firmware&lt;br /&gt;
=== Manage Bt devices ===&lt;br /&gt;
&lt;br /&gt;
You can use some open source tools, for example blueman&lt;br /&gt;
&lt;br /&gt;
== Camera Config ==&lt;br /&gt;
&lt;br /&gt;
== External Storage Config ==&lt;br /&gt;
&lt;br /&gt;
== Localisation ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=328</id>
		<title>Linbian Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=328"/>
				<updated>2018-09-04T08:58:55Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Add Service In Running Environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== linbian-config ==&lt;br /&gt;
&lt;br /&gt;
In development&lt;br /&gt;
&lt;br /&gt;
== UART configuration ==&lt;br /&gt;
&lt;br /&gt;
By default, the ttyS0 is assigned to the Linux console. The UART transmit and receive pins are on PB9 and PB10 espectively, which are pins 8 and 10 on the 'PI BUS' GPIO header.&lt;br /&gt;
&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
&lt;br /&gt;
Ethernet is enabled by default. Plug in the network cable will automatically connect to the Internet.&lt;br /&gt;
&lt;br /&gt;
[https://launchpad.net/wicd Wicd] is used for manage wireless and wired interface.&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Desktop Environment ===&lt;br /&gt;
&lt;br /&gt;
Open '''Wicd Network Manager''' from desktop. If the board is properly set up and connected, you should see a Window as follow.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wired.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Text Mode ===&lt;br /&gt;
&lt;br /&gt;
Open a Terminal from desktop. Type '''wicd-curses''':&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-curses.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Manage network by keyboard.&lt;br /&gt;
&lt;br /&gt;
== Wi-Fi ==&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Lindenis V5 without builtin Wi-Fi. Follow [http://files.lindeni.org/lindenis-v5/accessories/Lindenis_V5_Wi-Fi_Bluetooth_Installation_Guide.pdf these instructions] and install a module.&lt;br /&gt;
&lt;br /&gt;
=== Add Service In Running Environment ===&lt;br /&gt;
&lt;br /&gt;
Add configure file wifi.conf in /etc/modules-load.d, and the context of the configure file is the driver name, for example :bcmdhd&lt;br /&gt;
&lt;br /&gt;
Reboot the system&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
Manage Wi-Fi by Wicd (open '''Wicd Network Manager''' from desktop).&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Click '''Properties''' button to set access point password.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-prop.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
And then click '''Connect''' button to get access.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-connected.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
Bluetooth firmware and service are not installed by default&lt;br /&gt;
=== Add configure file ===&lt;br /&gt;
add configure file bt in &amp;quot;device/eagle/rootfs/etc&amp;quot; of sdk, and the context as follow:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Shell script to install Bluetooth firmware and attach BT part of&lt;br /&gt;
 #&lt;br /&gt;
 TTY=&amp;quot;/dev/ttyS1&amp;quot;&lt;br /&gt;
 BT_POWER_MGR_PATH=/sys/class/rfkill/rfkill0&lt;br /&gt;
 BT_FW_PATH=/lib/firmware/rtl_bt&lt;br /&gt;
 test -d $BT_POWER_MGR_PATH || exit 1&lt;br /&gt;
 test -d $BT_FW_PATH || exit 1&lt;br /&gt;
 echo &amp;quot;Using device $TTY for initializing Bluetooth&amp;quot;&lt;br /&gt;
 #BT power initialize&lt;br /&gt;
 echo 0 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 sleep 0.1&lt;br /&gt;
 echo 1 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 #rtk_hciattach -n -s 115200 $TTY rtk_h5 &amp;gt; /var/log/bt_start.log 2&amp;gt;&amp;amp;1 &amp;amp;&lt;br /&gt;
 brcm_patchram_plus --patchram /etc/firmware/BCM4345C0.hcd --no2bytes --tosleep 1000 $TTY&lt;br /&gt;
 hciattach $TTY any&lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
=== Add Service in SDK ===&lt;br /&gt;
&lt;br /&gt;
add service in &amp;quot;debain/mk-rootfs-stretch.sh&amp;quot; of sdk&lt;br /&gt;
&lt;br /&gt;
 diff --git a/mk-rootfs-stretch.sh b/mk-rootfs-stretch.sh&lt;br /&gt;
 index 75dd3ce..c46d605 100755&lt;br /&gt;
 --- a/mk-rootfs-stretch.sh&lt;br /&gt;
 +++ b/mk-rootfs-stretch.sh&lt;br /&gt;
 @@ -91,6 +91,10 @@ if insserv -s | grep mpp &amp;gt; /dev/null ; then&lt;br /&gt;
 insserv /etc/init.d/mpp&lt;br /&gt;
 fi&lt;br /&gt;
 +if insserv -s | grep bt &amp;gt; /dev/null ; then&lt;br /&gt;
 +insserv /etc/init.d/bt&lt;br /&gt;
 +fi&lt;br /&gt;
 +&lt;br /&gt;
 apt-get install -y bash-completion&lt;br /&gt;
&lt;br /&gt;
rebuild sdk and download firmware&lt;br /&gt;
=== Manage Bt devices ===&lt;br /&gt;
&lt;br /&gt;
You can use some open source tools, for example blueman&lt;br /&gt;
&lt;br /&gt;
== Camera Config ==&lt;br /&gt;
&lt;br /&gt;
== External Storage Config ==&lt;br /&gt;
&lt;br /&gt;
== Localisation ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=327</id>
		<title>Linbian Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=327"/>
				<updated>2018-09-04T08:50:44Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Bluetooth */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== linbian-config ==&lt;br /&gt;
&lt;br /&gt;
In development&lt;br /&gt;
&lt;br /&gt;
== UART configuration ==&lt;br /&gt;
&lt;br /&gt;
By default, the ttyS0 is assigned to the Linux console. The UART transmit and receive pins are on PB9 and PB10 espectively, which are pins 8 and 10 on the 'PI BUS' GPIO header.&lt;br /&gt;
&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
&lt;br /&gt;
Ethernet is enabled by default. Plug in the network cable will automatically connect to the Internet.&lt;br /&gt;
&lt;br /&gt;
[https://launchpad.net/wicd Wicd] is used for manage wireless and wired interface.&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Desktop Environment ===&lt;br /&gt;
&lt;br /&gt;
Open '''Wicd Network Manager''' from desktop. If the board is properly set up and connected, you should see a Window as follow.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wired.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Text Mode ===&lt;br /&gt;
&lt;br /&gt;
Open a Terminal from desktop. Type '''wicd-curses''':&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-curses.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Manage network by keyboard.&lt;br /&gt;
&lt;br /&gt;
== Wi-Fi ==&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Lindenis V5 without builtin Wi-Fi. Follow [http://files.lindeni.org/lindenis-v5/accessories/Lindenis_V5_Wi-Fi_Bluetooth_Installation_Guide.pdf these instructions] and install a module.&lt;br /&gt;
&lt;br /&gt;
=== Add Service In Running Environment ===&lt;br /&gt;
&lt;br /&gt;
*Add configure file wifi.conf in /etc/modules-load.d, and the context of the configure file is the driver name, for example :bcmdhd&lt;br /&gt;
&lt;br /&gt;
*Reboot the system&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
Manage Wi-Fi by Wicd (open '''Wicd Network Manager''' from desktop).&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Click '''Properties''' button to set access point password.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-prop.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
And then click '''Connect''' button to get access.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-connected.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
Bluetooth firmware and service are not installed by default&lt;br /&gt;
=== Add configure file ===&lt;br /&gt;
add configure file bt in &amp;quot;device/eagle/rootfs/etc&amp;quot; of sdk, and the context as follow:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Shell script to install Bluetooth firmware and attach BT part of&lt;br /&gt;
 #&lt;br /&gt;
 TTY=&amp;quot;/dev/ttyS1&amp;quot;&lt;br /&gt;
 BT_POWER_MGR_PATH=/sys/class/rfkill/rfkill0&lt;br /&gt;
 BT_FW_PATH=/lib/firmware/rtl_bt&lt;br /&gt;
 test -d $BT_POWER_MGR_PATH || exit 1&lt;br /&gt;
 test -d $BT_FW_PATH || exit 1&lt;br /&gt;
 echo &amp;quot;Using device $TTY for initializing Bluetooth&amp;quot;&lt;br /&gt;
 #BT power initialize&lt;br /&gt;
 echo 0 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 sleep 0.1&lt;br /&gt;
 echo 1 &amp;gt; /sys/class/rfkill/rfkill0/state&lt;br /&gt;
 #rtk_hciattach -n -s 115200 $TTY rtk_h5 &amp;gt; /var/log/bt_start.log 2&amp;gt;&amp;amp;1 &amp;amp;&lt;br /&gt;
 brcm_patchram_plus --patchram /etc/firmware/BCM4345C0.hcd --no2bytes --tosleep 1000 $TTY&lt;br /&gt;
 hciattach $TTY any&lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
=== Add Service in SDK ===&lt;br /&gt;
&lt;br /&gt;
add service in &amp;quot;debain/mk-rootfs-stretch.sh&amp;quot; of sdk&lt;br /&gt;
&lt;br /&gt;
 diff --git a/mk-rootfs-stretch.sh b/mk-rootfs-stretch.sh&lt;br /&gt;
 index 75dd3ce..c46d605 100755&lt;br /&gt;
 --- a/mk-rootfs-stretch.sh&lt;br /&gt;
 +++ b/mk-rootfs-stretch.sh&lt;br /&gt;
 @@ -91,6 +91,10 @@ if insserv -s | grep mpp &amp;gt; /dev/null ; then&lt;br /&gt;
 insserv /etc/init.d/mpp&lt;br /&gt;
 fi&lt;br /&gt;
 +if insserv -s | grep bt &amp;gt; /dev/null ; then&lt;br /&gt;
 +insserv /etc/init.d/bt&lt;br /&gt;
 +fi&lt;br /&gt;
 +&lt;br /&gt;
 apt-get install -y bash-completion&lt;br /&gt;
&lt;br /&gt;
rebuild sdk and download firmware&lt;br /&gt;
=== Manage Bt devices ===&lt;br /&gt;
&lt;br /&gt;
You can use some open source tools, for example blueman&lt;br /&gt;
&lt;br /&gt;
== Camera Config ==&lt;br /&gt;
&lt;br /&gt;
== External Storage Config ==&lt;br /&gt;
&lt;br /&gt;
== Localisation ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=File:Bt.jpg&amp;diff=326</id>
		<title>File:Bt.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=File:Bt.jpg&amp;diff=326"/>
				<updated>2018-09-04T08:05:24Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;bt configure&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=325</id>
		<title>Linbian Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=325"/>
				<updated>2018-09-04T07:51:27Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Add Service In Running Environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== linbian-config ==&lt;br /&gt;
&lt;br /&gt;
In development&lt;br /&gt;
&lt;br /&gt;
== UART configuration ==&lt;br /&gt;
&lt;br /&gt;
By default, the ttyS0 is assigned to the Linux console. The UART transmit and receive pins are on PB9 and PB10 espectively, which are pins 8 and 10 on the 'PI BUS' GPIO header.&lt;br /&gt;
&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
&lt;br /&gt;
Ethernet is enabled by default. Plug in the network cable will automatically connect to the Internet.&lt;br /&gt;
&lt;br /&gt;
[https://launchpad.net/wicd Wicd] is used for manage wireless and wired interface.&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Desktop Environment ===&lt;br /&gt;
&lt;br /&gt;
Open '''Wicd Network Manager''' from desktop. If the board is properly set up and connected, you should see a Window as follow.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wired.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Text Mode ===&lt;br /&gt;
&lt;br /&gt;
Open a Terminal from desktop. Type '''wicd-curses''':&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-curses.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Manage network by keyboard.&lt;br /&gt;
&lt;br /&gt;
== Wi-Fi ==&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Lindenis V5 without builtin Wi-Fi. Follow [http://files.lindeni.org/lindenis-v5/accessories/Lindenis_V5_Wi-Fi_Bluetooth_Installation_Guide.pdf these instructions] and install a module.&lt;br /&gt;
&lt;br /&gt;
=== Add Service In Running Environment ===&lt;br /&gt;
&lt;br /&gt;
*Add configure file wifi.conf in /etc/modules-load.d, and the context of the configure file is the driver name, for example :bcmdhd&lt;br /&gt;
&lt;br /&gt;
*Reboot the system&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
Manage Wi-Fi by Wicd (open '''Wicd Network Manager''' from desktop).&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Click '''Properties''' button to set access point password.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-prop.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
And then click '''Connect''' button to get access.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-connected.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
&lt;br /&gt;
== Camera Config ==&lt;br /&gt;
&lt;br /&gt;
== External Storage Config ==&lt;br /&gt;
&lt;br /&gt;
== Localisation ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=324</id>
		<title>Linbian Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=324"/>
				<updated>2018-09-04T07:50:59Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Add Service In Running Environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== linbian-config ==&lt;br /&gt;
&lt;br /&gt;
In development&lt;br /&gt;
&lt;br /&gt;
== UART configuration ==&lt;br /&gt;
&lt;br /&gt;
By default, the ttyS0 is assigned to the Linux console. The UART transmit and receive pins are on PB9 and PB10 espectively, which are pins 8 and 10 on the 'PI BUS' GPIO header.&lt;br /&gt;
&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
&lt;br /&gt;
Ethernet is enabled by default. Plug in the network cable will automatically connect to the Internet.&lt;br /&gt;
&lt;br /&gt;
[https://launchpad.net/wicd Wicd] is used for manage wireless and wired interface.&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Desktop Environment ===&lt;br /&gt;
&lt;br /&gt;
Open '''Wicd Network Manager''' from desktop. If the board is properly set up and connected, you should see a Window as follow.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wired.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Text Mode ===&lt;br /&gt;
&lt;br /&gt;
Open a Terminal from desktop. Type '''wicd-curses''':&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-curses.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Manage network by keyboard.&lt;br /&gt;
&lt;br /&gt;
== Wi-Fi ==&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Lindenis V5 without builtin Wi-Fi. Follow [http://files.lindeni.org/lindenis-v5/accessories/Lindenis_V5_Wi-Fi_Bluetooth_Installation_Guide.pdf these instructions] and install a module.&lt;br /&gt;
&lt;br /&gt;
=== Add Service In Running Environment ===&lt;br /&gt;
&lt;br /&gt;
*Add configure file wifi.conf in /etc/modules-load.d/, and the context of the configure file is the driver name, for example :bcmdhd&lt;br /&gt;
&lt;br /&gt;
*Reboot the system&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
Manage Wi-Fi by Wicd (open '''Wicd Network Manager''' from desktop).&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Click '''Properties''' button to set access point password.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-prop.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
And then click '''Connect''' button to get access.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-connected.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
&lt;br /&gt;
== Camera Config ==&lt;br /&gt;
&lt;br /&gt;
== External Storage Config ==&lt;br /&gt;
&lt;br /&gt;
== Localisation ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	<entry>
		<id>http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=323</id>
		<title>Linbian Configuration</title>
		<link rel="alternate" type="text/html" href="http://wiki.lindeni.org/index.php?title=Linbian_Configuration&amp;diff=323"/>
				<updated>2018-09-04T07:45:32Z</updated>
		
		<summary type="html">&lt;p&gt;Ardon: /* Wi-Fi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== linbian-config ==&lt;br /&gt;
&lt;br /&gt;
In development&lt;br /&gt;
&lt;br /&gt;
== UART configuration ==&lt;br /&gt;
&lt;br /&gt;
By default, the ttyS0 is assigned to the Linux console. The UART transmit and receive pins are on PB9 and PB10 espectively, which are pins 8 and 10 on the 'PI BUS' GPIO header.&lt;br /&gt;
&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
&lt;br /&gt;
Ethernet is enabled by default. Plug in the network cable will automatically connect to the Internet.&lt;br /&gt;
&lt;br /&gt;
[https://launchpad.net/wicd Wicd] is used for manage wireless and wired interface.&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Desktop Environment ===&lt;br /&gt;
&lt;br /&gt;
Open '''Wicd Network Manager''' from desktop. If the board is properly set up and connected, you should see a Window as follow.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wired.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
=== Running Wicd in Text Mode ===&lt;br /&gt;
&lt;br /&gt;
Open a Terminal from desktop. Type '''wicd-curses''':&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-curses.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Manage network by keyboard.&lt;br /&gt;
&lt;br /&gt;
== Wi-Fi ==&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
Lindenis V5 without builtin Wi-Fi. Follow [http://files.lindeni.org/lindenis-v5/accessories/Lindenis_V5_Wi-Fi_Bluetooth_Installation_Guide.pdf these instructions] and install a module.&lt;br /&gt;
&lt;br /&gt;
=== Add Service In Running Environment ===&lt;br /&gt;
&lt;br /&gt;
*Add configue file wifi.conf in /etc/modules-load.d/, and the context is the driver name, for example :bcmdhd&lt;br /&gt;
&lt;br /&gt;
*Reboot the system&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
Manage Wi-Fi by Wicd (open '''Wicd Network Manager''' from desktop).&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
Click '''Properties''' button to set access point password.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-prop.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
And then click '''Connect''' button to get access.&lt;br /&gt;
&lt;br /&gt;
[[File:wicd-nm-wireless-connected.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
== Bluetooth ==&lt;br /&gt;
&lt;br /&gt;
== Camera Config ==&lt;br /&gt;
&lt;br /&gt;
== External Storage Config ==&lt;br /&gt;
&lt;br /&gt;
== Localisation ==&lt;/div&gt;</summary>
		<author><name>Ardon</name></author>	</entry>

	</feed>