Page 1 of 1

GPIO + CCTV

Posted: Thu Feb 19, 2015 6:57 pm
by Nik747
Hello, I'm new here, found this great project and got first question for it.

Is it possible to capture data from CCTV camera through the I/O Ports? if not, how it's possible to get data from CCTV camera..

Thanks.

Re: GPIO + CCTV

Posted: Fri Feb 20, 2015 12:09 am
by ame
Buy a USB video capture card. No GPIO connections necessary.

Re: GPIO + CCTV

Posted: Fri Feb 20, 2015 3:43 am
by Nik747
ame wrote:Buy a USB video capture card. No GPIO connections necessary.
which one? but GPIO is possible?

Re: GPIO + CCTV

Posted: Fri Feb 20, 2015 6:25 am
by ghans
No.


ghans

Re: GPIO + CCTV

Posted: Fri Feb 20, 2015 6:37 am
by jimallyn
Technically, almost anything is possible to do with the GPIO port. If you wanted to use most of the GPIO pins, and write your code in C or assembly language, I'm pretty sure you could interface a CCTV camera. But that's definitely not the easy way to do it!

Re: GPIO + CCTV

Posted: Fri Feb 20, 2015 6:48 pm
by Nik747
how is it possible? I'm pretty interested :)

I want to make a DVR like thing with 2 ports (3 better) one day recording..

Re: GPIO + CCTV

Posted: Fri Feb 20, 2015 8:13 pm
by jimallyn
How to use IO ports, C, and assembly language is a bigger topic than can be covered here. I would start by seeing what format the video source you have uses, and do some Googling (and asking here on the RPi forums) on how to convert that to something you can save to a USB drive.

Re: GPIO + CCTV

Posted: Fri Feb 20, 2015 8:24 pm
by ghans
This proposal is not realistic in my opinion. The sensible thing is to research USB videograbbers which work on the Pi instead.
Otherwise you will lose a lot of money for tools , time and hair.


ghans

Re: GPIO + CCTV

Posted: Fri Feb 20, 2015 8:36 pm
by jimallyn
Doing it this way would definitely be a learning experience. That's what we used to call it at the TV repair shop I used to own when we weren't making any money.

Re: GPIO + CCTV

Posted: Fri Feb 20, 2015 9:59 pm
by ame
Nik747 wrote: I want to make a DVR like thing with 2 ports (3 better) one day recording..
Would 4 ports be even better?
https://www.usbgear.com/computer_cable_ ... C182%2C175

Re: GPIO + CCTV

Posted: Sat Feb 21, 2015 10:44 am
by Nik747
Yea, I'm not gonna make a money from it.. i know that USB converters but GPIO is a challange that if u complete it, other things will be... :D I think so.. the bad thing is that I dont know linux good and schematics.

Re: GPIO + CCTV

Posted: Sat Feb 21, 2015 11:33 am
by ame
Luckily, there's nothing new under the sun. Here's something that might help you achieve what you are trying to do:
http://www.techmind.org/vd/vidmk2.html

Re: GPIO + CCTV

Posted: Sat Feb 21, 2015 3:53 pm
by ghans
http://www.techmind.org/vd/vidmk2.html wrote:Very high quality PAL colour decoding in software (not real-time, few seconds per image). NTSC colour in pipeline!

Good luck with that.

ghans

Re: GPIO + CCTV

Posted: Sun Feb 22, 2015 7:59 pm
by Nik747
Isn't it toooo old?

Re: GPIO + CCTV

Posted: Sun Feb 22, 2015 10:53 pm
by ame
Nik747 wrote:Isn't it toooo old?
No. That's how video digitisers work. If you can not understand that project in detail then you won't be able to build one. However, it also indicates the complexity of what's inside the tiny USB video digitiser dongles that you can buy these days for a couple of dollars.