Difference between revisions of "Linbian Usage Guide"
(→Camera source) |
Csjamesdeng (talk | contribs) |
||
Line 7: | Line 7: | ||
You can open it from '''Application Menu''' -> '''System Tools'''. | You can open it from '''Application Menu''' -> '''System Tools'''. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Camera Module == | == Camera Module == | ||
Line 54: | Line 40: | ||
== GPIO == | == GPIO == | ||
+ | |||
+ | == MPP == | ||
+ | |||
+ | === Allwinner official documents === | ||
+ | * 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]. | ||
+ | * 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]. | ||
+ | * 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]. | ||
+ | * 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] | ||
+ | * 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] | ||
+ | * 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] | ||
+ | |||
+ | === Samples === | ||
+ | |||
+ | Please refer to [[#Demo_programs | Demo programs]]. | ||
== Demo programs == | == Demo programs == |
Revision as of 09:27, 25 October 2018
Contents
Terminal
On Linbian OS, the default terminal application is LXTerminal.
You can open it from Application Menu -> System Tools.
Camera Module
Webcams
Gstreamer
Camera source
- lindeniv4l2src: Video (video4linux2) Source
Use for CSI Camera
Example:
sudo gst-launch-1.0 lindeniv4l2src device=/dev/video1 ! video/x-raw,width=1920,height=1080,format=I420 ! videoconvert ! sunxifbsink video-memory=24
Omx hardware H.264 decoder and encoder
- omxh264dec: OpenMAX H.264 Video Decoder
Example:
sudo gst-launch-1.0 filesrc location=1c.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! videoconvert ! sunxifbsink
- omxh264videoenc: OpenMAX H.264 Video Encoder
Example:
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
Display sink
- sunxifbsink: Accelerated console framebuffer video sink for sunxi-based devices
Example:
sudo gst-launch-1.0 -v videotestsrc pattern=ball name=left ! sunxifbsink
Play Video
Play Audio
Python
GPIO
MPP
Allwinner official documents
- MPP Application Development Reference Manual, Chinese version.
- ISP Module User Guide, Chinese version, English version.
- EVE Application Development Reference Manual, Chinese version, English version.
- Human Counting Application Development Reference Manual, Chinese version
- Motion Detection Application Development Reference Manual, Chinese version
- Binocular depth of field (DOF) Application Development Reference Manual, Chinese version
Samples
Please refer to Demo programs.