AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Alles zum Thema DAB(+) Digitalradio.
schluri
Beiträge: 35
Registriert: Mo 11. Sep 2023, 08:13

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von schluri »

Danke. Jetzt hat es geklappt.
Aber der Suchlauf findet nur 65 Sender und Andis Software DAB Player v1.0.2.176 findet 104 Sender
andimik
Beiträge: 5773
Registriert: Sa 1. Sep 2018, 19:11
Wohnort: Arnoldstein, Bezirk Villach Land, Österreich
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von andimik »

Dann bitte manuell suchen.
KejPi
Beiträge: 204
Registriert: Fr 21. Dez 2018, 12:56
Wohnort: Prague, CZ
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von KejPi »

Well, 65 versus 104 services seems to be huge difference - it is like 2-3 ensembles difference, it should not be.
I suppose that you do the comparison with exactly the same setup, it means the same USB stick, the same antenna in the same position and the comparison is done in the same time, that means immediately one after the other.
If this is the case, the difference can be caused by wrong device settings, I would recommend this setup:
Snímek obrazovky 2023-10-18 v 18.56.17.png
It may happen that AbracaDABra is not catching ensemble that is on the sensitivity edge during band scan. In this case manual tuning of the channel should help as proposed by andimik.
I would be very grateful if you could share recording of the channel that is received by DAB Player and not received by AbracaDABra, ideally both recording from AbracaDABra and also from DAB Player for comparison, 20 seconds each should be enough.
AbracaDABra: multiplatform DAB & DAB+ SDR | https://github.com/KejPi/AbracaDABra
Support forum: viewtopic.php?f=11&t=60938
andimik
Beiträge: 5773
Registriert: Sa 1. Sep 2018, 19:11
Wohnort: Arnoldstein, Bezirk Villach Land, Österreich
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von andimik »

Das neueste AbracaDABra unterstützt auch RadioDNS, eine sinnvolle Funktion, die ich bisher noch nicht kannte. Sie lädt Inhalte (Senderlogo) aus dem Internet nach, anstelle sie über DAB zu übertragen.

Das funktioniert übrigens auch für nicht mehr existierende Programme bzw. Muxe, wie hier der irische von 2017 :D

viewtopic.php?f=11&t=55911&start=45

Leider ist das damalige Thema schon geschlossen worden.
Dateianhänge
Bildschirmfoto vom 2023-10-20 15-28-50.png
andimik
Beiträge: 5773
Registriert: Sa 1. Sep 2018, 19:11
Wohnort: Arnoldstein, Bezirk Villach Land, Österreich
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von andimik »

How can I add the current time and date to the filename using the debug function for saving aac files?

I tried myself, but there is always an error. Please note, I have no experience in programming, just copying source codes I have found on the internet.

Code: Alles auswählen

#include <QDateTime>

...

    QDateTime dateTime = QDateTime::currentDateTime();
    QString dateTimeString = dateTime.toString("yyyy_MMM_dd_hh_mm_ss");

    m_aacOut = fopen("audio_", dateTimeString, ".aac", "wb");

Code: Alles auswählen

/home/andreas/apps/AbracaDABra/gui/audiodecoder.cpp: In constructor ‘AudioDecoder::AudioDecoder(QObject*)’:
/home/andreas/apps/AbracaDABra/gui/audiodecoder.cpp:75:32: error: cannot convert ‘QString’ to ‘const char*’
   75 |     m_aacOut = fopen("audio_", dateTimeString, ".aac", "wb");
      |                                ^~~~~~~~~~~~~~
      |                                |
      |                                QString
I tried with + or , or & ....
KejPi
Beiträge: 204
Registriert: Fr 21. Dez 2018, 12:56
Wohnort: Prague, CZ
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von KejPi »

I will push audio recording feature soon.
Meanwhile we can discuss it privately, I do not want to discuss code hacking here, this is support thread for "regular users"
AbracaDABra: multiplatform DAB & DAB+ SDR | https://github.com/KejPi/AbracaDABra
Support forum: viewtopic.php?f=11&t=60938
KejPi
Beiträge: 204
Registriert: Fr 21. Dez 2018, 12:56
Wohnort: Prague, CZ
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von KejPi »

AbracaDABra 2.3.0 has been released

Changes:
  • DABSDR v2.5.0 with support for data services reconfigurations
  • SPI application
    • Only service logos supported currently, EPG support in next version
    • RadioDNS
  • Audio recording feature
  • Binary builds for MacOS and Windows are packed with RTLSDR by old-dab with support of rtl-sdr blog v4 (not tested)
  • RTL-SDR AGC redesigned
  • Level threshold can be adjusted from settings
  • New beautiful MacOS installer thanks to create-dmg
  • Many small bug fixes and improvements
You can download binaries here: https://github.com/KejPi/AbracaDABra/re ... tag/v2.3.0

Arch Linux users can install AbracaDABra from AUR

If you have any problem please report here or enter new issue on GitHub
Snímek obrazovky 2023-12-02 v 17.47.14.png

EDIT: I am sorry, it turned out that Windows package was somehow corrupted, I will try to release Windows version tonight.
AbracaDABra: multiplatform DAB & DAB+ SDR | https://github.com/KejPi/AbracaDABra
Support forum: viewtopic.php?f=11&t=60938
KejPi
Beiträge: 204
Registriert: Fr 21. Dez 2018, 12:56
Wohnort: Prague, CZ
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von KejPi »

AbracaDABra Windows build is online again. Please make sure that you have downloaded AbracaDABra-v2.3.0-1-Windows.zip and that DABSDR version is 2.5.0.
AbracaDABra_J52RHSto5w.png
Previously released package was packed with old version of DABSDR library. I am sorry for this confusion.
AbracaDABra: multiplatform DAB & DAB+ SDR | https://github.com/KejPi/AbracaDABra
Support forum: viewtopic.php?f=11&t=60938
KejPi
Beiträge: 204
Registriert: Fr 21. Dez 2018, 12:56
Wohnort: Prague, CZ
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von KejPi »

AbracaDABra 2.3.1 has been released

Changes:
  • fix: disabling SPI application from settings.
NOTE: If you do not like to see service logos, you can disable them by disabling SPI application in Settings and deleting application cache (cache location is platform dependent, see https://github.com/KejPi/AbracaDABra#sp ... d-radiodns)

You can download binaries here: https://github.com/KejPi/AbracaDABra/re ... tag/v2.3.1

Arch Linux users can install AbracaDABra from AUR

If you have any problem please report here or enter new issue on GitHub
AbracaDABra: multiplatform DAB & DAB+ SDR | https://github.com/KejPi/AbracaDABra
Support forum: viewtopic.php?f=11&t=60938
andimik
Beiträge: 5773
Registriert: Sa 1. Sep 2018, 19:11
Wohnort: Arnoldstein, Bezirk Villach Land, Österreich
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von andimik »

Does it also display where the logo comes from?

What if SPI and RadioDNS have different files? Will try with Slovenia R1, as far as I know the logos look different.

But interesting, SPI logos are now supported, too. Will need to give it a try as well.
KejPi
Beiträge: 204
Registriert: Fr 21. Dez 2018, 12:56
Wohnort: Prague, CZ
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von KejPi »

It does not show where it comes from, this information is not stored. The assumption was that the logos are the same in SPI application and on the internet. If it is not the case, please share the recording so that I have a test case to verify.

If you tune the service and RadioDNS is enabled, application tries to get the service information using RadioDNS. If it gets it, application downloads logos from internet source. But SPI is received in parallel. When MOT directory is complete, it parses the service information and retrieves the logos. Those that are different from the files that are in cache are overwritten. This will happen every time you tune the service.

I have no SPI service on-air here, I have to develop most of these feature "blindly" relying on few recordings I was able to get so probably there will be some unexpected effects :-(

And SPI logos were available for a long time on GitHub but not in official release ;-)
AbracaDABra: multiplatform DAB & DAB+ SDR | https://github.com/KejPi/AbracaDABra
Support forum: viewtopic.php?f=11&t=60938
andimik
Beiträge: 5773
Registriert: Sa 1. Sep 2018, 19:11
Wohnort: Arnoldstein, Bezirk Villach Land, Österreich
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von andimik »

SPI logos are stored in .cache/AbracaDABra , right? But where I can find the SPI files?

Because I tried the Austrian Bundesmux (which has SPI logos for all programmes), but I only get the RadioDNS logos from the internet.

Code: Alles auswählen

$ find 
.
./e0ad2a.0
./e0ad2a.0/320x240.png
./e0ad2a.0/32x32.png
./cacheDir
./cacheDir/data8
./cacheDir/data8/6
./cacheDir/data8/6/-m3vx2jv.d
./cacheDir/data8/8
./cacheDir/data8/8/4fpjj7ix.d
./cacheDir/data8/c
./cacheDir/data8/b
./cacheDir/data8/d
./cacheDir/data8/d/-1egavim.d
./cacheDir/data8/a
./cacheDir/data8/0
./cacheDir/data8/0/-wjet1yp.d
./cacheDir/data8/4
./cacheDir/data8/3
./cacheDir/data8/5
./cacheDir/data8/9
./cacheDir/data8/f
./cacheDir/data8/e
./cacheDir/data8/7
./cacheDir/data8/2
./cacheDir/data8/2/j6mne0k2.d
./cacheDir/data8/1
./cacheDir/prepared
./e0ad22.0
./e0ad22.0/320x240.png
./e0ad22.0/32x32.png
And how can I see that SPI is loaded?

Code: Alles auswählen

18:59:21.507 [I] RadioControl: Playing: [E0A101 @ 181936 kHz |  6A] ENERGY             E0AC51 : 0
18:59:21.515 [I] RadioControl: Starting user application 'SlideShow' from XPAD.
18:59:21.516 [I] RadioControl: Found user application type 'SPI' within ensemble in data service SId E0A0AD50, SCIdS 0. Starting the service...
18:59:21.572 [I] AudioOutput: Muting... [available 2880 samples]
18:59:21.917 [I] AudioDecoder: HE-AAC 48 kHz stereo
18:59:21.917 [I] AudioDecoder: Output sample rate 48000 Hz, channels: 2
18:59:22.033 [W] SPIApp: DNS lookup failed: "_radioepg._tcp.c040.radioplayer.org"
18:59:22.360 [I] AudioOutput: Unmuting audio
18:59:29.909 [I] RadioControl: Playing: [E0A101 @ 181936 kHz |  6A] Radio Flamingo     E0AD5A : 0
18:59:29.917 [I] RadioControl: Starting user application 'SlideShow' from XPAD.
18:59:29.918 [I] RadioControl: Found user application type 'SPI' within ensemble in data service SId E0A0AD50, SCIdS 0. Starting the service...
18:59:29.941 [I] AudioOutput: Muting... [available 2880 samples]
18:59:29.953 [W] SPIApp: DNS lookup failed: "0.ad5a.a101.ae0.dab.radiodns.org"
18:59:30.318 [I] AudioDecoder: HE-AAC 48 kHz stereo
18:59:30.318 [I] AudioDecoder: Output sample rate 48000 Hz, channels: 2
18:59:30.763 [I] AudioOutput: Unmuting audio
KejPi
Beiträge: 204
Registriert: Fr 21. Dez 2018, 12:56
Wohnort: Prague, CZ
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von KejPi »

No SPI XML files are stored, only logos are stored in cache and there is network cache to avoid behaving like DDOS attacker.
AbracaDABra: multiplatform DAB & DAB+ SDR | https://github.com/KejPi/AbracaDABra
Support forum: viewtopic.php?f=11&t=60938
Austria MV
Beiträge: 1395
Registriert: Fr 31. Aug 2018, 17:42

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von Austria MV »

Thank You for the new version.
Sometimes AbracaDABra get closed when set to far away fading radio station like MDR Sachsen...
I don´t have any idea what happened and have no error message.
Abra1.jpg
KejPi
Beiträge: 204
Registriert: Fr 21. Dez 2018, 12:56
Wohnort: Prague, CZ
Kontaktdaten:

Re: AbracaDABra - multiplatform SDR for RTL-SDR USB sticks

Beitrag von KejPi »

Opps, that is not good :-(

This does not happen to me on MacOS but if it is dependent on signal quality, then it is possible that I do not have the "right" input. But i understand this will be extremely diffcult. I will try to reproduce the problem with some weak signal.

Can you share more details about your setup, specificaly:
  • what device do you use and is it connected directly or through RTL-TCP in case it is some RTLSDR device.
  • what AGC mode do you use for that device
  • is SPI application enabled?
And could you please try to replace librtlsdr.dll in application directory by the DLL from version 2.2.x (RTL Blog v4 will not work). I assume you did not have the problem with previous version.
AbracaDABra: multiplatform DAB & DAB+ SDR | https://github.com/KejPi/AbracaDABra
Support forum: viewtopic.php?f=11&t=60938
Antworten