ffmpeg -i "Apache Sqoop Tutorial Part 1.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
ffmpeg -i "Apache Sqoop Tutorial Part 2.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
ffmpeg -i "Apache Sqoop Tutorial Part 3.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate3.ts
ffmpeg -i "Apache Sqoop Tutorial Part 4.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate4.ts
ffmpeg -i "concat:intermediate1.ts|intermediate2.ts|intermediate3.ts|intermediate4.ts" -c copy -bsf:a aac_adtstoasc "Apache Sqoop Tutorial.mp4"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StatsService API获得数据统计功能,配置里面必须满足以下条件 | |
1. `"stats":{}`对象的存在 | |
2. `"api"`配置对象里面有`StatsService` | |
3. `"policy"`中的统计开关为true,除了各个用户的统计,还有全局统计 | |
4. clients里面要有email | |
5. 有个专用的`dokodemo-door`协议的入口,tag为api | |
6. routing里面有inboundTag:api -> outboundTag:api的规则 | |
另外: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you don‘t want to build it youself, you can try `docker pull killercai/postgres`. | |
FROM healthcheck/postgres:latest | |
# China debian mirror | |
RUN sed -i s@/deb.debian.org/@/mirrors.aliyun.com/@g /etc/apt/sources.list | |
RUN apt-get clean && apt-get update | |
RUN apt-get install -y wget git build-essential libpq-dev python-dev postgresql-server-dev-all | |
# SCWS (Simple Chinese Word Segmentation library) | |
RUN cd /tmp && wget -q -O - http://www.xunsearch.com/scws/down/scws-1.2.1.tar.bz2 | tar xjf - && cd scws-1.2.1 && ./configure && make install | |
# zhpaser (postgres plugin) |