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

Peter

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

tetramonium

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

fkjradio

  • New User
  • *
  • Posts: 7
    • View Profile
Re: AIS Decoder - beta release
« Reply #17 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: 8
    • View Profile
Re: AIS Decoder - beta release
« Reply #18 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: 8
    • View Profile
Re: AIS Decoder - beta release
« Reply #19 on: 22 January, 2014, 02:55:07 am »
Buffer lengh???

sandman7920

  • Global Moderator
  • Ensign
  • *****
  • Posts: 19
    • View Profile
    • Astra Paging Ltd.
Re: AIS Decoder - beta release
« Reply #20 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: 8
    • View Profile
Re: AIS Decoder - beta release
« Reply #21 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 #22 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: 19
    • View Profile
    • Astra Paging Ltd.
Re: AIS Decoder - beta release
« Reply #23 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

  • Seaman
  • *
  • Posts: 3
    • View Profile
Re: AIS Decoder - beta release
« Reply #24 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

tetramonium

  • New User
  • *
  • Posts: 8
    • View Profile
Re: AIS Decoder - beta release
« Reply #25 on: 28 July, 2014, 08:57:23 pm »
Hi
The last win precompile version seem decode better, but exit after a small time (3,5 or 10 secondes)?
For information after change buffer_l from 2048 to 8192 in line 120 of sounddecoder.c, it work longer (a few minutes)...
Thanks
« Last Edit: 29 July, 2014, 04:06:08 pm by tetramonium »

Peter

  • Global Moderator
  • Lt.Commander
  • *****
  • Posts: 97
    • View Profile
    • Astra Paging Ltd
Re: AIS Decoder - beta release
« Reply #26 on: 30 July, 2014, 01:18:49 pm »
Are there any messages after exit?

Can you record a longer wav file (4-5 minutes) and send it to us (info@aishub.net)?

By the way we will launch AISDispatcher with integrated sound decoding next week.

shaolin

  • Seaman
  • *
  • Posts: 3
    • View Profile
Re: AIS Decoder - beta release
« Reply #27 on: 30 July, 2014, 01:58:53 pm »
Hi,

does any one have an answer for me? :)


tetramonium

  • New User
  • *
  • Posts: 8
    • View Profile
Re: AIS Decoder - beta release
« Reply #28 on: 30 July, 2014, 11:04:06 pm »
Hi
No message after exit.
I'll send you a record
Regards

sandman7920

  • Global Moderator
  • Ensign
  • *****
  • Posts: 19
    • View Profile
    • Astra Paging Ltd.
Re: AIS Decoder - beta release
« Reply #29 on: 01 August, 2014, 11:24:26 am »
Quote from: shaolin
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?

Nope you need audio data 16bit 48kHz mono or stereo. 161.975 MHz, 162.025 MHz
http://www.sigidwiki.com/wiki/Signal_Identification_Guide Search for AIS