-------------------------------------------------------
Sensoray Models 2263,2231,2267,2271,2273,3364 Linux SDK
-------------------------------------------------------
Version 1.1.38 - 29 June 2026
	Support in demo for unplugging and replugging device

Version 1.1.37 - 28 Oct 2025
	Fix compiling with MagickWand ver 7.
	Add H265 support in recording mode for model 2273
Version 1.1.36 - 4 June 2025
	Firmware 4117: Set temperature robustness by default, at 5 mins intervals.
	Improve error recovery after stream poll timeout.
	Add timestamp to debug prints.
Version 1.1.35 - 29 May 2025
	Add function S2263_SetTemperatureRobustness(), which will enable firmware 
	to reset the USB PHY periodically after 10 minutes of USB inactivity,
	preventing the problem due to rapid temperature rise. (-20C to 70C)
	Requires firmware 4116.
Version 1.1.34 - 23 May 2025
	Convert rb_simple to a single-header file with static functions.
	  (Fixes relocation error when building shared library.)
	Adds libavi builds for ARM architectures.
Version 1.1.33 - 22 May 2025
	Add missing rb_simple.{c,h}
Version 1.1.32 - 21 May 2025
	Fix bug in S2263_GetNumDevices.
	Add stream automatic restart, triggered by capture/preview timeout.
Version 1.1.31 - 16 Dec 2024
	Add MP3 and PCM audio options, AVI mux option
Version 1.1.30 - 12 Dec 2024
	Fix crash in EnumVideo
	Add S2263_SetAnalogHDStandard function
Version 1.1.29 - 2 May 2024
	Fix overlay glitch when length is a multiple of
	    USB packet size (missing ZLP)
Version 1.1.28 - 13 Feb 2024
	Fix for 2271 models
	Add automatic restart when stream is stopped due to rapid
            temperature rise. (-20C to 55C)
Version 1.1.27 - 20 Oct 2023
	Add GPIO functions
Version 1.1.26 - 2 May 2023
	Add model 2271 support (DVI/SDI/VGA/Composite capture)
Version 1.1.24 - 12 Dec 2022
	Add deinterlace functions S2263_Get/SetDeintMode.
Version 1.1.16 - 12 May 2022
	Remove libudev and libhid dependencies. Updated prerequisites below.
	Fix device detection on Linux 5.15.5+
Version 1.1.15 - 1 Apr 2020
	Snapshot function added
Version 1.1.14 - 14 Dec 2020
	Bug fix for OverlayMove and OverlayShow
Version 1.1.13 - 4 Dec 2020
	Use new USB endpoint for overlay data (requires libusb-dev)
	Add MID2263_COLOR_KILLER enable/disable
Version 1.1.12 - 3 Oct 2020
	Fix overlay crashing older firmware
Version 1.1.11 - 15 Sep 2020
	Update demo to Python3 and GTK3
	Add pause and resume recording functions
	Add HD snapshot function
	Add overlay check to retry in case of failure
Version 1.1.10 - 2 Oct 2019
	Fix intermittent glitch with host-decoded PNG overlays
Version 1.1.9 - 3 Sept 2019
	Fix MP4 recording mode for >4GB files
	Add const to overlay functions parameters
Version 1.1.8 -
	Fix OVERLAY_TEXT_BG constants
	Add support for preview with Xv YUV12 and I420 modes
	Add support for ImageMagick version 7
Version 1.1.7 -
	Add crop/zoom functions
Version 1.1.6 -
	Fix flip constants
	Add GetModelNumber and GetFeatureFlags functions
	Add S2263_GetAnalogHDStandard function (model 2231 only)
	Add audio gain functions
Version 1.1.5 -
	Adding MID2263_AUDIO_MIC and MID2263_AUDIO_LINE_IN (same as MID2263_AUDIO_ANALOG)
Version 1.1.4 - 
	Adding 3364 support
Version 1.1.3 -
	Added functions: S2263_SetFlip, S2263_GetFlip,
		S2263_SetSliceMode, S2263_GetSliceMode (low-latency H.264 encoding)
	Additional interlace modes in enum MID2263_INTERLACE_MODE
Version 1.1.0 -
	Recording now supported on both streams - some functions take an additional strmidx parameter.
	Added functions: S2263_SetFrameSkip, S2263_GetFrameSkip
	Added functions: S2263_SetFixedQP, S2263_GetFixedQP and MID2263_RATEMODE_FIXEDQP
Version 1.0.1 - Capture and Preview Overlays
Version 1.0.0 - First release


One-time setup, type this command in the sdk-2263-linux directory:

	make

This will create the "libs2263.so" shared library that may be linked with your
application.  C/C++ programs will include s2263.h.  Python programs will import S2263.

Now run the demo program:

	./demo.py


Requires Linux kernel 2.6.32 or later.

Prerequisites:

Ubuntu:
build-essential
libx11-dev
libxv-dev
libasound2-dev
libmagickwand-dev
libusb-1.0-0-dev
python3
python3-gi
gir1.2-gtk-3.0

RedHat/SUSE:
libX11-devel
libXv-devel
alsa-lib-devel
ImageMagick-devel
libpng-devel
libusb-devel
python3
python3-gi
gtk3-devel

For decoded preview (not enabled in this release):
libavcodec-dev
