1
Linux Tips & Tricks / Re: Batch converting .ogg to .mp3 keeping the ID tag metadata
« on: October 01, 2015, 10:06:19 pm »
I have a response on this old post, first to thank the original poster for this nice command. There was however a problem I encountered on Windows: the tags were not visible in Explorer and WMP (although correctly copied). A solution to this was found here and here and I wanted to share that solution.
So if Windows users have problems with the tags not showing up, one could try this:
So if Windows users have problems with the tags not showing up, one could try this:
Code: [Select]
for name in *.ogg; do ffmpeg -i "$name" -ab 128k -map_metadata 0:s:0 -id3v2_version 3 -write_id3v1 1 "${name/.ogg/.mp3}"; done;