VideoStream Class |
Namespace: AGI.Foundation.Graphics.Imaging
The VideoStream type exposes the following members.
Name | Description | |
---|---|---|
VideoStream(String) |
Initializes the video stream from a Uri, which can be a file, HTTP, RTP, UDP, or TCP source.
See the Video Streams topic for
a list of supported video formats and Uri usage.
| |
VideoStream(Uri) |
Initializes the video stream from a Uri, which can be a file, HTTP, RTP, UDP, or TCP source.
See the Video Streams topic for
a list of supported video formats and Uri usage.
|
Name | Description | |
---|---|---|
AllowFrameDrop |
Gets or sets a value indicating if frames should be dropped if video processing can not keep up with a video stream.
If this is set to false, the video quality may degrade when the processing load is too high. Alternatively, when set
to true, frames will be dropped, but each frame that is processed should have an improved visual quality.
| |
Attributes |
Gets the RasterAttributes that define the raster data.
(Inherited from Raster.) | |
EndFrame | ||
EndTime | ||
FrameRate | ||
Height |
Gets the height of the raster in pixels.
(Inherited from Raster.) | |
IntervalEndTime |
Gets or sets the SceneManager time at which the video
will stop playing when the Playback property is set to TimeInterval.
| |
IntervalStartTime |
Gets or sets the SceneManager time at which the video
will begin playing when the Playback property is set to TimeInterval.
| |
IsPlaying | ||
Loop | ||
PacketAcquirementYieldTime |
Gets or sets the thread processing yield time for asynchronous streaming of video over common protocols like udp.
Setting a high value may increase performance, but may cause frames or packets to drop, effecting visual quality.
A lower value will ensure high priority processing of the stream, and thus less visual degradation, but may affect performance.
| |
PacketBufferLimit |
Gets or sets a value indicating the buffering limit for packets when processing a video stream. Increasing this value
will provide more buffering of the video stream when frame processing cannot keep up, but has memory implications and
may result in the video falling behind, or eventual visual degradation, if the frame processing load is not lessened.
| |
Playback |
Gets or sets the VideoPlayback mode of the video.
| |
Scan0 |
Gets the IntPtr associated with the first value of data in the raster.
(Inherited from Raster.) | |
StartFrame |
Gets or sets the start frame of the video. Changing the StartFrame property also
changes the StartTime property to the time in the video that corresponds to the specified frame.
| |
StartTime |
Gets or sets the start time of the video in seconds. Changing the StartTime property also
changes the StartFrame property to the frame in the video that corresponds to the specified time.
| |
UpdateDelta |
Gets or sets the update delta of the raster stream in seconds. The UpdateDelta defines the interval
at which the Update(JulianDate, JulianDate) method will be called. The default UpdateDelta is 0, which will
call the Update(JulianDate, JulianDate) method every time the SceneManager
time changes. When animating, this means the Update(JulianDate, JulianDate) method would be called on every animation step.
(Inherited from RasterStream.) | |
Uri |
Gets the Uri of the video.
| |
Width |
Gets the width of the raster in pixels.
(Inherited from Raster.) |
Name | Description | |
---|---|---|
Apply |
Applies a RasterFilter to the raster and returns a new raster with the results of the filtering. The current raster is not modified.
(Inherited from Raster.) | |
ApplyInPlace |
Applies a RasterFilter to the raster. The current raster will contain the results of the filtering.
(Inherited from Raster.) | |
CloseStreamAndResources |
Closes the video stream and any associated resources.
| |
CopyFromBitmap |
Copies a
.NET Bitmap with a supported PixelFormat
into this raster.
Format8bppIndexed, Format24bppRgb, Format32bppRgb, and Format32bppArgb bitmap data are supported.
(Inherited from Raster.) | |
CopyFromMemory(Byte, RasterAttributes) |
Copies the given memory into the raster.
(Inherited from Raster.) | |
CopyFromMemory(IntPtr, RasterAttributes) |
Copies the given memory into the raster.
(Inherited from Raster.) | |
CopyFromRaster |
Copies the data associated with the given Raster into this raster.
(Inherited from Raster.) | |
Dispose | (Inherited from Raster.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExtractBand(RasterBand) |
Extracts the band of raster data associated with the given RasterBand.
(Inherited from Raster.) | |
ExtractBand(RasterFormat) |
Extracts the bands of raster data associated with the given RasterFormat.
(Inherited from Raster.) | |
Flip |
Flips the raster along the given axis.
(Inherited from Raster.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Pause | ||
Play | ||
ReinitializeWithStringUri |
Reinitializes the video stream from a Uri, which can be a file, HTTP, RTP, UDP, or TCP source.
See the Video Streams topic for
a list of supported video formats and Uri usage.
| |
Reset | ||
Rotate |
Rotates the raster by the given angle.
(Inherited from Raster.) | |
Stop | ||
ToBitmap |
Copies the raster to a
.NET Bitmap
if the RasterFormat is supported. RGB, RGBA, BGR, and BGRA raster data is supported.
(Inherited from Raster.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update |
When overridden in a derived class, updates the raster data associated with the raster stream at the specified time.
When the Update(JulianDate, JulianDate) method is called, the raster stream contains a raster data buffer defined by the current
Attributes of the stream for updating the raster data.
The time parameter provides the current and next SceneManager time.
Return true if the raster data was updated, otherwise return false.
(Overrides RasterStreamUpdate(JulianDate, JulianDate).) |