Hi. I made another proposal in regards of some audio files may contain embedded images (usually in form of jacket/album art). These embedded images do not serve purpose for osu!, just like audio tracks has no purpose in beatmap's videos. As such, this is a simple rule proposal I made, by paraphrasing similar rule on video:
I think we need to add this rule since there are no rules or guidelines regulating these, which means there is a potential of wasted space for something we don't even use. In extreme cases, it can bloat the audio file unnecessarily big especially for ogg files since their overall bitrate will be misinformed. Here is the comparison:
As you can see, removing embedded image shrinks down the size from 5.87 MB to 5.75 MB, and corrected the overall bitrate from 200 kbps to 196 kbps.
With this proposal, it results in smaller audio files for a beatmap, and potentially better audio quality for ranked beatmaps without needing to unnecessarily use lower quality factor for ogg due to the embedded image present.
There are some ways to remove these:
An audio's embedded image must be removed from the audio file. The embedded image in an audio is not used in osu!, and removing it reduces the file size of the beatmap.
I think we need to add this rule since there are no rules or guidelines regulating these, which means there is a potential of wasted space for something we don't even use. In extreme cases, it can bloat the audio file unnecessarily big especially for ogg files since their overall bitrate will be misinformed. Here is the comparison:
As you can see, removing embedded image shrinks down the size from 5.87 MB to 5.75 MB, and corrected the overall bitrate from 200 kbps to 196 kbps.
With this proposal, it results in smaller audio files for a beatmap, and potentially better audio quality for ranked beatmaps without needing to unnecessarily use lower quality factor for ogg due to the embedded image present.
There are some ways to remove these:
- Use ffprobe to identify the stream index of audio and image, then ffmpeg to convert the audio so it does not map the image. For example, if the audio index is 1 and the image index is 0, and converting to ogg with Q6, use this:
ffmpeg -i "input.mp3" -c:a libvorbis -q:a 6 -map 0:a:1 "output.ogg"
The argument-map 0:a:1
will map the index 1 of source to index 0 of destination. That way, the index 0 of source which contains image won't be mapped, so the output audio won't have embedded images. - Use tag editors. For example, using AIMP, you can right-click an audio file and choose AIMP > Edit tags. This will bring up a window where you can choose what to do with the images.
Look for the album art on bottom right, then right-click it and choose Delete. Then, save file. It will overwrite the existing file, so no embedded images present on the audio file.