AJA NTV2 SDK
18.0.0.2122
NTV2 SDK 18.0.0.2122
main.cpp
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MIT */
9
#include "
ntv2streampreview.h
"
10
#include "
ajabase/system/debug.h
"
11
#include <QtCore>
12
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
13
#include <QtWidgets>
14
#else
15
#include <QtGui>
16
#endif
17
18
int
main
(
int
argc,
char
* argv [])
19
{
20
QApplication app (argc, argv);
21
AJADebug::Open
();
22
23
NTV2StreamPreview
window;
24
window.setWindowTitle (
"NTV2 Stream Preview"
);
25
window.show ();
26
27
return
app.exec ();
28
29
}
// main
main
int main(int argc, const char **argv)
Definition:
main.cpp:30
debug.h
Declares the AJADebug class.
AJADebug::Open
static AJAStatus Open(bool incrementRefCount=false)
Definition:
debug.cpp:44
ntv2streampreview.h
Header file for NTV2StreamPreview demo application. Demonstrates how to capture audio/video from NTV2...
NTV2StreamPreview
I am a QDialog that displays whatever video is present on the SDI inputs of an AJA streaming device...
Definition:
ntv2streampreview.h:30
libajantv2
demos
ntv2streampreview
main.cpp
Generated on Wed Mar 18 2026 15:01:18 for AJA NTV2 SDK by
1.8.14