Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[编码选项 编码log]--verbose选项提供更多的选择 #30

Open
Yang-Xijie opened this issue Apr 6, 2021 · 1 comment
Open

[编码选项 编码log]--verbose选项提供更多的选择 #30

Yang-Xijie opened this issue Apr 6, 2021 · 1 comment

Comments

@Yang-Xijie
Copy link

uavs3e --verbose的说明为:

  -v, --verbose [INTEGER] (optional)
    : verbose level
	 0: no message
	 1: frame-level messages (default)
	 2: all messages

但是个人感觉1和2并没有差异……都包含逐帧的信息(Linux, Ubuntu 18.04.2 LTS, uavs3e version: 1.2.208_release,也可能是操作系统上版本的问题)

参考x265的--log-level说明

--log-level <integer|string>
Controls the level of information displayed on the console. Debug level enables per-frame QP, metric, and bitrate logging. Full level enables hash and weight logging. -1 disables all logging, except certain fatal errors, and can be specified by the string “none”.

0. error
1. warning
2. info (default)
3. debug
4. full

希望编码得到的基本信息为最开头的 视频、参数设置信息 和 最后面的视频编码数据,省略中间逐帧的信息,而不是现在default的 frame-level messages

另外,如果可以,基本信息可以再精简一些,输出的log可以更贴近自然语言一些

eg. x265的编码log

yuv  [info]: 1280x720 fps 60000/1000 i420p8 frames 0 - 599 of 600
raw  [info]: output file: /home/yxj/yangxijie/playground/g/E/FourPeople_1280x720_60/x265_medium/qp27/coding.hevc
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Linux][GCC 7.5.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [warning]: --ssim used with AQ off: results will be invalid!
x265 [warning]: --tune ssim should be used if attempting to benchmark ssim!
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool 0 using 16 threads on numa nodes 0,1
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(12 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 6 / 60 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / off / on
x265 [info]: Rate Control                        : CQP-27
x265 [info]: tools: rd=3 early-skip rskip mode=1 signhide tmvp b-intra
x265 [info]: tools: strong-intra-smoothing lslices=4 deblock sao
x265 [info]: frame I:     10, Avg QP:24.00  kb/s: 26655.79  PSNR Mean: Y:42.892 U:46.108 V:47.181  SSIM Mean: 0.976873 (16.359dB)
x265 [info]: frame P:    114, Avg QP:27.00  kb/s: 2908.29   PSNR Mean: Y:40.956 U:45.219 V:46.447  SSIM Mean: 0.970450 (15.294dB)
x265 [info]: frame B:    476, Avg QP:28.74  kb/s: 514.69    PSNR Mean: Y:40.853 U:45.285 V:46.517  SSIM Mean: 0.970223 (15.261dB)
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 0.8% 0.0% 0.0% 12.9% 86.3%

encoded 600 frames in 7.42s (80.85 fps), 1405.16 kb/s, Avg QP:28.33, Global PSNR: 42.155, SSIM Mean Y: 0.9703773 (15.284 dB)
@guohf3
Copy link

guohf3 commented Jun 1, 2021

加个微信认识一下啊,我也在学习这个,我是wzb的同事

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants