Windows 7 - is there any link checker for streaming media?
Asked By w2ks
09-Nov-09 03:25 PM
Hello,
we have a bunch of streaming videos hosted by a different unit of the
company. a lot of times our streaming media just will not work. when played
using WMP, it would stop, and it will not stream. we would then
need to contact whoever's in charge of the streaming media, and he would then
does anyone know a product out there that can check the availability of a
streaming media?
if not, can anyone point me to a right direction(which class/object to use)
in windows media SDK in order to write some sort of link checker for
streaming media? in web logs, there are 200 or 400 return code that indicates
whether a call to a webpage is successful or not. i wonder if anything like
this exist in the SDK?
thank you
IWMReader
(1)
WindowsMediaPlayer
(1)
WindowsMediaFormat
(1)
WMReader
(1)
DirectShow
(1)
ActiveX
(1)
Riseoftheants
(1)
Streams
(1)
Alessandro Angeli replied to w2ks
From: "w2ks"
You can open URLs to WM streams in the WMReader object
included in the WM runtime (see the remarks to
IWMReader::Open() in the WindowsMediaFormat SDK, now also
included in the Windows SDK - requires C++ or .NET through
the open source WindowsMedia.NET wrapper),
You can also use the WindowsMediaPlayer ActiveX control in
any automation-aware language, even a web page, to open the
URL (see the WindowsMediaPlayer SDK, now also included in
the Windows SDK).
--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
w2ks replied to Alessandro Angeli
i'll give this a a shot!. thank you!!!
w2ks replied to Alessandro Angeli
i;ll give this a shot!. THANK YOU!!

Windows API (C / C++ / COM - no .Net). My first idea was to use DirectX (DirectSound, DirectShow etc.), but not every DirectX technology is available on XP. Some (DirectSound, XAudio2, XACT etc Multimedia Discussions Windows XP (1) IWMDRMReader (1) VB (1) IFileSourceFilter (1) WMAsfReader (1) SzFileURL (1) WindowsMediaPlayer (1) IServiceProvider (1) From: "Todor Todorov" On the other hand, what is available on XP not multimedia frameworks. There is only one Microsoft framework you can use and that is DirectShow which, despite the name, is not part of DirectX. DS is what is used by WindowsMediaPlayer so it supports every format that WMP supports (a few more actually). There are also the licensing) or the commercial QuickTime for Windows (but I would not recomment it over DirectShow). Both simply require that you replace the renderers with the SampleGrabber + NullRenderer and remove the grab the samples you need to display the waveform and the thumbnails. That's what DirectShow was designed for. DirectShow has been there isince Win98. DirectShow is API is only available for C++ (barring a limited COM / OLE / ActiveX / VB automation
the sample file I cannot think of anything that may be wrong. - - / / Alessandro Angeli / / MVP :: DirectShow / MediaFoundation / / mvpnews at riseoftheants dot com / / http: / / www.riseoftheants.com / mmx / faq.htm You are truncated. Try the ASF parser available on www.gdcl.co.uk: it uses the same WMReader object the stock WMAsfReader uses, but in a different way that may work around this issue. - - / / Alessandro Angeli / / MVP :: DirectShow / MediaFoundation / / mvpnews at riseoftheants dot com / / http: / / www.riseoftheants.com / mmx / faq.htm Thanks. I I can sort of monitoring where it goes wrong. gdcl version of WMV demuxer use WMReader and imeplement IWMReaderCallback etc. When reading begin, IWMStatusCallback::OnStatus received notify WMT_ERROR , with hr = 0x8000ffff 3 ASF parsers used in WMP: 1. The first one was the old WindowsMediaSourceFilter for DirectShow, used in WMP6.4, which could parse pretty much anything that looked like an ASF Win98SE to XP, but it was dropped in Vista. 2. The second one was the WMReader object provided in the WindowsMediaFormat runtime. With it came 2 DirectShow filters: the public WMASFReader and the secret (and better) WMRenderer (or whatever its exact name
Noring" I think the OP is right. The decoder DMO is loaded directly by the WMReader object, which is wrapped by WMP's private push source filter, which output decompressed data YUV420 flavor would be more efficient or the display is using RGB32. - - / / Alessandro Angeli / / MVP :: DirectShow / MediaFoundation / / mvpnews at riseoftheants dot com / / http: / / www.riseoftheants.com / mmx / faq.htm Interesting- -what third-party ones (DSP plugins). But the OP's DMO is actually not in the DirectShow pipeline with all those other DMOs. When the source is a WMV file, the decoding is performed by the WMReader object inside WMP's custom WMV reader instead of in the DirectShow pipeline. The built-in ones do not if the stream comes from a WMV decoder far). That would be my suggestion. Not that I can think of. - - / / Alessandro Angeli / / MVP :: DirectShow / MediaFoundation / / mvpnews at riseoftheants dot com / / http: / / www.riseoftheants.com / mmx / faq.htm I replied RGB24 as output first as a fallback guarantee, the same way the old VideoRenderer in DirectShow does. If you return S_OK from SetOutputType(, <RGB24> , 0), then WMP will actually try (SetOutputType but who cares about efficiency: the code should never be executed anyway). - - / / Alessandro Angeli / / MVP :: DirectShow / MediaFoundation / / mvpnews at riseoftheants dot com / / http: / / www.riseoftheants.com / mmx / faq.htm Thanks alot
IWMReader with custom allocated buffers Windows 7 I am rendering a movie using the IWMReader interface. It works fine, but I have performance problems. After optimizing all I could, I source code available? Thanks for help, Richard Windows Media SDK Discussions GetAllocateForOutput (1) SetAllocateForOutput (1) IWMReader (1) AllocateForOutput (1) DirectShow (1) Riseoftheants (1) Callback (1) Buffers (1) I have found out that GetAllocateForOutput() called after From: "Richard Koch" Did you check the result code of the call? - - / / Alessandro Angeli / / MVP :: DirectShow / MediaFoundation / / mvpnews at riseoftheants dot com / / http: / / www.riseoftheants.com / mmx / faq.htm Yes sure. It was S_OK. Replied in m.p.win32.p.dx.video. - - / / Alessandro Angeli / / MVP :: DirectShow / MediaFoundation / / mvpnews at riseoftheants dot com / / http: / / www.riseoftheants.com / mmx / faq.htm keywords IWMReader, with, custom, allocated, buffers description: I am rendering a movie using the IWMReader interface. It works fine, but I have performance problems. After optimizing all I could, I
How to open WME streaming URL in Directshow Windows 7 I set up a broadcast session with Windows Media Encoder. My URL is in Windows Media player, video is working fine. How can I open this Url in Directshow. Windows Media SDK Discussions Windows Media (1) IWMDRMReader (1) IWMReaderNetworkConfig (1) WMASFReader (1) IFileSourceFilter (1 is still process-wide, but at least not system-wide or permanent. - - / / Alessandro Angeli / / MVP :: DirectShow / MediaFoundation / / mvpnews at riseoftheants dot com / / http: / / www.riseoftheants.com / mmx / faq.htm Thanks Alessandro Filter. Hi Alessandro Angeli, Can you please tell how can I reduce buffer value in Directshow, like WMP(Tools-> Options-> Performance-> Buffer default is 5 seconds). From: "jack123" WMP can do source filter. Anyway, both WMP's source filter and the public WMASFReader filter use the WMReader object internally. There is no direct way to get a reference to it, but you anyway! IWMDRMReader* pAsfDrm = pAsfService-> QueryService(IID_IWMDRMReader, IID_IWMDRMReader); IWMReaderNetworkConfig* pAsfNetwork = pAsfDrm-> QueryInterface(IID_IWMReaderNetworkConfig); - - / / Alessandro Angeli / / MVP :: DirectShow / MediaFoundation / / mvpnews at riseoftheants dot com / / http: / / www.riseoftheants.com / mmx / faq.htm Hi, I tried the sample mentionned in your article, '35433823 / how-to-open-wme-streaming-url-in-directshow.aspx' but it doesn't work. I've downloaded and checked in the Windows Media link will be greatly appreciated. Thanks, Claude. keywords: How, to, open, WME, streaming, URL, in, Directshow description: I set up a broadcast session with Windows Media Encoder. My URL is something