Video overlay - is it possible?

Hello,

I have an old bb rev B6, but I'm going to buy the new XM.
My goal is to acquire video from a camera (composite video), add a
real-time graphics overlay (w/ colors and alpha blending) and
eventually output the result again in composite video.

Do you think is it possible with these bb? What external hardware do
you recommend? I'm talking about the input and output in composite
video.

What about the software? Do you think I will run into some trouble to
achieve that?
Thank a lot in advance
Marco

Marco Trapanese wrote:

Hello,

I have an old bb rev B6, but I'm going to buy the new XM.
My goal is to acquire video from a camera (composite video), add a
real-time graphics overlay (w/ colors and alpha blending) and
eventually output the result again in composite video.

Do you think is it possible with these bb?

yes

What external hardware do
you recommend? I'm talking about the input and output in composite
video.

XM already has composite output.

for composite input use a usb based PAL/NTSC grabber.

What about the software? Do you think I will run into some trouble to
achieve that?

no idea, depends on you.

I’ve done video IO with a web cam and displaying it on one of the framebuffers on an -xM. Details are here [1].

Does this help?

–Mark

[1] http://elinux.org/EBC_Exercise_10_The_Display_SubSystem_(DSS)_Writing_to_the_Framebuffer

Thank you very much for both answers.

In the meanwhile I did some test with a webcam and Qt4+opengl+openvc and I was able to do what I want. So I just need to replace the webcam stream with that one from the video grabber.

The USB PAL grabber should have any precise feature to be compatible with bb and linux? I’m going to used a debian os (if someone doesn’t suggest me something better).

The -xM has a s-video output, actually. It’s not a composite output but I know it’s very easy to convert to.
The old bb I have got should do the job anyway?

Marco Trapanese wrote:

Thank you very much for both answers.

In the meanwhile I did some test with a webcam and Qt4+opengl+openvc and I was able to do what I want. So I just need to
replace the webcam stream with that one from the video grabber.

The USB PAL grabber should have any precise feature to be compatible with bb and linux? I'm going to used a debian os
(if someone doesn't suggest me something better).

it should have a linux driver available

The -xM has a s-video output, actually. It's not a composite output but I know it's very easy to convert to.
The old bb I have got should do the job anyway?

the non-XM has s-video too...

It’s hard to find a frame grabber that has in its specification “linux driver”.
May you suggest me a product well known? The best would be if it has four video input, so I can select what I want.

Will frame grabbers create a device in /dev/video* like webcams?

Marco Trapanese wrote:

It's hard to find a frame grabber that has in its specification "linux driver".

yes, but you can google for "$product_name linux driver"

May you suggest me a product well known? The best would be if it has four video input, so I can select what I want.

no idea, never used one

Will frame grabbers create a device in /dev/video* like webcams?

yes, if they have a v4l2 driver