community forum

[Rule] Video Max Size

posted
Total Posts
29
Topic Starter
HakuNoKaemi
The video's dimensions must not exceed 800x600. This is so video files keep a decent filesize and do not increase the beatmap's size by too much.
Explaining better.

The rule cover up only a single aspect ratio: the 4:3 (means that width/height proportion is 4:3, and is used by old CRT TVs and older monitor ), and the max resolution is 800X600.
Differently, new PCs and TVs have another aspect ratio, 16:9 to be more similiar to cinema's widescreen, and the resolution limit of those type of videos was 854X480 as an "agreement" within the community.

And still the rules didn't cover the usable formats ("container" more correctly) and the fact they shouldn't have the audio on.

  1. Video's dimensions must not exceed 800x600(4:3) or 854X480(16:9). This is so video files keep a decent filesize and do not increase the beatmap's size by too much.
  2. The extension of the video should be "avi" or "flv" and it shouldn't have an Audio Track, as the beatmap audio arleady provide that, so the video load on the Computer is decreased.
Mercurial
Oh... I mean you're talkin' about the size in Megabytes... sorry.
Topic Starter
HakuNoKaemi
Explained better now >.<.
Guess not all know about video formats, resolution and so...
ziin
IMO:
Max resolution: 800x600, 800x450 for 16:9 widescreen (widescreen is implied rule, no need to mention it).
Video should not have an audio track.
Always keep aspect ratio constant, don't stretch it.
Osu! only accepts avi and flv containers. Do not change the extension to force osu to read it (yes people have done this, and afaik libavcodec will read a lot of containers, just not very well since I think it's an old version or a very specified version that somehow passes the LGPL).
Maximum video size is the max beatmap size with video (no need to mention this), but try to keep it around 10 MB max. (10 MB limit can be a recommendation, since longer videos might use the whole 24 MB beatmap size)


Reasoning:
video size is not affected much by resolution. In fact, the larger the resolution, the better the image quality so long as you're not downsampling by playing the video at a lower resolution. Limiting it to 800 vertical lines and 600 horizontal lines makes the rule simple and easy to follow, and lets you almost always resample from a larger source. 848x480 is not a true 16:9 resolution and IMO should be avoided, but an argument could be made either way. What if I wanted to make an 848x636 video with black bars making it 16:9 to offset the video properly so it would display in taiko? It would be a special case, and would certainly be accepted, but would be yet another exception to the rule. Keep it simple folks. 48 more lines is negligible.

Osu does not support widescreen well, so 16:9 should be the smallest aspect ratio (no 2.32:1) but we haven't had a problem with this so there's no reason to mention it now. If osu supported widescreen, I might support a larger resolution for widescreen, but that's a big "might".

Aspect ratio is a big problem in TVs now and is somehow ignored by many people (I can't stand it). I've found most people prefer to keep aspect ratio, and those who stretch the aspect ratio don't actually care either way.
Topic Starter
HakuNoKaemi
there are many (like 20) aspect ratios, but the most used are still 16:9 and 4:3. I don't remember the cinema's one...

Anyway, the 480p (854x480) is much like a standard used within many fansubs and should be more famous than 800x450, as so I think it's better to say it...

Anyway, resolution do affect video size depending on bitrate, the difference between a 2Mbps 720p and 480p is larger than the difference between an 0,5 Mbps 720p and 480p and so.

The suggested codecs should be:
-.avi : Xvid(Larger filesize, less quality, less impact on performance), x264 (h264/avc)(smaller filesize, higher quality, small impact on performance), sony h264/avc (if you have vegas) (same as x264)
-.flv : was called FLV8? (smaller filesize, lower quality, less impact?) and FLV9 ( yet better call it x264(video)/AAC(audio) ) (same as x264)

but that's pretty much not needed.

Anyway, why they didn't update the draft when people on the MAT/BAT discussion ended talking about it?
ziin

ziin wrote:

What if I wanted to make an 848x636 video with black bars making it 16:9 to offset the video properly so it would display in taiko?
also, no reason to suggest any codecs. xvid and h.264 are givens, and h.264 is the only one I'll ever use.
mm201
Maximum pixelcount: 480,000. Don't use an aspect ratio wider than 16x9 or taller than 4x3.
Bitrate: Let's discuss.
ziin
I have 3 ideas:
we set one max bitrate a la the 192 kbps rule for the same reasons (keep filesize down). 1 Mbps is more than enough for anyone.
we set two max bitrates for h.263 and h.264, with h.263 being higher than h.264.
we set no max bitrate and let the max beatmap size do its job.
Topic Starter
HakuNoKaemi
the Beatmap filesize limit arleady limit the bitrate, so it's not worth setting a bitrate limit

(just like ziin said)
Kitsunemimi
I agree with leaving the max size to limit the bitrate.
Topic Starter
HakuNoKaemi
too with low bitrates stressing the graphic card too be seen decently
MoodyRPG
What about the calibrate from .mpg or .avi? must be mpg or avi?
Topic Starter
HakuNoKaemi
osu support only avi and flv contaners as now (as far I know, not mpg).
Say it's preferible you use x264 as codec and a bitrate from 0,4 to 1.6 Mbps
Anyway how about a song-lenght dependant size?
a bit higher limit in size for full sizes songs will be better (like "28 or 32 Mb"). A full size sog video bitrate is max 550 Kbps at like 18 Mb of weight, and it produce some artifacts that are deletable with like 700-900 Kbps of decoding.

The size is still contained, while the video quality is good. How's that?
Sakura
The video's dimensions must not exceed 800x600 and it should have it's Audio removed. This is so video files keep a decent filesize and do not increase the beatmap's size by too much. If you can't upload your beatmap because of the max size limit consider lowering your video bitrate

So something like this?
Mercurial

HakuNoKaemi wrote:

osu support only avi and flv contaners as now (as far I know, not mpg).
Go to "Songs" and search for this formats.

".avi .mpg .flv .wmv"

And watch out the results.
ziin
Just fyi, osu will play .mp4 on mine as well, but only if you change the extension.

Can someone with a bad computer volunteer for a test? I'd like to see what effect (if any) different codecs and containers have.

Or maybe I'll just underclock my computer significantly...
Ibuki Suika
1024x576(16:9)is unrankable? :shock:
Sakura

Ibuki Suika wrote:

1024x576(16:9)is unrankable? :shock:
as mm201 said, max of 480,000 pixels, yours is 589,824 so yeah, unrankable.
Ibuki Suika

Sakura Hana wrote:

Ibuki Suika wrote:

1024x576(16:9)is unrankable? :shock:
as mm201 said, max of 480,000 pixels, yours is 589,824 so yeah, unrankable.
http://osu.ppy.sh/s/37749

I think use the 1024x576 size can controlled the quality&file siezin a good range(for tvsize map

:D
mm201

ziin wrote:

Just fyi, osu will play .mp4 on mine as well, but only if you change the extension.

Can someone with a bad computer volunteer for a test? I'd like to see what effect (if any) different codecs and containers have.

Or maybe I'll just underclock my computer significantly...
Fwiw, my 2006 rig lags pretty bad on h.264 videos. I think this has more to do with it being single-core than any processing requirement, since the videos play fine on their own. Disabling additional cores should be the first thing you do to benchmark low-spec performance.
You could also provide me with a bunch of maps and I'll test them.
show more
Please sign in to reply.

New reply