↓ Archives ↓

Archive → January, 2013

Gumstix Overo TVP5151 Board

If you are interested in capturing NTSC/PAL with your Overo, this PCB should get you going.

I originally designed the board thinking that it could be hand assembled as a kit. That explains why all the caps and resistors are 0805, and the crystal is a big thru hole version.

When I built up the first one, I figured out that I hadn’t fully considered the flat flex cable connector that goes to the Gumstix. I don’t think the average guy could solder it without a microscope to inspect it.

At any rate, it works, and here are the data files. You can contact me via email if you have specific questions. I am whittenburg at gmail dot com.

PDF of the Schematic
PDF of the PCB
ZIP of the Eagle Design Files

Here are some dirty patches I used with a 3.5 kernel:
Patches to ISP to support BT656
Patches to overo board file, and tvp5150 driver to support tvp5151.

Configuring the ISP:

media-ctl -v -r                                                                 
media-ctl -v -l '"tvp5150 3-005c":0->"OMAP3 ISP CCDC":0[1]'                     
media-ctl -v -l '"OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]'              
media-ctl -v -f '"tvp5150 3-005c":0 [UYVY2X8 720x480]'                          
media-ctl -v -f '"OMAP3 ISP CCDC":1 [UYVY2X8 720x480]' 

Stream H.264 video to your linux desktop at IP address
(I see around 55% idle cpu on my Overo when running this):

gst-launch -v v4l2src device=/dev/video2 always-copy=false do-timestamp=true ! \
queue ! \                                                                       
TIVidenc1 codecName=h264enc engineName=codecServer ! \                          
dmaiperf ! \                                                                    
rtph264pay pt=96 ! \                                                            
udpsink host= port=5000   

Receive the stream on your desktop:

gst-launch -v udpsrc port=5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)\"Z0KAHukBaHpCAAAH0AAB1MAI\\,aM48gA\\=\\=\"" ! \
rtph264depay ! \
ffdec_h264 ! \
ffmpegcolorspace ! \
xvimagesink sync=false