Mtf.Controls.Video
1.0.85
dotnet add package Mtf.Controls.Video --version 1.0.85
NuGet\Install-Package Mtf.Controls.Video -Version 1.0.85
<PackageReference Include="Mtf.Controls.Video" Version="1.0.85" />
<PackageVersion Include="Mtf.Controls.Video" Version="1.0.85" />
<PackageReference Include="Mtf.Controls.Video" />
paket add Mtf.Controls.Video --version 1.0.85
#r "nuget: Mtf.Controls.Video, 1.0.85"
#:package Mtf.Controls.Video@1.0.85
#addin nuget:?package=Mtf.Controls.Video&version=1.0.85
#tool nuget:?package=Mtf.Controls.Video&version=1.0.85
MortoGraphy Video Streaming Control
Overview
MortoGraphy is a custom video streaming control built using Windows Forms. It allows embedding and displaying MJPEG or JPEG video streams within an application using the MortoGraphyWindow component.
Features
- Supports MJPEG and JPEG video streams.
- Provides overlay text support with configurable font, color, and position.
- Implements a secure authentication mechanism for video streams.
- Offers a
StartandStopmethod to manage streaming. - Handles thread-safe image updates to avoid UI thread issues.
Components
MortoGraphyWindow
A PictureBox-derived control that provides an interface for displaying video streams. It includes properties for configuring authentication, overlay text, and stream type.
Properties:
StreamType(StreamType): Defines the type of stream (MJPEG/JPEG).Username(string): Username for authentication.Password(string): Password for authentication.OverlayText(string): Text displayed over the video feed.OverlayFont(Font): Font used for overlay text.OverlayBrush(Brush): Color of the overlay text.OverlayLocation(Point): Position of the overlay text.
Methods:
Start(string resource): Starts the video stream from the specified URI.Stop(): Stops the video stream.
MortoGraphy
Handles video stream retrieval and processing. This class fetches frames and updates the MortoGraphyWindow control.
Events:
FrameArrived: Triggered when a new frame is available.
Methods:
Start(string url): Initiates video streaming from the given URL.Stop(): Stops the video stream.
Usage
- Add
MortoGraphyWindowto your form. - Set the necessary properties (
StreamType,Username,Password, etc.). - Call
Start("http://your-stream-url")to begin streaming. - Call
Stop()when finished.
var videoWindow = new MortoGraphyWindow
{
Username = "admin",
Password = "password",
StreamType = StreamType.Mjpeg,
OverlayText = "Live Stream",
OverlayFont = new Font("Arial", 16, FontStyle.Bold),
OverlayBrush = Brushes.Red,
OverlayLocation = new Point(20, 20)
};
videoWindow.Start("http://camera-stream-url");
Dependencies
System.DrawingSystem.Net.HttpSystem.Windows.Forms
License
This project is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net9.0-windows7.0 is compatible. net10.0-windows was computed. |
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 is compatible. |
-
.NETFramework 4.6.2
- Mtf.Controls (>= 1.0.85)
- Mtf.Network (>= 2.0.17)
-
.NETFramework 4.8.1
- Mtf.Controls (>= 1.0.85)
- Mtf.Network (>= 2.0.17)
-
net8.0-windows7.0
- Mtf.Controls (>= 1.0.85)
- Mtf.Network (>= 2.0.17)
-
net9.0-windows7.0
- Mtf.Controls (>= 1.0.85)
- Mtf.Network (>= 2.0.17)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.85 | 122 | 8/15/2025 |
| 1.0.82 | 169 | 6/6/2025 |
| 1.0.79 | 188 | 5/26/2025 |
| 1.0.77 | 183 | 5/22/2025 |
| 1.0.72 | 208 | 5/20/2025 |
| 1.0.71 | 219 | 5/20/2025 |
| 1.0.67 | 181 | 5/8/2025 |
| 1.0.66 | 175 | 5/8/2025 |
| 1.0.50 | 191 | 4/11/2025 |
| 1.0.47 | 225 | 4/11/2025 |
| 1.0.46 | 222 | 4/11/2025 |
| 1.0.42 | 219 | 4/9/2025 |
| 1.0.27 | 186 | 4/6/2025 |
| 1.0.22 | 196 | 4/3/2025 |
| 1.0.18 | 197 | 4/2/2025 |
| 1.0.17 | 211 | 4/2/2025 |
| 1.0.14 | 187 | 3/27/2025 |
| 1.0.13 | 206 | 3/27/2025 |
| 1.0.8 | 233 | 3/11/2025 |
| 1.0.5 | 210 | 3/10/2025 |
| 1.0.3 | 212 | 3/9/2025 |
| 1.0.1 | 174 | 3/9/2025 |
| 1.0.0 | 200 | 3/9/2025 |