forum

[Proposal] Prohibit use .mp4 format for video usage due to game crashes.

posted
Total Posts
14
Topic Starter
defreeyay
It's probably no secret to many people that the .mp4 format can crash the game when you open the map for second or even the first time. There were multiple reports of such videos and in final result the map was dqed for, see beatmapsets/1788354/discussion/-/generalAll#/4072492

According to my researches, the formats that do not crash the osu! game are .avi and .flv
Examples of the maps:
s/423500 (.flv format)
s/2235815 (.avi format)
s/2105253 (.mp4 format)

You can also look about it yourself by trying to open the map several times with the .mp4 format that I linked above and with the other ones and make sure that it crashes with the .mp4 format, but doesn't crash with others ones (while they have the same H264 codec but different formats)

Taking this into consideration I have the following proposal:
A video must be encoded in .avi or .flv format.

This is the first time when i making posts like this, so will be glad to hear more feedback on this.
Daycore
we were discussing this in dms and i agree with what defree says here

it's very annoying to do video checks when modding because it's impossible to open the map folder via game, so i have to look for the folder myself

never had any problems with .avi nor .flv formats, so i think it would be a good rule to add for ranking criteria
Malphs
Agree, but I think this issue should be investigated further.

The use of .avi is definitey an immediate solution, but what if this is a code issue from the developers side?

I think it's sensible to report this concern to the higher ups to see if it has something to do with it.

If they end up not finding anything, then changing the RC to disallow .mp4 would be nice.
Daycore
well, this have been reported in the past here => https://github.com/ppy/osu-stable-issues/issues/1038

as you can see, peppy says "no idea" about was causes the issue and nothing changed since then, so uhhhh

windows 10, not using lazer, nvidia 2070 super (driver ver is 560.94)
iRedi
Ive been suffering from this problem and affects my ability to do bn checks since the very start so I definitely agree with this.

Some may argue that peppy should fix this obvious bug rather than changing the RC but its obvious that he is not going to.
chocomilku-
i haven't encountered this problem ever but i agree with Malphs that this should be investigated with the stable devs before making the call to disallow it
somewhat relevant info: i've only used laptops with igpus (both intel and amd)
Net0
I could be wrong, but I remember .avi and .flv were way more common in the 2000's as file types compared to .mp4 (when the game was made). Personally, I never had this issue, but I'm using an old plataform with windows 10. We definetly could use some help from the dev team to check this before pushing this to RC.
Drum-Hitnormal
this is clearly dev issue.

i been only using mp4 for all my videos, had no issue at all.

mp4 is very common video format, this issue is likely due to change in osu client/windows

dont think rc is the right way to fix it, u gonna change rc everytime theres a bug in client? today it can be mp4, tmrw it can be flv, day after it can be avi

dev issue let dev fix.

btw im on windows 10, not using lazer

rc should remain stable
bugs come and go depending on client and windows update, rc is also applies to both stable and lazer client. so changing rc for a bug that happens in some situation is not right

even if u apply this temp fix on rc, when dev fix bug, u need revert it. better just issue PSA on website, spam dev to make them realize its big bug and get it fixed faster
Net0
After doing some research myself I agree with Drum-hitnormal. While .avi does get the job done, the file size tends to be bigger for the same quality compared to .mp4 (which would decreased the quality of the already limited size of videos in osu!) . In the case of .flv while it is the best for file size, it's a very old and deprecated format that has more security issues compared to .mp4 ... I honestly think devs should just look into this and fix this issue because we have TONs of maps with .mp4 ranked and gatekeeping this format won't fix older maps anyway.
RandomeLoL
The proposal feels like is outside the scope of the RC. As other users pointed out, this should be dealt with at a software level. The issue should be investigated further to try and understand why this is even happening to begin with.

I strongly suggest documenting the issue further and opening a GitHub issue about it.

If a file is known to cause issues though, it should just be changed though. I don't think a special clause for it is needed as — I'd like to assume — that falls under common sense.
Nevo
I like my MP4s even if they crash the game because mp4s are what I like to use.

That's the full extent of my logic on this issue.

Tho it really should just be fixed dev side since I'm sure mp4s are the most popular file type (source is I made it up)
tilda

Nevo wrote:

(source is I made it up)
might as well be credible because it's basically true

speaking as someone who used to have this issue every time i opened a map with mp4 video and still have sets that occasionally just close my game whenever i try to look at them, i think this should definitely have some dev time allocated to it rather than band-aid fixing with rc amendments

(for the record i'm also the one who opened the github issue about it, probably should go and reopen it soon)
AJT
This was briefly discussed before but not much came of it. I won't comment on whether a rule such as this is beyond the scope of RC but personally I think a mention to the problem should be added on this page at least wiki/en/Guides/Compressing_files#video because I am quite sure that no dev attention will be given to this problem in the near future.
McEndu
I suggest running ffprobe (a commabd line media information viewer) on files that causes crashes, as well as those that don't, to narrow down the issue a bit. While most MP4 videos in osu! uses the H.264 (AVC) video codec, other codecs can be used with MP4 as well.
Please sign in to reply.

New reply