forum

osr2mp4 public release. Automatically convert replay file to video.

posted
Total Posts
314
Topic Starter
yuitora
After a few months I’ve managed to make an app that convert osu replays to mp4 videos in few clicks.
All you need to do is to choose the replay you want to convert and click the "Start" button.

You can download the app here: https://github.com/uyitroa/osr2mp4-app/releases/tag/v0.3
For more information about the app: https://github.com/uyitroa/osr2mp4-app/

A sample video using osr2mp4: https://www.youtube.com/watch?v=5ugu_9yDSg0

I would appreciate feedbacks and issues, just send me a message via discord: https://discord.gg/kaftu4y or open an issue on github.
Special thanks to -freez for the big brain design.

Enjoy the program!

Changelogs
0.2:
  1. Change ValueError(‘Problem with video writer’) to a more detailed error.
  2. Fix app crash when selecting osu folder:
    1. try catch when replay are corrupted
    2. try catch when beatmap is not found in osu.db since it’s not updated for new downloaded beatmap
    3. try catch when fail to parse scores.db
  3. Fix audio when set volume to 0%
  4. Background delay when using dt or ht fix
  5. Can’t render scorev2 replay fix (by using scorev1 system)
  6. Fix using wrong hp bar (fix not using @2x file when animated image file doesn’t exist)
  7. Fix continuous cursor trail (math domain error)
  8. Weird character in skin name fix
  9. Improve skin.ini parse (fix keyerror and others stuffs)
  10. Fix parsing replay gives NoneType object is not subscriptable
  11. Fix hitcircle border not loading
0.3:
  1. Show mods during replay
  2. Output name in another textbox
  3. Customisable output name, ex: {Map} played by {Player} at {PlayDate} video rendered at {Date} {Accuracy}%.mp4
  4. Customisable PP counter. CustomPP.exe
  5. Fix no spinner with some skin
  6. Hide combo during breaks
  7. Fix animation for fps > 60 (? not sure if it’s fixed)
  8. Fix scrollbar does weird shit
  9. Fix clipping line during ranking screen on some skin
  10. Add song delay option
  11. Fix grade sometimes it shows D rank instead of C rank
  12. Fix key error on CHUJ kurwa map (due to wrong slider speed)
  13. Add unstable rate at the end of the replay
  14. Fix wonky kick slider
  15. Fix relax plays doesn’t work properly
  16. Accuracy position is fucked up with special resolution fix
  17. Update spinner (margin error of spin bonus score is +- 1k, instead of 10k lol)


_lyko
wow
LynVA
really hope this works without major flaws, testing it myself

yeah it works perfectly just make sure you set your output file to end in .mp4 because avis suckk
OppaiFun
really good job!!!
Anaether
god bless
Stark
Amazing feature :D
Not DT Farmer
wow it seems useful
MocaLoca
I love you.
grizzlypng
absolutely legendary. replay channels and users alike will remember this forever. Thank you!
mood__
This is insanely good work! bravo

Just tested it myself rn and it worked great. This has been talked about forever but never made so massive credit for finally doing it!!!

Thanks!

Edit: I just had a random crash with no error message? may have just been my system or a bad map. Also I'd suggest making .mp4 the default export if possible since its more often used and people are more familiar with it

great work nonetheless!!!

Edit2: Ok i found a problem

I realized for some reason (even though i disable mouse input in game), it appears as if i click and use mouse 1 every now and then, it isn't a massive problem, but an issue none the less
AquaTail
i remember we had one of these at some point, but its sadly abandoned now, glad to see people come back to it again, i really like the idea
TequilaWolf
thanks for doing this <3
asterllia-
Umm Hello, i got problem when i choose my osr, when i click open the program closed, and then i got error message how i fix this?
_Illustrious_
This information is worth millions.
Uokey
That's actually really handy ! And also weird because i was wondering about something like that last nigtht haha what a coincidence :)
Unbound-

Asterllia- wrote:

Umm Hello, i got problem when i choose my osr, when i click open the program closed, and then i got error message how i fix this?
I found out that you have to switch to another skin, for example using default osu skin solves this problem
polars
this tool is actually insane, thanks for developing it <3

this is going to save me a lot of time and hassle with uploading replays
Topic Starter
yuitora

Asterllia- wrote:

Umm Hello, i got problem when i choose my osr, when i click open the program closed, and then i got error message how i fix this?
Fixed, click on the update button.
Zelzatter Zero
And I'm here thinking .osr can't be converted into .mp4...

This is interesting.
Pentaclar
App lags upon clicking start for newest detected replay exported, after few seconds showing information about timeout error, app will force quit itself upon accessing settings tab; is there any way to fix it?
Topic Starter
yuitora

Semio wrote:

App lags upon clicking start for newest detected replay exported, after few seconds showing information about timeout error, app will force quit itself upon accessing settings tab; is there any way to fix it?
Can you send me logs folder on discord?
kfc nugget
Thanks c:
FireRedz
good stuff
angelgraph
really well done!
FireRedz


sad
hallowatcher
wish it was multi platform. currently, i can only run this on a windows vm on my linux host. but still great job regardless!

edit: i can probably use the core project directly on my linux machine with python
Yusomi
wow thanks for this!
Virgin Slayer
i get no archives found/unknown archive format error error when downloading and redownloading
fdmf
Doesn't seem to work with FL mode enable :(
Still a good software nontheless ! :)
RayRaivern
Trying to convert a mania replay, but this shows up.
Linkshu1
how do i fix this error?
it says:
ValueError('Problem with
audio')Problem with audio

P.S idk how to send pics from my desktop

another edit: when i try again it goes to about 8% then stops then after a couple tries i get the same error again
MyAngelAdo
Wow thanks you
Daelan
Made a desktop shortcut for this :)
me slow
FL doesn't seem to work with this but that's the only thing I found wrong with this, thank you for making this :)
Selfy


:(
Shira0ri
How do I change the codec to make it a .mp4 instead of a .avi?
_ReBoSseR_
KeyError(454)454 ???
How to fix
Marscheu
I have a question, What does the 'process' means?

and is it possible to change the 'video codec'? :D

Anyways, awesome content! It is working properly!

Good job man!
Tanomoshii Nekojou
Cool! OwO
ziild
.
PalPal
Yey finally after years...
Inversionist
Thank you so much for this <3
Topic Starter
yuitora

Selfy wrote:



:(

RayRaivern wrote:

Trying to convert a mania replay, but this shows up.
3 others game mode are not supported unfortunately.

Linkshu1 wrote:

how do i fix this error?
it says:
ValueError('Problem with
audio')Problem with audio

P.S idk how to send pics from my desktop

another edit: when i try again it goes to about 8% then stops then after a couple tries i get the same error again

_ReBoSseR_ wrote:

KeyError(454)454 ???
How to fix
Try updating the app. If there is the error, join the discord server.



DeathStarr wrote:

I have a question, What does the 'process' means?

and is it possible to change the 'video codec'? :D

Anyways, awesome content! It is working properly!

Good job man!
Process means the number of processes, so theoretically the program will convert faster if you increase it. But if you increase too much it will start to slow down since your pc won't be able to handle it. The best process option is the number of cpu core - 1.
Brogamer89
this programs works so good!, but it was better if the program records video background at the same time
sorry for my bad english

https://www.youtube.com/watch?v=pf6tnfuUl-k
DanCheese3
It works perfectly Pog :)
Bensword331
Hey, i'm trying to convert a replay but the program crash almost instantly when I click "START".
Sorry for not providing more information but that is all that the program do.
The replay is standard mode.
Topic Starter
yuitora

Bensword331 wrote:

Hey, i'm trying to convert a replay but the program crash almost instantly when I click "START".
Sorry for not providing more information but that is all that the program do.
The replay is standard mode.
Click on reset.exe, it won't show any window but it works. Then reopen the app, click the update button. Then try it again. If it still doesn't work join the discord server and report the issue there.
livingbright
POOOOG <3
araran
I got an error saying:
ValueError('Problem with video writer')Problem with video writer

is there a solution to this?
Topic Starter
yuitora

Alan- wrote:

I got an error saying:
ValueError('Problem with video writer')Problem with video writer

is there a solution to this?
Click on the update button. Then retry it. If it still doesn't work, join the discord server.
show more
Please sign in to reply.

New reply