Hello Alexandru
thank you for your reply.
At the moment I am using a loopback cable on the USRP. I have been using MPEG_TS as well but i noticed after reading your comment I was missing the mpegtsdemux on my receiver chain.
I have something extremely crude operating now, though it is mostly a grey screen, the image isn't there yet. This is what I have set up so far:
transmit chain:
gst-launch v4l2src device=/dev/video0 ! 'video/x-raw-yuv,width=160,height=120' ! x264enc bitrate=1024 quantizer=10 tune=zerolatency ! mpegtsmux ! filesink location=txPIPE.ts
receiver:
gst-launch filesrc location=rxPIPE.ts ! mpegtsdemux ! queue ! h264parse ! ffdec_h264 ! xvimagesink sync=false
and my GRC flow graph in between is:
TX:
File Source:
repeat: no
OFDM Mod
FFT len: 512
Occ tones: 200
prefix: 20
pad for USRP: yes
Payload length: 0
USRP Sink:
samp rate: 500K
RX:
USRP Source:
samp rate: 500K
OFDM deMod
FFT len: 512
Occ tones: 200
prefix: 20
pad for USRP: yes
Payload length: 0
SNR: 20
File Sink:
Unbuffered: off
Append: Overwrite
I have had trouble with a few things. What i notice when using an FFT Plot is that the signal is pulsating. I have been playing with CW values and gains on the USRP to see if that helps. It does somewhat but not totally. I wonder if this is a buffering issue. Though I have no feed back from my terminal, no underflow or overflow or TIMEOUT, both grstreamers are reporting to be playing (the rare time I get it through PREROLL into PLAYING on rx side)
I have been trying all sorts of FFT sizes, occupied tones, grstreamer bitrate values to no avail. All I have been able to do there is just make it worse.
I have the communication channel equations set up in excel so can input trial values and determine what my data rate through my flow graph should be, and then line that number up with gstreamer's bitrate. No luck there..
I had also considered using an error coding block (the CCSDS) but I read in the notes that comes with it the it wont work with packtised data. Which I am assuming then doesn't work with the MPEG-TS?
I have bypassed the USRP with a throttle block and the signal is better. It's more of the really low quality 'man in the space station' style. As it is not that good, I figure some of my flow graph numbers are off or I've missed something in my gstreamer command string.
Or my OFDM block is not set up right. I'm not sure what payload length should besides default value or what pad for USRP does.
Alex