3
I have my music library on my machine in flac and ogg format. However, to be able to listen to the music in the car, I convert the flac/ogg files to mp3 using ffmpeg. There are a couple of issues that I don't understand how to fix:
ffmpegseems to automatically read the tags from ogg/flac files and convert them to mp3 tags. For a flac file all I need to do isffmpeg -i input.flac output.mp3and this is done. For an ogg file, I need an additional command line parameter:ffmpeg -i input.ogg -map_metadata 0:s:0 output.mp3. Now, the issue is that when I have multiple tags under same key, for example multipleARTIST=tagsffmpegmerges them as a singleTPE1tag in the mp3 file (which is very useful) but it puts a single;in between two values. For example, if the ogg/flac file has two artist tags asARTIST=Artist OneandARTIST=Artist Twothe mp3 file will have aTPE1which reads asArtist One;Artist Twowhich is a bit wired. I was wondering how can I tellffmpegto use another delimiter to join two filed, for example;(so that the resultingTPE1tag in the above readsArtist One; Artist Twoinstead)?- I have embedded the cover art images of the albums into the flac/ogg files. This is precisely done using
--import-picture-fromoption ofmetaflacfor flac files and settingCOVERARTtag equal to the output ofbase64 --wrap=0 cover_imagefor the ogg files. Now, in conversion to mp3 usingffmpegas explained above everything works fine with flac and the cover art image is also automatically embedded in the output file but for ogg files, the resulting mp3 will not have the image. Am I doing something wrong?