Hello,
The RPi's Broadcast BCM2835 SoC provides hardware digital-to-analogue decoder (ie. composite video output), but I guess - like most similar SoCs - it must have a hardware analoge-to-digital encoder in the form of a composite video input. I've searched the internet for days and found no clear information. There are 2 simple answers to this post:
(1) The Broadcom SoC itself does not have a composite video input pin (hardware encoder)
(2) The Broadcom SoC does have a composite video input pin, and hardware encoder section, but it is not wired/implemented on the RPi
I'm guessing the answer is (2)... It's just not implemented on the RPi due to it not being considered an important feature. It seems the Broadcom datasheet doing the rounds does not have a schematic detailing all pin-outs. Anyone know for sure, please?
BTW, yes, I'm aware of the camera port, etc. We're talking purely CBVS 75ohm 1V p-p PAL composite video here.
Cheers,
Neil.
Re: Composite Video INPUT?
I'm assuming they/3rd party manufacturer will eventually release a video capture add-on with composite, S-Video and SCART video inputs that plugs into the camera port. And then you will be able to encode this video with the built in h264 hardware encoder.
Or maybe it's as simple as soldering a wire from the SCART lead onto the camera port and then you will have composite video input from any device you want.
Or maybe it's as simple as soldering a wire from the SCART lead onto the camera port and then you will have composite video input from any device you want.
Re: Composite Video INPUT?
Like many people on here, I have no knowledge but am willing to share
Two points:
Decoding a Pal signal to digits is rather more complicated than the reverse
and
The SoC was designed (I believe) for a phone. I've not seen a phone with a Pal input

Two points:
Decoding a Pal signal to digits is rather more complicated than the reverse
and
The SoC was designed (I believe) for a phone. I've not seen a phone with a Pal input
Re: Composite Video INPUT?
The camera interface is a MIPI interface. I believe there is possibly one semi manufacturer that does (or previously did) a 'bridge' IC that would take a (PAL or NTSC) CVBS input and output the data in a MIPI compatible format.
I'm sure Ebden, if he ever saw this post, would be best placed to confirm if the Broadcom SoC has an uniplimented composite video encoder (as well as decoder), in which case, tough luck for those of us who would've wanted it implemented - the Pi is great, as it is - and already has the features required for its educational 'target market'.
He could probably confirm if the SoC was primarily intended for mobile phones, as you suggest. It would definately make sense, as it has the MIPI interface after all, which is associated with Mobile Phones.
I'm sure Ebden, if he ever saw this post, would be best placed to confirm if the Broadcom SoC has an uniplimented composite video encoder (as well as decoder), in which case, tough luck for those of us who would've wanted it implemented - the Pi is great, as it is - and already has the features required for its educational 'target market'.
He could probably confirm if the SoC was primarily intended for mobile phones, as you suggest. It would definately make sense, as it has the MIPI interface after all, which is associated with Mobile Phones.
Re: Composite Video INPUT?
search for easycap or ezcap on the forums and Google. Its a USB dongle with composite video input. Not sure how well the drivers work on the Pi though.
IIRC easycap suffered from Chinese clone problems and the Kosher product was rename ezcap
IIRC easycap suffered from Chinese clone problems and the Kosher product was rename ezcap
Pi Presents - A toolkit to produce multi-media interactive display applications for museums, visitor centres, and more
Download from http://pipresents.wordpress.com
Download from http://pipresents.wordpress.com
Re: Composite Video INPUT?
Yes, thanks. Seems this is the only way, but the original post is just hoping to estabish if the SoC could perform this function itself (in theory, ie. if it was implemented on the PCB), as a lot of SoCs like the Broadcom which have a composite video (decoder) ouput often have a composite video input (encoder) too.
Re: Composite Video INPUT?
We're going to be releasing a camera board, which will deal with composite input. My hope is that we'll be ready to go before Christmas - but you know how these things work, so it's perfectly possible that we won't be ready before February-ish. We're doing our best, though!
Director of Communications, Raspberry Pi
Re: Composite Video INPUT?
Composite input on the camera board? First I've heard of this...liz wrote:We're going to be releasing a camera board, which will deal with composite input. My hope is that we'll be ready to go before Christmas - but you know how these things work, so it's perfectly possible that we won't be ready before February-ish. We're doing our best, though!
Exciting news! Now I really cant' wait

{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge
Re: Composite Video INPUT?
Me too. I know a lot of people will find this very exciting, educationally and commercially.
Re: Composite Video INPUT?
Any chance of including y/c video capture (s-video) or is the PI limited to analogue composite signals only??liz wrote:We're going to be releasing a camera board, which will deal with composite input. My hope is that we'll be ready to go before Christmas - but you know how these things work, so it's perfectly possible that we won't be ready before February-ish. We're doing our best, though!
Richard S.
Re: Composite Video INPUT?
Are you sure? I've worked on the Videocore for 4 years, first I've heard it might have a composite IN. Not saying it's not there, just I've never heard of it being used if it is.0808north wrote:Yes, thanks. Seems this is the only way, but the original post is just hoping to estabish if the SoC could perform this function itself (in theory, ie. if it was implemented on the PCB), as a lot of SoCs like the Broadcom which have a composite video (decoder) ouput often have a composite video input (encoder) too.
That notwithstanding, everyone's is going HDMI nowadays anyway, and composite is a bit pants in comparison.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.
Re: Composite Video INPUT?
The key word was 'like' the Broadcom SoC. ...Granted, I'm talking mainly DVR SoCs and CCTV SoCs (eg. Texas Instruments), but the analogue PAL or NTSC composite video signal is still very much alive and digital signals (USB, HDMI, etc) are still limited in cabling/distance, (for a lot of inductrial applications) unlike balanced analogue Composite feeds. In short, it would be a nice project to use a RPi as a DVR with both Analogue video IN to complement its Analogue video OUT and experiement with multichannel camera recording, etc.jamesh wrote:
Are you sure? I've worked on the Videocore for 4 years, first I've heard it might have a composite IN. Not saying it's not there, just I've never heard of it being used if it is.
That notwithstanding, everyone's is going HDMI nowadays anyway, and composite is a bit pants in comparison.
As I said in an earlier post, I love the RPi and its an eductaional tool, but us folk can't help thinking of other uses and project!

Re: Composite Video INPUT?
Sorry to be the bearer of bad tidings, but I think Liz was incorrect stating that the camera board would have composite in. Certainly in it's first incarnation. We are having to strip stuff off to get it out (not composite - I don't think that was ever there), and it looks like we won't make our self imposed Xmas deadline. Soz all, but we are working hard on it. There are some pictures on Rob Bishop's twitter feed for those interested.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.
Re: Composite Video INPUT?
Just to clarify are you saying the PI hardware isn't capable of composite video input or will there be an add-on board which would be separate to the video camera??
Richard S.
Richard S.
Re: Composite Video INPUT?
I'm saying the default Pi isn't capable of composite input (that's always been the case), and the camera module, at least the first version, will not, as far as I know, support composite in. At the moment I know of no plans for a composite input board, BUT, I am not privy to all the Foundations plans, so I could be wrong.redhawk wrote:Just to clarify are you saying the PI hardware isn't capable of composite video input or will there be an add-on board which would be separate to the video camera??
Richard S.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.
- mahjongg
- Forum Moderator
- Posts: 14604
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: Composite Video INPUT?
You guess wrong!but I guess - like most similar SoCs - it must have a hardware analoge-to-digital encoder in the form of a composite video input.
First most similar SoC's do not have direct video inputs, and secondly it in no way can be said that even when they would it then it would be a logical conclusion to assume this SoC also must have such a feature.
The only feature remotely similar to a "video input" on this SoC is the CSI camera interface, but that interface is for an intended (CCD) camera module, and such camera's have a completely different functionality and thus interfaces than composite video video-digitizers.
Its thus far from logical to assume that the "SoC has a camera input", let alone that it must have one.
Wishful thinking strikes again!

Re: Composite Video INPUT?
There were no assumptions. I think you are reading too much in to "I guess that it must..." Or perhaps it's my fault, totally, for phrasing it in a bad way - or even starting the post in the first place. There are SoCs out there that do have composite video encoders AND decoders (maybe, indeed, different devices, from different manufacturers, aimed at different markets), so the original question - just asking for some expert clarification either way - was a pretty resonable enquiry. Just a 'yes or no' was adequate. And thanks jamesh for confirming (nicely).mahjongg wrote: First most similar SoC's do not have direct video inputs, and secondly it in no way can be said that even when they would it then would be a logical conclusion to assume this SoC also must have such a feature.
The only feature remotely similar to a "video input" on this SoC is the CSI camera interface, but that interface is for an intended (CCD) camera module, and such camera's have a completely different functionality and thus interfaces than composite video video-digitizers.
Its thus far from logical to assume that the "SoC has a camera input", let alone that it must have one.
Wishful thinking strikes again!
- mahjongg
- Forum Moderator
- Posts: 14604
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: Composite Video INPUT?
sounds like an assumption to me, can't read it any other way.The RPi's Broadcast BCM2835 SoC provides hardware digital-to-analogue decoder (ie. composite video output), but I guess - like most similar SoCs - it must have a hardware analoge-to-digital encoder in the form of a composite video input.
Its a (strange) assumption, that boils down to "some devices that have video D/A converters also have video A/D converters, therefore the PI with its video D/A converter must therefore also have an A/D converter", was all that I was saying.
Re: Composite Video INPUT?
Okay, I am very interested on this post because I would like to use Raspberry Pi to process input video. However, I am not a hardware guy so I can't build the circuitry required.
I'll contribute on the hardware front as I can. I just found these ADC (Analog to Digital Converter) addon boards for Raspberry Pi: Delta sigma 8 channel 18 bits -> http://www.abelectronics.co.uk/products ... eader-Pins
They seem to be stackable if that makes a difference. Now, I'll wait for the hardware buffs to pinch in on what is needed next.
I would hope for a DVI/HDMI or even a VGA input.
That would make a mean Adalight in middle box for a video game.
I'll contribute on the hardware front as I can. I just found these ADC (Analog to Digital Converter) addon boards for Raspberry Pi: Delta sigma 8 channel 18 bits -> http://www.abelectronics.co.uk/products ... eader-Pins
They seem to be stackable if that makes a difference. Now, I'll wait for the hardware buffs to pinch in on what is needed next.
I would hope for a DVI/HDMI or even a VGA input.

- mahjongg
- Forum Moderator
- Posts: 14604
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: Composite Video INPUT?
sorry to bust your bubble, but these are simple low speed A/D converters. At best you can sample audio with them, (although even that will be a bit iffy, you really need a codec to do that) you certainly cannot sample video with them. None of the GPIO's has an interface that is even remotely fast enough to sample video in real time, certainly not I2C, but even SPI is far too slow.
Having studied the chip used in the camera board, I don't see how any other video signal than the signal from the camera can be accepted, so definitely no composite (or HDMI) video in!
Having studied the chip used in the camera board, I don't see how any other video signal than the signal from the camera can be accepted, so definitely no composite (or HDMI) video in!
-
- Posts: 1
- Joined: Tue Jun 11, 2013 4:17 am
Re: Composite Video INPUT?
What about those AV-RGA-Composite to digital USB adapters? One side takes the AV input and the other end is an USB. Will that work on the PI? Will need to read off the USB, driver?
Re: Composite Video INPUT?
IIRC the SoC on the Pi at least theoretically supports some crazy-high SPI clocks. So it may be theoretically possible.mahjongg wrote:certainly not I2C, but even SPI is far too slow.
-
- Posts: 1
- Joined: Thu Mar 27, 2014 10:53 am
Re: Composite Video INPUT?
I think a chip such as the ADV7281M might be what you need, datasheet at http://www.analog.com/static/imported-f ... DV7281.PDF might do it. There is also a related eval board, the EVAL-ADV7281MEBZ, which you might be able to use.
I've never tried this board, so I suspect that you would need to do some I2C configuration and modify the existing CSI driver to make it all work.
Julian
I've never tried this board, so I suspect that you would need to do some I2C configuration and modify the existing CSI driver to make it all work.
Julian
-
- Posts: 1
- Joined: Mon Jul 14, 2014 2:03 pm
Re: Composite Video INPUT?
Has anyone got analog video input via adv7180 or adv7281 so far?
- mahjongg
- Forum Moderator
- Posts: 14604
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: Composite Video INPUT?
Im guessing any Video digitizer with USB (or SPI) output must have an embedded video codec, (for example a H.264 high-profile encoder) to create a reasonably slow output data rate, unless you have a very small pixel resolution, and colour depth. Only the CSI (camera) connector offers a way around that by offering a very high speed bus directly coupled to the GPU, which can do the encoding needed, but the CSI isn't compatible with cheap video digitizers like the adv7180.
For now the only solution is a USB device with a video digitizer coupled to a video encoder. and YMMV with those, as they use up a large bandwidth of the USB channel of the PI, leaving no bandwidth to also store the video signal, or send it over to the ethernet port.
For now the only solution is a USB device with a video digitizer coupled to a video encoder. and YMMV with those, as they use up a large bandwidth of the USB channel of the PI, leaving no bandwidth to also store the video signal, or send it over to the ethernet port.