View on GitHub

The MP3 Photographer

Convert MP3s to PNGs 😉

Download this project as a .zip file Download this project as a tar.gz file

Active Version GitHub issues GitHub license SHA256 Checksum

TPM TMP Logo 2

The MP3 Photographer

An LSB2 Steganography Encoder which encodes MP3 audio into PNG images

Part 2 of the Steganography Made Fun! Toolkit

About the Project

The toolkit has three parts divided into three repositories:

Release Directory Structure

Repository Structure

Usage Instructions

  1. Just let things be where they are (relatively)
  2. Place the JPG files with <song_name>.jpg in the adjacent directory labeled IN\
  3. Place the MP3 files with <song_name>.mp3 in the adjacent directory labeled IN\ (Check the Restrictions below)
  4. Run The MP3 Photographer.py using the IDE of your choice or via CMD using the python "The MP3 Photographer.py" command
  5. Obtain the Steganographically Encoded PNG files in the SRC\ Directory

Place the Custom PNG files generated by The MP3 Photographer in the SRC\ folder of The PNG Musician folder to play them

Restrictions

Amount of data that can be steganograhically encoded in a particular image is limited. Both The MP3 Photographer and The PNG Musician work on colour images of resolution 1280x720 with the 2 LSB bits in each channel of each pixel holding the MP3 file

Ultimately, the size of MP3 file is restricted to 1280x720x3x2 = 5,529,600 bits or 675 kB

I use Audacity to limit the MP3 file sizes into the restriction limits with the following settings:

Maximum Duration 1 minute
Bit Rate Mode Preset
Quality Medium, 145-185 kbps
Channel Mode Force Export to Mono
Metadata Cleared

Requirements

Disclaimer

Acknowledgements and References

TPM TMP Logo 0

TPM TMP Card TMP