Re: Encoding Two Simultaneous Video Sources?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Neil Smith [MVP Digital Media] (neil_at_nospam.com)
Date: 11/12/04

  • Next message: PeterGV: "Re: Encoding Two Simultaneous Video Sources?"
    Date: Fri, 12 Nov 2004 23:44:18 GMT
    
    

    I can't think of any way the encoder architecture or player could
    support this ! Think, mixing treacle and water ;-) You can't really
    merge the streams effectively and play them at the same time.

    My suggestion would be to do it in quicktime or real player. That way,
    you can use the SMIL architecture, with multiple content windows.

    Each window in the SMIL container can simultaneously play different
    types of clips, eg an audio and 2 separate videos encoded at different
    rates (you can also do nice stuff like stream switching depending on
    client-side bandwidth available, which is server side in windows
    media)

    Call back if you need a clue how to do this, but basically SMIL is
    just a simple XML file format. It differs slightly in use between QT
    and Real, but the basics are the same. It's very like writing a HTML
    page. You'd use the <par> tags to play the videos in parallel, like

    <par>
            <video src="mymovie.rm" region="region1"/>
            <video src="myscreencap.rm" region="region2"/>
    </par>

    And then provide 2 video regions labelled "region1" and "region2" to
    show the content in. These need not be the same physical size ;-)

    Real's SMIL references here will be useful :
    http://service.real.com/help/library/guides/production8/htmfiles/smil.htm
    http://service.real.com/help/library/guides/production8/htmfiles/smilref.htm

    Quick example for Quicktime :
    http://smw.internet.com/smil/tutor/qt4smil/index3.html

    Cheers - Neil

    On Fri, 12 Nov 2004 10:50:01 -0800, "PeterGV"
    <PeterGV@discussions.microsoft.com> wrote:

    >I'd like to encode one audio stream, plus two simultaneous video streams in
    >one WMV file. I'd like the two video streams to use different codecs --
    >Think talking head (using the wmV9 codec) and a simultaneous screen capture
    >video (using the screen capture codec).
    >
    >Does anybody have any input as to whether this is possible? I guess yet
    >another questions is how it would play back in WMP?
    >
    >P


  • Next message: PeterGV: "Re: Encoding Two Simultaneous Video Sources?"

    Relevant Pages

    • Re: Problem playing mms stream using mplayer or other players
      ... when I used the "full version" to play the video streams on the web. ... The use of the default mplayer plugin may now work but don't ... For the radio/audio streams, I use alsaplayer which plays the streams ... I have also updated Real player ...
      (alt.os.linux.suse)
    • Re: Problem playing mms stream using mplayer or other players
      ... I wish to disassociate live streams with totem and associate them with ... Real player but at the moment I have failed to figure out how to do ... MPlayer has so far not been able to play anything successfully ... I think that the mplayer plugin doesn't work well? ...
      (alt.os.linux.suse)
    • Player cannot show windows media streams
      ... We have our own DirectShow complaint player that refuses to play ... windows media streams. ... It can play windows media files (that are local ... I verified that the windows media player on the same computer is able ...
      (microsoft.public.multimedia.directx.dshow.programming)
    • Player cannot show windows media streams
      ... We have our own DirectShow complaint player that refuses to play ... windows media streams. ... It can play windows media files (that are local ... I verified that the windows media player on the same computer is able ...
      (microsoft.public.win32.programmer.directx.video)