OpenVisualCloud / SVT-HEVC

SVT HEVC encoder. Scalable Video Technology (SVT) is a software-based video coding technology that is highly optimized for Intel® Xeon® processors. Using the open source SVT-HEVC encoder, it is possible to spread video encoding processing across multiple Intel® Xeon® processors to achieve a real advantage of processing efficiency.
Other
516 stars 172 forks source link

"-lad" 1 crash #516

Closed daijh closed 4 years ago

daijh commented 4 years ago

commit 951038a3f847f31d9fe776a9388aa1e7ef2a92f1

"-lad" 0 and "-lad" 2 are good; "-lad" 1 crash

./SvtHevcEncApp -i 1920_1080.yuv -w 1920 -h 1080 "-encMode" 9 "-tile_row_cnt" 1 "-tile_col_cnt" 2 "-tile_slice_mode" 1 "-fps" 30 "-intra-period" 29 "-base-layer-switch-mode" 0 "-hierarchical-levels" 3 "-pred-struct" 0 "-umv" 0 "-dlf" 1 "-rc" 1 "-tbr" 5000000 "-lad" 1 "-scd" 0 -b out.hevc

tianjunwork commented 4 years ago

Hi @daijh , I tried on that commit. No crash. Is it content related?

(1.4.3) $ ./SvtHevcEncApp -i ../../../../yuv/bbb_1920x1080_420p.yuv -w 1920 -h 1080 "-encMode" 9 "-tile_row_cnt" 1 "-tile_col_cnt" 2 "-tile_slice_mode" 1 "-fps" 30 "-intra-period" 29 "-base-layer-switch-mode" 0 "-hierarchical-levels" 3 "-pred-struct" 0 "-umv" 0 "-dlf" 1 "-rc" 1 "-tbr" 5000000 "-lad" 1 "-scd" 0 -b out.hevc
-------------------------------------------
SVT-HEVC Encoder
SVT [version]:  SVT-HEVC Encoder Lib v1.4.3
SVT [build]  :  GCC 8.1.0        64 bit
LIB Build date: Apr  6 2020 20:39:45
-------------------------------------------
Number of logical cores available: 72
Number of PPCS 46
-------------------------------------------
SVT [config]: Main Profile      Tier (auto)     Level (auto)
SVT [config]: EncoderMode / Tune                                                        : 9 / 1
SVT [config]: EncoderBitDepth / CompressedTenBitFormat / EncoderColorFormat             : 8 / 0 / 1
SVT [config]: SourceWidth / SourceHeight / InterlacedVideo                              : 1920 / 1080 / 0
SVT [config]: FrameRate / Gop Size                                                      : 30 / 30
SVT [config]: HierarchicalLevels / BaseLayerSwitchMode / PredStructure                  : 3 / 0 / 0
SVT [config]: RCMode / TargetBitrate / LAD / SceneChange / QP Range [10 ~ 48]           : VBR / 5000000 / 1 / 0
SVT [config]: BitRateReduction / ImproveSharpness                                       : 0 / 0
SVT [config]: tileColumnCount / tileRowCount / tileSliceMode / Constraint MV            : 2 / 1 / 1 / 1
SVT [config]: De-blocking Filter / SAO Filter                                           : 0 / 1
SVT [config]: HME / UseDefaultHME                                                       : 1 / 1
SVT [config]: MV Search Area Width / Height                                             : 16 / 7
SVT [config]: HRD / VBV MaxRate / BufSize / BufInit                                     : 0 / 0 / 0 / 90
-------------------------------------------
Encoding       301
SUMMARY --------------------------------- Channel 1  --------------------------------
Total Frames            Frame Rate              Byte Count              Bitrate
         301            30.00 fps                  6160912              4912.36 kbps

Channel 1
Average Speed:          325.05 fps
Total Encoding Time:    926 ms
Total Execution Time:   1280 ms
Average Latency:        123 ms
Max Latency:            185 ms
Encoder finished
daijh commented 4 years ago

I use gcc 9, not sure if relevant. gcc version 9.2.1 20191102 (Ubuntu 9.2.1-17ubuntu1~18.04.1)

Let me switch back to default gcc and retry with last code on master.

daijh commented 4 years ago

If restore default gcc7 and with master code. Issue not reproduced. Close it.