ivmech / ivport

Raspberry Pi Camera Module Multiplexer
http://ivmech.com
GNU General Public License v3.0
76 stars 17 forks source link

H264 Recording with the Multiplexer with 4 cameras ? #11

Open AlexDupont93 opened 8 years ago

AlexDupont93 commented 8 years ago

Hi, I bought the multiplexer, and I am trying to record video from the 4 cameras at the same time, but I'm not able to do the script that can do that (because I'm noob lol).

Right now, I'm able to take picture at the same time (with 0.007 second delay) in 4 seperates folder (for the 1rst cam, the 2nd cam, the 3rd cam and the 4th one.

Instead of taking JPG pictures, how can I record each camera in H264 with the best FPS possible ?

Like on that video : https://www.youtube.com/watch?v=w4JZN7Y0d2o

At the beggining we see that we are video capturing 2 camera at the same time, but where can I find that script ?

Thanks !

Alex

ivmech commented 8 years ago

Hi Alex,

There is no any example script for this but it is practically possible to do so with writing your application that buffers images and cache them while streaming both frames also you can try it in C language for faster computing than python, our partner company achieved task which you have explained, they are using commercially, they didnt share it to even us, and we couldnt get into deep at application level, therefore i can tell you that it is possible with clues above,

Thanks,


Caner