Sign In To Proceed 435v5c

Don't have an ? 473g1v

osu! to create your own !
forum

osr2mp4 public release. Automatically convert replay file to video. 2i1c67

posted
Total Posts
315
show more
The osr2mp4.exe doesn't open after the new update.
Is it possible to record replays of the other game modes in the future?

P.S: Good job, it's really amazing!
Topic Starter

Ch3mson wrote: 20205c

The osr2mp4.exe doesn't open after the new update.
Can you send logs folder?

Sweat wrote: d231l

Does the NVENC video codec work and if so do I just type that in the settings for it?
You need to enter the "four character code" for your preferred codec. For example, the fourcc of vp9 is vp90.
You can try to find the fourcc of the codec here: https://www.fourcc.org/codecs.php

MagoSimon wrote: 6i1w22

Is it possible to record replays of the other game modes in the future?

P.S: Good job, it's really amazing!
I don't have plan to implement 3 other game modes unfortunately.

Linkshu1 wrote: 501aw

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
press Print screen on your keyboard. It basically copies what you see in the monitor and pressing ctrl V to some applications like paint .
I tried this and it's working great, but it'd be really great if we can show the background video playing. I don't see any option in the client.
how do you change the skin
Topic Starter

AkariMizumi24 wrote: 562t1u

how do you change the skin
Did you select the right osu! folder? When it asked for your osu! folder, it's not the Replays folder. It's usually sometihng like C:\s\\AppData\Local\osu!
Really awesome software!! Just have to wait for the osu!Catch release, as I don't have any standard replays to get :P and it comes up with a "Gamemode not ed" error. Awesome work guys!
Mi Kamisama gracias bro
Why cant I make the video longer? my max end time is 86 and the replay doesn't finish the video, like I converted a 3 min map but it only converted up to 86 seconds

yuitora wrote: 5j3f2i

shimtzy wrote: lz12

how to add a skin i only can use the default skin. need halp huhuhu
Did you select the right osu! folder? When it asked for your osu! folder, it's not the Replays folder. It's usually sometihng like C:\s\\AppData\Local\osu!
thanks bro
Topic Starter

MushyTyger wrote: w273f

Why cant I make the video longer? my max end time is 86 and the replay doesn't finish the video, like I converted a 3 min map but it only converted up to 86 seconds
hmm This is weird, can you send the map link?
It's working great!, but after the update the circles are overlapping the hp bar & it goes out of the playing resolution, also accuracy status is overlapping the score status, i tried 1920x1080 and i thought that's the reason on why the playing resolution is broken, but i used my normal resolution which is 1366x768, but it didn't work as well.

here's the photos
https://imgur.com/a/Ilt1IDF
Topic Starter

TamakoSenpai wrote: 6m2p1t

It's working great!, but after the update the circles are overlapping the hp bar & it goes out of the playing resolution, also accuracy status is overlapping the score status, i tried 1920x1080 and i thought that's the reason on why the playing resolution is broken, but i used my normal resolution which is 1366x768, but it didn't work as well.

here's the photos
https://imgur.com/a/Ilt1IDF
Can you send me your skin

yuitora wrote: 5j3f2i

TamakoSenpai wrote: 6m2p1t

It's working great!, but after the update the circles are overlapping the hp bar & it goes out of the playing resolution, also accuracy status is overlapping the score status, i tried 1920x1080 and i thought that's the reason on why the playing resolution is broken, but i used my normal resolution which is 1366x768, but it didn't work as well.

here's the photos
https://imgur.com/a/Ilt1IDF
Can you send me your skin
here:
Tamako's Skin
got this error when trying to convert a replay on this map: beatmapsets/85#osu/193
https://prnt.sc/tqyemh
Since it's seem like I can only change the codec or resolution, with some in-game appearances elements, and I can't decide what presets should I use. Since this uses ffmpeg to encode, would an "Advanced" features be available in the future? Like Custom Output (FFmpeg) in OBS.

I can easily record or live realtime with VP9 with low-medium presets, but without any specific settings here, it seems like it uses good presets, and it costs like >1hr to encode a 4mins replay.

Same for X264 or HEVC as well, it actually takes more time than realtime (less than 1.0x speed) comparing to the replay length (not much like VP9, but still...), XVID is kinda old tbh. And it's file size is not good to compare with HEVC or VP9 (if same visual quality). But encoding with osr2mp4, the avg bitrate of x264, x265 or vp9 is higher than xvid LOL (so the filesize increases). But HEVC and VP9 can save bitrates.

So, having a "Advanced"-like function can make us balancing encoding time vs. video quality ourselves.

And also the audio codec is ALWAYS aac, so when naming the output, I have to name it mkv, so it can contains VP9 and aac, when I set is as webm (contains opus or vorbis), it caused an error. You should also have a section to set audio codec as well.
Topic Starter

Giai tich 2 wrote: 5f2f1g

it costs like >1hr to encode a 4mins replay.
What settings are you using? Even on a very old computer, it shouldn't take more than 10-12 minutes to render a 1920x1080 60fps 4 minutes map.
On a normal/high end pc, it renders faster than the map length.
The pp counter seem to calculate HD wrong? like in this video: https://www.youtube.com/watch?v=YarmxvLISpk
It show 243pp but it's actually 256pp. Same thing happen with this HD play: https://www.youtube.com/watch?v=LJpJn95LPzU

TamakoSenpai wrote: 6m2p1t

yuitora wrote: 5j3f2i

TamakoSenpai wrote: 6m2p1t

It's working great!, but after the update the circles are overlapping the hp bar & it goes out of the playing resolution, also accuracy status is overlapping the score status, i tried 1920x1080 and i thought that's the reason on why the playing resolution is broken, but i used my normal resolution which is 1366x768, but it didn't work as well.

here's the photos
https://imgur.com/a/Ilt1IDF
Can you send me your skin
here:
Tamako's Skin

an update on this, all skins (by all skins i mean skins that are only available on my osu skins file) didn't work, i've used 1920x1080 and my normal resolution which is 1366x768, tried the legacy as well, but it didn't work, still overlaps the playing resolution (which means overlapping the hp bar), but the accuracy overlapping the score status is only my skin problem, but the first problem i said, it's not only my skin
Thank you
Actual Grey Cat
Once I get my pc connected back to the wifi, I am saying instant of this. Thank you so much for making this. I’ll make sure to come back whenever I see if it works

yuitora wrote: 5j3f2i

Giai tich 2 wrote: 5f2f1g

it costs like >1hr to encode a 4mins replay.
What settings are you using? Even on a very old computer, it shouldn't take more than 10-12 minutes to render a 1920x1080 60fps 4 minutes map.
On a normal/high end pc, it renders faster than the map length.
If set "XVID" like default, I can encode 4min map 1080p60 in about 30sec-1min.
I did mention above, that I used VP9 for that. And it cost >1hr (when I can easily live encoding with VP9 on OBS or ffmpeg)

Giai tich 2 wrote: 5f2f1g

I can easily record or live realtime with VP9 with low-medium presets, but without any specific settings here, it seems like it uses good presets, and it costs like >1hr to encode a 4mins replay.
sadly, it doesn't work for 2gb RAM pc's, lmao.
Topic Starter

Giai tich 2 wrote: 5f2f1g

If set "XVID" like default, I can encode 4min map 1080p60 in about 30sec-1min.
I did mention above, that I used VP9 for that. And it cost >1hr (when I can easily live encoding with VP9 on OBS or ffmpeg)

Giai tich 2 wrote: 5f2f1g

I can easily record or live realtime with VP9 with low-medium presets, but without any specific settings here, it seems like it uses good presets, and it costs like >1hr to encode a 4mins replay.
Oh I see, well currently I'm using opencv to render videos (because for some reason idk yet it's much faster than ffmpeg) and opencv only offers basic video processing functions. I'll try to find out how opencv video processing work.



daaaryl wrote: 5v51u

sadly, it doesn't work for 2gb RAM pc's, lmao.
Hmm, I think it should.
What error do you get? Can you send logs?
It looks insane can't wait to try it
Contra
great
it keep stopping at 90-99%
any solution for this?

yuitora wrote: 5j3f2i

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 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 s 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 ed 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)



could i help by translating things to portuguese? i'm not a phyton dev or something but i can help on translating
- Isla -
wow. thats amazing, been looking for something like this for ages. tysm <3
Now this is epic.

Also can you add an option to convert replay with custom hitsounds in the map and/or with video/storyboard too?
I just this and i wanna export my replay. But it oept saying "object of type 'NoneTupe' has no len"

Can someone help me
Does it work for Taiko and CTB???

CallMeKenshi wrote: 2h5o55

how can i convert to mp4?
just change file name from .avi to .mp4

make sure to have file extensions not on hidden.
thank you for the hardwork
Holy shit, this is awesome. I'll have to test it out, up until now Im pretty sure everyone's had to go thru the boring *open OBS, click replay in osu, wait 5 mins till it's finished* but now we can just have more efficiency when posting replays of our scores online!😯
Why do I keep getting this error?
ImportError("cannot import name 'UnidentifiedImageError' from 'PIL' (C:\\s\\\\AppData\\Roaming\\Python\\Python37\\site-packages\\PIL\\__init__.py)")cannot import name 'UnidentifiedImageError' from 'PIL' (C:\s\\AppData\Roaming\Python\Python37\site-packages\PIL\__init__.py)
Everytime i want to convert osr, i keep getting this :
IndexError('string index out of range')string index out of range
What should i do?
what codecs are ed? when i try something like h264 the progress gets always stuck at 99% and never finishes
how to put skin ? :<
Thank you very much, now i can record my osu plays in 60fps.

Really thank you very much, you just solved my life with this.

<3
how much time can it take to be fully released to 1.0 cause this looks awesome
thanks, i wont need to watch over my own plays and record them now that i want to share with friends :D
amazing work
i got an error saying no such file or directory
what does that mean
It seems that i cant open the app, when i tried to use the app, it closes instantly. Does anybody know why ?

logs :
on appoutput :
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00001f00 (most recent call first):

on deleteexit :
Error deleting Logs/appupdate.log -1

on ppappoutput :
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00002fc4 (most recent call first):


oh yeah i'm using the win64 version
i can't it, it stops on 148 mb and the says "couldn't , no permission"
Mine gets stuck at 99%
What should I do
i just realized it
- bans harumachi clover replays
- makes some sliders straight on weird maps for some reason
This software is good, especially for someone who has a low-end computer. Anyway, my skin was broken a lot after put to osr2mp4. It’s very terrible for me.
Hexishu
Can I use 240 fps? Because I want to render it again (60fps footage isn't this nice)
Quelqu'un peut-il m'expliquer comment faire pour ouvrir l'application après avoir télécharger les fichiers SVP
(soit je suis aveugle, soit il me manque un truc)
how to use WINrar?
what am i supposed to open the app with?
m
are there any plans to get other modes to work for this? I want to use this to get some mania replays ed but this happened
when will you update it qwq
How do I add a skin to it? When I click the dropdown the only skin there is the default one
Please add for mania replays, this will help mania players with bad pcs a lot
make one for osu mania pls !! :)
How do you even change skin help aaaa

Playay wrote: 5k7t

Everytime i want to convert osr, i keep getting this :
IndexError('string index out of range')string index out of range
What should i do?
i have the same problem
pp counter not showing the same value in osu! profile

osu!'s website = 180PP

osr2mp4 = around 178.01
wow

_KawaiiSenpai_ wrote: 566g60

pp counter not showing the same value in osu! profile

osu!'s website = 180PP

osr2mp4 = around 178.01
same :(
the output audio qualiy is awful. Can you make settings where we can change to audio quality to 320kps ?
wlidcat
intresting lol
why are the circles disappering in the mp4 if i set the output to over 350fps? i kinda want to resample in 900fps but its bugged if i set it above 350.
When OS2MP4 will be able to have ScoreV2 replays done right??
IndexError('list index out of range')

How to fix?
i keep getting a called process error how do i fix that
How do I fix "TypeError("object of type 'float' has no len()")object of type 'float' has no len()"
It really works! Thank you very much for the work done!
it does't do with osu!mania
-
.

_KawaiiSenpai_ wrote: 566g60

pp counter not showing the same value in osu! profile

osu!'s website = 180PP

osr2mp4 = around 178.01
the extra 1.99 pp was bonus pp
huh it doesn't work with fl
By any chance, is this MacOS compatible or not? If not, I'll look for additional programs to run this feature.

Great job on this btw!
My skin doesnt show up.Is there a fix for this?
Can we move the pp counter or not? Thanks

bocahhenshin wrote: 2j6444

Can we move the pp counter or not? Thanks
you can

zynthoz wrote: 1q2b1v

My skin doesnt show up.Is there a fix for this?
"Did you select the right osu! folder? When it asked for your osu! folder, it's not the Replays folder. It's usually sometihng like C:\s\\AppData\Local\osu!"

this was written by the creator

basically just select the osu! folder instead of replays
I AM HAVING A HUGE PROBLEM!
whenever I 'START' it goes to 13% and then it shows up a message: IndexError:'listoutofrange'
but when I set the end time to 10 it works perfectly fine
Video Codec: XVID
1280 x 720
Processor: 2
(using .mp4)

Rhthym32 wrote: 6p1x1v

I AM HAVING A HUGE PROBLEM!
whenever I 'START' it goes to 13% and then it shows up a message: IndexError:'listoutofrange'
but when I set the end time to 10 it works perfectly fine
Video Codec: XVID
1280 x 720
Processor: 2
(using .mp4)

I am assuming you use a pretty old device to run the application, are you running the legacy version or the classic version? If you're using the classic one switch to the legacy one.
Any version for mac?
how do i change it from avi file to mp4?

catgrl wrote: 5k4f5k

how do i change it from avi file to mp4?
at the top of the options area, go to output name and change the .avi to .mp4


also, mine is stuck at 99% what should i do?
I was excited to see how this would work, but it turns out that other game modes aren't ed (I only tested mania, maybe Taiko and CTB work). Pretty disappointing, I also play standard osu! but it's inconvenient not to be able to use this for my main mode. Are you planning on adding functionality for other modes? This tool is awesome and it would be so helpful if it was accessible to every game mode.

P.S. The interface is awesome
Any way to add a skin?

edgygoatman wrote: 163z2e

Any way to add a skin?
yes
it burned my u
This is nuts. Thank you so much
Very god job. It works so well. Question though, how can you change the skin that it uses to export to mp4? I got mine set to default skin by default (lol). Do i need to set something specific on the app window?
wtf, its amazing, god ;) thanks

Astral52 wrote: 6vf36

Very god job. It works so well. Question though, how can you change the skin that it uses to export to mp4? I got mine set to default skin by default (lol). Do i need to set something specific on the app window?
no you need to choose the osu! folder instead of the replays folder
I wonder, does this works on other modes, I'm not a standard player, but I can make use of this if it also works with other modes

Edit: it doesn't
mine doesnt work CalledProcessError(1, ['ffmpeg', '-i', 'C:/s/acer/AppData/Local/osu!/Skins/- # The Journey of Elaina copy\\normal-slidertick.ogg', '-ar', '44100', 'libs\\pythonlib\\lib\\site-packages\\osr2mp4/06b6e0a8-63bc-11eb-855a-cc79df084dd9temp/converted.wav', '-y']) this thing keeps popping up help
why i cant open the app??
every time i try to convert any replay, i get the error "IndexError ('list index out of range')"
it doesn't matter how long the replay is. it still gives it away
can somebody help me, please?

upd: i get it! i was converting replays that was not ended, because i failed
show more
Please sign in to reply.

New reply 1b384i