Skip to content

Commit

Permalink
Skip video_cuda_enc test on Orin Nano
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfullmer committed Jan 31, 2024
1 parent 3506497 commit 0cf783a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/samples/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,11 @@ let
${multimedia-samples}/bin/video_decode H264 --disable-rendering ${multimedia-samples}/data/Video/sample_outdoor_car_1080p_10fps.h264
echo
echo " * Running video_cuda_enc"
${multimedia-samples}/bin/video_cuda_enc ${multimedia-samples}/data/Video/sample_outdoor_car_1080p_10fps.h264 1920 1080 H264 "$WORKDIR"/test.h264
if ! grep -q -E "p3767-000[345]" /proc/device-tree/compatible; then
${multimedia-samples}/bin/video_cuda_enc ${multimedia-samples}/data/Video/sample_outdoor_car_1080p_10fps.h264 1920 1080 H264 "$WORKDIR"/test.h264
else
echo "Orin Nano does not support hardware video encoding--skipping test"
fi
echo
echo " * Running video_convert"
${multimedia-samples}/bin/video_convert "$WORKDIR"/nvidia-logo.yuv 1920 1080 YUV420 "$WORKDIR"/test.yuv 1920 1080 YUYV
Expand Down

0 comments on commit 0cf783a

Please sign in to comment.