Video decoding with ffmpeg

1. Tool preparation Computer Mac, development tool Android studio 3.4, compilation environment cmake 2. Development steps Create a new module project Create a new cpp folder and a new CMakeLists.txt file in the main directory cmake_minimum_required(VERSION 3.4.1) include_directories(../cpp/incl ...

Posted by vikela on Tue, 04 Feb 2020 10:20:14 -0800

[Netty learning notes] X. use of codec

Basic explanation Component design of Netty: the main components of Netty are Channel, EventLoop, ChannelFuture, ChannelHandler, ChannelPipe, etc. ChannelHandler acts as a container for application logic that processes inbound and outbound data. For example, to implement the ChannelInboundHandler inte ...

Posted by itsjareds on Wed, 29 Jan 2020 20:16:37 -0800

4.5 billion data migration records follow-up-to-day data volume levels of 10 million to clickhouse

4.5 billion data migration records follow-up-to-day data volume levels of 10 million to clickhouse Related Document Address flume Reference Address waterdrop Reference Address clickhouse Reference Address kafka Reference Address The environment log is on one server and the clickhouse cluster is on the other. thinking Previously, when m ...

Posted by gszauer on Mon, 20 Jan 2020 18:52:36 -0800

Feign call error: failed and no fallback available

timed-out and no fallback This error basically occurs in the Hystrix fuse. The function of the fuse is to determine whether the service can be connected. If it is connected, it doesn't matter. If the call exceeds the time limit within the specified time, it will return an error through the fuse. Generally, you can set one of the following confi ...

Posted by Simbachips on Thu, 16 Jan 2020 07:41:32 -0800

Using netty to build a simple http server

Article directory netty overview netty architecture model Manually rolling an http server Introducing netty into pom.xml Write netty server Operation test Summary netty overview Netty is a network programming framework based on java NIO encapsulation, which can help us develop network applicat ...

Posted by dubhcat on Mon, 13 Jan 2020 01:36:59 -0800

Handwritten MQ Framework - combing with netty transformation

1. Background Copy above Handwritten MQ Framework (3) - Client Implementation , which previously implemented mq as a server and client via the web, now plans to use netty to transform it.A while ago, I learned how to use netty (https://www.w3cschool.cn/netty4userguide/52ki1iey.html).There are probably some ideas. netty encapsulates the use of s ...

Posted by iankent on Thu, 02 Jan 2020 16:10:04 -0800

Java Web Learning note 2: generate picture verification code

First, create a Java Web project named identity, and create a new Servlet named IdentityServlet below it. If the project and Servlet will not be created, please refer to my notes in the previous section: https://blog.csdn.net/h2503652646/article/details/82555695 Here is the source code of IdentityServlet.java package com.test ...

Posted by tracivia on Tue, 31 Dec 2019 03:16:52 -0800

Talk about the computeIfAbsent operation of RMap of redisson

order This paper mainly studies the computeIfAbsent operation of RMap of redisson Example @Test public void testRMapComputeIfAbsent(){ Config config = new Config(); config.useSingleServer() .setAddress("redis://192.168.99.100:6379"); RedissonClient redisson = Redisson.create(config); RMap& ...

Posted by desenhistas on Wed, 25 Dec 2019 12:16:43 -0800

c + + Foundation (6): matlab time conversion, ascii to char and time format conversion

Let the output start and end time, did not expect that matlab is output like this, feel egg pain incomparably in an instant 5.0000000e+01 4.8000000e+01 4.9000000e+01 5.6000000e+01 4.5000000e+01 4.9000000e+01 5.0000000e+01 4.5000000e+01 5.0000000e+01 4.8000000e+01 3.2000000e+01 4.9000000e+01 5.7000000e+01 ...

Posted by Anidazen on Sat, 07 Dec 2019 00:23:01 -0800

filebeat collects IIS logs into es

If you need to collect IIS logs in your work, you can use the filebeat component; Log format resolution of iis: Log example: #Software: Microsoft Internet Information Services 7.5 #Version: 1.0 #Date: 2019-03-14 00:00:00 #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc- ...

Posted by timc37 on Mon, 02 Dec 2019 20:29:53 -0800