[CI] Update cut_bs.py such that --frame and --length may be combined
requested to merge 1191-cut_bs-py-does-not-handle-start-offset-and-length-at-the-same-time into main
- Related issues: #1191 (closed)
- Requested reviewers: @kiene
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)