Polyatic SSTV decoder
All tools

SSTV Decoder

Turns a slow-scan TV transmission back into its picture, from a recording or live as a radio plays it.

You get: each decoded picture as a PNG at the mode’s own size, or every picture heard in one ZIP

See the signal as a spectrogram

The same recording or microphone, drawn as frequency over time. An SSTV signal shows as a band between 1,500 and 2,300 Hz with a thin line of sync pulses at 1,200 Hz below it; a header starts with two bars at 1,900 Hz.

Nothing is drawn until you open a sound here or above, or start listening.

Time Freq
View settings
Frequency axis

Highest sound
–

Shown for a file: the highest frequency that still carries sound.

The view as a 1600 × 900 px picture, axes included.

Privacy: the recording and the microphone’s sound are decoded in this tab and never uploaded. Live sound is handed to the decoder in small blocks and dropped once it is read; only the pictures are kept, in this page, until you close it. To decode, the page fetches only two files from this site: its table of SSTV modes (sstv-modes.json) and, only if you tap Decode our example, the example recording. Besides an anonymous page count it sends fixed event names only: sstv-page-open (the first recording or listening session in a visit), sstv-page-save (the first picture saved), and the shared app’s sstv-decode, sstv-live, spec-live and spec-file. None carries a sound, a picture, a file name or a mode.

How to decode an SSTV picture

  1. From a file: tap Open a recording and pick the WAV, MP3, M4A, FLAC or Ogg file, or a video. Every picture in it is found by its header and drawn line by line; a long recording with several pictures lists them all under the picture, and you tap one to see it.
  2. From the radio, live: tap Listen for SSTV and allow the microphone. Put the phone near the radio’s speaker, or plug the receiver’s audio into the computer. The level meter should move well into the bar without turning orange. Each picture starts by itself when its header arrives and lands in Heard this session when it ends.
  3. If the recording starts mid-picture, there is no header to read: set Mode to the mode it was sent in and the page looks for that mode’s rhythm of sync pulses instead.
  4. Save PNG keeps one picture at the size the mode sends, named after the mode (sstv-pd-120-1.png, for example). Save all (ZIP) keeps every picture heard live in one file.

No radio to hand? Tap Decode our example to watch a picture build up, or download the example sound, play it from a laptop and point this page’s Listen for SSTV at it from your phone: that is the quickest way to check that your phone’s microphone path works before an ISS pass.

How SSTV decoding works

An SSTV signal is a single tone that slides in pitch. Within a scan line its pitch is the brightness of the pixel being sent: 1,500 Hz for black, 2,300 Hz for white, and in between in steps of 3.1372549 Hz per level of 255. The receiver only has to measure that pitch, sample after sample, and lay the values out in rows.

The VIS header comes first and says which mode follows. It is a leader of 300 ms at 1,900 Hz, a 10 ms dip to 1,200 Hz, another 300 ms at 1,900 Hz, a 30 ms start bit at 1,200 Hz, seven data bits of 30 ms each (1,100 Hz is a one, 1,300 Hz a zero, lowest bit first), an even-parity bit and a 30 ms stop bit: 910 ms in all. A worked example: Robot 36 is code 8, binary 0001000, so its bits go out as 1,300, 1,300, 1,300, 1,100, 1,300, 1,300, 1,300 Hz; that is one 1, so the parity bit is a 1 (1,100 Hz) to make the count even. The page also uses the leader to measure how far the receiver is off tune and takes that off every pixel.

Line sync keeps the picture square. Every line, or every pair of lines in Robot 36 and PD 120, starts with a burst at 1,200 Hz, lower than any picture tone, so it stands out even in noise. The page finds each burst, fits a straight line through their times and reads every line from where that line says it begins. That fit is what the Auto slant fix uses.

The four modes this page draws, with the timings it reads them by
ModeVISPixelsWhat one sync period carriesLength
Robot 368320 × 240Two lines in 300 ms: a 9 ms sync, then per line an 88 ms brightness scan and a 44 ms colour scan, R−Y on even lines and B−Y on odd ones36 s
Martin M144320 × 256One line in 446.446 ms: a 4.862 ms sync, then green, blue and red scans of 146.432 ms each114 s
Scottie S160320 × 256One line in 428.22 ms: green and blue scans of 138.24 ms, then the 9 ms sync, then red110 s
PD 12095640 × 496Two lines in 508.48 ms: a 20 ms sync, then four 121.6 ms scans: brightness of the first line, R−Y and B−Y shared by both, brightness of the second126 s

Robot 36 and PD 120 send brightness and colour difference, which the page turns into red, green and blue with the ITU-R BT.601 scalings; Martin and Scottie send the three colours one after another. Every tone and timing here is taken from JL Barber (N7CXI), “Proposal for SSTV Mode Specifications”, the paper he gave at the Dayton SSTV forum in May 2000; the page reads them from its own table, sstv-modes.json. Barber lists Robot 36 by scan times only, with no pixel count, so reading 320 pixels per line is this page’s choice.

The example above

The picture is ours: a script in this site’s code (tools/sstv-example.cjs) draws it from shapes and a 5 × 7 dot font, sends it as Robot 36 at 8,000 samples a second with its VIS header and half a second of silence either side, and saves that as the 37.9 s WAV you can download. The script then decodes the WAV with this page’s own decoder, and that decode is the picture you see. Measured against the drawing, the decoded colours are off by 4.9 (red), 3.9 (green) and 6.1 (blue) out of 255 on average. Most of that sits at sharp colour edges: Robot 36 sends colour for each pair of lines and with half the scan time of brightness, so the lime letters and the colour bars get soft, slightly bled edges while the white caption stays crisp.

What it cannot do

  • It draws four modes: Robot 36, Martin M1, Scottie S1 and PD 120. When it hears the header of one of the 14 others it knows (Scottie 2 and DX, Martin 2, Robot 72, PD 50, 90, 160, 180, 240 and 290, the three Pasokon modes, Wrasse SC2-180), it names the mode and says it cannot draw it. Digital SSTV (EasyPal, DRM) and fax are not read at all.
  • Live, it needs the header. A picture that is already being sent when you tap Listen for SSTV is skipped; the next one is caught. In a file, a picture with no header is found only once you set the mode by hand, and lines sent before the recording began are missing.
  • It does not clean the picture. Noise, fading and a second station on the frequency come out as specks, smears and torn lines; nothing is sharpened, filled in or guessed. Auto slant needs audible sync pulses.
  • It is only the decoder. It does not tune or control a radio, and it does not send SSTV: there is no encoder on this page to turn your own picture into a transmission.
  • Live pictures live in the tab. Closing or reloading the page loses every picture you have not saved. A phone may also cut the microphone when its screen sleeps; the page asks the browser to keep the screen on and says under the level meter whether it agreed.
  • The PNG is the mode’s own size, 320 × 240 for Robot 36 and up to 640 × 496 for PD 120. It is not enlarged or smoothed.

Questions

Can it decode the ISS SSTV pictures from my phone’s microphone?

Yes, if the phone can hear the radio. Tune a 2 m receiver or an SDR to the ISS downlink, 145.800 MHz FM, open this page on the phone, tap Listen for SSTV and hold the phone close to the speaker. Start before the station rises above your horizon: the page begins a picture only at its VIS header, so a picture already under way when you start is skipped. A PD 120 picture takes 126 seconds and a pass lasts up to about 10 minutes, so expect a few pictures a pass at most. Keep the room quiet, the screen on and the radio loud but short of the orange clipping mark on the level meter, because the phone also records voices, fans and echoes and they land in the picture as specks and streaks. Most ARISS events have used PD 120, which this page draws; if an event uses PD 180, the page names that mode but cannot draw it. Recording the pass with any recorder app and opening the file here afterwards works as well.

Which SSTV modes does it read?

Four: Robot 36 (VIS code 8, 320 × 240, 36 s), Martin M1 (VIS 44, 320 × 256, 114 s), Scottie S1 (VIS 60, 320 × 256, 110 s) and PD 120 (VIS 95, 640 × 496, 126 s). Martin M1 and Scottie S1 are the modes heard most on the HF SSTV frequencies such as 14.230 MHz, Robot 36 is the quick one, and PD 120 is what most ISS events have used. With Mode on By itself (VIS) the page reads the header and picks the mode. It also knows the headers of 14 modes it does not draw, among them Scottie 2, Martin 2, Robot 72, PD 90 and PD 180, and says which one it heard.

Why is my decoded SSTV picture slanted?

Because a sound card’s clock is never exactly right, so every line arrives a little long or short and the error adds up down the picture. A worked example: a clock 0.1 % off (44,144 samples a second where 44,100 were meant) has drifted 36 ms by the last line of a Robot 36 picture, which is 131 of its 320 pixels. With Auto ticked, the page times every 1,200 Hz sync pulse, fits a straight line through those times and reads each line with the length that line gives, which straightens the picture whenever the sync pulses are audible. If they are drowned in noise, untick Auto and drag the slant slider, from −1 % to +1 %, until upright edges stand upright.

Can I decode SSTV from a video or a web radio recording?

Yes. Open the downloaded video (MP4, WebM or MOV) or the recording saved from a web SDR with Open a recording, and the page decodes its sound track, as long as this browser can read the file. Or play it on another device and use Listen for SSTV. A recording squeezed hard by MP3 or a video site still decodes, because SSTV lives between 1,100 and 2,300 Hz, which every codec keeps, but its noise and smearing show in the picture.

Made with AI tools. · Privacy · Contact