Re: ASF custom file type



On Oct 24, 1:25 am, "Alessandro Angeli" <nob...@xxxxxxxxxxxxxxxxxx>
wrote:
From: "omeranda...@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

What I meant that I used the techinque described in the following link
to implement a custom source filter.
http://msdn2.microsoft.com/en-us/library/ms787558.aspx

When I open an AVI file , which has my FOURCC signature on it , my
source filter is loaded.

.



Relevant Pages

  • 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: ASF custom file type
    ... 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 ...
    (microsoft.public.win32.programmer.directx.video)
  • 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)
  • 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)