FFMPEG development: collect camera data under Linux, record it into MP4 video and save it locally
1, Environment introduction
Operating system introduction: ubuntu 18.04
FFMPEG version: 4.4.2
Camera: USB camera, virtual machine attached camera of the machine
2, Download and compile FFMPEG and X264
X264 download address: http://www.videolan.org/developers/x264.html
FFMPEG download address: ...
Posted by itarun on Mon, 16 Mar 2020 21:57:27 -0700
tornado learning notes day04 execution order
Response output - > write
prototype
self.write() function
This is how it is defined in the source code
def write(self, chunk: Union[str, bytes, dict]) -> None:
Effect
Write chunk data to buffer
Four ways to refresh buffer
Program interrupt
Manual refresh
Buffer full
Encounter \n
When you write a print, it is not directly displayed on t ...
Posted by chyan on Mon, 16 Mar 2020 20:31:09 -0700
Ansible-Secret Login and Host List Inventory
Ansible's specified user and password login, secret-free login, specified ssh port, and host list Inventory configuration
It is not necessary to modify the ansible configuration in practice, or it is only necessary to modify the ansible configuration.
Add user account
Explain:
1. Login accounts used by operations and maintenance personnel;
2 ...
Posted by artist-ink on Sun, 15 Mar 2020 09:06:45 -0700
iostat source code analysis
The iostat command reports cpu statistics and disk i/o statistics. The iostat command monitors the i/o load of the system by observing the actual working time of the storage devices and their average transmission rate.
This does not need root permission, and the data source can be obtained directly by a ...
Posted by chrislead on Sat, 14 Mar 2020 23:18:00 -0700
redis highly available cluster
1. Preface
Redis is the largest cache middleware we use today, and it is widely used because of its powerful, efficient and convenient features.Redis released 3.0.0 in 2015, officially supporting redis clusters.This brings an end to the era of redis without clusters, which used to be Twemproxy published by twitter and codis developed by pea po ...
Posted by snarkiest on Sat, 14 Mar 2020 13:18:07 -0700
Understanding of SurfaceFlinger (12) in Android GUI system
Link to the general outline of this series of articles: surface flinger series of articles of Android GUI system
Summary & description of key points in this chapter:
The mind map of this chapter is as above. This paper mainly introduces the concept of FrameBuffer, mainly focuses on the basic ...
Posted by russia5 on Fri, 13 Mar 2020 22:37:38 -0700
Flume installation deployment and cases
1. Installation address
1) Flume official website address
http://flume.apache.org/
2) Document view address
http://flume.apache.org/FlumeUserGuide.html
3) Download address
http://archive.apache.org/dist/flume/
2. Installation and deployment
1) Upload apache-flume-1.7.0-bin.tar.gz to the / opt/softwa ...
Posted by The14thGOD on Fri, 13 Mar 2020 19:40:57 -0700
07-docker port mapping associated with container
Port mappings are associated with containers
In addition to network access, docker provides two capabilities to meet the basic requirements of service access: one is to allow mapping of service ports applied within containers to local host hosts, and the other is to enable quick access through container names between multiple containers throug ...
Posted by n1tr0b on Fri, 13 Mar 2020 11:16:24 -0700
Implementation of music player based on madplay library linux Application Programming
Implementation of music player based on madplay library linux Application Programming
The system can realize the following functions: play, pause, continue, stop, last song, next song, volume adjustment and exit.
Using madplay library to realize a simple music player, which can play local audio files ...
Posted by jdashca on Fri, 13 Mar 2020 08:59:01 -0700
Installing docker under linux
Currently, docker is very popular. Of course, compared with k8s, docker is slightly less powerful, but it is still widely used and convenient. Here are two ways to install docker
First type: yum source installation
This method is relatively simple to install, but first make sure that yum is install ...
Posted by rjs34 on Fri, 13 Mar 2020 02:28:35 -0700