# VideoReceiverApp ## Application This is a simple test application developed to make VideoReceiver library development and testing easier. It can also be used as part of CI for system tests. ## Use cases and options Application's behaviour depends on the executable name. There are two modes - QML and console. QML mode is enabled by renaming application executable to something that starts with **Q** (for example QVideoReceiverApp). In this case **video-sink** option is not available and application always tries to use **qmlglsink** for video rendering. In regular case (executable name does not start with **Q**) **autovideosink** or **fakesink** are used, depending on options. ### Available options and required arguments ```VideoReceiverApp [options] url``` for example: ```VideoReceiverApp -d --stop-decoding 30 rtsp://127.0.0.1:8554/test``` #### Options ```-h, --help``` - displays help ```-t, --timeout ``` - specifies source timeout ```-c, --connect ``` - specifies number of connection attempts ```-d, --decode``` - enables or disables video decoding and rendering ```--no-decode``` - disables video decoding and rendering if it was enabled by default ```--stop-decoding ``` - specifies amount of seconds after which decoding should be stopped ```-r, --record ``` - enables record video into file ```-f, --format ``` - specifies recording file format, where format 0 - MKV, 1 - MOV, 2 - MP4 ```--stop-recording ``` - specifies amount of seconds after which recording should be stopped ```--video-sink ``` - specifies which video sink to use : 0 - autovideosink, 1 - fakesink #### Arguments ```url``` - required, specifies video URL. Following URLs are supported: ```rtsp://:/mount/point``` - usual RTSP URL ```udp://:``` - H.264 over RTP/UDP ```udp265://:``` - H.265 over RTP/UDP ```tsusb://:``` - Taisync's forwarded H.264 byte aligned NALU stream over UDP ```tcp://:``` - MPEG-2 TS over TCP ```mpegts://:``` - MPEG-2 TS over UDP