Re: ASF custom file type
- From: Blow <omer@xxxxxxxxxxxxxx>
- Date: Wed, 24 Oct 2007 07:58:34 -0700
On Oct 24, 11:17 am, Blow <o...@xxxxxxxxxxxxxx> wrote:
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.- Hide quoted text -
- Show quoted text -
I will clearify my question...
I have used the third method - of signature in the file which links to
a source filter.
In GraphEdit , when I load an asf file (which has the signature) it
loads my custom source filter,
but when I use the AddSourceFilter method or loads the same file to
Windows Media Player it loads the default source filter.
How can that be?
Thanks
.
- Follow-Ups:
- Re: ASF custom file type
- From: Alessandro Angeli
- Re: ASF custom file type
- References:
- ASF custom file type
- From: omerandanat
- Re: ASF custom file type
- From: Alessandro Angeli
- Re: ASF custom file type
- From: Blow
- ASF custom file type
- Prev by Date: VMR9 on ATI graphics, and how to render a frame immediately
- Next by Date: Re: Get Information from an avi file
- Previous by thread: Re: ASF custom file type
- Next by thread: Re: ASF custom file type
- Index(es):
Relevant Pages
|