AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

How to do Video in Video?

Forum to discuss AForge.NET Framework, its features, API, how-tos, etc.

How to do Video in Video?

Postby reg19001 » Wed Oct 18, 2017 9:15 am

Collect video data from two cameras.
Show as Video in Video.
Similar to this:
1476509826_449087.jpg
1476509826_449087.jpg (60.59 KiB) Viewed 7364 times

How to do?
reg19001
 
Posts: 2
Joined: Wed Oct 18, 2017 9:12 am

Re: How to do Video in Video?

Postby andrew.kirillov » Wed Oct 18, 2017 9:43 am

Just draw one image into another. So you have 2 video sources. When new frame comes from 1st video source, store it in some variable. When new frames comes from 2nd video source, draw image from the 1st source on top of it and then do whatever - display, save in video file, etc.

This is a basic approach assuming frame rate is equal for both sources.
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3453
Joined: Fri Jan 23, 2009 9:12 am
Location: UK

Re: How to do Video in Video?

Postby reg19001 » Thu Oct 19, 2017 1:25 am

andrew.kirillov wrote:Just draw one image into another. So you have 2 video sources. When new frame comes from 1st video source, store it in some variable. When new frames comes from 2nd video source, draw image from the 1st source on top of it and then do whatever - display, save in video file, etc.

This is a basic approach assuming frame rate is equal for both sources.


Is there an example?
reg19001
 
Posts: 2
Joined: Wed Oct 18, 2017 9:12 am




Return to AForge.NET Framework

cron