Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: windows media encoder gives delay of 5-6 seconds

HTVi
TV Discussion Newsgroups

windows media encoder gives delay of 5-6 seconds
Naveen koul 6/27/2007 11:48:03 AM
Sir,

I am developing an application were i need to stream live images to other
end , but i am getting an delay of 5 -6 secs using windows media encoder .I
need to remove this delay how can this be done i could not found any resource
for it on net .
*****************************************************
Image transfer application has two parts

1. server side application
2. client side application

1. server side application:

Download the media encoder 9 series and media encoder SDK 9 series first and
run those controls and add the path into vc++ directories. Now copy the
profile named “myprofile” attached into the c:\program files \ windows media
components\encoder\profiles and add the “encoderempl” class attached you’re
your application and write following code to crate and play encoder.


CEncoderImpl EncoderImpl; // create object into .h

EncoderImpl.CreateEnc();// call into .cpp
EncoderImpl.StartEncoder();

2. client side application:


On the client side application add a media player 4 active x control
and make an object of control class and set the url first and then called
the play function. Find the client side application attached.


Here m_MediaPlayer is member variable created through class wizard


CString str("http://"); // can use mms protocol
str+="192.168.1.111"; // change the system ip or can give the system name
str+=":8080";

m_MediaPlayer.SetUrl(str);
m_MediaPlayer.GetControls().play();

**************************************************
This is the fragment how i amtrying to do it.

I hope you can help me out.

Regards

Naveen
Re: windows media encoder gives delay of 5-6 seconds
Jeremy Noring <kidjan[ at ]gmail.com> 6/28/2007 10:03:43 PM
On Jun 27, 4:48 am, Naveen koul <Naveenk...[ at ]discussions.microsoft.com>
wrote:
[Quoted Text]
> I am developing an application were i need to stream live images to other
> end , but i am getting an delay of 5 -6 secs using windows media encoder .I
> need to remove this delay how can this be done i could not found any resource
> for it on net .

Short answer: you cannot remove the delay from the WMP/WMEncoder
objects; it's built-in. To get low latency video, you'll need to use
some other SDK or write your own components from scratch. See here:
http://support.microsoft.com/kb/321691 for more details.



Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen