forum

osr2mp4 public release. Automatically convert replay file to video.

posted
Total Posts
309
show more
EEmmiillyy
This is really cool, and this post is 18 months old but PLEASE add compatibility to other game modes like osu!mania and taiko
ThatColdGuy
How do you download it? i dont use github and dont understand the instructions
MCOfficer

ThatColdGuy wrote:

How do you download it? i dont use github and dont understand the instructions
  1. Go to https://github.com/uyitroa/osr2mp4-app/releases/tag/latest
  2. Under "Assets", click "osr2mp4win64.rar" (or "osr2mp4win32.rar" if you have an old 32-bit system).
  3. Extract the downloaded file with WinRAR or 7-Zip.
  4. You now have a folder with a file "osr2mp4.exe" inside. Double-click that to run it.
piggypork7620
thank you, now I can flex in front of my friend who don't have osu!
you don't know how much this means to me
ItsJord_yn
it dont work
cokeshawty
Is there any specific reason as to why it won't work with WhiteCat skins?
[[[[[[
i seems to have this error pop up all the time

ZeroDivisionError('float division by zero')

is it an error on my part or is it a bug
MCOfficer

Diglett wrote:

Is there any specific reason as to why it won't work with WhiteCat skins?
I seem to remember that Whitecat's skins have invalid audio files in there, which osr2mp4 fails to read. I replaced them with empty wav files i made in audacity, i believe.

dPeace wrote:

i seems to have this error pop up all the time

ZeroDivisionError('float division by zero')

is it an error on my part or is it a bug
It's a bug most likely, but perhaps one can work around it. The logs are in the Log folder, if you could find more information regarding the error perhaps we can find the reason for it.
Ruth
Does this still work! i would really love if it does!
_somebody_
this is so useful to me because my laptop will lag so hard whenever i record on it
MCOfficer

Ruth wrote:

Does this still work! i would really love if it does!
Works for me.
Huey

Ruth wrote:

Does this still work! i would really love if it does!
Yeah it's works perfectly fine
epic man 2
damn
xJxlianx

yuitora wrote:

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)



yuitora wrote:

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)


Its a very cool feature but do u know how I can add more than 2 mods?
galaxgamer2427
How do i change skins for the replay it only shows the default skin as an option
WilburII

LynVA wrote:

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

Had a good play in osu!lazer but it doesn't work atm so I'm inhaling copium for it to be able to convert rn lol
-NoBa
doesn't start at all :(
Kylofrost
Hi! I can't seem to open the app at all :'D
H4yyroll
hello does this work on other gamemodes
Ycro
i'm suggest android version,my laptop don't run this version.. :|
Dimono_Smeret
how to fix "IndexError('list index out of range')"
Sk1llZ123
When I click start at says: Memory error() Any fixes???
pizzapoper
it wont open and ive been trying to fix it for over an hour ;-;
KiriStorm

yuitora wrote:

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)


Can we get the background animated ?
PranksterP
Honestly i think osr4mp4 as a whole is pretty outdated now
skkshoshi
Love u so much bro
XSonicXGamerX
kinda wished i can change the video bitrate
HimekoShiraishi
Hi. I tried using this program, but it looks like FL is not working properly?

Check this screenshot to get what I mean.
Beans Kousaka
The file won't open. I've got it down to the osr2mp4.exe but when i click open nothing happens. been trying to figure this out for a few hours and i got nothing. someone help?
Trexa
TypeError("object of type 'NoneType' has no len()")object of type 'NoneType' has no len() Traceback (most recent call last):
File "libs/pythonlib/lib/site-packages/osr2mp4app/run_osu.py", line 92, in <module>
run()
File "libs/pythonlib/lib/site-packages/osr2mp4app/run_osu.py", line 50, in run
converter = Osr2mp4(filedata=config, filesettings=settings, filepp=ppsettings, logtofile=True, logpath=logpath)
File "C:\Users\user\Downloads\osr2mp4legacy64\osr2mp4\libs\pythonlib\lib\site-packages\autologging.py", line 1041, in autologging_traced_instancemethod_delegator
return method(*args, **keywords)
File "C:\Users\user\Downloads\osr2mp4legacy64\osr2mp4\libs\pythonlib\lib\site-packages\osr2mp4\osr2mp4.py", line 141, in __init__
self.replay_event, self.cur_time = setup_replay(replaypath, self.beatmap, reverse=reverse_replay)
File "C:\Users\user\Downloads\osr2mp4legacy64\osr2mp4\libs\pythonlib\lib\site-packages\osr2mp4\Parser\osrparser.py", line 40, in setup_replay
for index in range(len(replay_info.play_data)):
TypeError: object of type 'NoneType' has no len()

whats this error?
-Tess-
TheAvacado11
After following the install instructions for mac on github, i get a terminal error after trying to run it
This is what I Typed 'python3 main.py' I Installed all the missing modules and i get this:

ERROR:root:FileNotFoundError(2, 'No such file or directory')
ERROR:root:FileNotFoundError(2, 'No such file or directory')
ERROR:root:NoneType: None
Traceback (most recent call last):
File "/Users/myusername/BrewApps/osr2mp4-app/main.py", line 364, in <module>
main()
File "/Users/myusername/BrewApps/osr2mp4-app/main.py", line 339, in main
window = Window(App, execpath)
File "/Users/myusername/BrewApps/osr2mp4-app/main.py", line 75, in __init__
self.osrbutton = OsrButton(self)
File "/Users/myusername/BrewApps/osr2mp4-app/HomeComponents/Buttons/OsrButton.py", line 24, in __init__
super().setup()
File "/Users/myusername/BrewApps/osr2mp4-app/BaseComponents/Buttons.py", line 46, in setup
self.setup_shadow()
File "/Users/myusername/BrewApps/osr2mp4-app/BaseComponents/Buttons.py", line 95, in setup_shadow
self.shadow.setIconSize(QtCore.QSize(width, height))
TypeError: arguments did not match any overloaded call:
QSize(): too many arguments
QSize(int, int): argument 1 has unexpected type 'float'
QSize(QSize): argument 1 has unexpected type 'float'
NoneType: None
NoneType: None
Traceback (most recent call last):
File "/Users/myusername/BrewApps/osr2mp4-app/main.py", line 364, in <module>
main()
File "/Users/myusername/BrewApps/osr2mp4-app/main.py", line 339, in main
window = Window(App, execpath)
File "/Users/myusername/BrewApps/osr2mp4-app/main.py", line 75, in __init__
self.osrbutton = OsrButton(self)
File "/Users/myusername/BrewApps/osr2mp4-app/HomeComponents/Buttons/OsrButton.py", line 24, in __init__
super().setup()
File "/Users/myusername/BrewApps/osr2mp4-app/BaseComponents/Buttons.py", line 46, in setup
self.setup_shadow()
File "/Users/myusername/BrewApps/osr2mp4-app/BaseComponents/Buttons.py", line 95, in setup_shadow
self.shadow.setIconSize(QtCore.QSize(width, height))
TypeError: arguments did not match any overloaded call:
QSize(): too many arguments
QSize(int, int): argument 1 has unexpected type 'float'
QSize(QSize): argument 1 has unexpected type 'float'
How do i fix this? (I'm Running MacOS Monterey 12.4 on an Intel MacBook Pro)
Matriiios
U have my respect for making such masterpiece and even MORE respect for U bc U also helped everyone thats having trouble using it Ur a legend for this
mous_
hey, how do i change/add my skin?? i downloaded legacy ver. and everything seems to work except the skin thingy
redfist
uhm... it shows
error("OpenCV(4.2.0) C:\\projects\\opencv-python\\opencv\\modules\\imgproc\\src\\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'\n")

on my screen how to fix this?
Luuuuuz
hey, how can i use this with my OsuMania replay? it doesn't seems to be working with this mode
Stomiks

Luuuuuz wrote:

hey, how can i use this with my OsuMania replay? it doesn't seems to be working with this mode
Mania isn't compatible with this one.
[MG] Disturbia

Stomiks wrote:

Luuuuuz wrote:

hey, how can i use this with my OsuMania replay? it doesn't seems to be working with this mode
Mania isn't compatible with this one.
I second this. I tried it for Taiko replays, and it doesn't work.

Seems that osr2mp4 is exclusively for standard mode only, so neither taiko, CTB or mania, can make use of it.

Unless I missed something...
Stomiks

Hi_Am_Disturbia wrote:

Stomiks wrote:

Luuuuuz wrote:

hey, how can i use this with my OsuMania replay? it doesn't seems to be working with this mode
Mania isn't compatible with this one.
I second this. I tried it for Taiko replays, and it doesn't work.

Seems that osr2mp4 is exclusively for standard mode only, so neither taiko, CTB or mania, can make use of it.

Unless I missed something...
Yeah you're right. osr2mp4 is only for standard mode.
Mamushiii
Thank you so much !
show more
Please sign in to reply.

New reply