Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: WMF SDK broadcast

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

WMF SDK broadcast
visuall 03.07.2007 17:26:06
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> 04.07.2007 19:51:10
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