HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Jul 18, 2012, 02:55 PM
Registered User
Joined Jan 2011
82 Posts
"closed captions" are only in NTSC streams...
Try a poti to "find" some lines which contain something. Like in closedcaption.pde ( a uncomment part)
About the white line. There is a second poti (little one) where you can adjust the - input of the analog comparator. Have a look to the schematic
muerzi is offline Find More Posts by muerzi
Reply With Quote
Sign up now
to remove ads between posts
Old Jul 18, 2012, 02:59 PM
Registered User
jalves's Avatar
Portugal
Joined Mar 2004
2,641 Posts
Quote:
Originally Posted by muerzi View Post
"closed captions" are only in NTSC streams...
Wrong, we have closed captions here in PT.

Call the teletext in your TV and press 888 you may see the closed captions (subtitles??, talks? ) in the television.

The white continuous line is maybe created in line21 by the box of my video cable provider, don't know yet what to think about the continuous white line.
jalves is offline Find More Posts by jalves
Reply With Quote
Old Jul 18, 2012, 03:46 PM
Registered User
Joined Jan 2011
82 Posts
White line means that ccdata is filled with logical 1. Adjust the minus side of the analog comparator a bit and you will get all 0.

Teletext is transmitted between 6 and 22, 144ns per bit. During some second, every page of teletext is transmitted once. The tv only shows a page you choose before. It's not the exact same like closed caption.

My build formthe test.

Cam ---- diyosd with my code to insert the A's ----------video experimenter
muerzi is offline Find More Posts by muerzi
Reply With Quote
Old Jul 18, 2012, 04:23 PM
Registered User
jalves's Avatar
Portugal
Joined Mar 2004
2,641 Posts
What are you calling "closed captions"??

I understand it as the legends (or subtitles) that the TV station introduces in the teletext page 888 to allow the impaired people to "hear" the speech in the TV program.

This is what closedcaption.pde want to retrieve from the video signal.
in NTCS there is a proof that it works, in PAL so far I didn't see it happen.
jalves is offline Find More Posts by jalves
Reply With Quote
Old Jul 19, 2012, 03:05 AM
Registered User
Joined Jan 2011
82 Posts
What i call closed caption is EIA-608

That's only available in NTSC. In PAL the "888" is transmitted via teletext witch has an other specification like CC (Closed Caption). I decided to 500kHz (bit length) because the CC standart is much easier to read, than something like the teletext specification (in PAL). Don't know if there are other data-services in the PAL or only teletext. There should be VPS anywhere, but i don't know.
muerzi is offline Find More Posts by muerzi
Reply With Quote
Old Jul 23, 2012, 04:29 AM
Registered User
Joined Jan 2011
82 Posts
So here is my modifyed code:

rename the "vbi_inserter.txt" to "vbi_inserter.pde" and upload the code to the arduino pro mini with the diy osd circuit.
It put's out the chars "A" and "1" between line 30 to 60 (white bars).

rename the "ClosedCaptions.txt" to "ClosedCaptions.pde" and upload the code to the arduino with videoexperimenter circtuit.
It reads the stream from line 43 to the ccdata[ ] array and puts it out over the serial port. Use HTerm for example to see the binary stream. Experiment a little bit with it. I removed the parity-bit part. Should work (more or less)

cheers
muerzi is offline Find More Posts by muerzi
Reply With Quote
Old Jul 24, 2012, 08:41 AM
Registered User
Joined Jan 2011
82 Posts
So here is the content of the ccdata[ ] array.

00000000000000000111100000000000000000000000000000 00001111111000000000000001111111111110000000000000 0000000111111111100000000000

The white bars ("1") are nice to see. Seems that there is no jitter.
For decode, i have to adjust the bitpositions a bit.
I'll have a try today...

That's the chars i shifted out

A 1
01000001 00110001

Here are the sources.

Look's nice. Isn't it?
cheers
muerzi is offline Find More Posts by muerzi
Reply With Quote
Old Jul 24, 2012, 09:31 AM
Registered User
Joined Sep 2010
2,424 Posts
Post a picture of your screen for us who don't yet have the hardware to test it ourselves .
msev is offline Find More Posts by msev
Reply With Quote
Old Jul 24, 2012, 10:10 AM
Registered User
Joined Jan 2011
82 Posts
It is the same like in this post
muerzi is offline Find More Posts by muerzi
Reply With Quote
Old Jul 24, 2012, 10:26 AM
Registered User
Joined Sep 2010
2,424 Posts
So the decoder is already able to read the "telemetry"?
msev is offline Find More Posts by msev
Reply With Quote
Old Jul 24, 2012, 10:35 AM
Registered User
Joined Jan 2011
82 Posts
There isn't much missing.

I have to do a lot of try and error because i have no osci.
muerzi is offline Find More Posts by muerzi
Reply With Quote
Old Jul 25, 2012, 03:12 AM
Registered User
Joined Jan 2011
82 Posts
For me, the attached code is working.

Was a bit tricky, because the orig ClosedCaption code assembled the bits backwards (from right to left)?

Attached my working code
Screenshot on evening

cheers
muerzi is offline Find More Posts by muerzi
Reply With Quote
Old Jul 26, 2012, 08:09 AM
throw new IOPilotException();
IceWind's Avatar
Ireland, County Dublin, Dublin
Joined Feb 2005
2,691 Posts
Cool stuff.
I'll check it out later.
IceWind is offline Find More Posts by IceWind
Reply With Quote
Old Jul 27, 2012, 10:41 AM
Registered User
Joined Sep 2010
2,424 Posts
Quote:
Originally Posted by muerzi View Post
By now i studied the code from the diyosd by Dennis Frie and the code to "decoding-closed-captioning" by nooptropicdesign here. http://nootropicdesign.com/projectla...ed-captioning/

Next week (hopefully) i will arive a video experimenter board.

The plan will now be: Writing the LAT, LON and Heigth to a Bytearray, set the SPI-speed to 500kHz and the write the array to the SPDR register. The "clock run-in" can't be produced by the arduino so at 500kHz i have 26bits available to write in that line, so 3bytes are possible. With some changes on the"enhanced tv-out library" from nooptropic it should be possible to decode my chars.

For the first step, I try to reproduce the 26Bits like in the picture and read this out with the video experimenter.


Anyone here who has the video experimenter?

regards
COOL
msev is offline Find More Posts by msev
Reply With Quote
Old Aug 08, 2012, 10:18 AM
Registered User
Joined Jun 2012
7 Posts
see dakarosd and lince(tracker ant)
Ver dakarosd y lince(siguiminto con antena)

spanish web
Página en español

Dakarosd http://www.aeromodelismovirtual.com/...ead.php?t=1137

Lince http://www.aeromodelismovirtual.com/...ead.php?t=1849

Saludos... Good By
electrik77 is offline Find More Posts by electrik77
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Build Log Opensource frames design files! DexterIt Multirotor Talk 5 Apr 26, 2012 09:42 AM