PDA

View Full Version : multiple sources, view or save X numbered frames only


kensplace2
24th June 2006, 01:00
I have a hardware multiplexer that takes multiple cameras and outputs each camera one frame at a time, so the video stream goes camera 1, camera 2, camera 3, camera 4, camera 1, camera 2 , camera 3, camer 4, camera 1 etc....

(the number of cameras may be up to 16, but 4 will do)

Obviously when that is captured on a pc and played back, you cant make anything out, as its many different views shown one after the other very fast (1 frame per camera).

Is there a way, with free software, that the pc can be told just to view / save only the frames for a specific camera (ie frame 1, 5, 9 for the first three frames of camera 1 etc) or software that will save four different outputs, 1 for each cam?

Trying to think of a good way to explain it, kindof need to at the least get the pc to only extract every X numbered frame, and ignore the rest.

Any ideas?

neuron2
24th June 2006, 02:48
Avisynth's SelectEvery() filter.

kensplace2
24th June 2006, 13:06
cheers, will look into it, see what I can figure out ;)

unmei
25th June 2006, 01:33
src = AviSource("moo.avi")
c1=selectEvery(src,4)
c2=selectEvery(src,4,1)
c3=selectEvery(src,4,2)
c4=selectEvery(src,4,3)
stackVertical(stackHorizontal(c1,c2),stackHorizontal(c3,c4))

could also be fun

kensplace2
13th July 2006, 01:09
Cheers - that one is fun!