Pages: [1] 2 3   Go Down
Author Topic: Which Arduino to buy to use with HD video  (Read 2393 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi.

I'm fairly new to this whole arduino thing, so I'm not really sure which one to go with.

I have ordered the starter pack to introduce myself to it and teach myself how to use it, but I have a project in mind which involves laying text over HD video in various formats (1080p and 720p for starters).

Would there be one Arduino over another that would be better at handling the video?

Ryan
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 286
Posts: 25667
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't know of any Arduino that could do what you want.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

1080p format would be 1,920×1,080 = 2,073,600 pixels. Assuming a frame rate of 60 fps, then you need to draw 124,416,000 pixels per second, which is totally disregarding the front and back porch.

Therefore you have 8 nS (nanoseconds) for each pixel. Since the clock on most Arduinos is 62.5 nS it is way too slow to do that. Many instructions take two clock cycles, and to lay text over video you would need to make decisions, read the text, etc., all of which takes time.

Arduinos are great for process control, and handling slow to medium speed situations (eg. washing machines, dishwashers, plant watering, timing races, security systems,  cat feeding, robots, etc.). For stuff like audio and video you need to go to faster (and more expensive) processors.
Logged

Offline Offline
God Member
*****
Karma: 32
Posts: 828
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have ordered the starter pack to introduce myself to it and teach myself how to use it, but I have a project in mind which involves laying text over HD video in various formats (1080p and 720p for starters).

Would there be one Arduino over another that would be better at handling the video?

Try the Arduino called "Raspberry Pi" (Just kidding. Not an Arduino, of course.)

But RPi does have the hardware grunt to do what you want (fast cpu, 512MB of ram, dedicated gpu), and are inexpensive.
Logged

WiFi shields/Yun too expensive? Embeddedcoolness.com is now selling the RFXduino nRF24L01+ <-> TCP/IP Linux gateway: Simpler, more affordable, and even more powerful wireless Internet connectivity for *all* your Arduino projects! (nRF24L01+ shield and dev board kits available too.)

Norfolk UK
Offline Offline
Edison Member
*
Karma: 65
Posts: 2442
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If your overlaying text on live video then your probably going to need some external hardware no matter what microcontroller you use. I have seen cheap(ish) SD (standard definition) versions (http://www.decadenet.com/bob4/bob4.html) but not HD (high definition) versions. Only cheap(ish) thing I can think is to use a Raspberry-Pi and purchase a standalone HD DSK (Down Stream Keyer) or a PC with a Decklink Studio (http://www.blackmagicdesign.com/products/decklink/) I'm sure there are probably dedicated video overlay chips that someone else can suggest.
Logged

There is no such thing as a stupid question but there are a lot of inquisitive idiots.

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 597
Posts: 33295
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes not a beginners project.

While the Pi will generate video at the required rate your main problem will be the synchronisation of the overlay video with the live video. This is not a simple matter and calls for a circuit called a genlock.
This means you having to use the sync pulses from one source to control the other source. I am not sure you can genlock the Pi to anything because the video drivers are secrete so you can't get at them. Therefore you would have to look to locking your video to your live source.

In the absence of this the alternative is called a frame store or buffer. Basically you write video into it and genlock the read video rate. These are expensive.
Logged

Poole, Dorset, UK
Offline Offline
Edison Member
*
Karma: 50
Posts: 2197
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Still be not a biginners project but this may do the job

http://www.coolcomponents.co.uk/catalog/video-experimenter-p-723.html

the trick is not to put the video through the arduino its self.

Mark
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 286
Posts: 25667
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
this may do the job
For HD?
I think not.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Norfolk UK
Offline Offline
Edison Member
*
Karma: 65
Posts: 2442
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice find, alas not HD.
Logged

There is no such thing as a stupid question but there are a lot of inquisitive idiots.

Poole, Dorset, UK
Offline Offline
Edison Member
*
Karma: 50
Posts: 2197
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe one of hardware type would like to upgrade the idea for HD?

Mark
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 286
Posts: 25667
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Maybe one of hardware type would like to upgrade the idea for HD?
HDMI is something like 350MHz, 10Gbits-1.
Unlikely.
It is far, far less forgiving than analogue standards and equipment.
« Last Edit: November 28, 2012, 07:47:06 am by AWOL » Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Ayer, Massachusetts, USA
Offline Offline
Edison Member
*
Karma: 53
Posts: 1831
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Try the Arduino called "Raspberry Pi" (Just kidding. Not an Arduino, of course.)

But RPi does have the hardware grunt to do what you want (fast cpu, 512MB of ram, dedicated gpu), and are inexpensive.
While the R-pi is clocked at 700 Mhz, but my impression is even at 700 Mhz, it would struggle to read a full 1080p stream in real-time.  I see somebody asked a similar question two weeks ago in the r-pi forums, and didn't get much of an answer: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=30&t=23231
Logged

Offline Offline
God Member
*****
Karma: 32
Posts: 828
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

While the R-pi is clocked at 700 Mhz, but my impression is even at 700 Mhz, it would struggle to read a full 1080p stream in real-time.

Well, _my_ Pi is clocked at 840MHz smiley-razz These days, it's de rigeur to overclock your Pi if you want to be one of the "cool set". And if you want to be a "bad boy", you overvolt it as well (but you will have to endure the stigma (or cachet, depending on whom you are trying to impress) of having your warranty bit set.)

 I see somebody asked a similar question two weeks ago in the r-pi forums, and didn't get much of an answer: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=30&t=23231

Well, given the high-level Broadcom gpu drivers have been made open source for just over a month now, I suspect it's still early days for the video geeks to have fully come to grips with now can be done that previously could not on the Pi. I expect that situation will evolve rapidly over the next few months -- should be interesting to watch.

http://www.raspberrypi.org/archives/2221
« Last Edit: November 28, 2012, 09:34:53 am by pico » Logged

WiFi shields/Yun too expensive? Embeddedcoolness.com is now selling the RFXduino nRF24L01+ <-> TCP/IP Linux gateway: Simpler, more affordable, and even more powerful wireless Internet connectivity for *all* your Arduino projects! (nRF24L01+ shield and dev board kits available too.)

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 597
Posts: 33295
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Well, given the high-level Broadcom gpu drivers have been made open source for just over a month now,
But it is not the high level drivers that this needs it is the low level drivers, they are still a secret.

Quote
Well, _my_ Pi is clocked at 840MHz smiley-razz
Is that all, when you down load RISC OS, the default config file sets it at 1GHz
Logged

Offline Offline
God Member
*****
Karma: 32
Posts: 828
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

But it is not the high level drivers that this needs it is the low level drivers, they are still a secret.

Is access beyond the what's available in the driver interfaces required to get timing signals onto gpio pins? Maybe, maybe not. I haven't seen a definitive list of the functionality the published gpu drivers expose. Early days.


Logged

WiFi shields/Yun too expensive? Embeddedcoolness.com is now selling the RFXduino nRF24L01+ <-> TCP/IP Linux gateway: Simpler, more affordable, and even more powerful wireless Internet connectivity for *all* your Arduino projects! (nRF24L01+ shield and dev board kits available too.)

Pages: [1] 2 3   Go Up
Jump to: