WMV Streaming Sample Application

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
(See also)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
This is a sample application that demonstrates the implementation of the following components:
+
This is a sample application of video capturing and streaming.
 
+
* [[Live Source]]
+
* [[WMV Sink]]
+
  
 
==Overview==
 
==Overview==
 
This sample application demonstrates the use of [[Live Source]] and [[WMV Sink]] components.  
 
This sample application demonstrates the use of [[Live Source]] and [[WMV Sink]] components.  
  
===Uncovered use cases===
+
===Demonstrated use cases===
 
* Retrieving omnifarious lists (video and audio devices, video and audio codecs, formats etc.)
 
* Retrieving omnifarious lists (video and audio devices, video and audio codecs, formats etc.)
 
* Basic configuring of [[Live Source]]
 
* Basic configuring of [[Live Source]]
Line 14: Line 11:
 
* Binding [[Live Source]] and [[WMV Sink]] together
 
* Binding [[Live Source]] and [[WMV Sink]] together
 
* Capturing video into a file
 
* Capturing video into a file
 +
 +
==Installation==
 +
 +
* Download sample application
 +
* Unpack application source into desired location
 +
* Download trials of required components
 +
* Unpack components' modules into ($SystemRoot)\system32
 +
* Register components within the system.
 +
>regsvr32 MGLiveSourceDS_Trial.dll
 +
>regsvr32 MGWMVCapture_Trial.dll
 +
* Open sample project with your IDE
 +
* Build project
 +
* Run ... and fun!
 +
 +
==Using the application==
 +
 +
===Initializing video source===
 +
* Run the application
 +
* Select the source video device you prefer
 +
* Select one of the available video formats
 +
* Select audio source or leave "No audio"
 +
* Select input line of your device
 +
* Now you can start viewing video from your device with "Init" button
 +
 +
===Initializing streaming===
 +
* Select desired video codec
 +
* Specify desired bitrate
 +
* Select audio codec and format
 +
* Decide, what kind of streaming do you want and check appropriate checkboxes. For every kind fill in options fields
 +
* If you want to capture video into file, check appropriate checkbox
 +
* Now you can start streaming video from you source towards selected destinations
 +
 +
You can stop streaming with the "Stop streaming" button.
 +
If you selected to capture video into file, you can use "Switch to next file" to switch to another file. And if you checked "Ask New File Name" before, then you will be asked for a file name.
  
 
==Downloads==
 
==Downloads==
Line 19: Line 50:
 
* [http://files.medialooks.com/MGLiveSourceDemo.zip Live Source Demo Application]
 
* [http://files.medialooks.com/MGLiveSourceDemo.zip Live Source Demo Application]
  
==Used components==
+
==See also==
  
 
* [[Live Source]]
 
* [[Live Source]]
Line 25: Line 56:
  
  
[[Category:Demo Applications]]
+
[[Category:Sample Applications]]

Latest revision as of 13:05, 27 July 2007

This is a sample application of video capturing and streaming.

Contents

Overview

This sample application demonstrates the use of Live Source and WMV Sink components.

Demonstrated use cases

  • Retrieving omnifarious lists (video and audio devices, video and audio codecs, formats etc.)
  • Basic configuring of Live Source
  • Using a panel as a screen for video
  • Basic configuring of WMV Sink
  • Binding Live Source and WMV Sink together
  • Capturing video into a file

Installation

  • Download sample application
  • Unpack application source into desired location
  • Download trials of required components
  • Unpack components' modules into ($SystemRoot)\system32
  • Register components within the system.
>regsvr32 MGLiveSourceDS_Trial.dll
>regsvr32 MGWMVCapture_Trial.dll
  • Open sample project with your IDE
  • Build project
  • Run ... and fun!

Using the application

Initializing video source

  • Run the application
  • Select the source video device you prefer
  • Select one of the available video formats
  • Select audio source or leave "No audio"
  • Select input line of your device
  • Now you can start viewing video from your device with "Init" button

Initializing streaming

  • Select desired video codec
  • Specify desired bitrate
  • Select audio codec and format
  • Decide, what kind of streaming do you want and check appropriate checkboxes. For every kind fill in options fields
  • If you want to capture video into file, check appropriate checkbox
  • Now you can start streaming video from you source towards selected destinations

You can stop streaming with the "Stop streaming" button. If you selected to capture video into file, you can use "Switch to next file" to switch to another file. And if you checked "Ask New File Name" before, then you will be asked for a file name.

Downloads

See also

Personal tools