💾 Archived View for gemini.cyberbot.space › gemlog › 2021-06-19-ffmpegmonostereo.gmi captured on 2023-09-08 at 16:11:19. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-11-30)
-=-=-=-=-=-=-
FFMPEG is a great swiss army knife of media conversion and manipulation. This is a tip for future me more than anything because I will probably forget this again next time I need it. My Odroid Go can play audio files (ogg, mp3, FLAC) but there is a bug where the playback is distorted if the file is mono rather than stereo. This isn't usually a problem for music but I like listening to podcasts on my Odroid Go and some of the ones I listen to are mono.
So here is the very simple command to copy the audio track to a second channel thus converting it to stereo and making it playback normally on my Odroid Go. You're welcome future me.
ffmpeg -i input.ogg -ac 2 output.ogg