Re: ASF custom file type



From: "omerandanat@xxxxxxxxx"

I have written a source filter which handles a custom
file type for AVI.
This source filter is loaded when playing the AVI.

Is it possible to do so also for ASF?

If you mean you wrote a custom file handler for the AVIFile
library, then the concept does not apply to ASF.

You need to understand that AVIFile is a 3-step pipeline:

1. source: AVI/WAV parser based on MMIO or unknown when
using a custom handler
2. handler: stock AVI/WAV handler or custom handler
3. reader: AVIFile

ASF is a format and the WMF runtime library supports it and
MP3 and corresponds only to level 1, while you are looking
at something at level 2. But levels 2 and 3 of AVIFile have
been replaced in most applications by DirectShow and
MediaFoundation.

What are you trying to achieve? Are you actually sourcing a
custom file type or just reading an AVI from a custom
storage? How is the data read by AVIFile consumed?

--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


.



Relevant Pages

  • Re: Data Unit Extensions
    ... >You might want to grab the ASF viewer tool: ... >> I am using the WMStats example in the SDK for reading ... >> custom DUE set in the ASF file. ...
    (microsoft.public.windowsmedia.sdk)
  • Re: Custom HttpHandler and Server.Transfer
    ... the same app that should be handled by the same custom handler. ... target ... it can only help forward request ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: web.config section replacement
    ... Regarding on this web deployment project "section replacement" with custom ... using custom section handler, the msbuild app need to be able to locate the ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASF custom file type
    ... This source filter is loaded when playing the AVI. ... If you mean you wrote a custom file handler for the AVIFile ...
    (microsoft.public.win32.programmer.directx.video)
  • GetCompiledPageInstance and Custom IhttpHandler
    ... I have written an HttpHandler to process page requests for a custom ... page within the ProcessRequest method of the custom handler. ... custom file extension) and saw that the custom handler was being ...
    (microsoft.public.dotnet.framework.aspnet)

Loading