Re: writing part of a stream to a file
- From: "Thore B. Karlsen [DShow MVP]" <sid@xxxxxxxx>
- Date: Sun, 04 Mar 2007 16:40:56 -0600
On 4 Mar 2007 12:43:27 -0800, "mike" <michabir@xxxxxxxxx> wrote:
if you only need it to work with AVI moviesUnless you need to work with AVI files that API doesn't support :)
it will probably be easier to do it using the AVIFile API.
In that case I actually think it would be easier to write your own AVI
parser and writer. :) Looking back at the headaches I had trying to do
it in DirectShow, I don't think I'd do it that way again.
the graph is supposed to support mpg and avi.
In that case it's harder to do it from scratch. :(
writing my own parser and writer seems like a big headach(mainly
because i never tried it before).
how does GMFBridge helps me to accomplish what i need?
i was thinking of writing 2 transfer filters that drops the frames and
audio samples i dont need (returns E_FAIL) do you think this approach
will work?
Yes, and it is actually probably easier to implement than the split
graph approach. However, Michel is probably right that DES is a better
choice. I've never used DES myself, so I can't really say for sure how
easy it would be to do it in DES.
--
Be seeing you.
.
- References:
- writing part of a stream to a file
- From: mike
- Re: writing part of a stream to a file
- From: Thore B. Karlsen [DShow MVP]
- Re: writing part of a stream to a file
- From: The March Hare [MVP]
- Re: writing part of a stream to a file
- From: Thore B. Karlsen [DShow MVP]
- Re: writing part of a stream to a file
- From: mike
- writing part of a stream to a file
- Prev by Date: Re: writing part of a stream to a file
- Next by Date: Re: writing part of a stream to a file
- Previous by thread: Re: writing part of a stream to a file
- Next by thread: Re: writing part of a stream to a file
- Index(es):