Re: adding stream to ASF file
- From: Iain <iain@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 17 Mar 2007 15:29:51 +0000
On Fri, 16 Mar 2007 08:57:36 -0700, Alessandro Angeli wrote:
From: "Iain"
I didn't know that. How does this work if you have an
asf stream with two encoded substreams and an unencoded
independent stream which you want to merge in. It sounds
like you'd have to encoded the independant stream first
(either with dmo or by a preprocess stage). And you'd
likely need to use Geraint's parser to get teh encoded
streams out of the asf file.
AFAIK, the WMWriter (and thus the WMASFWriter layered upon
it) will either encode all streams or none. It would be
useful to hava a per-stream option. The WM(Sync)Reader (and
the WMASFReader filter) on the other hand will parse
whatever ASF you throw at it but again, you can either have
it decompress all streams or none (the WMASFReader is always
set to none, the "WMPPrivateWMASFReader" is instead always
set to all).
I belive that you can merge precompressed and uncompressed streams with the
WMWriter object.
YOu would do this by using IWMWriterADvanced to write the compressed
samples (WriteStreamSample) and IWMWriter to write the uncompressed
samples.
I haven't tried this, so I could be talking out of my, er lack of knowledge
<g>, but I would expect it to work.
Iain
.
- References:
- Re: adding stream to ASF file
- From: Iain
- Re: adding stream to ASF file
- From: Iain
- Re: adding stream to ASF file
- From: Alessandro Angeli
- Re: adding stream to ASF file
- Prev by Date: Re: Flagging as, and using 'self rendering' fiters.
- Next by Date: Re: Obtaining fps from a video file
- Previous by thread: Re: adding stream to ASF file
- Next by thread: How to render a video file and pass the stream to FillBuffer of Source Filter
- Index(es):
Relevant Pages
|