Page 1 of 4
Raspberry encode camera and output IQ
Posted: Mon Nov 17, 2014 11:18 am
by f5oeo
UglyDATV Beta published: Camera to IQ to feed a IQ Modulator
Here is the Beta version of UGlyDATV running on Raspberry PI which allows to encode a camera and output IQ in order to feed a IQ modulator.
Several hardware projects are about to be published to construct a simple IQ modulator.
See documentation above in order to install and run the software.
http://f5oeo.fr/UglyDATV01.pdf
73's Evariste F5OEO
Re: Raspberry encode camera and output IQ
Posted: Tue Nov 25, 2014 4:04 am
by G4KLB
Many thanks Evariste, will have a play with it next week when I get my RP B+ back from my Son.
I have the disk image on a micro SD card already.
Colin G4KLB
Re: Raspberry encode camera and output IQ
Posted: Tue Nov 25, 2014 5:07 pm
by f5oeo
Great that your son play with Raspberry Pi !
If you have a B Model : it works also...but need to solder 2 wires on the boards itself, maybe I have to add it to the documentation.
For "naked" people without IQ modulator built, there is the Ugly Mode to test which output directly QPSK in RF (437.5MHZ or 1.0625GHz). I added this mode to documentation.
73's Evariste F5OEO
Re: Raspberry encode camera and output IQ
Posted: Wed Nov 26, 2014 3:34 am
by G4KLB
Thanks Evariste, I have a spare model B that is not doing anything so don't mind soldering a few wires to it to add the missing GPIO pins
73
Colin
Re: Raspberry encode camera and output IQ
Posted: Wed Nov 26, 2014 10:05 am
by g8gtz
Hi Evariste
I have a model B and tried running your software but get the following error:
Board revision = 0xe
Model B
Failed to tsFile
Any ideas?
Noel - G8GTZ
BTW - the French keyboard mapping confused me!
Re: Raspberry encode camera and output IQ
Posted: Thu Nov 27, 2014 3:36 pm
by f5oeo
Hi,
You can download the latest documentation (same link as before)..it includes picture of Rasberry PI Model B and where to solder wires.
About french keyboard : you can launch raspi-config and easily set the keyboard as QWERTY (local setting) or remote access via ssh.
73's Evariste F5OEO
Re: Raspberry encode camera and output IQ
Posted: Thu Nov 27, 2014 4:59 pm
by G4KLB
Many thanks Evariste, I will have a play at the weekend, Keep up the good work.
73
Colin G4KLB
Re: Raspberry encode camera and output IQ
Posted: Fri Nov 28, 2014 3:31 pm
by G4KLB
No pictures yet, but have received audio in ugly mode from mire250.ts
Re: Raspberry encode camera and output IQ
Posted: Fri Nov 28, 2014 6:54 pm
by M0DTS
I find the same problems in tutioune, probably due to the non constant video bitrate MPEG4 from the camera being more of a problem at lower SR.
I get no video in tutioune with test file, but play the recorded TS file back (or UDP) in vlc and it looks fine,
I see lots of dts pcr errors when running default a.sh script at 250Ks.
2Ms seems to work fine with good video in tutioune.
Rob
Re: Raspberry encode camera and output IQ
Posted: Fri Nov 28, 2014 10:50 pm
by f5oeo
Carefull, I made a mistake on the connections pin on Ugly Mode..I updated the documentation.
script a.sh play a 250Ksymbol file at 1000KSymbols..so that's normal it doesn't decode well (you have to change the paramters in the script for either lower the symbol rate or choose a transport stream file you know well).
What harmonic do you use ? 437.5 or 1.0625 Ghz ?
Note that if you use a HDMI display, it disturbs the modulation : use it through network by ssh or launch : tvservice -o .
What is the MER you measure ? I have a 18db MER with some viterbi errors here generally when Symbol rate is under 1000KSymbols.
For H264 camera, I work and dig in the H264 codec parameters of the raspberry pi. The main issue right now is that it is not CBR causing overflow or delay video which increase over time.
Good news : for those who complain about H264 which could not be decoded by classical set top boxes : MPEG-2 encoding at QCIF (352*288) of the camera is working. So you could choose between H264 for quality but less common and MPEG-2 but less quality.
Just have idea to make Moving Test Pattern Generator maybe with your CALL which could replace camera time to time. if you have links for some interesting pattern, let me know.