Рет қаралды 30
It all started when I decided to reverse this song because I felt that it sounded better when the high frequencies slowly increased in volume. Then I thought of creating visuals for this video. And in order to create them, I first had to convert the audio into a .raw file using FFmpeg. After that, I converted the .raw file into an mp4 file also using FFmpeg. And finally, I adjusted the speed of both the audio and video so that they would align properly.
Here is the console command that can be used to convert mp3 files to raw format:
"ffmpeg -i input.mp3 -f s16le -acodec pcm_s16le -ac 2 -ar 44100 output.raw"
Regarding the command to convert the .raw file to mp4, it was not saved in the terminal history. However, I do remember some details about it. It uses rgb8, which means that one byte equals one pixel, and its resolution is 100x100.