forum

osu!record - automatic osu! replay .OSR to Youtube service

posted
Total Posts
1,508
show more
Mara
For some reason it says it detected DOUBLETIME/NIGHTCORE in nomod replay, causing the video to end too early.

Topic Starter
Darkimmortal

Mara wrote:

For some reason it says it detected DOUBLETIME/NIGHTCORE in nomod replay, causing the video to end too early.

Removed DT/NC 'support' (I have a sneaking suspicion it was coincidental it worked at all :P) entirely, better to record past the end of DT than to stop early on non-DT

I'll look into the proper method of length reading (ie decoding the 7z) tomorrow, if my server is still in one piece! :P
Ephemeral
the code for this would be a lovely thing to see

EDIT: i can also help you adjust the offset if need be, looks a wee bit late
Topic Starter
Darkimmortal

Ephemeral wrote:

the code for this would be a lovely thing to see

EDIT: i can also help you adjust the offset if need be, looks a wee bit late
You really don't want to, it's horrendous :P

Probably not going to open source it any time soon, but I'll send you a wee pm to peek through when I get a chance to clean it up tomorrow :)

As for the offset, late/early always confuses me: assuming I'm padding the start of the audio track with 16ms of blank, should I increase or decrease that padding?
Kuro
Offset is a tad bit late.. but other than that it's fine. I also tested a taiko replay on it because all of the other replays looked good.
Not a good choice to make because the play field is constantly moving so you can tell when frame rate drops(?) or if there is lag(?), sometimes the taiko play field starts shaking like a leaf in a blizzard :lol:
Kuro

Ephemeral wrote:

the code for this would be a lovely thing to see

EDIT: i can also help you adjust the offset if need be, looks a wee bit late
Tsk, beat me to it... :P
Topic Starter
Darkimmortal

Kuro wrote:

Offset is a tad bit late.. but other than that it's fine. I also tested a taiko replay on it because all of the other replays looked good.
Not a good choice to make because the play field is constantly moving so you can tell when frame rate drops(?) or if there is lag(?), sometimes the taiko play field starts shaking like a leaf in a blizzard :lol:
Aye the GPU and hard disk can't always keep up sadly, if only I had a basic discrete gpu in there along with twice the ram :P

I've taken out the 16ms padding entirely, see if that's any better now offset-wise
Ephemeral
should be, UO is rarely needed except on very old sound cards in my experience

also, regarding messy code: you've never seen my contributions to osu! source code.. i feel like an elephant living in a bird colony when compared to the other devs sometimes!
Topic Starter
Darkimmortal

Ephemeral wrote:

should be, UO is rarely needed except on very old sound cards in my experience
Aye you're probably right, the audio stack it's going through scares me though :P

Various alsa hooks, probably a bit of pulseaudio thrown in along the way, hnnnnng


At least I'm not trying to asynchronously capture from the pulseaudio equivalent of stereo mix and sync it up with a variable frame rate video (any more), now THAT was madness! :P

Also speaking of the osu source code, would it be possible to get the code for decoding replays? I'm at a total loose end with determining length/doubletime properly, I guess what I need is in the mysteriously compressed part
zetsumeiIkari
I'm trying it now dark as i'm so pro at this game and all i will find this really useful XD
Well cool though
Kuro

Darkimmortal wrote:

Kuro wrote:

Offset is a tad bit late.. but other than that it's fine. I also tested a taiko replay on it because all of the other replays looked good.
Not a good choice to make because the play field is constantly moving so you can tell when frame rate drops(?) or if there is lag(?), sometimes the taiko play field starts shaking like a leaf in a blizzard :lol:
Aye the GPU and hard disk can't always keep up sadly, if only I had a basic discrete gpu in there along with twice the ram :P

I've taken out the 16ms padding entirely, see if that's any better now offset-wise
Better, I also tested a song that was more than 6 minutes long. I was seeing how far into the replay it would go. :D
DJ Angel
thumbs up for this one, gonna wait anxiously for new updates
Mithos
Why can't I star this? xD
Topic Starter
Darkimmortal
Update: thanks to statementreply, doubletime/nightcore detection now works perfectly - no more running on way past the end :)

Additionally, I've added code which scrapes the length from the online page for the correct difficulty if it can't be determined from the HP/time graph data in the .osr file, so basically no more recordings stopping early.
peppy
You should add a historical display of previous conversions on the page somewhere, in my opinion.
Kuro

Darkimmortal wrote:

Update: thanks to statementreply, doubletime/nightcore detection now works perfectly - no more running on way past the end :)

Additionally, I've added code which scrapes the length from the online page for the correct difficulty if it can't be determined from the HP/time graph data in the .osr file, so basically no more recordings stopping early.
Nice fix, would that also include songs longer than 5 minutes? That "test" I ran capped the replay at 6:08, which wasn't too far off though. The replay only had a few more seconds left on it.

Edit: The offset is better too might need some fine tuning but other than that, it was fine.
Topic Starter
Darkimmortal

peppy wrote:

You should add a historical display of previous conversions on the page somewhere, in my opinion.
Yeah I've been recording the data for that, just need to add a page to display it

In fact the whole UI needs redone properly, it's literally a 30 minute job as it stands :P


Kuro wrote:

Darkimmortal wrote:

Update: thanks to statementreply, doubletime/nightcore detection now works perfectly - no more running on way past the end :)

Additionally, I've added code which scrapes the length from the online page for the correct difficulty if it can't be determined from the HP/time graph data in the .osr file, so basically no more recordings stopping early.
Nice fix, would that also include songs longer than 5 minutes? That "test" I ran capped the replay at 6:08, which wasn't too far off though. The replay only had a few more seconds left on it.
That's probably due to the second thing I fixed, so it's worth trying again
Fenek Alfa
I wanted to record a replay, signed in and stuff, but then the page denies itself

The page says it started recording, but the console says "stop loading shite that isn't a replay"

Map: http://osu.ppy.sh/b/105325

I'm guessing that's the BP<273 thing.
Topic Starter
Darkimmortal
Update: Fixed several inaccuracies in the various regexs
Kuro

Fenek Alfa wrote:

I wanted to record a replay, signed in and stuff, but then the page denies itself

The page says it started recording, but the console says "stop loading shite that isn't a replay"

Map: http://osu.ppy.sh/b/105325

I'm guessing that's the BP<273 thing.
Are you sure you're uploading the replay(.osr) and not the .osu?

All of your replays should be saved in C:\Program Files (x86)\osu!\Data\r or C:\Program Files\osu!\Data\r depending on your processor and OS
Make sure the extension ends in .osr
Fenek Alfa

Kuro wrote:

Are you sure you're uploading the replay(.osr)?
Yep. http://www.mediafire.com/?omm78gayagcpbba

EDIT: nvm, now it works just fine
Topic Starter
Darkimmortal

Fenek Alfa wrote:

Kuro wrote:

Are you sure you're uploading the replay(.osr)?
Yep. http://www.mediafire.com/?omm78gayagcpbba
Aye it was a bug that I've fixed now

(using regex's to process binary file formats is never a good idea :p )
Kuro

Darkimmortal wrote:

Fenek Alfa wrote:

Yep. http://www.mediafire.com/?omm78gayagcpbba
Aye it was a bug that I've fixed now

(using regex's to process binary file formats is never a good idea :p )
Ah lol, cool :lol:
Bass


Why it doesn't show top 40 of Global?
Topic Starter
Darkimmortal

Bass wrote:



Why it doesn't show top 40 of Global?
peppy doesn't want it logged in
Ren
Will you release it?
Topic Starter
Darkimmortal

Ren wrote:

Will you release it?
Possibly once I basically rewrite the entire thing as it's in quite a state atm

Also it might be difficult to get running on anything but arch linux and has loads of very specific dependencies
Ren
Can we discuss it on skype? I'll pm you now.
Arnold0
OOps
Querying osu! api for map info... ID 49001... Difficulty 154391... Not found, t
rying artist/title match... Not found. (map too new or not ranked?)
:(
It's a good concept, hope newest ranked map will be added soon ;)
Topic Starter
Darkimmortal

Arnold0 wrote:

OOps
Querying osu! api for map info... ID 49001... Difficulty 154391... Not found, t
rying artist/title match... Not found. (map too new or not ranked?)
:(
It's a good concept, hope newest ranked map will be added soon ;)
Yeah it runs off a set of beatmaps from a private mirror system that I run, usually add the new packs every month

(Would kill for access to the official beatmap mirror sync system)
Oshyu
Omg ...
I was too lazy for the rendering , encoding & uploading ...
It works very well for me .
Thx so much ^^
http://www.youtube.com/watch?v=FGBE1ULLIb8&feature=share&list=UUfPoaUmerB35anfvHzm1eFg
Ps : Approved for lazies, by a lazy .
Arnold0
Even map with video works without make the intel chipset lagging :o
DJNightmare


Awesome, the website gave alot of useful information about the last successful video, and also give's enough live streaming on the website to realise where it is. And the console was very helpful as i know when did the recording start, ended, or the converted. Also, 720p HD! Although it seems that the gameplay was resized to a very small window... Or is it just me? >.<
Topic Starter
Darkimmortal

DJNightmare wrote:

Awesome, the website gave alot of useful information about the last successful video, and also give's enough live streaming on the website to realise where it is. And the console was very helpful as i know when did the recording start, ended, or the converted. Also, 720p HD! Although it seems that the gameplay was resized to a very small window... Or is it just me? >.<
Yes the game runs at 640x480 which is then upscaled to 960x720. Sadly the GPU isn't quite up to running 800x600 or higher smoothly

The upscaling process makes osu! content look vastly better on youtube, even compared to uploading it at native 720p equivalent or higher (you end up with loads of aliasing in the final product in this case). Just a quirk of whatever way Youtube's final encoding process works

Upscaling to 1080p looks even better, but it's not worth the speed tradeoff (takes more than twice as long)
Hanyuu
Thanks alot for this :) it worked great and is 1000 times as if i woul do that :D
420Guy
Awesome! ><
ApolloFortyNine
Just wanted to say thanks! Easy to use, and works flawlessly from what I can tell. Nice job!
Atomix210
Could you add a list of uploaded video with this "tool" on the site?
Elysion
Mh... is it normal I just can't get a good recording from this ? Like, it won't start the replay or something.

Probably because it doesn't have the map, dunno. I'll let the video so you get what I mean.



If it is because of that "private mirror", tell me if you ever need some uncommon hard maps or something.

Getting the original mirror would be nice tho'...
Winshley
The only thing that catch my eye is the weird font text on the "REPLAY MODE - Watching <user> playing <artist> - <song> [<difficulty>]" and the OSR information at the top of result screen. I guess it's because the game can't find the required font. :P

The video has good quality (though not as good as what I uploaded myself, but I can't blame you if this is intended to allow other users to upload their OSR as well). Timing-wise, I find it acceptable without any noticeable de-sync. Upload speed is blazingly fast! :O I would love to see online scoreboard though, if only it's possible to see without logging in... :? Overall, it's still satisfying nevertheless.

If you want me to "break" the server, I probably would go on uploading a lengthy Marathon map OSR, but I'm just afraid I would get banned from using the service for that. :P


@Elysion: Your video is set to Private.
show more
Please sign in to reply.

New reply