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: WMF SDK broadcast

HTVi
TV Discussion Newsgroups

WMF SDK broadcast
visuall 7/3/2007 5:26:06 PM
Hello,

I am trying to build WMF SDK based broadcast application that can broadcast
from live ( web cam and DV ) and archived ( WMV, AVI ) sources.
For the live sources I am using Direct Show graph with attached sample
grabber filters. When I get the samples out of the graph I write them via the
SDK writer object. This appears to work OK in the web cam case. However in
the DV case it works partially and makes the player to enter in buffering
state many times when it plays the content even in LAN environment.

For archived sources I am reading from them ( so I can have a preview ) via
Dshow graph with attached SGs or via the AVI API and write the samples to
the SDK writer again. For many sources I see the same problem – player often
enters in buffering state few times during payback in one broadcast session.
I have also tried to make the broadcast to be done by the Wmf Writer Dshow
fiter. In this case it works a little better and I do not see so often the
buffering probem.
So does anyone know what the problem with the buffering is? Why I see it
even in LAN many times after the broadcast is running. It looks that I am not
writing fast enough or something but the code writs as fast as it reads …

Ideas?

Same sources are broadcasted just fine by WME ....

Regards,

--
Nick Kichukov,
project manager,
eConsulting LLC
Re: WMF SDK broadcast
"Neil Smith [MVP Digital Media]" <neil[ at ]nospam.com> 7/4/2007 7:51:10 PM
On Tue, 3 Jul 2007 10:26:06 -0700, visuall
<visuall[ at ]discussions.microsoft.com> wrote:

[Quoted Text]
>Hello,
>
>I am trying to build WMF SDK based broadcast application that can broadcast
>from live ( web cam and DV ) and archived ( WMV, AVI ) sources.
>For the live sources I am using Direct Show graph with attached sample
>grabber filters. When I get the samples out of the graph I write them via the
>SDK writer object. This appears to work OK in the web cam case. However in
>the DV case it works partially and makes the player to enter in buffering
>state many times when it plays the content even in LAN environment.
>
>For archived sources I am reading from them ( so I can have a preview ) via
>Dshow graph with attached SGs or via the AVI API and write the samples to
>the SDK writer again. For many sources I see the same problem – player often
>enters in buffering state few times during payback in one broadcast session.
>I have also tried to make the broadcast to be done by the Wmf Writer Dshow
>fiter. In this case it works a little better and I do not see so often the
>buffering probem.
>So does anyone know what the problem with the buffering is? Why I see it
>even in LAN many times after the broadcast is running. It looks that I am not
>writing fast enough or something but the code writs as fast as it reads …
>
>Ideas?

When you go to the media player menus, choose View -> Statistics ->
Advanced and review the data rate coming from your source. Then
compare it against the equivalent WME http stream, you should be able
to see varying levels of packet loss or spikes in the data rate.

Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs

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