MacCentre
Форум: Mac и Mac OS X
Тема: 127.0.0.1:10110
Страницы: 1 [2]

[Ответить]
Van Gogh [28.02.2021 18:07] :
Стоооооп! Немного на радостях поторопился! :-[
Вот, что я пишу "вызывая" тюнер: rtl_ais -p 35 -n
После этого появляется та объява, что выше.
Вот расшифровка команд:
rtl_ais, a simple AIS tuner
and generic dual-frequency FM demodulator

Use: rtl_ais
[-l left_frequency (default: 161.975M)]
[-r right_frequency (default: 162.025M)]
left freq < right freq
frequencies must be within 1.2MHz
[-s sample_rate (default: 24k)]
maximum value, might be down to 12k
[-o output_rate (default: 48k)]
must be equal or greater than twice -s value
[-E toggle edge tuning (default: off)]
[-D toggle DC filter (default: on)]
[-d device_index (default: 0)]
[-g tuner_gain (default: automatic)]
[-p ppm_error (default: 0)]
[-R enable RTL chip AGC (default: off)]
[-A turn off built-in AIS decoder (default: on)]
use this option to output samples to file or stdout.
Built-in AIS decoder options:
[-h host (default: 127.0.0.1)]
[-P port (default: 10110)]
[-n log NMEA sentences to console (stderr) (default off)]
[-L log sound levels to console (stderr) (default off)]

[-S seconds_for_decoder_stats (default 0=off)]

When the built-in AIS decoder is disabled the samples are sent to
to (a '-' dumps samples to stdout)
omitting the filename also uses stdout

Output is stereo 2x16 bit signed ints

Examples:
Receive AIS traffic,sent UDP NMEA sentences to 127.0.0.1 port 10110
and log the senteces to console:

rtl_ais -n

Tune two fm stations and play one on each channel:

rtl_ais -l161.975M -r162.025M -A | play -r48k -traw -es -b16 -c2 -V1 -
Мне после чего эту строку вставить? Дело в том, что когда я запускаю тюнер, то он уже не дает ничего в терминале писать, спрашивает: Terminate? То есть процесс пошел. Т.о. мне эту фразу куда-то в саму строку вставить надо? Может быть вместо <play -r48k -traw -es -b16 -c2 -V1>? Тем более, что я это play все равно никак у становить не могу...
Van Gogh [28.02.2021 23:06] :
Ааааааа! Понял кажется - это он мне показал, какой порт слушать надо - так?
3u IPv4 0x63d25b00f57fc277 0t0 TCP *:49156 (LISTEN)
4u IPv6 0x63d25b00f7eb19cf 0t0 TCP *:49156 (LISTEN)
[Ответить]
[< Назад]