Author Topic: AIS Decoder - beta release  (Read 11823 times)

tetramonium

  • New User
  • *
  • Posts: 5
    • View Profile
Re: AIS Decoder - beta release
« Reply #15 on: 09 December, 2013, 10:42:05 pm »
Hi
It seem to work well on linux with very low cpu usage
I tested the FredZ mod ( for info I must to delete and create  the fifo at each boot), it's very light
I've tried 2 channels on one rtl2832 with gnuradio , it work well and with low cpu usage than gnuais.
Read my comments onthis page :
http://www.oz9aec.net/index.php/gnu-radio/gnu-radio-blog/482-a-2-channel-ais-receiver-using-rtl-sdr-and-gnuais
does it work on windows, and if, is there a simple way to compile?
Thanks and sorry for my bad english
Regards
Christophe

Peter

  • Global Moderator
  • Lt.Commander
  • *****
  • Posts: 91
    • View Profile
    • Astra Paging Ltd
Re: AIS Decoder - beta release
« Reply #16 on: 10 December, 2013, 02:59:24 pm »
Sorry for the delay, there will be a Win version soon..

tetramonium

  • New User
  • *
  • Posts: 5
    • View Profile
Re: AIS Decoder - beta release
« Reply #17 on: 11 December, 2013, 01:32:21 pm »
Hi
It's my first compile, but seem to work on xp... ;)

fkjradio

  • New User
  • *
  • Posts: 6
    • View Profile
Re: AIS Decoder - beta release
« Reply #18 on: 12 December, 2013, 07:16:37 pm »
Sorry for the delay, there will be a Win version soon..
No problem peter , it's sound well  8)

Hi
It's my first compile, but seem to work on xp... ;)
nice news also , if you want  i can  test  on win7 but i don"t know how   :-[

tetramonium

  • New User
  • *
  • Posts: 5
    • View Profile
Re: AIS Decoder - beta release
« Reply #19 on: 02 January, 2014, 06:16:08 pm »
Hi
aisdecoder work well on linux
But after some test on windows decode 35% less messages than aismon and shipplotter
I use vb-cable and when aisdecoder work, there is a lot of push loss? I don't know exactely what does that meen but perhaps help.
Also, more cpu usage than under linux
Regards
Christophe

tetramonium

  • New User
  • *
  • Posts: 5
    • View Profile
Re: AIS Decoder - beta release
« Reply #20 on: 22 January, 2014, 02:55:07 am »
Buffer lengh???

sandman7920

  • Global Moderator
  • Ensign
  • *****
  • Posts: 16
    • View Profile
    • Astra Paging Ltd.
Re: AIS Decoder - beta release
« Reply #21 on: 22 January, 2014, 09:38:14 pm »
When I get some free time, windows support will be improved. Two windows drivers are planned mmsystem and DirectSound. Currently only mmsystem partially work (test version).

P.S.
Windows buffer length is defined in sounddecoder.cpp
void SoundDecoder::initWinMM() {
buffer_l = 8192;

You can try test with different values
« Last Edit: 27 January, 2014, 11:28:21 am by sandman7920 »

tetramonium

  • New User
  • *
  • Posts: 5
    • View Profile
Re: AIS Decoder - beta release
« Reply #22 on: 22 January, 2014, 11:06:36 pm »
Hi
I tried this afternoon other values (1024,2048,4096 and 16384) but 8192 work better.
I tried too to change the MAX_BUFFER_LENGTH from main.cpp and 1024 perhaps little better than 256.
I play too with the WAIT_TIMEOUT without better results
Always push loss in vb-audio
...
« Last Edit: 23 January, 2014, 01:50:20 am by tetramonium »

S.V.Ketos

  • New user
  • Posts: 1
    • View Profile
Re: AIS Decoder - beta release
« Reply #23 on: 04 April, 2014, 04:20:19 pm »
Just picked up a DVB-T+DAB+FM dongle. I installed rtl-sdr and aisdecoder. Using rtl_fm -f 161966899 -g 40  -s 48k -r 48k /tmp/aisdata  and ./aisdecoder/build/aisdecoder -h 127.0.0.1 -p 10110 -a file -c mono -d -l -f /tmp/aisdata. I'm using a vhf antenna on my boat.

I'm getting the following:

Level on ch 0: 50 %
Level on ch 0: 50 %
Level on ch 0: 50 %
Level on ch 0: 50 %
Level on ch 0: 50 %
Level on ch 0: 50 %
Level on ch 0: 50 %
Level on ch 0: 50 %
Level on ch 0: 50 %
Level on ch 0: 50 %
Level on ch 0: 50 %
Level on ch 0: 50 %
Level on ch 0: 50 %
Level on ch 0: 50 %

No AIS data is coming through. Any suggestions on how to get it working?

sandman7920

  • Global Moderator
  • Ensign
  • *****
  • Posts: 16
    • View Profile
    • Astra Paging Ltd.
Re: AIS Decoder - beta release
« Reply #24 on: 16 July, 2014, 03:56:37 pm »
New version is uploaded (see the first post)

1. Project now is in pure C.
2. Fixed windows issues.
3. Added input device selection cmd flag -D
« Last Edit: 16 July, 2014, 03:58:22 pm by sandman7920 »

shaolin

  • New user
  • Posts: 1
    • View Profile
Re: AIS Decoder - beta release
« Reply #25 on: 25 July, 2014, 01:19:33 pm »
Hi everyone!

I want to say thank you to AIS Decoder developers for sharing their software as an open source project.
I have two questions to ask:

  • Reading your little guide in the first post you say:
    Quote
    4)Plug in your sound cable and calibrate the sound level by using -l
    What do you mean with cable? Do I just plug a normal audio jack in my MIC IN sound card and it works as an antenna?
.
  • For AIS Decoder: do you plan to split it as a main program and a shared library so for example, if I build it myself I can have a "decoder.so" library to link against another executable?

Thanks a lot