Update 2025-01-03 14:38 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id
2025-01-03 14:38:07 +01:00
parent 02239e52a3
commit fa6a52b1a3
3 changed files with 7 additions and 4 deletions

View File

@@ -15,12 +15,13 @@ do
30) _fps="-framerate 30" ;;
60) _fps="-framerate 60" ;;
raw) _format="-input_format yuyv422" ;;
nv12) _format="-input_format nv12" ;;
fullhd) _res="-video_size 1920x1080" ;;
hd) _res="-video_size 1280x720" ;;
sd) _res="-video_size 640x360" ;;
max) _res="max" ;;
[0-9]*x[0-9]*) _res="-video_size $arg" ;;
[0-9]) _dev="$arg" ;;
[0-9]) _dev="/dev/video$arg" ;;
*) _unknown="$_unknown $arg" ;;
esac
shift;
@@ -38,7 +39,9 @@ then
| grep mjpeg \
| xargs \
| cut -d":" -f4 \
| cut -d " " -f2 \
| tr ' ' '\n' \
| sort -n \
| tail -1
)"
_format="-input_format mjpeg"
fi