Skip to content

[CI] Update cut_bs.py such that --frame and --length may be combined

Reason why this change is needed

  • The tool cut_bs.py is handy for cutting out a segment of a bitstream for decoder debugging. However, it does not handle specifying both a start offset and a length at the same time, so you cannot cut out the middle part of a bitstream. The predecessor (g192_cut?) could do this. Should not be very hard to fix.

Description of the change

  • The tool counts the number of extracted frames, and reports the total number of frames.

Affected operating points

  • Nothing should be affected.

Related to #1191 (closed)

Merge request reports

Loading