Skip to content

Command Line Tools

Vilmos Molnar edited this page Nov 23, 2026 · 1 revision

Command Line Tools

Besides the transceiver sstv_next, the build (and the Windows package) contains:

program purpose
sstv_dec analog decoder: pictures from a WAV recording
sstv_enc analog encoder: picture to WAV
sstv_combine merges several receptions of the same picture
drm_dec digital (HamDRM) decoder: received files from a WAV recording
drm_enc digital (HamDRM) encoder: file to WAV

Run any of them with -h for all options.

Examples

Decode a recording (analog):

sstv_dec recording.wav              # pictures as PPM files
sstv_dec -r recording.wav           # without the QRM speck filter
sstv_dec -P -o pass2 iss.wav        # PNG with the reception data (SNR of every line)

Combine several receptions of the same picture (see Combining Repeated Pictures):

sstv_combine -o best.png pass1_1.png pass2_1.png pass3_1.png

Digital SSTV:

drm_enc -m B -q 16 -c HG0MV pic.jpg drm.wav    # transmission to WAV
drm_dec -v -o /tmp drm.wav                      # reception from WAV
drm_enc -r 2 pic.jpg drm.wav                    # with Reed-Solomon protection (pic.rs2)
drm_dec -b bsr.txt drm.wav                      # repeat request for the missing segments
drm_enc -F bsr.txt pic.jpg fix.wav              # answer to a repeat request

Testing the transceiver without a radio

sstv_next -f recording.wav -s 10    # feed a WAV recording to the receiver, 10x speed
sstv_next -x tx.wav                 # transmission goes to a WAV file

The -f input follows the Channel setting (Both / Left / Right) of the Audio input menu, so stereo recordings with a different signal on each channel can be tested too.

Clone this wiki locally