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
|