-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexamples.txt
57 lines (37 loc) · 1.38 KB
/
examples.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
dmld
DML router
Will listen on port 7373 for incomming connections.
Outgoing connections can be set in the configuration file dmld.conf
dml_list
Connects to a DML router and will output information on all routable
streams. (Handy for discovering IDs)
dml_trx
Tranceiver. Will create a stream with Codec2 encoded audio and can
connect to similar streams. Can control the PTT of a connected radio
via a serial port or receive DTMF and squelch info from a serial port.
Can connect to streams via aliases.
dml_reflector
Basic reflector. Will connect to Codec2 encoded audio streams when
requested and reflect them to all listeners.
dml_streamer_ogg
A simple stream server which expects an Ogg stream on stdin.
The stream can contain Vorbis (audio) and Theora (video) packets.
(Currently not more than one of each).
Reads configuration from dml_streamer_ogg.conf
dml_stream_client
Stream client. Expects an dml ID as command line argument and will
output stream data to stdout.
Stream audio with ogg:
ffmpeg -f alsa -i hw \
-codec:a vorbis -strict -2 -qscale:a 5 \
-f ogg - | ./dml_streamer_ogg
Stream video with ogg:
ffmpeg \
-f lavfi -i testsrc=size=cif:rate=25 \
-f lavfi -i sine -af arealtime \
-c:v libtheora \
-c:a libvorbis \
-q:v 9 -g:v 25 -q:a 5 \
-f ogg - | ./dml_streamer_ogg
Receive ogg stream and play:
dml_stream_client <stream_id> | mplayer -