Skip to content

Commit

Permalink
Adds an Axis test file (#20)
Browse files Browse the repository at this point in the history
Validates a truly signed video from Axis Communications.

---------

Co-authored-by: bjornvolcker <[email protected]>
  • Loading branch information
bjornvolcker and bjornvolcker authored Jul 10, 2024
1 parent 4e65d86 commit 88fd43d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/meson-build-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
- name: Install ninja
run: python -m pip install ninja==1.9.0.post1
- name: Setup meson for the lib
run: meson --prefix $GITHUB_WORKSPACE/local_installs svf_lib build_lib
run: meson setup --prefix $GITHUB_WORKSPACE/local_installs svf_lib build_lib
- name: Compile and install lib
run: meson install -C build_lib
- name: Run apt-get update
run: sudo apt-get update --fix-missing
- name: Install gStreamer from package manager
run: sudo add-apt-repository universe && sudo apt-get install libunwind-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
- name: Setup meson for the apps
run: meson -Dbuild_all_apps=true --prefix $GITHUB_WORKSPACE/local_installs svf_apps build_apps
run: meson setup -Dbuild_all_apps=true --prefix $GITHUB_WORKSPACE/local_installs svf_apps build_apps
- name: Compile the apps
run: meson install -C build_apps
- name: Run validator on test-files
Expand All @@ -54,6 +54,8 @@ jobs:
$GITHUB_WORKSPACE/local_installs/bin/validator -c h264 svf_apps/test-files/signed_test_h264_modified_frame_137.mp4
$GITHUB_WORKSPACE/local_installs/bin/validator -c h265 svf_apps/test-files/test_h265.mp4
$GITHUB_WORKSPACE/local_installs/bin/validator -c h265 svf_apps/test-files/signed_test_h265.mp4
$GITHUB_WORKSPACE/local_installs/bin/validator -c h264 svf_apps/test-files/signed_vendor_axis.h264
cat validation_results.txt
- name: Copy test files for signing
run: cp svf_apps/test-files/test_h26*.mp4 .
- name: Run signer on test-files
Expand Down
Binary file added test-files/signed_vendor_axis.h264
Binary file not shown.

0 comments on commit 88fd43d

Please sign in to comment.