Sensoray 2263, 3364 Software Manual

  • Hello! I've reviewed the SENSORAY Software Manual for the 2263, 3364, and 2231 Audio/Video Codec models. This manual details the software features, installation procedures for different operating systems, and the SDK functionalities. I'm ready to assist with your questions about the video capture, recording, streaming, firmware updates or any other relevant feature of these devices.
  • What operating systems are supported by the software?
    How many video streams does a 2263 device have?
    How many video streams does a 3364 device have?
    What is the purpose of the first stream?
    What is the purpose of the second stream?
    What is the third stream used for on the 3364 device?
USB Audio/Video Codec Model
2263/3364/2231
Windows/Linux/Mac Software Manual
Ver. 1.1.26 | May 2023
Table of Contents


 2023
 !"#$ 2022
%&' 2022
"( 2022
)$* 2022
+,*' 2021
-May 2021
.March 2021/
/!"#$++/
"0$++/
*1*0++/
 "(++/
%)$*++/
%,*+-/
,*+-/
+!"#$+..
-2#$+..
."0$+..
/,*'+..
,*+..
&'+..
 *1*0+/.
%,*'+/.
&'+/.
+.
+*1+.
+,+-
+ "0+ -
+2+%-
3!3+
4!5 +
6
76%
57
87&0*
)#9&80 
 
!#&&'"0
389
588:/
*:/
" /
!"0(9/
8 *:.
;<0 .
!<)7 -
0'=0>7'*&>*#0)*"0-
%?& -
%?7'-
%?0*#!2"-
%?00#389+
%?00#3890+
%?&0389+
%?0'*#$
%?0)#9
%?)#9&80
%?0
0#70')*"0
%?00"8
%?0029
%?00!"8829
%?00!"8829%
%?$'&(0%
%?00&(0%
%?0&0#
%?*0#
%?*#0#
%?0&!"88
%?0#&'
%?007''$"@
%?107''$"@
870')*"0/
%?08/
%?08/
%?0&*0/
%?0&*0/
%?0*#&*0.
%?08A.
%?08"@-
%?0'1B!088-
%?02'-
%?02'%+
%?0#1=%+
%?0#1=%
%?0"88%
%?0"88%
%?0500%
%?0500 %
%?008%%
%?008%%
%?0):8;%%
%
%?0):8;%
%?0&=%
%?0&=%
%?00'"8%
%?00'"8%
%?0)#@&%
%?0)#@&%
%?0&"00%
%?0&"00%/
%?0)'& %/
%?0)'&%.
%?07&%.
%?07&%.
%?0!08%-
%?0!08 +
%?0 )000 +
%?0*8500
%?0*8500
%?0*8&*0
%?0*8&*0
%?0*8
%?0*8 %
%?0#21 %
%?0!2"#2' %
*0&*0)*"0
%?0*0&*0
%?0*0&*0
%?0*0&*008
%?0*0&*008
%?0*0&*08
%?0*0&*08
2')*"0
%?2':0
%?2'0'8:0 /
%?2')' .
%?2'!0 -
%?2'2+
%?2'(9+
%?0)#7*0
%?0)#7*0
%% &"C")*"0
%% ?%% 58
%% ?0)#95%
%% ?0$&8
%% ?058&
%% ?00)*''=29
%% ?0&)*''=29%
%% ?)*''=29#&'%
%% ?007''$"@%
%% ?107''$"@
%% ?0&0#
%% ?00&(0
%% ?)*''=29#&'
%% ?0!0
%% ?0!0
%?0)*''!2"0(
%?0)*''!2"0"
B/
(8&0$8D#808#@0(&&0A0(&"02
9
Operating System Support
(389!<*&&03896D0D/D.D+%> $0
(*:!<*&&0#0*:80$*090(782%> $0
("6!<*&&0#0"6'90(7828;<0
*&&0%> $0
Release Notes
Version 1.1.26 (May 2023)
EAdd support for Sensoray Model 2271 (DVI/SDI/VGA/Composite
capture) See enum MID2263_VIDINPUT in mid2263types.h for
updated video input selections.
Version 1.1.24 (December 2022)
EAdds Deinterlacer functions for SD video on a single stream:
S2263_Set/GetDeintMode (Requires firmware 3793)
Version 1.1.23 (April 2022)
EAdds MID2263_RECMODE_H264 for capturing H.264 Elementary
Stream.
EFirmware 3776 includes work-around for first IDR-frame being
dropped.
Version 1.1.22 (March 2022)
EAdds S2263_SetFrameCount and S2263_GetFrameCount functions.
The definitions for OVERLAY_TEXT_SECONDS_* have changed to
match the firmware user applications that use these will need to
be recompiled. Add definitions OVERLAY_TEXT_HOURS_MINUTES
+2 more with AM/PM indicators. Firmware must be updated to
3763.
EAdd OSD dialog to Win32 demo program.
Version 1.1.21 (February 2022)
EFix re-scaling and re-paint of decoded preview stream. Adds
720x405 preview size.
Version 1.1.20 (July 2021)
EFix Windows enumeration (detection) issue in some cases on latest
Windows versions.
Version 1.1.19 (May 2021)
EFix issue with fast overlay upload not activating in some cases.
Version 1.1.18 (March 2021)
EAdd functions: S2263_PauseStream, S2263_ResumeStream.
EAdds support for firmware 3636 with faster overlay upload using
bulk endpoint.
Version 1.1.17 (December 2020)
EBug fix for full size decoded preview when other video devices
plugged in concurrently.
Version 1.1.16 (October 2020)
EAdded full scale decoded HD preview for Windows 10. This feature
is not available on Win7 or earlier. See S2263_StopDecoded,
S2263_StartDecodedPreview, S2263_StartRecordDecodedPreview
in this manual for details.
Version 1.1.15.1 (August 2020)
EStreaming fix for VLC. Streaming MTU size configurable.
Streaming and record at same time fixed in demo application. Note:
no changes to the middleware, mid2263.dll. All changes relate to
demo application only.
Version 1.1.14.1 (March 2020)
EHD preview fix for 1080p30 + record (Model 3364 only)
Version 1.1.13.2 (February 2020)
EAdd missing functions: S2263_SetAspectRatio,
S2263_GetAspectRatio, S2263_SetFlip, S2263_GetFlip,
S2263_SetCrop, S2263_GetCrop
Version 1.1.13.1 (June 2019)
ES2263_OverlayData fix for stream index 2 (Display Output)
EFixed some functions that were missing the strmidx parameter.
Version 1.1.11 (January 2019)
E3364 Uncompressed callback fix for S3364_RegisterCallback.
/
Version 1.1.10 (December 2018)
EOutput idle/passthru fixes
Version 1.1.9 (November 2018)
EDemo cleanup. Preview stream stopped when window closed
Version 1.1.8 (October 2018)
EVideo status fix for AHD standard
EMic/Line input selection fix for 3364
Version 1.1.7 (July 2018)
EStop button fix. 2231 identification and support
Version 1.1.6 (June 2018)
EAdded function: S2263_GetAnalogHDStandard
Version 1.1.5 (April 2018)
ESupport for Model 2231 AHD board.
Version 1.1.4 (August 2017)
ESupport for Rev. C 3364 boards and functional updates.
Version 1.1.3 (July 2017)
EMinor updates
Version 1.1.2 (April 2017)
EFull 3364 support for Rev. B+ boards
Version 1.1.1 (May 2016)
EAdded output functions.
EInitial 3364 Support
Version 1.1.0 (Aug 2015)
ERecording now supported on both streams some functions take an
additional strmidx parameter.
.
EAdded functions: S2263_SetFrameSkip, S2263_GetFrameSkip
EAdded functions: S2263_SetFixedQP, S2263_GetFixedQP and
MID2263_RATEMODE_FIXEDQP
EAdded function: S2263_GetNumInputs (for 3364 SDI)
Version 1.0.5 (Jan 2015)
EOverlay functions
Version 1.0.4 (Oct 2014)
EPreview snapshots
EDevice removal detection
Version 1.0 (Nov 2013)
EInitial 2263 release.
EH264 Video encoder
ERaw video capture
EAudio Preview
-
Windows Installation
(A09#$80$*087!89'88A#F9$
0A0(C'89'88D09''80$*=&&80A'80(
'"'82&0""010(%00(5&0
0*&&A#8A''9
 *setup.exeC'
 !0''8*0#0"'''"'"&A0(!0''8
0(&1#C'8"0A0(%0&"''DC:\Program
Files\Sensoray\2263\API\x328C:\Program Files\Sensoray\
2263\API\x64
% '*10(%82"
389D82(*'8$'88*0#0"''
Re-distribution
480$*09(&"@10(A09"*0#=8
&&'"000(9"*0#480$*0#$A0'
0''0"*0#G0#AA09*&80AH*0*10(
8#&&D0($20''0"0&&'0*&:9''
*0#0"''*&80''3882"#&00*&:*0(
0''00#
0#&0008I00$09828!82&0
"#&090()C'8*&&01C'*"(C#9(!
'$A"8(!0828820!
A*&801A09D0''A09"#&0(
"'*8''82D"026"#&08!G1'
&&'"06(*'89@90(0(9"#&090(*04
"#&'0*'0(98"089''0*&&0"*0#
9(*8I02A0(3"#&0):#&'D*&181
'0(!C#9C'90(*0*&1810(820*&&08
10(98290(0('8!A099'''0$*&&08$
*&&0
5"*8081G8&&'"0D00(G
'&$'00&&'*&80A09"#&090(
&&&030'''A00(!8"*#0'A
#80'0(0'A8*$0(A''91'0A"#&0
0(0$'9$*&8080#0(93'(
+
C'0''8A0*10*&:00(8"0"(1#
C'JJ%0("
(%7587'82"D880K*820
$0''8A#0(!<D08*0(*$2882&288$
0(
!8"026L
J#8%8''
J#& #*::1090(12%
J08#*::1090(12%
J90:1090(12%
(#8%8''C'$1!#*0$0''890("#"*0#
#"(00''0(!0(0#%8"00#498A0(
8D0#*0$*80(0'"'"&A0(!&00(
8"09(0(&&'"0:"*0$'*A'"'"&&0
0(&&'"08"0D0(029''$*80880#$
'82G0''0''0(!00(&&'"08"0D
000#%
(C'#& #*::D08#*::D90:(*'8$10890(
12%A00''0

Linux Installation
(A09#$80$*087!89'88A#F9$
0A0(C'89'88D09''80$*=&&80A'80(
'"'82&0""010(%00(5&0
0*&&A#8A''9
 *tar xjf sdk-2263-linux-N.NN.tar.bz2
 *"8 sdk-2263-linux
% *make
'*10(%82"
&0(8#89&&%&&2880100000(
A0*A0(82"
 *./demo.py

Mac OS X Installation
(A09#$80$*087!89'88A#F9$
0A0(C'89'88D09''80$*=&&80A'80(
'"'82&0""010(%00(5&0
0*&&A#8A''9
 &sdk-2263-osx-N.NN.zip
 !1%!#00(&&'"0A'8
% !1%!#*"0A'8A*"("
'*10(%82"
*0(8#8000(A0*A0(82"D*0(%!#
&&'"00(&&'"0A'8
%
Basic operation
Video Capture
%82"(2'$'0#D9('%% 82"(2%(C0
0#A*''4'*0"#&80#90(*8D*0$'A
0#101("#&80##$04,DB 
28'#00#90(0(2887*80&00#
(0&00##&0''$#*:80 C'
("80#"'8489*"#&828D*0$'A&29
"#&828"&0*80(A#0 &"@8
3(*1#8'%% 82"25%D0(80#2'$'AA*''4
'*0*"#&828D*0$'A&29D0(#A#0
''"&0*0#"828A#1'*"D8"("&0*
0#"$008D0&&8D8"C1*88&80'#&0
"0$"C1*88&80'D*"($1(0D(*D"00D
0*0
389D0(82"(9*&#11!2"389!2"
1L%(!"0(9"&0*#A0(82"
M%N90("(0#2'$'0(*0&*0&A#*'0&'
%82"&'*118D0(#*'0&'82"9''$&0(
0#82""$*890(&&'"00(0*&&00(!"0(9
0(!<(%!<#&'9&&*8
0(!"0(90A"'00&090(*0@9'81A!"0(9
&1##1(!9&&'''9&010*'5"D7O
80(&1##12#0
*:D0(82"&&8 *:82"8>82>288
"$*890(#08 *:&&'"0("0*''09
2882"8"08LA0("'8489*"#&8&29
0#D8A0(A*''4="#&8"&0*0#(82*8
A0(2882""''8M*2"28N80("80&9''&&
M8'%N(*8&29""$'0(*1(0(
D&288$0(M8?*$?*8N82D""$'0(*1(82"8
0(>82>88"0(%!<&28(8'$
9&&*80(8 *:8G0A"'00&0
90(*0@9'81A8 *:&1##1((8'$
9&&'''9&0100(D7PP80(&1##1
2#00(8#00&1#&288010"K*08
90(0(82"A*"0'0Q
"D0(82"&&782"""$'0(*1(0(;<0
(%!<&28(8'$9&&*80(;<0
0A"'00&090(*0@9'81A;<08$H"027
&1##1((8'$9&&'''9&0107D7PP
80(&1##12#0
Firmware Update
(82"A0*R(##0(0"0C#9*80&0
0((890(82"(C#9"*&808A*0*!<'
0C:&$'#889A0*3('"010(C#9*&80
&00(8#"''10(!<A*"0D0(82"9''""0
5#0182"90(0(#&80%A0(*0'#*
&&D"(0(M&A'8029C'&0N0(#8D9
C#9C'#$"&800(&80%A'83('0(C'$1
90000(R(##D0(8'1(09''$'@!0*&'*10(82"
9('0(8'1(0$'@1A00(*&80"#&'0D0(82"9''
"'0(&80%A'88""0782"""'0(
*&80#890(*0*&801C#9D1(0"'"@0(&80%
#2$'82"7#&*08"'"@H"0
0(*'@'200(0C#9*&8090*&0890(0
&200(82"A#&01D1'C#9#82'$'
01'C#9#8D('8890(#''$*000(*1(0(('
0(59('""010(5"$'(!'1(09''''*#0D
8"010(1'C#9(08C#9*&80#889
C#9#1#$&&'8A00(&"8*"#&'0D80
90"(00(9'*&808C#9D0(&980$""'8S
8""08""00(5"$'
GPIO
*&&09''$I8'02A0(!<

Demo application
Windows
389D&00$*00D'"01#4T4T%7'"@
%>%% !#
(389&&'"0''90(*08#0(!<"&$'0*"(
"8D&2980#10'8#00A*''=&(0A0(
%% 82"00&(00(%% D"("@0(&(0"("@$:
*80(M00N$*00)*''=&(0K*5%+""00
0(%% 

&(0#$0@00#0&08&80'A"81D
0#1&29(&(08'1(9$'9L
Board Index
($88:A0(%% 0$0(4$890"(3(8A*'0
001$8+90($0(90"(0(89&0A*1#*'0&'
%% FD"(10(90"(00(001(8:$"88A#
+0%($88:A0(%9''$80#8$9(02$8
C0*#08$5("$8I00820('*#$
109#%% 90(0(#8:*#$9''*'0'
$8$1$0(!<
Linux
*:D&#'989DM"8N00(A'89(0(!<9
0''8D80(*M>8#&N
Mac
"D&&&'"0A'8D8"'"@%!#
DirectShow API
(389782*&&00(!"0(9!"0(99''
8"*#080!(00&L>>#8#"A0"#>4*>8A*'0&:0A
/
0(82"A0*#&'#087:0*0"0'D80(
!<!&28A*10(A0*
Video4Linux2 API
(*:782*&&00(8 *:8 *:9''
8"*#08((00&L>>'*:021>89'8>2 '482$4&>0A0(
82"A0*#&'#087:0*0"0'D80(!<
(8'$&28A*10(A0*
QTKit API
("782*&&00(;<0)#9@;<0)#9@9''
8"*#080&&'9$0
(00&L>>82'&&&'"#>'$>#">8"*#00>K*"@0#>A">
K0""$H"@0>?8:(0#'0A0(82"A0*#&'#08
7:0*0"0'D80(!<(8'$&28A
*10(A0*
.
SDK Reference
''A*"08"'8*10(A''918C080(__stdcall
"''1"20L
#define MID2263_API extern "C" __declspec(dllimport)
):#&'D
MID2263_API int __stdcall S2263_Open (void);
''A*"00*2'*A0&intD9("(00+*""D
1022'*Amid2263types.hA"8'0
Initialization/Cleanup/Enumeration Functions
S2263_Open
MID2263_API int __stdcall S2263_Open (
int board_index);
*0$"''8$A0(A*"0"''8A"''890(4
&#0D''%$80(0#9''$2'$'A00("''
board_index
U$88:A%$84A''$8
S2263_Close
MID2263_API int __stdcall S2263_Close (
int board_index);
*0$"''8$A&&'"00#0A&&"'4*&A0(!<
8!<$H"09(!<&890(%?&
board_index
U$88:A%$84A''$8
S2263_GetNumDevices
MID2263_API int __stdcall S2263_GetNumDevices (
int *NumDevices);
020(*#$A82"0(0#'2'8A0%?&
"''8
NumDevices
88A2$'""&010(*#$A82"
-
S2263_SetStreamWindow
MID2263_API int __stdcall S2263_SetStreamWindow (
HWND hwnd,
int devid);
&0'A*"00&29&8C828989A0(A*"0
0"''8hwndNULLD0(8A*'0&&4*&9899''8&'0(28
0#Ahwnd0NULLD0(989"'(*'8"''
S2263_RepaintWindow9(WM_PAINT#1"28:#&'
)7989"'(90(&&8:
hwnd
389(8'080AD8A*'0&&4*&9899''$*8
devid
82"80(0#*+90(1'$80''8
S2263_SetStreamWindowPosition
MID2263_API int __stdcall S2263_SetStreamWindowPosition (
RECT rcDst,
int devid);
8000(&0A0(0#989
rcDst
780A0(989&0
devid
82"80(0#*+90(1'$80''8
S2263_RepaintWindow
MID2263_API int __stdcall S2263_RepaintWindow (
HDC hdc,
int devid);
8'AS2263_SetStreamWindow"''890(4NULLhwnd7''0(
A*"09(20(989K*0#*0$&08):#&'D
9(20"2WM_PAINT#1
hdc
!2""0:0A0(989K*0AD8A*'082""0:0
A0(989(8'9''$*8
devid
82"80(0#*+90(1'$80''8
+
/