-
Solution: PTS
Key Features
☐ Only one config file needed for a new Clickhouse table
☐ Init and keep syncing data in one app for a table
☐ Sync multiple data source to Clickhouse in minutes
## PTS
## Provider ## PTS
## Provider Transform Sinker
Major Provider
Secondary Providers
Table: name
ID
Name
Table: age
ID
Age
Table: Height
ID
Height
Clickhouse Table:user
ID
Name
Age
Height
## PTS
## Name
Clickhouse Table
ID
Name
## PTS
## Provider Transform Sinker
SolidKey
Table: male
ID
Name
Table: female
ID
Name
Table: people
ID
Name
Gender
## PTS
## Provider Transform Sinker
Transform
0 码力 |
38 页 |
2.25 MB
| 2 年前 3
-
Solution: PTS
Key Features
• Only one config file needed for a new Clickhouse table
- Init and keep syncing data in one app for a table
• Sync multiple data source to Clickhouse in minutes
## PTS
## Provider user,
QueryKeys: [ // usually primary key
id
Pairs: { // field mapping
id: id,
name: name
## PTS
## Provider Transform Sinker
• Major Provider
• Secondary Providers
Table: name
ID
Name
Table: Table: age
ID
Age
Table: Height
ID
Height
Clickhouse Table:user
ID
Name
Age
Height
## PTS
## Provider Transform Sinker
• Merge sharding tables
Table: name
ID
Name
Table: name\_201901
ID
0 码力 |
38 页 |
7.13 MB
| 2 年前 3
-
例如需要为一个储存在DVB-T上的MPEG-TS格式硬编码字幕,而且字幕延迟1秒:
ffmpeg -i input.ts -filter_complex \
'[\#0x2ef] setpts=PTS+1/TB [sub] ;[\#0x2d0] [sub] overlay' \
-sn -map '\#0x2dc' output.mkv
(0x2d0, 0x2dc 以及 'mv'
19.
20. 运动矢量
21. 'dct_coeff'
22. 'skip'
23. 'startcode'
24. 'pts'
25. 'er'
26.
27. 错误识别
28. 'mmco'
29.
30. 内存管理控制操作 (H.264)
31. 'bugs' 1. 忽略索引
本文档使用 书栈(BookStack.CN) 构建
'fastseek'
1. 允许快速定位,但只有个别格式有效
'genpts'
1. 常规PTS.
'nofillin'
1. 不填补缺失值,则可以精确计算
'noparse'
1. 禁止AVParsers,它要和 +nofillin联用.
'igndts'
0 码力 |
502 页 |
3.06 MB
| 2 年前 3
-
FixedFont(string.Format("pts:{0} pts_time:{1} dts:{2} dts_time:{3} duration:{4} duration_time:{5} stream_index:{6}:", av_ts2str(packet.Pts), av_ts2timestr(packet.Pts, timebase), av_ts2str(packet static string av_ts2str(long pts) => pts == ffmpeg.AV_NOPTS_VALUE ? "NOPTS" : pts.ToString();
static unsafe string av_ts2timestr(long pts, AVRational timebase) => pts == ffmpeg.AV_NOPTS_VALUE AV_NOPTS_VALUE
?"NOPTS"
:(1.0 * pts * timebase.Num / timebase.Den).ToString("N6");
## 示例1 纯代码生成视频·重点代码解析
fc.WriteHeader();
VideoFrameGenerator.Yuv420pSequence(vcodec.Width, vcodec.Height,
0 码力 |
14 页 |
1.43 MB
| 2 年前 3
-
般是端口被占用导致的)
fisco 5453 1 1 17:11 pts/0
→1/node0/../fisco-bcos -c config.ini
fisco 5459 1 1 17:11 pts/0
→1/node1/../fisco-bcos -c config.ini
fisco 5464 1 1 17:11 pts/0
→1/node2/../fisco-bcos -c config config.ini
fisco 5476 1 1 17:11 pts/0
→1/node3/../fisco-bcos -c config.ini
00:00:02 /home/ubuntu/fisco/nodes/127.0.0.
00:00:02 /home/ubuntu/fisco/nodes/127.0.0.
00:00:02 /home/ubuntu/fisco/nodes/127.0.0.
00:00:02 fisco-bcos
ubuntu16 301 0.8 0.0 986644 7452 pts/0 S1 15:21 0:00 /home/
→ubuntu16/fisco/nodes/127.0.0.1/node5/../fisco-bcos -c config.ini
ubuntu16 306 0.9 0.0 986644 6928 pts/0 S1 15:21 0:00 /home/
→ubuntu16/fisco/nodes/127
0 码力 |
470 页 |
7.45 MB
| 2 年前 3
-
正常情况会有类似下面的输出;如果进程数不为4,则进程没有启动(一般是端口被占用导致的)
fisco 5453 1 17:11 pts/0 00:00:02
/home/fisco/fisco/nodes/127.0.0.1/node0/../fisco-bcos -c config.ini
fisco 5459 1 17:11 pts/0 00:00:02
/home/fisco/fisco/nodes/127.0.0.1/node1/ 1/node1/../fisco-bcos -c config.ini
fisco 5464 1 17:11 pts/0 00:00:02
/home/fisco/fisco/nodes/127.0.0.1/node2/../fisco-bcos -c config.ini
fisco 5476 1 17:11 pts/0 00:00:02
/home/fisco/fisco/nodes/127.0.0.1/node3/ fisco-bcos
ubuntu16 301 0.8 0.0 986644 7452 pts/0 Sl 15:21
0:00 /home/ubuntu16/fisco/nodes/127.0.0.1/node5/../fisco-bcos -c config.ini
ubuntu16 306 0.9 0.0 986644 6928 pts/0 Sl 15:21
0:00 /home/ubuntu16/fisco/nodes/127
0 码力 |
1058 页 |
740.85 KB
| 2 年前 3
-
般是端口被占用导致的)
fisco 5453 1 1 17:11 pts/0
→1/node0/../fisco-bcos -c config.ini
fisco 5459 1 1 17:11 pts/0
→1/node1/../fisco-bcos -c config.ini
fisco 5464 1 1 17:11 pts/0
→1/node2/../fisco-bcos -c config config.ini
fisco 5476 1 1 17:11 pts/0
→1/node3/../fisco-bcos -c config.ini
00:00:02 /home/ubuntu/fisco/nodes/127.0.0.
00:00:02 /home/ubuntu/fisco/nodes/127.0.0.
00:00:02 /home/ubuntu/fisco/nodes/127.0.0.
00:00:02 fisco-bcos
ubuntu16 301 0.8 0.0 986644 7452 pts/0 S1 15:21 0:00 /home/
→ubuntu16/fisco/nodes/127.0.0.1/node5/../fisco-bcos -c config.ini
ubuntu16 306 0.9 0.0 986644 6928 pts/0 S1 15:21 0:00 /home/
→ubuntu16/fisco/nodes/127
0 码力 |
540 页 |
8.77 MB
| 2 年前 3
-
curvefs | grep wanghai
wanghai+ 2641513 1 0 13:44 pts/213 00:00:00
./bazel-bin/curvefs/src/space_新知识/curve_fs_space_新知识_main
wanghai+ 2641514 1 0 13:44 pts/213 00:00:00 ./bazel-bin/curvefs/src/metaserver/curvefs_metaserver /curvefs_metaserver
wanghai+ 2641515 1 0 13:44 pts/213 00:00:00 ./bazel-bin/curvefs/src/mds/curvefs_mds
wanghai+ 2642837 2589230 0 13:47 pts/156 00:00:00 ./bazel-bin/curvefs/src/client/fuse_client -f -o wanghai+2641515 1 0 13:44 ? 00:00:00 ./bazel-bin/curvefs/src/mds/curvefs_mds
wanghai+2650159 2589230 0 14:01 pts/156 00:00:00 ./bazel-bin/curvefs/src/client/fuse_client -f -o volume=/fs -o allow_root -o user=test
0 码力 |
33 页 |
732.13 KB
| 1 年前 3
-
为4,则进程没有启动(一般是端口被占用导致的)
fisco 5453 1 1 17:11 pts/0 00:00:02
/home/ubuntu/fisco/nodes/127.0.0.1/node0/../fisco-bcos -c config.ini
fisco 5459 1 1 17:11 pts/0 00:00:02
/home/ubuntu/fisco/nodes/127.0.0.1/node1/ /fisco-bcos -c config.ini
fisco 5464 1 1 17:11 pts/0 00:00:02
/home/ubuntu/fisco/nodes/127.0.0.1/node2/../fisco-bcos -c config.ini
fisco 5476 1 1 17:11 pts/0 00:00:02
/home/ubuntu/fisco/nodes/127.0.0.1/node3/ ||ubuntu16 301 0.8 0.0 986644 7452 pts/0 Sl 15:21|
|0:00|/home/ubuntu16/fisco/nodes/127.0.0.1/node5/../fisco-bcos -c|
|config.ini||
||ubuntu16 306 0.9 0.0 986644 6928 pts/0 Sl 15:21|
|0:00|/home/ubuntu16/fisco/nodes/127
0 码力 |
1314 页 |
11.21 MB
| 2 年前 3
-
为4,则进程没有启动(一般是端口被占用导致的)
fisco 5453 1 1 17:11
pts/0 00:00:02
/home/ubuntu/fisco/nodes/127.0.0.1/node0/../fisco-bcos -c config.ini
fisco 5459 1 1 17:11
pts/0 00:00:02
/home/ubuntu/fisco/nodes/127.0.0.1/node1/ /fisco-bcos -c config.ini
fisco 5464 1 1 17:11
pts/0 00:00:02
/home/ubuntu/fisco/nodes/127.0.0.1/node2/../fisco-bcos -c config.ini
fisco 5476 1 1 17:11
pts/0 00:00:02
/home/ubuntu/fisco/nodes/127.0.0.1/node3/ 986644 7452
pts/0 Sl 15:21
| 0:00 /home/ubuntu16/fisco/nodes/127.0.0.1/node5/../fisco-bcos -c config.ini |
| ubuntu16 | 306 0.9 0.0 986644 6928 pts/0 Sl 15:21 |
0 码力 |
1456 页 |
13.35 MB
| 2 年前 3
|