NTSC/PAL video input

2,298 views
Skip to first unread message

Brent

unread,
Oct 14, 2013, 9:37:53 PM10/14/13
to beagl...@googlegroups.com
I'm looking for a reference design for a NTSC/PAL video input on the BeagleBone Black.  The only thing I found so far is from e-consystems.com, but there is no schematic available.  I have an analog camera where I need to capture the input and display it on an LCD, but so far I haven't been able to find any good decoder schematics.  Does anyone know of any that may exist?
 

Chris Whittenburg

unread,
Oct 14, 2013, 10:27:35 PM10/14/13
to beagl...@googlegroups.com
On Mon, Oct 14, 2013 at 8:37 PM, Brent <bren...@hotmail.com> wrote:
I'm looking for a reference design for a NTSC/PAL video input on the BeagleBone Black.  The only thing I found so far is from e-consystems.com, but there is no schematic available.  I have an analog camera where I need to capture the input and display it on an LCD, but so far I haven't been able to find any good decoder schematics.  Does anyone know of any that may exist?
 

That board is for the Gumstix Overo, which is an OMAP3730, and more like the Beagleboard XM.  It would work for the Beaglebone Black, which doesn't have the same sort of camera interface.  You would have to do something more like the Beaglebone Camera Cape, which uses a special purpose chip to interface the "camera" to the GPMC port of the bone.  It would be quite a bit of work.

I would suggest some sort of cheap USB based NTSC capture dongle that already has linux support.

-chris
 

Brent C. Sink

unread,
Oct 14, 2013, 10:31:11 PM10/14/13
to beagl...@googlegroups.com
I wish the USB based NTSC capture dongle were that simple.  I've tried Hauppauge USB Live-2, and Easy-Cap, but neither work with the BeagleBone Black.  It seems that the BBB is to slow for that.  I've considered the camera capes that are available, but really need a solution that interfaces with an analog camera.


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/iMs8S90aXzk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
-brent

Brent

unread,
Oct 17, 2013, 11:57:05 PM10/17/13
to beagl...@googlegroups.com, whitt...@gmail.com
By the way, I think I may have settled on the TVP5150 decoder chip from TI.  Using the reference schematic from here I think I may have a chance.  However, does anyone have any pointers on which signals I need to connect to the BeagleBone?
 

Gerald Coley

unread,
Oct 18, 2013, 10:20:36 AM10/18/13
to beagl...@googlegroups.com, Chris Whittenburg
It has no camera port. You would need an FPGA that would allow the signals to be captured and read via the GPMC would be the best bet. You could look at the camera cape. It might be able to be adapted for use with the TVP5150, the camera is on an adapter card, or at least give you an idea on how it may be done using an FPGA.

Gerald



--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Brent C. Sink

unread,
Oct 18, 2013, 5:19:30 PM10/18/13
to beagl...@googlegroups.com, Chris Whittenburg
Ok, thanks.  I was afraid of that.  If I go the route of the camera cape, and use the Aptina or OmniVision camera instead of composite video, I'll need about 15ft of cable in between the beaglebone and camera.  This will be mounted on a noisy machine... will a shielded cable be enough protection for that kind of length?  I'm sure it's hard to guess without knowing the application, but it's a concern that I have, which is why I thought just accepting composite video would be the easiest.


You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/iMs8S90aXzk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
-brent

Gerald Coley

unread,
Oct 18, 2013, 6:51:51 PM10/18/13
to beagl...@googlegroups.com, Chris Whittenburg
In that case. why not look at using a USB camera?

Gerald

Brent C. Sink

unread,
Oct 18, 2013, 6:57:08 PM10/18/13
to beagl...@googlegroups.com
There are very few industrial rated USB cameras that work on the BBB.  iDS is the only one that I have found to do so, but they are expensive.  All of the webcams work, but are consumer grade.

Gerald Coley

unread,
Oct 18, 2013, 6:58:19 PM10/18/13
to beagl...@googlegroups.com
Got it. 

Gerald

Hunyue Yau

unread,
Oct 18, 2013, 7:42:49 PM10/18/13
to beagl...@googlegroups.com, Brent C. Sink
What kind of frame rates and resolutions do you need? Also, do
you need full color or shades of grey will do?

The NTSC signal isn't that hard to decode depending on your
specific requirements. Depending on where you are on things, the
PRU or other things might be able to do it.
> >>>> here<http://www.sleepyrobot.com/wp-content/uploads/2013/0
> >>>>1/tvp5151_sch.pdf>I think I may have a chance. However,
> >>>> does anyone have any pointers on which signals I need to
> >>>> connect to the BeagleBone?
> >>>>
> >>>> http://www.sleepyrobot.com/wp-content/uploads/2013/01/tvp
> >>>>5151_sch.pdf
> >>>>
> >>>> On Monday, October 14, 2013 10:27:35 PM UTC-4, chrisw
wrote:
> >>>>> On Mon, Oct 14, 2013 at 8:37 PM, Brent
<bren...@hotmail.com> wrote:
> >>>>>> I'm looking for a reference design for a NTSC/PAL video
> >>>>>> input on the BeagleBone Black. The only thing I found
> >>>>>> so far is from e-consystems.com, but there is no
> >>>>>> schematic available. I have an analog camera where I
> >>>>>> need to capture the input and display it on an LCD, but
> >>>>>> so far I haven't been able to find any good decoder
> >>>>>> schematics. Does anyone know of any that may exist?
> >>>>>>
> >>>>>> http://www.e-consystems.com/**NTSC-PAL-Video-Decoder-Bo
> >>>>>>ard-**
> >>>>>> Gumstix.asp<http://www.e-consystems.com/NTSC-PAL-Video-
> >>>>>>Decoder-Board-Gumstix.asp>
> >>>unsubscribe. To unsubscribe from this group and all its
> >>> topics, send an email to
> >>> beagleboard...@googlegroups.com.
> >>>
> >>> For more options, visit
> >>> https://groups.google.com/groups/opt_out.
> >>
> >> --
> >> -brent
> >>
> >> --
> >> For more options, visit http://beagleboard.org/discuss
> >> ---
> >> You received this message because you are subscribed to the
> >> Google Groups "BeagleBoard" group.
> >> To unsubscribe from this group and stop receiving emails
> >> from it, send an email to
> >> beagleboard...@googlegroups.com. For more options,
> >> visit https://groups.google.com/groups/opt_out.
> >
> > --
> > For more options, visit http://beagleboard.org/discuss
> > ---
> > You received this message because you are subscribed to a
> > topic in the Google Groups "BeagleBoard" group.
> > To unsubscribe from this topic, visit
> > https://groups.google.com/d/topic/beagleboard/iMs8S90aXzk/un
> >subscribe. To unsubscribe from this group and all its topics,
> > send an email to beagleboard...@googlegroups.com.
> > For more options, visit
> > https://groups.google.com/groups/opt_out.
>

--
Hunyue Yau
http://www.hy-research.com/

jesc...@googlemail.com

unread,
Oct 20, 2013, 12:59:11 PM10/20/13
to beagl...@googlegroups.com
Hi Brent,

Just wondering how far you got with the ezcap device?

I've also got a requirement to capture some analog video, but have been hitting a brick wall with my ezcap clone (STK1160 driver). Seems it's failing to read a full frame each time, resulting in a corrupt picture. I see the same issue with mplayer, gstreamer, and a stand-alone still capture utility. Tested on 3.8 & 3.12-rc5.

WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 265434 instead of 829440.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0

The amount of data retrieved varies a little with each frame, but is always something similar..

Regards,
Jon.

Brent C. Sink

unread,
Oct 21, 2013, 8:19:42 AM10/21/13
to beagl...@googlegroups.com
As far as you did, it appears.  I was not the one who actually worked with the ezcap or the USB-Live 2 devices, but the failure was attributed to the BBB's inability to support isochronous transfers from the device.  Devices using the uvcvideo driver seems to work just fine, but others do not.


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/iMs8S90aXzk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
-brent

Jon Escombe

unread,
Oct 21, 2013, 1:32:04 PM10/21/13
to beagl...@googlegroups.com
Thanks,

The defconfig for the 3.12.0-rc5-bone6 kernel does not appear to have DMA disabled, I was hoping this might make all the difference, but it seems not :(

Jon

corey...@gmail.com

unread,
Apr 3, 2014, 5:10:35 PM4/3/14
to beagl...@googlegroups.com
Has anyone tried one of these?:

http://febon.blogspot.com/2012/02/1.html

ctmatt...@gmail.com

unread,
Jul 18, 2014, 12:21:49 PM7/18/14
to beagl...@googlegroups.com
Hey Brent - did you have any luck with analog video capture on the BBB? I need to also capture analog video and am struggling to find a solution that is capable of 30fps NTSC. What did you end up doing to solve your problem???

doog

unread,
Jul 18, 2014, 3:43:55 PM7/18/14
to beagl...@googlegroups.com
I'd hate to send you down the wrong path but what about some of those video input device converters to USB? I've seen Pinnacle MovieXXXX mentioned a lot and there is some Linux USB support for it( http://sourceforge.net/projects/pinnaclembusb/ ).  This will allow a number of video input technologies converted to a USB stream.

I've not tried any of these yet on even a PC but have an interest since my only computer to xfer video from my handycam(firewire) is a 10+ year old laptop and my new laptop has no 1394 ports(just USB 3 and 2).

Doug

Brent Sink

unread,
Jul 18, 2014, 5:37:10 PM7/18/14
to beagl...@googlegroups.com
I ended up buying an encoder from Grandstream that converts analog video to Ethernet.  Once the camera is on Ethernet, you can use mplayer or the player of your choice to play the mjpeg/rtsp stream.


For more options, visit https://groups.google.com/d/optout.



--
-brent
Reply all
Reply to author
Forward
0 new messages