Ask coding questions

← Back to all posts
Play audio
littlepenguin (149)

This program, which is supposed to play audio doesn't.
Can someone help?

Answered by Bookie0 (6375) [earned 5 cycles]
View Answer
Bookie0 (6375)


I had a similar problem, open up the shell and do this:

ffmpeg -i audio.mp3 audio.wav # Convert to uncompressed audio-only wav format
ffmpeg -i audio.wav audio.mp3 # Convert back to mp3 format 
rm audio.wav # remove wav file

and replace audio.mp3 with ur music file

Bookie0 (6375)

also don't just copy paste this into the shell, type it out line by line, without the comments and in the first line replace audio.mp3 with your file, and in the second line replace audio.mp3 with a new audio file name with .mp3 at the end! ;) @Bookie0