-
Notifications
You must be signed in to change notification settings - Fork 12
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
Recording using rt-mbms-modem #21
Comments
@m-bures Friendly reminder: Please also share the sample files that cause problems on your end for us to reproduce. Thank you! |
@dsilhavy - As preparation for a call with @m-bures this morning, I downloaded and tested the 10MHz sample file (https://obeca-testdaten.s3.eu-central-1.amazonaws.com/10MHz_MCS16_1kHz25_RTP_3.5.raw) I can confirm that it has playback issues (stalls in audio and video every one or two seconds), even though the modem reports no CRC errors, and neither Wireshark nor VLC display RTP packet loss or sequence discontinuities. VLC shows no actual errors, but "playback way too early"-warnings. |
Additional info from an email by @m-bures:
|
Assigning myself for the investigation into why using the |
Regarding the problems with the RTP sample files, I created a separate issue for that #22 |
I was able to reproduce the issue. It would appear that the file IO when creating a sample file on disk can be enough to cause packet loss in the USB transfer from BladeRF when the periodic flushes to disk occur, especially at BladeRF's default settings for buffer size and count. It seems to work quite reliably when not writing to disk during the recording, but creating the sample file in memory by writing to a tmpfs mount. I also increased the BladeRF transfer buffer size in 5gmag-rt.conf: Here's what I tried:
This created a file without CRC errors from a 5MHz cell with 2 RX antennas -- which should be the same data rate as a 10MHz cell with only one RX antenna. @m-bures, can you please try if this works for you? |
We tested the recording of RF signal with modem version 1.2. using the above mention procedure. The recording is possible, the output from the modem application is the same as if not recording which is big progress. Unfortunately the recorded files when played using –f option are either with a jerky video or there is a message We uploaded our recordings: Recording-8MHz-946-bladerf-1.raw Recording-8MHz-946-bladerf-2.raw Recording-8MHz-946-bladerf-3.raw Recording-8MHz-946-hackrf-1.raw The recordings are available here: https://cloud-drive.radiokomunikace.cz/owncloud/index.php/s/0xl4X845ImU3Gl6 We tested it both on NTB and the NUC. @kuehnhammer could you please try to play our recordings to see how it behaves on your HW ? |
Did some quick tests
I suggest to:
|
Yes, it is exactly what we can see when we try to play the recordings. The thing is that if we use the modem without recording it works (occasional glitches in video – see #32) but generally it works and all services from TS can played smoothly. Same applies during recording. The problem starts when we want to play the recording then the result is exactly as you described @dsilhavy . |
Recording using rt-mbms-modem
Hello,
we tried to record 5G signals using
modem -w name_of_the_recording
but it was for us impossible to make a good / usable recording. The SW is struggling to synchronize to the input signal while if we use modem command without –w (reception only) the synchronization is achieved with the same RF signal – see attached files.
Does anybody know what where the problem might be ?
Generally for reception the modem (V 1.1.1) gives us much worse results compared to the older rp process (V 1.1.0).
With V 1.1.1 it is more difficult to synchronize to any input signal, to get a stable reception and finally get a glitch-free video playback.
I forgot to state that we have bladeRF xA4 SDR. Unfortunately we are still waiting for Lime mini SDR, which we ordered in July 2021.
Thank you, Michal
modem_play.txt
modem_rec.txt
The text was updated successfully, but these errors were encountered: