WMV Streaming Sample Application
From AVObjects Knowledge Base
(Difference between revisions)
m (installation complete) |
(added "Using the application") |
||
Line 11: | 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== | ==Installation== | ||
− | * Download sample application | + | * Download sample application |
* Unpack application source into desired location | * Unpack application source into desired location | ||
* Download trials of required components | * Download trials of required components | ||
Line 28: | Line 24: | ||
* Build project | * Build project | ||
* Run ... and fun! | * 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== | ||
+ | |||
+ | * [http://files.medialooks.com/MGLiveSourceDemo.zip Live Source Demo Application] | ||
==See also== | ==See also== |
Revision as of 11:32, 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.