Lukasz Grzegorz Maciak
Micheal Alexis Ponniah
Renu Sharma
10/03/05
The object of this project is to use stenography metodology to embed textual information such as lyrics or captioning directly in music files. Usually close captioning or lyrics for a music file is provided either as a seperate file or as a secondary chanell using a special composite file format. We want to be able to use a popular media format such as mp3 or wav and embed this type directly into that file, without altering it's original content.
To make this possible we want to use stenographic methodology to "hide" the textual data in the music file. This way, and oridinary player will be able to play that file without ever noticing the added content. On the other hand a specialized application or a plugin should be able to extract this information and display it on the screen as lyrics or close captioning sychronized with the playback.
We will seek to accomplish the following:
The stegonographic module is a stand alone jar file. There is no need for installation. The mp3 player requires installation of the JMF framework. Please consult their webpage for installation instructions.
Once JMF is installed and configured, unzip the javaPlayer.zip and compile the source. Make sure mp3stego.jar is in the classpath.
To embed lyrics into mp3 file run:
java -jar mp3stego.jar mp3_file.mp3 lyrics_file.txt
To extract lyrics from an mp3 file run:
java -jar mp3stego.jar mp3_file.mp3
To extract lyrics from another java application call the static method decode in the Main class of mpstego package. This method takes a string representing path to the mp3 file and returns lyrics in a string delimited by newlines and the pipe character (|):
String lyrics = mpstego.Main.decode(mp3_file_name);
To run the mp3 player run:
java javaPlayer
Then use GUI to navigate.