discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] NTSC Receiver


From: DJCarlson
Subject: Re: [Discuss-gnuradio] NTSC Receiver
Date: Sat, 24 Feb 2007 11:21:08 -0800 (PST)

Hi - 
Tried to run with following error output ... thoughts?
thanks, Doug
./usrp_tv_rcv_testingNTSC.py -R A -d 8 -f 76
Using RX d'board A: TV Rx Rev 3
width:508
height:262
d_output_buffer_size:133096
LEADING_EDGE_DETECTION_THRESHOLD: 0.9
TRAILING_EDGE_DETECTION_THRESHOLD: 0.3
SDL screen_mode 32 bits-per-pixel
SDL overlay_mode 842094169
Traceback (most recent call last):
  File "./usrp_tv_rcv_testingNTSC.py", line 400, in ?
    app = stdgui.stdapp (tv_rx_graph, "USRP TV RX black-and-white")
  File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py",
line 36, in __init__
    wx.App.__init__ (self, redirect=False)
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 7700, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 7352, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py",
line 39, in OnInit
    frame = stdframe (self.flow_graph_maker, self.title, self._nstatus)
  File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py",
line 60, in __init__
    self.panel = stdpanel (self, self, flow_graph_maker)
  File "/usr/local/lib/python2.4/site-packages/gnuradio/wxgui/stdgui.py",
line 81, in __init__
    self.fg = flow_graph_maker (frame, self, vbox, sys.argv)
  File "./usrp_tv_rcv_testingNTSC.py", line 188, in __init__
    self.connect (self.src, self.am_demod, self.agc,
self.ntsc_detector,self.dst)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
line 115, in connect
    self._connect (points[i-1], points[i])
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
line 120, in _connect
    self._connect_prim (s, d)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
line 126, in _connect_prim
    self._check_valid_dst_port (dst_endpoint)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
line 225, in _check_valid_dst_port
    self._check_port (dst_endpoint.block.input_signature(),
dst_endpoint.port)
  File
"/usr/local/lib/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py",
line 230, in _check_port
    if signature.max_streams () == -1: # infinite
AttributeError: 'PySwigObject' object has no attribute 'max_streams'
swig/python detected a memory leak of type 'gr_io_signature_sptr *', no
destructor found.



Daniel Garcia-5 wrote:
> 
> Hello,
> 
> I've completed a prototype for an NTSC decoder blockset for gnu radio.
> It's not very sophisticated but it lets you see video on the screen using
> gr-video-sdl. My development platform is Ubuntu 6.10 x86. 
> 
> 
> The signal starts out by using a custom AGC which simply scales the
> samples by dividing all samples by a local maximum. This puts most of the
> samples in the 0 to 1.0 range. Then the frame detector uses a simple
> threshold method to determine when pulses begin and end. The length of
> time between pulses is used to determine the type of pulse. A simple state
> machine keeps the output buffered correctly so the screen doesn't get out
> of whack.
> 
> Current features:
> 
> * Black/White reception (vertical and horizontal sync)
> * Contrast/Brightness adjustment (still a little buggy)
> 
> 
> Planned features:
> 
> * automatic black level
> * color
> * stereo audio
> * better sync detection
> * documentation
> 
> Any feedback would be appreciated.
> 
> http://www.danielgarcia.info/thesis/
> http://www.danielgarcia.info/thesis/files/gr-video-analog.tgz
> 
> -Daniel 
> 
> 
> 
> 
>  
> ____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 

-- 
View this message in context: 
http://www.nabble.com/NTSC-Receiver-tf3280240.html#a9136974
Sent from the GnuRadio mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]