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:
ffmpeg
seems 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.mp3
and 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=
tagsffmpeg
merges them as a singleTPE1
tag 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 One
andARTIST=Artist Two
the mp3 file will have aTPE1
which reads asArtist One;Artist Two
which is a bit wired. I was wondering how can I tellffmpeg
to use another delimiter to join two filed, for example;
(so that the resultingTPE1
tag in the above readsArtist One; Artist Two
instead)?- I have embedded the cover art images of the albums into the flac/ogg files. This is precisely done using
--import-picture-from
option ofmetaflac
for flac files and settingCOVERART
tag equal to the output ofbase64 --wrap=0 cover_image
for the ogg files. Now, in conversion to mp3 usingffmpeg
as 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?