Using ffmpeg to split the video file into several ppm pictures

Using ffmpeg to split the video file into several ppm pictures thinking Get path - > unpack - > get video stream information - > decode - > YUV420 to RGB - > store in ppm format. Pseudo code step1. Registration Step 2. Open audio and video files Step 3. Get audio and video stream st ...

Posted by iBlizz on Sun, 23 Feb 2020 05:29:45 +0100

RPC Framework Reconstruction Based on Netty

01 RPC overview The following picture, which many small partners have seen, is a picture on Dubbo's official website describing the evolution of the project architecture. It describes the configuration and organization of each architecture. When the website traffic is very small, only one application ...

Posted by nmreddy on Wed, 19 Feb 2020 09:57:27 +0100

Let's talk about lettuce's sentinel connection

order This paper mainly studies the sentinel connection of lettuce RedisClient.connectSentinel lettuce-core-5.0.4.RELEASE-sources.jar!/io/lettuce/core/RedisClient.java private <K, V> StatefulRedisSentinelConnection<K, V> connectSentinel(RedisCodec<K, V> codec, RedisURI redisURI, Duration timeout) { asse ...

Posted by GreenSmurf on Fri, 03 Jan 2020 03:16:39 +0100

Netty learning one: the first netty program

Recently, after studying netty and reading the blog for a few days, I plan to write a hands-on program by myself. This program is very simple: the client sends a ping, and the server will reply a pong accordingly. When the server loses the connection, it will be disconnected. The whole code is divided into two parts: client and server. The stru ...

Posted by signs on Wed, 01 Jan 2020 06:19:25 +0100

0110 programming - Chinese coding of Python

Click here to enter the AI bar directory and view all articles Some commonly used Chinese code scrambling transformations collected: print("ord('I'):",ord('I')) print("chr(25105):",chr(25105)) print('\n') print("'My short book'.encode('unicode_escape'):",'My short book'.encode('unicode_escape')) print("'\\u6211\\u7684\\u7b80\\u4 ...

Posted by deesse on Mon, 02 Dec 2019 00:36:39 +0100

Netty application: a simple C/S communication model

Use Netty to realize a simple communication model. Look at the program: 1. Server side: Class Server: import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.*; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import io.netty.channel.socket.nio.NioServerSocketChannel; import ...

Posted by simmosn on Tue, 12 Nov 2019 17:55:15 +0100

Implementation of java operation ffmepg

1. preparation   ffmpeg Link: https://pan.baidu.com/s/1oh qfxnlw5kmdf8f5etq Extraction code: rsdn It's more convenient to open Baidu online mobile App after copying this content 2. View live video through ffmepg public void run() { ProcessBuilder builder = null; List commend = new ArrayList(); commen ...

Posted by gwizz on Mon, 11 Nov 2019 20:22:23 +0100

Encryption algorithm of MD5 digest ciphertext generated by mixed random salt

Encryption steps: Write the extractSalt() method, which generates and returns a random salt value Write the method to generate MD5 summary: getMd5Hex(String str), the parameter is String, and 32-bit hex String is returned. This method needs to import jar package: commons-codec-1.10.jar Write password generation method: generateKeywordText(Str ...

Posted by sealMail on Sun, 03 Nov 2019 18:01:27 +0100

FFmpeg Decoded Memory G711A

background Recently, I learned the knowledge of audio decoding from FFmpeg. I just did the work of audio G711A decoding, so I want to record and share it. Function description My requirement is to decode the data of the audio G711A of a frame, so I take a complete G711A audio data from memory to do ...

Posted by explorer on Sun, 06 Oct 2019 12:18:18 +0200

Preliminary Exploration of Responsive Spring demo Based on WebFlux

1. What is responsive programming? Why do we now think this is the trend of micro service? Let's dig a hole and give a simple formula. Responsive programming = data stream + change transfer + declarative   2. Following nonsense, don't talk much about code directly The Implementing Thought and In ...

Posted by lunarul on Wed, 02 Oct 2019 08:02:16 +0200