Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Questions about leansdr in processing IQ file #28

Open
wufeissdfz opened this issue Aug 14, 2020 · 8 comments
Open

Some Questions about leansdr in processing IQ file #28

wufeissdfz opened this issue Aug 14, 2020 · 8 comments

Comments

@wufeissdfz
Copy link

Hello,

Recently,I tried to compile and install leanDVB and finally finish the functional loop tests.
This week I used leanDVB to process a IQ file sampled from a DVB-S2 standard tx card.
But I failed. I think the IQ file format may cause the problem.
CMD :
leandvb --s16 -f 2500000 --sr 1000000 --gui --fd-info 2 --standard DVB-S2 --sampler rrc < IQREC-08-12-20-10h17m40s384.iq > test0812_1.ts
The parameters of the DVB-S2 signal are listed below.
CCM 1Msps 8PSK 3/5 with pilot ShortFrame
The payload is a transport stream.
20200814173058

The IQ file looks well in cooledit, which sample rate is 2.5Msps. (16bits LSB)
20200814172728

The format of IQ file is complex short. I think the parameter of the IQ file is --s16.
There is the IQ file link. https://we.tl/t-Ak52TAHKwx

Many thanks.

@pabr
Copy link
Owner

pabr commented Aug 15, 2020

The spectrum is inverted in your IQ file. leandvb does not support that yet in DVB-S2 mode.

As a workaround you can flip the sign on each Q sample or swap each I/Q pair. Then leandvb should produce a 704x576 MPEG2 TS.

@wufeissdfz
Copy link
Author

wufeissdfz commented Aug 16, 2020

The spectrum is inverted in your IQ file. leandvb does not support that yet in DVB-S2 mode.

As a workaround you can flip the sign on each Q sample or swap each I/Q pair. Then leandvb should produce a 704x576 MPEG2 TS.

Thanks a lot. After I modify the IQ file, it works well.

@klimentyev
Copy link

@wufeissdfz Can you reupload your iq file? I can't download it by your link :( I wanna work with leansdr, but I haven't got any raw iq with DVB-S2.

@klimentyev
Copy link

@pabr I would be grateful if you would share this or a similar IQ file.

@pabr
Copy link
Owner

pabr commented Sep 27, 2020

@klimentyev You can generate DVB-S2 IQ streams with tools that ship with leandvb, see:
#25 (comment)

However this will not simulate the specific issue that was present in the IQ file of @wufeissdfz, i.e. spectrum inversion.

@klimentyev
Copy link

klimentyev commented Sep 27, 2020

@pabr Thank you very much. The utility helps me.

@wufeissdfz
Copy link
Author

@pabr Thank you very much. The utility helps me.

Sorry for my reply late, I can generate DVB-S2 sample, what about the parameters of DVB-S2 IQ file.

@klimentyev
Copy link

@wufeissdfz Thx, but I wanna process the real signal for check my information data parser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants