Re: adding stream to ASF file



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
.



Relevant Pages

  • Re: Encoding -> Streaming <- Seeking
    ... streams. ... The Orb software runs on my system to encode the file on demand to Windows Media. ... and the end client can seek to any point in the stream. ... This is encoded in real-time by my system and streamed through the Orb Server. ...
    (microsoft.public.windowsmedia.server)
  • Re: encoding several live streams simultaneously
    ... > if it is possible with WME to encode from the same source several streams ... > you go if you are also required to deliver both wmv and realvideo streams? ... I think using more than one capture card is probably best for this, ... 100 for example has 3 composite inputs, ...
    (microsoft.public.windowsmedia.encoder)
  • Re: CoSign LARGE files WITHOUT large memory requirements
    ... The API introduced streams in order to solve Encode and Decode PKCS#7... ... Can you please consider adding an option to use streams in order to Encode ... >> detached signature. ...
    (microsoft.public.platformsdk.security)
  • encoding several live streams simultaneously
    ... In the view of a first live video streaming experience, ... if it is possible with WME to encode from the same source several streams ... you go if you are also required to deliver both wmv and realvideo streams? ...
    (microsoft.public.windowsmedia.encoder)
  • Re: I/O streaming with custom data transport
    ... Ada streams are streams of Stream_Elements ... and the 'Read/'Write attributes encode things in ... But the original question was about streams of characters, ... Then you can make derived types for sending to a file, ...
    (comp.lang.ada)