forum

osr2mp4 public release. Automatically convert replay file to video.

posted
Total Posts
310
show more
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 !
robloxguy
i have always this error

GameModeNotSupported() 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\Pietro\Downloads\osr2mp4legacy64\osr2mp4\libs\pythonlib\lib\site-packages\autologging.py", line 1041, in autologging_traced_instancemethod_delegator
return method(*args, **keywords)
File "C:\Users\Pietro\Downloads\osr2mp4legacy64\osr2mp4\libs\pythonlib\lib\site-packages\osr2mp4\osr2mp4.py", line 139, in __init__
self.beatmap = read_file(self.beatmap_file, self.settings.playfieldscale, self.settings.skin_ini.colours, mods=self.replay_info.mod_combination, lazy=False)
File "C:\Users\Pietro\Downloads\osr2mp4legacy64\osr2mp4\libs\pythonlib\lib\site-packages\osr2mp4\Parser\osuparser.py", line 522, in read_file
bmap = Beatmap(info, scale, colors, mods=mods, lazy=lazy)
File "C:\Users\Pietro\Downloads\osr2mp4legacy64\osr2mp4\libs\pythonlib\lib\site-packages\osr2mp4\Parser\osuparser.py", line 41, in __init__
raise GameModeNotSupported()
osr2mp4.Exceptions.GameModeNotSupported

pls help me
Alivs
umm is there a way to export the background with it( the storyboard ) ?
his everything
I have nothing to say thxxx
Auroyavs
awesome app bro.but whether there's a way to convert autoplay to mp4?i need it more lol
his everything
I just found that it also works with beatmaps that haven't been submitted holy shit. I used to use order.issou.best because it's a website, but THIS exist o_o
[ Sebastian ]

Stomiks wrote:

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.
Is there any reply > video program that works for ctb?
[MG] Disturbia

[ Sebastian ] wrote:

Stomiks wrote:

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.
Is there any reply > video program that works for ctb?
Sadly none. But you can try recording using OBS, and while replay is being played, if you want, you can press H to remove the "Replay layout", so the replay looks cleaner
HauntingMood
nice
Ev35genij228

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)


втф по русски го
Please sign in to reply.

New reply