Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 8th March 2007, 03:49 PM   #1
Default Video -> Binary -> Video

Hi, I was checking on the forum, like I usually do, and I remembered a problem that i had some time ago, I didn't do anything then, but now, since I’m here, what is needed to convert a video signal (AV) to binary code (Microcontroller) and then back to video signal (AV) ?

I thought that i could need a DAC to convert the video signal to binary, and then to a ADC, the main idea then was to send the digital signal (binary) to another remote microprocessor through wireless, decode the binary signal and then send the video binary signal to an ADC.

-> But my doubt was, how fast the DAC needed to be ? ... or how many bits of precision it is needed to do that ? ...
__________________
Best Regards,
Tiago Silva.

Visit my personal webpage: http://www.tiagosilva.eu/
TiagoSilva is offline  
Old 8th March 2007, 04:02 PM   #2
Default

hi tiago,

Is it 'broadcast' quality A/V, colour or monochrome.
Give us more detail on the video signal.

These factors will influence the ADC/DAC and radiolink bandwidth. etc.

Eric
ericgibbs is offline  
Old 8th March 2007, 04:26 PM   #3
Default

Quote:
Originally Posted by TiagoSilva
Hi, I was checking on the forum, like I usually do, and I remembered a problem that i had some time ago, I didn't do anything then, but now, since I’m here, what is needed to convert a video signal (AV) to binary code (Microcontroller) and then back to video signal (AV) ?

I thought that i could need a DAC to convert the video signal to binary, and then to a ADC, the main idea then was to send the digital signal (binary) to another remote microprocessor through wireless, decode the binary signal and then send the video binary signal to an ADC.

-> But my doubt was, how fast the DAC needed to be ? ... or how many bits of precision it is needed to do that ? ...
You've also got the problems of colour as well, and it's certainly NOT a micro-controller job - you've got to convert, store, and transmit, HUGE amounts of data, and require huge bandwidth to send it wirelessly. Bear in mind digitising data makes it need much more bandwidth to transmit than the original analogue data - it's only huge amounts of compression that make it smaller than the original.

The entire idea seems pointless though?, why not just send the analogue video signal wirelessly? - you can buy cheap video senders, or even cheap modules to build your own.

If you want to work out how much data you will need, work out your required resolution, then assume 24 bits per pixel (one byte per colour), so three bytes per pixel - so for full PAL resolution you need:

720x576x3=1,244,160 bytes, 25 times per second

So you need to send 31,104,000 bytes per second - this is a LOT of data!.

Bear in mind standard CAT5 ethernet only does 100 megaBITS per second, more than a third too slow for the video!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 8th March 2007, 04:51 PM   #4
Default

color ... that much resolution ? ... those small cmos cameras don't have that mutch, its abouth some 300x200 or less, but even so it's too mutch, the ideia was to send all signals mixed and decode them in the other side (computer) ... but like this it's dificult, but even so, if it was to be done, how fast it needs to be ? Anyway, isn't the converted signal just the wave level ?!?!?! how come it needs that mutch bandwidth ? I was asking abouth the DAC and ADC precision ... I'm not doing anything, it's just to know abouth it.
Thanks by the way.
__________________
Best Regards,
Tiago Silva.

Visit my personal webpage: http://www.tiagosilva.eu/
TiagoSilva is offline  
Old 8th March 2007, 05:05 PM   #5
Default

Quote:
Originally Posted by TiagoSilva
color ... that much resolution ? ... those small cmos cameras don't have that mutch, its abouth some 300x200 or less, but even so it's too mutch, the ideia was to send all signals mixed and decode them in the other side (computer) ... but like this it's dificult, but even so, if it was to be done, how fast it needs to be ? Anyway, isn't the converted signal just the wave level ?!?!?!
I've no idea what you mean?.

Quote:

how come it needs that mutch bandwidth ?
Simple maths!.

Quote:

I was asking abouth the DAC and ADC precision ... I'm not doing anything, it's just to know abouth it.
As I said above, it depends on what quality you want - 24 bit is fairly normal, for excellent quality (8 bits per colour). The conversion speed is obvious from the bandwidth requirement - you need to do over 31 million conversions per second for full resolution 24 bit PAL.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 8th March 2007, 05:16 PM   #6
Talking

Do you know any concrete DAC to do that ?
__________________
Best Regards,
Tiago Silva.

Visit my personal webpage: http://www.tiagosilva.eu/
TiagoSilva is offline  
Old 8th March 2007, 05:35 PM   #7
Default

Quote:
Originally Posted by TiagoSilva
Do you know any concrete DAC to do that ?
Look for 'flash video dac'

How about:

Quote:
Part: SPT5230

Category:
Data Conversion
-> DAC (Digital to Analog Converters)
-> 10-14 bit

Description: 10-bit, 36 MWPS Triple Video DAC

Company: Signal Processing Technologies
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 8th March 2007, 10:27 PM   #8
Default

Also don't use 24-bit, 16-bit colour is more than good enough for most applications.

This looks like a good application for a mini-PC.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 9th March 2007, 07:25 AM   #9
Default

Quote:
Originally Posted by Hero999
Also don't use 24-bit, 16-bit colour is more than good enough for most applications.
So how do you divide 16 bits by three?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 9th March 2007, 02:27 PM   #10
Default

he's probablly thinking abouth 16bit per pixel most likelly lol but it could be 12bits if they were 4 bit quality (16 colors) 4x4x4, with that i can also make a video to computer digitalizer
Well i've had tought that it was easier ...

Thanks again.
__________________
Best Regards,
Tiago Silva.

Visit my personal webpage: http://www.tiagosilva.eu/
TiagoSilva is offline  
Old 9th March 2007, 02:52 PM   #11
Default

Quote:
Originally Posted by Nigel Goodwin
So how do you divide 16 bits by three?.
Try setting your display mode to 16-bit high colour.

5 bits for the red channel.
6 bits for the green channel.
5 bits for the blue channel.

It's called 5-6-5 bit colour and is still used a lot in mobile phones and small portable computers.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 9th March 2007, 02:56 PM   #12
Default

What a horrible idea!!
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 9th March 2007, 03:00 PM   #13
Default

lol ...
__________________
Best Regards,
Tiago Silva.

Visit my personal webpage: http://www.tiagosilva.eu/
TiagoSilva is offline  
Old 9th March 2007, 03:46 PM   #14
Default

Horrible?

I suppose it is now but it weasn't compared to the alternatives when computers weren't as powerful.

Either use 8-bit palleted 256 colour which was terrible or 24-bit true colour which was too slow. 16-bit high colour had the best of both worlds, speed (on a 32-bit processor you could write 2 pixels at the same time) and acceptable bad quality.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 9th March 2007, 04:01 PM   #15
Default

Try doin'g it with 8 bit micro's lol
__________________
Best Regards,
Tiago Silva.

Visit my personal webpage: http://www.tiagosilva.eu/
TiagoSilva is offline  
Reply

Tags
>, binary, video

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Feeding video into a laptop sram Electronic Projects Design/Ideas/Reviews 20 1st January 2007 08:23 PM
RF Remote control for a Video switcher Vam Electronic Projects Design/Ideas/Reviews 0 4th October 2005 07:49 AM
Video signal conversion + PlayStation Multi A/V interfacin darkliquid Electronic Projects Design/Ideas/Reviews 7 2nd November 2004 06:58 AM



All times are GMT. The time now is 09:52 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker