Skip to content

debugBitstream usage without --DebugPOC

Adding the functionality of using --debugBitstream without specifying --DebugPOC to recover incomplete encoding.

The bitstream passed to --debugBitsream may have missing NALUS not flushed on disk, or partially written. Modify trySkipOrDecodePicture() to catch parsing exception to continue the encoding after a max number of frames have been decoded.

  • protect trySkipOrDecodePicture() with try..catch to handle the last malformed NALU.
  • added missing CHECKS() to catch every NALUS parsing exception on a series of malformed bitstream. Tested and validated for ECM and VTM
  • in addition to !738 (merged), test write NALUS errors on disk in NALwrite.cpp
Edited by charles Salmon-Legagneur

Merge request reports

Loading