Skip to content

MaximeSharp/sstv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSTV Decoder (modified)

Modified version of SSTV Decoder

This version has no console output so it can be used in a bot.

Installation

$ pip install sstv@git+https://github.com/MaximeSharp/sstv.git

Usage

from sstv.decode import SSTVDecoder

wav_file = "my_wave_file.wav"
img_file = "my_img_file.png"

with SSTVDecoder(wav_file) as sstv:
  img = sstv.decode(0.0)
  if img is None:
    print("Not a valid audio file")
  try:
    img.save(img_file)
    print("Image saved successfully")
  except:
    print("Error while saving the image")
Original README.md

SSTV Decoder

A command line slow-scan television decoder that works on audio files rather than reading a soundcard (like most other decoders). Currently supports the following modes:

  • Martin 1, 2
  • Scottie 1, 2, DX
  • Robot 36, 72

Installation

$ git clone https://github.com/colaclanth/sstv.git

$ python setup.py install

Usage

$ sstv -d audio_file.wav -o result.png

Resources Used

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%