Highlights
Problem & Motivation:
Every time we watch a movie we have to search for subtitles, download them and add it manually to the video player. Further, if the sync and quality aren't good, we have to repeat the process. And for other videos such as lectures, conference or informational talks we seldom find subtitles. If the subtitles can be made from the audio content of the videos, it will be very convenient for the users.
Brief code walkthrough:
1. Extracting the audio from videos using JAVE. It is a Java library that is a wrapper around ffmpeg. VideoToAudio class handles the conversion process.
Brief working:
a. Open source and destination files
b. Set AudioAttributes for the output file. Program set to encode audio in 16 kHz, 16 bit mono wav format.
c. Encoder class used for extracting audio from source with AudioAttributes into destination file. Encode () in encoder class takes these 3 parameters and does the extraction procedure.
2. Extracting speech from audio using Sphinx4 Java library. Transcriber class handles audio to text conversion. Brief working:
a. Every speech recognition process requires 4 attributes- the dictionary, language model, acoustic model and speech source.
b. Set dictionary, language model and acoustic model as described in Dataset description.
c. StreamSpeechRecognizer class takes in audio source from a stream for recognition. StreamSpeechRecognizer object is made with earlier set configuration.
d. SpeechResult container is used for holding result of recognition performed by StreamSpeechRecognizer object. The recognition is performed till no more result is obtained from input stream.
e. SpeechResult gives words along with the timestamp in a format used by subtitle files.
This IT Assignment has been solved by our IT Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.