Skip navigation
Dean Stringer
Currently Being Moderated

Display one video source as two views?

Sep 12, 2011 9:44 PM

Hey all.

 

I'm  looking for a way to have an OSMF based player playback a single video  instance but represent it in the interface as two seperate views. The  source video has composited elements in it that I need to pick out for  display independantly, and ideally to be able to display one at a time,  or switch between.

 

In Silverlight this is possible using  the VideoBrush object, its a very cool capability, but I havent been  able to find any similar functionality in actionscript, or flex. Have  been looking over the osmf documentation, and actionscript docs, and of  course had a good search around the web.

 

The alternatives  seem to be using ScrollRect or Mask in combination with graphical  overlays, or using scaling and positioning of two seperate sources of  the same video, but these approaches mean I'd need to play back two  instances of the video, not one. This would seem to introduce all sorts  of overhead, and maybe synching and bandwidth problems.

 

Can anyone share any experience or insight into how to tackle this problem?

 

Thanks in advance,

Dean

 
Replies
  • Currently Being Moderated
    Sep 29, 2011 11:24 AM   in reply to Dean Stringer

    Not sure if i am following extactly, but you can display the media element in 2 containers and it wont double the bandwidth just the client side rendering. If you can use hardware accelleration via StageVideo this could be a non issue.

     

    Other option is to playback one instance and copy and render into another component via bitmap data and drawing. I wouldnt normally recommend this.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points