Custom Writer Sink - Looking for class implementing INSSBuffer
From: Joe (Joe_at_discussions.microsoft.com)
Date: 09/25/04
- Next message: Alessandro Angeli [MVP::DigitalMedia]: "Re: Custom Writer Sink - Looking for class implementing INSSBuffer"
- Previous message: Neil Smith [MVP Digital Media]: "Re: Multicast Media Player"
- Next in thread: Alessandro Angeli [MVP::DigitalMedia]: "Re: Custom Writer Sink - Looking for class implementing INSSBuffer"
- Reply: Alessandro Angeli [MVP::DigitalMedia]: "Re: Custom Writer Sink - Looking for class implementing INSSBuffer"
- Reply: Jeremy Noring: "Re: Custom Writer Sink - Looking for class implementing INSSBuffer"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 25 Sep 2004 13:15:04 -0700
I'm trying to write a custom writer sink for writing to files. The reason
I'm trying to do this is to be able to write to successive files without
losing frames while not interrupting broadcasting. I'd been using the
encoder sdk, but this doesn't seem possible. This also doesn't seem to be
possible using the format sdk without using multiple writers, which is a
performance hit I don't want to take. So if you think I'm taking the wrong
path or doing unnecessary work, please let me know.
My problem:
I've written my file sink. I'm writing the buffers I get back from OnHeader
and OnDataUnit to a file. When I open the file using Windows Media Player, I
get an error saying something like the format and the file extension don't
match. I assume this means that the header is invalid. So either the format
sdk is screwed up(not likely), my class that implements INSSBuffer is screwed
up(probably), or my understanding is wrong. Would someone be willing to
provide me with a complete C++ sample of a class that implements INSSBuffer,
so I can try to plug that in? I'd really appreciate it.
- Next message: Alessandro Angeli [MVP::DigitalMedia]: "Re: Custom Writer Sink - Looking for class implementing INSSBuffer"
- Previous message: Neil Smith [MVP Digital Media]: "Re: Multicast Media Player"
- Next in thread: Alessandro Angeli [MVP::DigitalMedia]: "Re: Custom Writer Sink - Looking for class implementing INSSBuffer"
- Reply: Alessandro Angeli [MVP::DigitalMedia]: "Re: Custom Writer Sink - Looking for class implementing INSSBuffer"
- Reply: Jeremy Noring: "Re: Custom Writer Sink - Looking for class implementing INSSBuffer"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|