Re: Question about Audio tracks

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thanks.
More a quesiton about synchronization . If I need write the sample depend
on the time stamp on it ?

If the audio time stamp is natively different from the video time stamp, how
can i process it ?

Thanks again.


"Becky Weiss [MS]" <BeckyWeissMS@xxxxxxxxxxxxxxxxxxxxxxxxx> дÈëÏûÏ¢
news:56881A9D-DB8F-47B1-8551-25CC628CDCA7@xxxxxxxxxxxxxxxx
> There isn't sample code that does exactly this. But here's the general
idea
> of how I might add an audio track to an existing file original.asf:
> 1) Encode your audio track into foo.wma
> 2) Create two instances of the IWMSyncReader: one to read from
original.asf,
> and one to read from foo.wma.
> 3) Create an IWMWriter to write output.asf and set the profile, using the
> mediatypes from original.asf and from foo.wma (make sure you get the
> mediatypes exactly)
> 4) Read samples from the two input files and pass them into
> IWMWriterAdvanced::WriteStreamSample. Make sure you're synchronizing
between
> the various streams.
>
> Becky
>
> This posting is provided AS IS with no warranties and confers no rights.
>
> "smtppop" wrote:
>
> > I want to insert two or more audio tracks into asf file. But I can not
find
> > any sample code in WM format SDK 9.0 . I have no idea about this. Can
you
> > help me ? Where can i find the sample code or the instruction to do this
?
> >
> >
> >


.



Relevant Pages

  • Re: Speech to text
    ... want to take audio and create a time stamp table of values where words ... For instance the first word start at 250 ms, ... I do have access to both audio ... Using either CMU Sphinx, DTW with synthetic speech, or EHMM in the ...
    (comp.speech.research)
  • Re: Speech to text
    ... want to take audio and create a time stamp table of values where words ... I do have access to both audio ... although it involved a lot more than straight speech to text alignment. ...
    (comp.speech.research)
  • Re: Speech to text
    ... want to take audio and create a time stamp table of values where words ... I do have access to both audio ... prompt, go off prompt for a bit, books have chapter titles that aren't ... BEEP for British English) and some time to learn it all. ...
    (comp.speech.research)
  • Controlling play during import into iTunes from command line interface
    ... I can call iTunes directly from ... All the audio files end up ... play of one audio track being imported. ...
    (comp.sys.mac.apps)
  • Re: I lose video when I add an audio/music track.
    ... Honestech's VCR to DVD 3.0 Deluxe to convert it to an .mpg file. ... dragged the file to the audio track and saved a copy as the audio ... When I play the DVD all I get is good audio - no video. ...
    (microsoft.public.windowsxp.moviemaker)