Download Compiled Demos
These demo projects do not contain source code, but source code location in the RVMedia installation is specified.
You must agree to the license before you may download the demo projects.
Download and install all compiled RVMedia demos (15.6 MB). Last updated: June 28, 2016.
Read the install/uninstall instructions and the privacy statement.
If you are interested in compiled TRichView and ScaleRichView demos, please visit TRichView and ScaleRichView Showcase page.
|Video from a single camera|
The most basic demo: showing video from a single camera.
The combo box at the top of the window contains a list of cameras. It includes local cameras (USB webcams) and several cameras accessible via the Internet.
The same list is used in (almost) all other demo projects. Not all cameras may be online when you run a demo – if some camera does not work, just skip it and try another one.
The demo uses two components: TRVCamera and TRVCamView.
Location of this demo in the RVMedia installation: Demos\Cameras\CamList\
The demo shows how you can modify video frames before displaying them.
The demo applies some sample image filters to video frames (sharpen, edge detect, emboss, blur).
Note: the blur filter is quite slow.
Location of this demo in the RVMedia installation: Demos\Cameras\Filters\
This demo shows how to control a camera movement.
A list of cameras in this demo is limited to controllable cameras.
Note 1: A movement control can be turned off for some cameras.
Note 2: You may be not the only person who controls a camera at the same time, so do not wonder if the camera moves randomly.
The demo offers two ways to control cameras:
- a special control (at the left side of the window) – TRVCamControl
- by clicking in the camera viewer itself (you will see special arrow cursor showing the direction of rotation)
Location of this demo in the RVMedia installation: Demos\Cameras\CamControl\
This demo shows how to implement a simple motion detection.
This demo implements a simple algorithm for detecting motion by comparing frames and finding changed areas.
You can change parameters to find optimal settings for specific cameras:
- noise reduction: allows to ignore pixels which were changed insignificantly;
- motion detection areas: a frame is separated into areas of the specified size; changes are found in each area separately;
- required count of changed neighbor areas: allows to ignore changes in areas if adjacent areas are not changed;
- detection threshold: specifies how many areas must be changed to show an alarm message ("detected!");
Note: This motion detection algorithm is implemented for demonstration purposes only.
It's not very good, mostly because it uses a fixed grid of areas, so changes belonging to a single area have much more chances to be detected
than changes belonging to multiple areas. TRVCamSender uses a much better algorithm to determine which video areas should be sent.
Location of this demo in the RVMedia installation: Demos\Cameras\MotionDetect\
This demo shows how to record video from a camera to a file, and how to play this file.
Location of this demo in the RVMedia installation: Demos\Cameras\Recording\
This demo shows how to display video from a local camera (such as USB webcam) and change its video modes.
Note: Not all video modes listed in this demo can be set. Results depend on the camera model.
Location of this demo in the RVMedia installation: Demos\Cameras\WebCamera\
|Video from several cameras|
This demo shows how to display videos from several cameras. It uses TRVCamMultiView component.
The demo contains four small panels and one larger main panel. Click one of small panels, then click a camera in the list to play in this panel.
The main panel displays video from the selected small panel.
The component displays video for the main camera with higher frame rate (so, when you select another camera that is already playing,
the component may reconnect to the camera, requesting video with a higher frame rate)
Location of this demo in the RVMedia installation: Demos\Cameras\CamListMulti\
|Searching for cameras|
This demo searches for cameras in the specified range of IP-addresses.
Location of this demo in the RVMedia installation: Demos\Cameras\Search\
This is the most complicated demo in this set.
It displays videos from multiple cameras, and allows to configure cameras.
In addition to cameras added to a sample list, you can enter camera address manually.
Notice tabs “Users” and “Parameters” – they appear for cameras that can be configured.
Location of this demo in the RVMedia installation: Demos\Cameras\MediaTest\
2. Sending and receiving video
Below you can find compiled demo projects showing how applications can send and receive data via the network, including video, audio, and other data (such as commands and files).
|Send and receive: SingleApp demo|
How to test: select a video source from “cameras” combobox. Video will be displayed in the left panel.
Click “Start Sender” and “Start Receiver”.
Video will be sent via the network to this application itself, and received video will be displayed at the right side
(well, you can run two copies of this application, start a sender in one application and a receiver in another one; but it's simpler to test in a single application).
In addition to video, this demo sends to itself audio data read from a microphone. Also it can send a file, a message and a test command.
You can change options for sending video and audio in the “Options” dialog
(this dialog is not modal; changes are applied when you click “Apply” button).
You can change image encoding – Jpeg or HWL (HWL is in a beta stage).
By default, whole frames are sent. But you can change settings to send only changed fragments.
Move the trackbar “ignore all pixels with changes less than...” to define sensitivity. To understand results visually, check “Test mode”.
In this mode, test pictures are sent; they show changed pixels and areas that would be sent in a non-test mode.
The options dialog also allows changing settings for a microphone:
- “amplitude” can increase sound volume
- noise reduction
- “min level” allows ignoring too quiet sound
- “ignore interval” allows ignoring a monotonous hum
- “voice change” can change a voice pitch
At the bottom of the main window you can see statistics and charts for data received from IP camera(s), data sent by sender, data received by receiver.
This is TRVTrafficMeter component. It is useful to find optimal settings – you can see how various options affect traffic.
This demo uses the components:
- TRVCamera for receiving video from cameras
- TRVMicrophone for reading sound from a microphone
- TRVMicrophoneView to show a microphone activity
- TRVCamSender to send video, audio, files, text messages and commands
- TRVCamReceiver to receive them
- 2 TRVCamViews to display videos (from the camera and from the receiver)
- TRVTrafficMeter to show statistics
Location of this demo in the RVMedia installation: Demos\SendAndReceive\SingleApp\
|Send and receive: TwoApps demo|
This demo consists of two applications: a sender and a receiver.
Run the receiver, click “Start Receiver”.
Run the sender. Choose a video source from the combo box. Click “Start Sender”.
You can launch up to 4 senders, but before starting sending, choose a different item from “Send as” combo box for each sender.
These applications can run on a single computer or on different computers connected via the Internet.
By default, “Send to” text box contains the local address; if you run the demos on different computers, enter the receiver address in this text box.
Location of this demo in the RVMedia installation: Demos\SendAndReceive\TwoApps\
|Send and receive: Remote Desktop|
This demo consists of two applications: RemoteDesktop and DesktopControl.
Run the both demos, click the “Connect” button in DesktopControl.
RemoteDesktop demo sends screen images as a video stream; additionally, it sends the mouse pointer position. DesktopControl receives and shows this information.
DesktopControl can send mouse commands to RemoteDesktop, and RemoteDesktop executes them, simulating mouse events.
Location of this demo in the RVMedia installation: Demos\SendAndReceive\RemoteDesktop\
3. Media server
Below you can find compiled demo projects showing how applications can send and receive data via the network.
These applications consist of two parts: a server and a client.
Clients send and receive video (and other information) to each other via the network, but, unlike the demos above, clients are not connected to each other directly.
Instead, they are connected to a media server.
This application is used as a server for all clients in this group of demo projects.
Run this demo and click “Start Server” button.
This demo uses TRVMediaServer component.
This server can work with all kinds of demo clients at the same time:
different types of clients do not interfere with each other
(it happens because “Chat” communicates only with clients belonging to the specific group on the server,
and “Messenger” and “Conference” communicate only with clients belonging to a predefined contact list;
while “Messenger” and “Conference” use the same user names in contact lists, user identifiers are different in these demos).
You can run these demos on the same computer or on different computers connected via the Internet.
Location of this demo in the RVMedia installation: Demos\ClientServer\VideoChats\Server\
Video chat demo.
These applications connect to the media server demo (see above) and can send to each other: video, sound from a microphone, files, text messages.
By default, they connect to media server running on the same computer. If it is running on another computer, enter its address before clicking “Connect”.
You can choose video that you will broadcast to another users (“my video”). It will be displayed in the small panel.
You can also choose a chat user to receive video from (“receive video from user”).
Video from this user will be displayed in the large panel.
By default, text messages and files are sent to everybody. You can send them privately by choosing an addressee (“send text and files to”).
In this demo, all clients join to the specific group on the server. With minor modifications, this demo could implement chat rooms (they could choose a group to join).
Location of this demo in the RVMedia installation: Demos\ClientServer\VideoChats\Chat\
Another type of a video chat.
This demo looks very similar to the previous Chat demo. Messengers connect to the Media Server (see above) and send video, audio, text and files to each other.
- Chat client generates a new unique identifier and allow to enter a new name for each new client;
Messenger logs in as one of predefined accounts (having a stored name and an identifier)
- Chat client enters to a group on the server and communicates with other members in this group.
Messenger communicates only to a fixed set of clients (from a contact list)
- Chat sends messages and files to all other members of the group (but can send them privately); messages are shown in a common chat text viewer.
Messenger sends text and files privately; it creates a separate chat text viewer for each user.
- Chat's user list contains online members of the group. Messenger displays all users in its contact list; offline users are red, online users are green.
Possibility to improve this demo: implement a contact list editing – request for adding to a contact list, deletion from a contact list, etc.
Location of this demo in the RVMedia installation: Demos\ClientServer\VideoChats\Messenger\
One more kind of a video chat.
This demo is similar to the previous demo. Conferences connect to the Media Server (see above) and send video, audio and text messages to each other.
Like the Messenger demo, Conference client uses a contact list. It logs in as one of predefined accounts, and communicates only with other members of the contact lists.
- Messenger displays video from a single user. Conference displays video from up to 5 users (checked in the list)
- Messenger uses a separate chat text viewer for each user; Conference uses a common chat text viewer for all users, like in the Chat demo
- Sending files and private messages is not implemented in the Conference demo
- Conference displays system messages in the chat viewer
- Conference displays a traffic statistic at the bottom of the window
Location of this demo in the RVMedia installation: Demos\ClientServer\VideoChats\Conference\