forum

osr2mp4 public release. Automatically convert replay file to video.

posted
Total Posts
310
show more
FishIsGroovy
I literally can't even open the file, cringe
SebIgaz
can you please add mania, ctb and taiko support please? because i want to export mania too, but when i do it it shows this
Pipox126
Yooo, this is awesome, thanks!! :D
Huey
I've recently have been looking for another way to render high quality videos and this application makes it a lot easier thanks so much.
LePestki
How do I find OSU! folder?
nazwannadie
i've tried 2 times and it works perfectly fine! but does it not save the background video from the osu beatmap? please enlighten me so i know that its not a bug/glitch!
JakeyBonesTV
HI, I just stumbled across this and I'm getting an error message saying HarumachiCloverBan(), why is this? it works fine for other replays, but not my best one
MoutonBinoclard

LePestki wrote:

How do I find OSU! folder?
Right click on osu icon > open files location > Then click replay



Question : work with osu mania ?
Parrow
Breh gamemode not supported
Sushally

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)


I have an error with OsRmp4,this say me

Cannot start writing video, make sure your video fourcc codec is correct and supported (https://www.fourcc.org), your output filename has correct video extensions (.mp4, .avi, etc), and your output folder exists. 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 51, in runconverter.startall()File "C:\Users\andri\OneDrive\Documents\Osu! Folder\osr2mp4\libs\pythonlib\lib\site-packages\autologging.py", line 1039, in autologging_traced_instancemethod_delegatorreturn proxy(method, args, keywords)File "C:\Users\andri\OneDrive\Documents\Osu! Folder\osr2mp4\libs\pythonlib\lib\site-packages\autologging.py", line 1196, in __call__value = function(*args, **keywords)File "C:\Users\andri\OneDrive\Documents\Osu! Folder\osr2mp4\libs\pythonlib\lib\site-packages\osr2mp4\osr2mp4.py", line 207, in startallself.startvideo()File "C:\Users\andri\OneDrive\Documents\Osu! Folder\osr2mp4\libs\pythonlib\lib\site-packages\autologging.py", line 1039, in autologging_traced_instancemethod_delegatorreturn proxy(method, args, keywords)File "C:\Users\andri\OneDrive\Documents\Osu! Folder\osr2mp4\libs\pythonlib\lib\site-packages\autologging.py", line 1196, in __call__value = function(*args, **keywords)File "C:\Users\andri\OneDrive\Documents\Osu! Folder\osr2mp4\libs\pythonlib\lib\site-packages\osr2mp4\osr2mp4.py", line 174, in startvideoraise CannotCreateVideo()osr2mp4.Exceptions.CannotCreateVideo
FiddleMinger
The final score at the end of the gameplay seems to differ from the actual score in the end/ranking screen?
Kurumi_
i hate this, gamemode not supported smh
ColonelEva01
Amazing
VenB
The output is always AVI format. How do I get with just an MP4?
PVmiwiki
thanks!
Jiswoon
how do i convert WITH the animated background? Once i convert it, the background turns black.
NRinv1
Do you have in mind adding compatibility for osu!mania replays?
autistic1299
The best!
Clas

VenB wrote:

The output is always AVI format. How do I get with just an MP4?
You can change the output name to be .mp4 over .avi, and this should make the program convert it into a .mp4 file, rather than .avi

For example, the default output name is "{Map} played by {Player}.avi" (map being the beatmap and player being the player ofc), but changing the output name to "{Map} played by {Player}.mp4" should make the output file be in the mp4 format, as .avi isnt listed at the end to indicate the file type.

Jiswoon wrote:

how do i convert WITH the animated background? Once i convert it, the background turns black.
As far as I'm aware, storyboards aren't supported, same with videos. Check that you haven't got the background dim set to 100, though.
BasicsZ
now this is pretty cool
GreenShi
что то не работает
zlimvro

CreeperFarm wrote:

Hello, how we can had the time of the replay was recorded ?
Add {Date} in the output name in settings.
cuchillo01029
it works for osu!mania?
OhioStateUniver
I'm getting to error BeatmapNotFound() please help me.
EpIcChEeSeMaN
Idk how to use this, when I downloaded it and opened it, it just opened Osu with no differences
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
show more
Please sign in to reply.

New reply