Skip to content

Instantly share code, notes, and snippets.

@stolyarchuk
Last active August 22, 2021 20:38
Show Gist options
  • Save stolyarchuk/3cdfdba265e92a4968720197cc675190 to your computer and use it in GitHub Desktop.
Save stolyarchuk/3cdfdba265e92a4968720197cc675190 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo -e "*** CUDA CHECKS\n"
/usr/bin/nvidia-smi
echo -e "\n*** GSTREAMER CHECKS\n"
gst-inspect-1.0 --plugin nvenc
gst-inspect-1.0 --plugin nvdec
# gst-launch-1.0 videotestsrc num-buffers=1000 ! nvh264enc ! h264parse ! mp4mux ! filesink location=/tmp/videotest.mp4
echo -e "\n*** FFMPEG CHECKS\n"
ffmpeg -codecs | egrep '(264|265|vp8|vp9|mpeg4)'
echo -e "\n*** OPENCV CHECKS\n"
opencv_version --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment