forum

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

posted
Total Posts
1,511
show more
Topic Starter
Darkimmortal

Ephemeral wrote:

This is excellent work and has easily become one of the most used user-made projects we've seen so far.

Thank you for taking the time to make and host such a service. Expect something to come your way!
Thanks for the kind words! Really appreciated :)

It's a miracle the work of a couple of nights hacking has held together for so long :P
Suave_old_1

B00l3t wrote:

I followed another sites instructions on rendering my videos. Here's the result:



is it bad? Thoughts?
how did you get it to use your skin? :o
B00l3t

MnMz wrote:

B00l3t wrote:

I followed another sites instructions on rendering my videos. Here's the result:



is it bad? Thoughts?
how did you get it to use your skin? :o
I used Fraps and Sony Vegas
Avail_old_1
I'm guessing osu!record hates this map.

Tried getting osu!record to record it two times, both times it froze at a place (different place each time)
Topic Starter
Darkimmortal

[Avail] wrote:

I'm guessing osu!record hates this map.

Tried getting osu!record to record it two times, both times it froze at a place (different place each time)
Freezing is due to io contention, for best results record between 01:00 and 06:00 UTC
Mamoru Senpai


My result. Yes, the run is shit but I wanted to try this page asap (Since I need like 3 hrs for rendering and uploading a video).
Awesome work man, I appreciate this so much!
PwnageInc_old_1
MitiS - Open Window (feat. Anna Yvette) https://osu.ppy.sh/s/100628
Lindsey Stirling and Pentatonix - Radioactive https://osu.ppy.sh/s/98023
Lindsey Stirling - Electric Daisy Violin https://osu.ppy.sh/s/99566

Fear, and Loathing in Las Vegas - Scream Hard as You Can - Fails to upload, crashes to main menu for some reason, magically it did upload but had weird errors in it like freezing, and sound glitches. https://osu.ppy.sh/s/89979

If you could add the first three since they don't have beatmap packs/ are too new. That'd be dope, appreciate the work.
Keep it up, saves us people with the 10Kbps uploads from spending hours uploading. thank you
Topic Starter
Darkimmortal

PwnageInc wrote:

MitiS - Open Window (feat. Anna Yvette) https://osu.ppy.sh/s/100628
Lindsey Stirling and Pentatonix - Radioactive https://osu.ppy.sh/s/98023
Lindsey Stirling - Electric Daisy Violin https://osu.ppy.sh/s/99566

Fear, and Loathing in Las Vegas - Scream Hard as You Can - Fails to upload, crashes to main menu for some reason, magically it did upload but had weird errors in it like freezing, and sound glitches. https://osu.ppy.sh/s/89979

If you could add the first three since they don't have beatmap packs/ are too new. That'd be dope, appreciate the work.
Keep it up, saves us people with the 10Kbps uploads from spending hours uploading. thank you
Seems the API endpoint I was using changed slightly, so all beatmaps ranked since the 11th of this month were not downloaded. This has been resolved, but it will take a few hours due to download limits etc.

Any beatmaps that consistently don't record without glitches are probably using some obscurity and/or extremely heavy storyboarding. Keep in mind that if osu! had minimum system requirements published (if it does i'm not aware), my server would be at the borderline, and that's if it were running Windows.
Vincentmrl
Great work with the server, but I have an idea, why don't you put a button to upload the beatmap in case it's missing? it could be useful instead of waiting months for the beatmap.
Kary_old_1
I don't get it. I tried to upload a .osr file but then it started recording my screen? O_o WTH!

Here's the recording http://www.youtube.com/watch?v=fS918P0SZJg
Topic Starter
Darkimmortal

Kary wrote:

I don't get it. I tried to upload a .osr file but then it started recording my screen? O_o WTH!

Here's the recording http://www.youtube.com/watch?v=fS918P0SZJg
what were you expecting?

(and no it didn't record your screen)
[Kanzaki Ranko]
Is the site down or something ATM?
Topic Starter
Darkimmortal

Maav wrote:

Is the site down or something ATM?
Unannounced network outage, blame http://www.gamingdeluxe.co.uk/
[Kanzaki Ranko]
Oh.
Also, the way it's done right now wastes a fuckton of bandwidth (people uploading stuff before checking if there's an available slot).
Why don't you make it check server load upon clicking "Upload Replay", and then, if it's available for someone to make a video, have the browser upload the file(s) and start recording (if possible, have that client get a reserved slot for 20 seconds or so, this way it'll be more friendly to people with low bandwidth who want replays recorded with a certain skin).
iys
What about queue system ^^
CyberKitsune
Is it possible to enable the hit error bar in the osu on the server?

Also out of curiosity, what are the specs of the VPS / Dedi running this? :3
Mizufluffy
Absolutely beautiful work! It didn't take much time to record replay or upload it to YouTube, most of my time actually went for waiting before I was able to get .OSR uploaded but I guess it's quite understandable because it can be used by only one person at a time (but perhaps some kind of queue system might help with that?). If only it just would let me decide which skin I'd like to use for record then I'd be more than happy. But even now this is 2nd best osu! related thing I found out after I started playing osu! (the best being time when I learned how many great beatmaps I'm able to download).

I definitely hope you will keep up good work with this!

Edit:
I just noticed there is upload for .OSK files too so I guess skins shouldn't be a problem in that case..
[Sean]
I'll have to say this is pretty mind blowing.

A few things I personally want to clarify, and note down:

-The recording settings? It looks like you're attempting to lock 60fps? Or is it lower?
-Compression settings? They look pretty decent, wouldn't mind seeing what and how you're doing it.
-Server seems to spike during sections with large amounts of sprites on the play area. You might need to look at a stronger server (opinion).

The offset is perfect.
It's effortless, just upload .osr and walk away.

If I was to upload an .osk, it would play that map with the skin on, right?


Apart from that, well done broskies!
Avail_old_1
^The recording settings are probably set to that since he's recording from a dedi box running Arch linux, and osu doesn't work the best with non-windows-y operating systems.
He's using ffmpeg witha custom command line, ffmpeg is arguably the best encoder there is.
It's running on a server, and 95% servers don't have dedicated GPUs, that might be the cause
[Kanzaki Ranko]

[Avail] wrote:

It's running on a server, and 95% servers don't have dedicated GPUs, that might be the cause
It doesn't have a dedicated GPU. He mentioned an Intel GMA a while back (which means osu! is running pretty well for a Linux server).

[Sean] wrote:

If I was to upload an .osk, it would play that map with the skin on, right?
That's the idea.


@Darkimmortal
People touched the .osk subject and it made me remember: At what resolution does osu!record run the game?
@2x skins without "normal" elements break if the resolution is <800px high, and uploading a full .osk would take ages (wasting bandwidth and possibly making you lose your chance)
Avail_old_1
What about being able to link .osk files from other hosts? Like, upload your skin only once (to by example puush or up.ppy.sh), and then be able to just link it each time you want to upload a replay. (Would be a lot easier for me, too, since my net is quite crap)
PartyPancake_old
Could you add yt:stretch=16:9 to the tags? Would be awesome! ;)

Edit: I know you can add that manually but it takes some time :3 And some don't know this trick!
[Kanzaki Ranko]

[Avail] wrote:

What about being able to link .osk files from other hosts? Like, upload your skin only once (to by example puush or up.ppy.sh), and then be able to just link it each time you want to upload a replay. (Would be a lot easier for me, too, since my net is quite crap)
He mentioned that is planned in the past.

PartyPancake wrote:

Could you add yt:stretch=16:9 to the tags? Would be awesome! ;)

Edit: I know you can add that manually but it takes some time :3 And some don't know this trick!
Just... no.
Video stretching is shit. SHIIIIIIIIIIIIT. If he could record at actual 16:9 it would be good.


Edit:
Is Lunati actually spamming the system or is it a bot? *sighs*
PartyPancake_old

Maav wrote:

Just... no. Video stretching is shit. SHIIIIIIIIIIIIT. If he could record at actual 16:9 it would be good.
Yep, it would be good.
Hula
How come when I upload my skin it doesn't change the cursor >:(

[Kanzaki Ranko]

Hula wrote:

How come when I upload my skin it doesn't change the cursor >:(

The Youtube tag works with the video ID (the part after ?v=, in that case, -ibhU3D6I48), not the link.

And the cursor in your video isn't the default one. The default one is this:

This is a video with a skin (with cursor) I uploaded:

But in your case the map probably has a custom skin (like this one, I didn't upload a skin with this replay):



Edit:
@Darkimmortal: Could you please add the diff's name to the video title? Shouldn't be something hard to implement... (maybe even a toggle for that?)
Hula
Oh, how come you don't tick 'Always use skin cursor' then? Thanks for clearing that up though, I forget maps have unique skins
Argonatesify
I use a skin with a non rotating cursor, but when it records, it rotates. Can that be fixed?
Kamikaze
Something's weird with recording, it records only "Your beatmaps are being processed" screen as shown here:
Rika-chan
Yup, can confirm above also. Everything I've tried uploading and have seen uploaded in the past day is outputting nothing.
Elric
I can't upload mine , gives me an weird error.
Avner

....what....
Elric
"Your beatmaps are being processed"
I get this on my video, so weird ><
Dexem
I seem to have the same problem

well since youtube wont youtube. beatmap processing stuck on that screen thing yeah.
Zlew
yep, got dis beatmap processing problem too
Topic Starter
Darkimmortal
Fixed, looks like osu!.db got corrupt somehow
iys
Heeeey, it crashes every time on:

Starting osu! and beginning replay playback...  
Error: osu! failed to start after waiting 25 seconds. Over 9000 possible reasons for this, best bet is to
just try again.

I can see in a preview that it launches, plays the music, it goes to Play->Solo, and then it goes black D:

EDIT: Nevermind, it worked on like 5th attempt...
aliciasimoned
how come every time i upload one of my replays it doesnt show the skin i used
iys
Any chance for source code or at least some code snippets for self hosting? D:
It's kind of really annoying to sit ~10 minutes repeatedly clicking Upload.
Topic Starter
Darkimmortal

Maxorq wrote:

Any chance for source code or at least some code snippets for self hosting? D:
It's kind of really annoying to sit ~10 minutes repeatedly clicking Upload.
I will open source it when I get a chance to rewrite it. There's a few things that could become security holes with more knowledge of the workings (scary amount of sudo involved), and the code is currently at the standard of babby's first PHP
XinhQua
Thank you so much for fixing!!! :):):)
HansonIsBlack
I get many errors and have had no success after 30 mins. It also takes so long to get under 3.3
pitbull2k4
Same here. My video is just the 'processing maps' screen. For some reason I see other people uploading maps sucessfully (under "most recently uploaded map"), but all of mine are failing.
Topic Starter
Darkimmortal
Have added a check to abort recording if osu gets stuck on that screen

I don't know what is actually causing it
Argonatesify
osu!record has detected that osu! has closed, crashed or is display a dialog box. Probably needs an updat
e. [2]
:(
Topic Starter
Darkimmortal
Fixed
Rika-chan
Out of curiosity, what was the problem?
Topic Starter
Darkimmortal
The black screen/processing maps detection code was a bit trigger happy
iys

Darkimmortal wrote:

Maxorq wrote:

Any chance for source code or at least some code snippets for self hosting? D:
It's kind of really annoying to sit ~10 minutes repeatedly clicking Upload.
I will open source it when I get a chance to rewrite it. There's a few things that could become security holes with more knowledge of the workings (scary amount of sudo involved), and the code is currently at the standard of babby's first PHP
Um, what do you need root permissions for, and can it be easily avoided somehow?
Topic Starter
Darkimmortal

Maxorq wrote:

Darkimmortal wrote:

I will open source it when I get a chance to rewrite it. There's a few things that could become security holes with more knowledge of the workings (scary amount of sudo involved), and the code is currently at the standard of babby's first PHP
Um, what do you need root permissions for, and can it be easily avoided somehow?
It's more for interop between the web server user and osu user, nothing of significance actually runs as root

Also I've decided to make most of the source available: https://github.com/darkimmortal/OsuRecord
[Kanzaki Ranko]

aliciasimoned wrote:

how come every time i upload one of my replays it doesnt show the skin i used
Have you tried uploading the .osk? .osr files are played with the skin osu! is set to.



@Darkimmortal:
$sorryAgainPeppy is thebest variable name. Ever.


Edit1:
Also:
if(file_exists("/tmp/osurecord/replay.osk")){
echo "\n\n\n\033[01;31mInstalling skin... \033[0m";

exec("unzip -oj /tmp/osurecord/replay.osk -d /home/osu/osu/Skins/BESTSKINNU");
exec("rm -rf /home/osu/osu/Skins/BESTSKINNU/skin.ini");
exec("rm -rf /home/osu/osu/Skins/BESTSKINNU/SKIN.ini");
exec("rm -rf /home/osu/osu/Skins/BESTSKINNU/SKIN.INI");
exec("rm -rf /home/osu/osu/Skins/BESTSKINNU/skin.INI");
exec("rm -rf /home/osu/osu/Skins/BESTSKINNU/Skin.ini");
echo "ok";
}
Is deleting the Skin.ini REALLY necessary? As in, will it explode with the skin.ini or something? As far as I can remember, having a different skin.ini in the same skin folder will still keep the skin in that folder selected.
Topic Starter
Darkimmortal
It might have changed, but when I wrote it, changing the name in the skin.ini forced osu back to the default skin
iys
Since I made that damn Google+ page for my YouTube channel, osu!record tells me there is no YouTube channel linked with my account.
Oh well, it was nice until it lasted :(
Rika-chan

Maxorq wrote:

Since I made that damn Google+ page for my YouTube channel, osu!record tells me there is no YouTube channel linked with my account.
Oh well, it was nice until it lasted :(
You should be able to unlink them. under account settings on youtube, I did that myself.
iys

CarlGel wrote:

Maxorq wrote:

Since I made that damn Google+ page for my YouTube channel, osu!record tells me there is no YouTube channel linked with my account.
Oh well, it was nice until it lasted :(
You should be able to unlink them. under account settings on youtube, I did that myself.
Holy shit, I never realised I'm THAT stupid.
[Kanzaki Ranko]

Darkimmortal wrote:

It might have changed, but when I wrote it, changing the name in the skin.ini forced osu back to the default skin
I tested this in the day you implemented skin uploading (and even mentioned skin.ini compatibility wouldn't be supported) and it worked... o3o
Satan
Maybe you could add a little multi-server function and some people can donate their servers to help contribute to this!
Or make it open-source so others can also provide the service
NattW
It seems the load wont drop below the target load to upload - server downtime?
Hexide

NattW wrote:

It seems the load wont drop below the target load to upload - server downtime?
Dark is just murdering hes own server.
iys

Hexide wrote:

NattW wrote:

It seems the load wont drop below the target load to upload - server downtime?
Dark is just murdering hes own server.
Holy shi...
Topic Starter
Darkimmortal

lambochwan wrote:

Maybe you could add a little multi-server function and some people can donate their servers to help contribute to this!
Or make it open-source so others can also provide the service
I made it partially open source already: https://github.com/darkimmortal/OsuRecord

People are more than welcome to run their own public or private instances



Also the recording functionality may have been unavailable for the past few hours due to my osu! account getting hacked - this has now been resolved
Rika-chan
Jeesh, taking control of someone else's Osu! account? Whoever did that knows how to make a jerk move. :/
Satan

Darkimmortal wrote:

lambochwan wrote:

Maybe you could add a little multi-server function and some people can donate their servers to help contribute to this!
Or make it open-source so others can also provide the service
I made it partially open source already: https://github.com/darkimmortal/OsuRecord

People are more than welcome to run their own public or private instances



Also the recording functionality may have been unavailable for the past few hours due to my osu! account getting hacked - this has now been resolved
I have a few windows servers, but idk about linux :(
iys
I would host it, but I don't have root rights on my server... neither do I have X's running...
670839245
Well peppy somebody should really make a official replay to video converter for those who wanna upload the video.
Marcin
There will never be a "converter" since osu! replay contains simple mouse positions / clicks, while video is image of that replay.
Dainichi

Darkimmortal wrote:

lambochwan wrote:

Maybe you could add a little multi-server function and some people can donate their servers to help contribute to this!
Or make it open-source so others can also provide the service
I made it partially open source already: https://github.com/darkimmortal/OsuRecord

People are more than welcome to run their own public or private instances



Also the recording functionality may have been unavailable for the past few hours due to my osu! account getting hacked - this has now been resolved

Uhhhh, Idk how to do this.... Maybe you should do a TUT? :D
Jordan
Is it just me or that doesnt work anymore
Dainichi

Jordan wrote:

Is it just me or that doesnt work anymore
It's just you :P, Sometimes the server gets too crowded and load gets too High :roll:
renfri
Got a problem, tried uploading 2 different replays twice and both times I got a video of scoreboard only :( At the beginning I could see "this score has no replay data saved" but the replay is there, and working. Checked it ingame, then went to the folder and launched it from there. Also noticed later that when I tried to export replays, the game said the same but eventually did export the replay upon like 2nd or 3rd try. I suppose it's something with my replays being wrong/corrupted? (even though they seem to be working as I can watch them without a prob). I tried looking it up on the forum but all the threads that talk about replay problems seem to be extremely outdated and I'm not sure if they're even valid anymore (like from years ago even). I browsed this thread briefly and I don't think I found this problem, but then again thread is so huge that I might've missed something. Help?
Shigetora_old
so nice!! thank u
Myen_old
I love this record system for lazy player =3=
Can you put the taiko skin instead of the default skin please >w< ?
AisenGaming
Been trying to upload a video for the last 4 hours now. And it keeps telling me the server is busy. I'd suggest making a queue system so that people can still upload instead of having to wait manually.
Tekklorn
Just uploaded a video through this and it works very nicely, thank you.

Only things that I'd say as feedback is that the audio seems ever so slightly off, the resolution is a bit low and the FPS seems pretty unstable at times but I know there's reasons for all of what I just said.
McBob49
For some reason, I keep getting an error saying "no linked youtube account"
McBob49
The thing is, I can't figure out how to unlink youtube from my google plus without completely deleting my youtube account
Rika-chan
McBob49

CarlGel wrote:

http://i.imgur.com/AcGjerS.png

Go to settings
The disconnect option isn't there
Rika-chan
Strange.
Aernas

McBob49 wrote:

CarlGel wrote:

http://i.imgur.com/AcGjerS.png

Go to settings
The disconnect option isn't there
http://www.youtube.com/watch?v=C_6HeatbVsE
hope this help you :V
McBob49

GuiltyCrown98 wrote:

McBob49 wrote:

The disconnect option isn't there
http://www.youtube.com/watch?v=C_6HeatbVsE
hope this help you :V
Same problem. The link to disconnect my account is missing.
Topic Starter
Darkimmortal
I've completed the server migration+updates and the service is available again

Have also raised osu's resolution to 800x600 and enabled hit lighting as the newer kernel and graphics driver perform significantly better
KinkiN

Darkimmortal wrote:

I've completed the server migration+updates and the service is available again

Have also raised osu's resolution to 800x600 and enabled hit lighting as the newer kernel and graphics driver perform significantly better
that's good to hear. brb uploading :3
Rika-chan
<removed>
Vlerias
how to record?
Rika-chan

Vlerias wrote:

how to record?
>Disabled for a few days due to RAM constraints

Read the message. It's disabled.
The Masquerader
Got excited when I just discovered this as I'm a terrible editor! Too bad I have to wait a while to use it. Hopefully it's back up soon, can't wait to use it!

Edit : How can you change the background dimming in the videos? I prefer 75% dimming in all my videos.
Rika-chan

The Masquerader wrote:

Got excited when I just discovered this as I'm a terrible editor! Too bad I have to wait a while to use it. Hopefully it's back up soon, can't wait to use it!

Edit : How can you change the background dimming in the videos? I prefer 75% dimming in all my videos.
You could always take Darkimmortal's script and set up your own version of it.
Vlerias
thank :)
Imperf3kt

CarlGel wrote:

The Masquerader wrote:

Got excited when I just discovered this as I'm a terrible editor! Too bad I have to wait a while to use it. Hopefully it's back up soon, can't wait to use it!

Edit : How can you change the background dimming in the videos? I prefer 75% dimming in all my videos.
You could always take Darkimmortal's script and set up your own version of it.
How would someone do that, where is the script. I assume a server is required, easy enough to acquire.
Rika-chan

Imperf3kt wrote:

CarlGel wrote:

You could always take Darkimmortal's script and set up your own version of it.
How would someone do that, where is the script. I assume a server is required, easy enough to acquire.
Silly Krudda! https://github.com/darkimmortal/OsuRecord
CyberKitsune
There seems to be a bug regarding long song titles.

The video will encode fine, but on uploading to YouTube it errors on this:

Youtube upload failed with reason: <?xml version='1.0' encoding='UTF-8'?><errors><error><domain>yt:valida
tion</domain><code>too_long</code><location type='xpath'>media:group/media:title/text()</location></error
></errors>
Looking that up in the YouTube API reference, it seems the video title was too long. I do believe the maximum title length is 60 characters.

(The song used in question was https://osu.ppy.sh/s/46594)
[Kanzaki Ranko]

CyberKitsune wrote:

There seems to be a bug regarding long song titles.

The video will encode fine, but on uploading to YouTube it errors on this:

Youtube upload failed with reason: <?xml version='1.0' encoding='UTF-8'?><errors><error><domain>yt:valida
tion</domain><code>too_long</code><location type='xpath'>media:group/media:title/text()</location></error
></errors>
Looking that up in the YouTube API reference, it seems the video title was too long. I do believe the maximum title length is 60 characters.

(The song used in question was https://osu.ppy.sh/s/46594)
"[osu!] Oratorio The World God Only Knows - God only knows -Secrets of the Goddess- (Extract) (Maav)" is 99 characters long.
Uploaded fine with osu!record, but I can't rename it in Youtube unless I keep it under 60 characters. Apparently the length isn't the problem.

... And is the site down? rofl
Dainichi
Can Someone please do a Tutorial on how to make your own OsuRecord like DarkImmortal? please..... :?: :cry: :cry: :cry:
Rika-chan

Eru L wrote:

Can Someone please do a Tutorial on how to make your own OsuRecord like DarkImmortal? please..... :?: :cry: :cry: :cry:
https://github.com/darkimmortal/OsuRecord
Dainichi

CarlGel wrote:

Eru L wrote:

Can Someone please do a Tutorial on how to make your own OsuRecord like DarkImmortal? please..... :?: :cry: :cry: :cry:
https://github.com/darkimmortal/OsuRecord
Thankies :D :D :) :) :P :P, Tho Idk how to do this I need a Youtube Tut :(
[Kanzaki Ranko]

Eru L wrote:

Can Someone please do a Tutorial on how to make your own OsuRecord like DarkImmortal? please..... :?: :cry: :cry: :cry:
... Setting up a server for something is one of the most user-unfriendliest things I can think of. If you don't have some computer knowledge (including Linux knowledge yo), it's totally unadvised to attempt something like this, even the project being opensource.
dedaloodak
site is not working -.-
Lust

dedaloodak wrote:

site is not working -.-
Still down due to RAM constraints. Read up the thread and be patient.
[Kanzaki Ranko]

Lust wrote:

dedaloodak wrote:

site is not working -.-
Still down due to RAM constraints. Read up the thread and be patient.
Did he turn off the whole HTTP part due to RAM constraints? Weird...
I can totally understand removing the upload button for that reason. And add a message with what's happening in the page. It's a more practical solution.
show more
Please sign in to reply.

New reply