当前位置:网站首页>[imx6ull] video monitoring project (USB camera +ffmepeg)
[imx6ull] video monitoring project (USB camera +ffmepeg)
2022-06-13 00:42:00 【A small snail in a big city】
List of articles
Preface
Reference video :
Mr. weidongshan takes you from 0 Start to build a video surveillance system
1、 Introduction to the overall scheme
This article is well written , It's easy to understand , No more wheels
The punctual atoms imx6ull Development board video monitoring project practice series 1: Introduction to the overall scheme
2、 To configure v4l2 Driving and UVC drive
Because the kernel source code of punctual atom is not enabled by default ,UVC Device driver , You need to configure and compile it yourself

Insert usb camera , The console outputs device information , prove UVC The driver has been compiled successfully
usb 1-1.3: New USB device found, idVendor=0c45, idProduct=64ab usb
1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb
1-1.3: Product: Integrated_Webcam_HD usb 1-1.3: Manufacturer: 170428-
uvcvideo: Found UVC 1.00 device Integrated_Webcam_HD (0c45:64ab)
input: Integrated_Webcam_HD as
/devices/platform/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0/input/input3 usb 1-1.4: new high-speed USB device number 4 using ci_hdrc usb 1-1.4:
New USB device found, idVendor=0bda, idProduct=8179 usb 1-1.4: New USB
device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1.4: Product:
802.11n WLAN NIC usb 1-1.4: Manufacturer: Realteksee /dev/video*, There are video device files , prove UVC The driver has been compiled successfully
3、v4l2 Application programming test camera
Test plan
Project the image obtained from the camera onto RGB566 display
transplant libjpeg
Because my camera only supports image format :MJPEG,YUV422, The display only supports RGB565, So you need to use tools to MJPEG Transcode as RGB565.
v4l2+framebuf Application Programming
Hereby libjpeg+v4l2+frambuff+ The migration process is shared
4、ffmepg transplant
brief introduction
The punctual atoms imx6ull Development board video monitoring project practice series 3:
ffmpeg
This article introduces ffmepeg The purpose of the camera and the way of streaming the cameratransplant
Because the documentation of punctual atoms is not correct ffmpeg Detailed migration steps , I found several transplant descriptions on the Internet , But it's not true , Only this is suitable for my board .
The following is my running script , It can be directly copied away for use , Bear in mind 16,17 The content of a bank cannot be run by a branch , Return error
FFmpeg transplant - Xunwei IMX6ULL Development board1 #!/bin/bash 2 ./configure \ 3 --cross-prefix=arm-linux-gnueabihf- \ 4 --enable-cross-compile \ 5 --target-os=linux \ 6 --cc=arm-linux-gnueabihf-gcc \ 7 --arch=arm \ 8 --prefix=/home/sheldon/linux/tool/ffmpeg-install \ 9 --enable-shared \ 10 --disable-static \ 11 --enable-gpl \ 12 --enable-nonfree \ 13 --disable-ffplay \ 14 --enable-swscale \ 15 --enable-pthreads \ 16 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-x86asm \ 17 --disable-stripping --enable-libx264 \ 18 --extra-cflags=-I/home/sheldon/linux/tool/x264_install/include/ \ 19 --extra-ldflags=-L/home/sheldon/linux/tool/x264_install/lib/ --extra-libs=-ldl
summary
边栏推荐
- 市值破万亿,连续三个月销量破10万,比亚迪会成为最强国产品牌?
- Map from getting started to performance optimization
- 【北亚服务器数据恢复】虚拟机文件丢失导致Hyper-V服务瘫痪的数据恢复案例
- 磁盘分区方式对比(MBR与GPT)
- Kali system -- host, dig, dnsenum, imtry for DNS collection and analysis
- Notes: the 11th and 12th generation mobile versions of Intel support the native thunderbolt4 interface, but the desktop version does not
- String类中split()方法的使用
- Installation of IK word breaker
- Pipelines in go concurrency mode
- [GYCTF2020]Ezsqli --BUUCTF
猜你喜欢

String类中split()方法的使用

MAYA建模六

.net core 抛异常对性能影响的求证之路

The origin of MySQL in bedtime stories

Mysql批量插入数据时如何解决重复问题?
![[MRCTF2020]Ez_ bypass --BUUCTF](/img/73/85262c048e177968be67456fa4fe02.png)
[MRCTF2020]Ez_ bypass --BUUCTF
![[error] invalid use of incomplete type uses an undefined type](/img/8a/7cb5d270cfd8831ddc146687fe4499.png)
[error] invalid use of incomplete type uses an undefined type

Can branches sign labor contracts with employees
![[GYCTF2020]Ezsqli --BUUCTF](/img/8b/3c8b48daf7719482a235fd622737aa.png)
[GYCTF2020]Ezsqli --BUUCTF

Masa auth - overall design from the user's perspective
随机推荐
BUUCTF之BabyUpload[GXYCTF2019]
Why is there always a space (63 or 2048 sectors) in front of the first partition when partitioning a disk
Kotlin 协程的四种启动模式
MAYA建模六
Comparison of disk partition modes (MBR and GPT)
Leetcode weekly -- April to May
浏览器控制台注入JS
【服务器数据恢复】存储服务器之间迁移数据时数据丢失恢复成功案例
How to solve the duplication problem when MySQL inserts data in batches?
[gxyctf2019] no dolls -- detailed explanation
Lambda expression
Delphi2009 connecting Oracle11g
[GYCTF2020]Ezsqli --BUUCTF
Conversion of integer part and decimal part between binary / octal / decimal / hexadecimal
牌好不好无法预料
Arduino interrupt
Transaction verification of btcd transaction process (2)
Summary of openstack installation problems
Composite key relationships using Sqlalchemy - relationships on composite keys using Sqlalchemy
通过抓包下载钉钉直播回放