Sign In To Proceed 435v5c

Don't have an ? 473g1v

osu! to create your own !
forum

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

posted
Total Posts
1,511
Topic Starter
osu!record allows you to a (tiny) .osr replay file, and the server will launch an instance of osu!, record the replay to a video, encode it to a suitable format and it to your Youtube .

Total turnaround time: about 5-10 minutes.

No need to fiddle with Dxtory/Fraps, no need for complex conversions and no need for lengthy s. :)


http://osurecord.weeaboo.com/

Rest in pepperoni 2012-2017
Cool concept.
Seph
WHOA REALLY?

this be the coolest shit ever for people with low spec pcs
I am highly impressed.

I have a suggestion. Instead of adding http://osu-ppy-sh.jeuxcrack.net/s/* link in the desc, add http://osu-ppy-sh.jeuxcrack.net/b/*.
Topic Starter

Mara wrote: 1293c

I am highly impressed.

I have a suggestion. Instead of adding http://osu-ppy-sh.jeuxcrack.net/s/* link in the desc, add http://osu-ppy-sh.jeuxcrack.net/b/*.
Aha so that's what the other value from the getscores script is!

Will get that implemented :)


Posting my result here.

For some reason it shows the result screen for a looooong time. Other than that, beautiful.
Topic Starter

Mara wrote: 1293c

For some reason it shows the result screen for a looooong time. Other than that, beautiful.
Yeah you've hit the doubletime bug, I need peppy or another dev to answer my question on the other thread before I can fix it :(
Topic Starter

peppy wrote: 6w4l42

Cool concept.
Cheers :)

Would you kill me if I create an extra for this? It keeps popping up PM notifications etc. on the videos
Would this work with taiko? :3
Topic Starter

Kuro wrote: 2z3c2

Would this work with taiko? :3
Very likely so, yeah
It would be optimal if you don't via osu! when recording.
Topic Starter

peppy wrote: 6w4l42

It would be optimal if you don't via osu! when recording.
Noted, will see about auto closing the dialog then
I am in awe. This thing is absolutely amazing. For the notifications, you can disable them in the options.


Just 2 things I've noticed/encountered:

1. First try ing ANY replay had failed from my side, I had a message the length can not be established (tried every mod and nomod). Then after another person put a video the went okay without problems (tried same replay as previously). Just pointing this out.
2. The sound seems a little off, like a few ms early.

Anyways, this is great. Good job there.
Topic Starter

fartownik wrote: 64d9



Just 2 things I've noticed/encountered:

1. First try ing ANY replay had failed from my side, I had a message the length can not be established (tried every mod and nomod). Then after another person put a video the went okay without problems (tried same replay as previously). Just pointing this out.
2. The sound seems a little off, like a few ms early.

Anyways, this is great. Good job there.
1. I applied a fix for that just there now, I think the replay format changed at some point in the past because all the replays you ed are missing the length info that's present in all the examples I've put through it until now. I'll have to see about decoding the 7z (I think) stream that most of the replay consists of and/or scraping the highscores page to make a proper fix at some point

2. Increased the offset from +12ms to +16ms, might be a little better now (inb4 I've gone the wrong way :P)


Shiro wrote: 3e4m3t

I am in awe. This thing is absolutely amazing. For the notifications, you can disable them in the options.
Unfortunately that doesn't work, there's a handful of options that don't save correctly under Wine/Linux

I've fixed it so it works as guest now though, not logged into my any more when recording
Seph


amazing that it works on ctb too, though no online scoreboards ;;

anyways great job!
The first time i tried to use it i ed the wrong replay but i found it this time >:D
Topic Starter

Seph wrote: e4q1c



amazing that it works on ctb too, though no online scoreboards ;;

anyways great job!
Aye no anymore = no bancho = no scoreboards :c
For some reason it says it detected DOUBLETIME/NIGHTCORE in nomod replay, causing the video to end too early.

Topic Starter

Mara wrote: 1293c

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

Removed DT/NC '' (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
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

Ephemeral wrote: 4k296t

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?
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:

Ephemeral wrote: 4k296t

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

Kuro wrote: 2z3c2

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
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

Ephemeral wrote: 4k296t

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
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

Darkimmortal wrote: 1oh39

Kuro wrote: 2z3c2

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
thumbs up for this one, gonna wait anxiously for new updates
Why can't I star this? xD
Topic Starter
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.
You should add a historical display of previous conversions on the page somewhere, in my opinion.

Darkimmortal wrote: 1oh39

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

peppy wrote: 6w4l42

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: 2z3c2

Darkimmortal wrote: 1oh39

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
I wanted to record a replay, signed in and stuff, but then the page denies itself
pic

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

Map: http://osu-ppy-sh.jeuxcrack.net/b/105325

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

Fenek Alfa wrote: 192p4s

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

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

Map: http://osu-ppy-sh.jeuxcrack.net/b/105325

I'm guessing that's the BP<273 thing.
Are you sure you're ing 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

Kuro wrote: 2z3c2

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

EDIT: nvm, now it works just fine
Topic Starter

Fenek Alfa wrote: 192p4s

Kuro wrote: 2z3c2

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

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

Darkimmortal wrote: 1oh39

Fenek Alfa wrote: 192p4s

Yep. http://www.mediafire.com/?omm78gayagbba
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:


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

Bass wrote: f2t3h



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

Ren wrote: 3s645r

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
Can we discuss it on skype? I'll pm you now.
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

Arnold0 wrote: 6g3r1c

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)
Omg ...
I was too lazy for the rendering , encoding & ing ...
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 .
Even map with video works without make the intel chipset lagging :o


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

DJNightmare wrote: 261n2z

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 ing 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)
Thanks alot for this :) it worked great and is 1000 times as if i woul do that :D
Awesome! ><
Just wanted to say thanks! Easy to use, and works flawlessly from what I can tell. Nice job!
Could you add a list of ed video with this "tool" on the site?
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'...
The only thing that catch my eye is the weird font text on the "REPLAY MODE - Watching <> 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 ed myself, but I can't blame you if this is intended to allow other s to their OSR as well). Timing-wise, I find it acceptable without any noticeable de-sync. 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 ing 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.
This looks nice, however I am interested in what kind of video codec do you use. Looking at the vids, they look somewhat pale (probably due to bad color conversion on rgb?).
Topic Starter

lolcubes wrote: u93m

This looks nice, however I am interested in what kind of video codec do you use. Looking at the vids, they look somewhat pale (probably due to bad color conversion on rgb?).
I haven't really noticed any colour difference to be honest

The capture is done in BGR (no idea bits/pixel) which GLC internally converts to YUV420 (I guess any flaws in this conversion would be considered a bug in GLC). Colourspace isn't touched beyond this

Codec-wise, uncompressed+lossless GLC mystery format -> YUV4MPEG (GLC internal conversion) -> x264 via ffmpeg
This is amazing. I'm bookmarking this for future replays


will it still despite this?

I guess I'll have to wait and see :P
Topic Starter

kriers wrote: 615o5i



will it still despite this?

I guess I'll have to wait and see :P
No that's a fatal error

I've not yet had a chance to hook up the API that allows it to stay constantly 100% up to date with ranked maps
Apart from like 15 seconds in the score screen after played (not gonna hurt me), everything was fine. Thanks!

Axuxa wrote: 6c3pr

Apart from like 15 seconds in the score screen after played (not gonna hurt me), everything was fine. Thanks!
You can use the youtube post-editing tools to adjust clipping at either side.
silma should record his half time play on the Within Temptation marathon.
it didn't do my replay correctly
http://www.youtube.com/watch?v=by2V9e0yDCw

This was the first attempt I did and this is what it gave me.

I'm going to try doing it again to see if it was just a small bug or something.

Edit:
on my second I saw that it did this, it did this before but I wasn't sure if it was normal since the site is still new

Extracting replay length... Got 93000msFAILED to detect mod flags

No dice, same thing happened
http://www.youtube.com/watch?v=cXTYak7Kwk8

JappyBabes wrote: 5m344u

silma should record his half time play on the Within Temptation marathon.
I tried ing that but it's too new for the API :(
Topic Starter

Dexus wrote: 5x17s

it didn't do my replay correctly
http://www.youtube.com/watch?v=by2V9e0yDCw

This was the first attempt I did and this is what it gave me.

I'm going to try doing it again to see if it was just a small bug or something.

Edit:
on my second I saw that it did this, it did this before but I wasn't sure if it was normal since the site is still new

Extracting replay length... Got 93000msFAILED to detect mod flags

No dice, same thing happened
http://www.youtube.com/watch?v=cXTYak7Kwk8
Your replay must be corrupt or incredibly old if even osu itself can't load it

Darkimmortal wrote: 1oh39

Your replay must be corrupt or incredibly old if even osu itself can't load it
I found out that it was the replay and that it didn't save properly.
show more
Please sign in to reply.

New reply 1b384i