misb 0.2.0

MISB KLV metadata for drone video (STANAG 4609): decode and encode ST 0601, ST 0102, ST 0903 VMTI and ST 1201, plus misb-check, a CLI and GitHub Action that fails video whose KLV is missing, malformed or physically impossible. no_std, no dependencies
Documentation
name: misb-check
description: Fail the build when drone video KLV (MISB ST 0601, STANAG 4609) is missing or broken
author: Matt Busel
branding:
  icon: video
  color: red
inputs:
  paths:
    description: Files or directories to check (.ts, .mpg, .m2ts, .klv), space separated
    required: true
    default: "."
  args:
    description: Extra misb-check arguments, for example --strict
    required: false
    default: ""
  version:
    description: misb crate version to install
    required: false
    default: "0.2.0"
runs:
  using: composite
  steps:
    - name: Install misb-check
      shell: bash
      env:
        MISB_VERSION: ${{ inputs.version }}
      run: cargo install misb --version "$MISB_VERSION" --locked --bin misb-check --root "$RUNNER_TEMP/misb"
    - name: Check KLV
      shell: bash
      env:
        MISB_PATHS: ${{ inputs.paths }}
        MISB_ARGS: ${{ inputs.args }}
      # word splitting of the two variables is intended
      run: '"$RUNNER_TEMP/misb/bin/misb-check" --format github $MISB_ARGS $MISB_PATHS'