Skip to main content

Convert osr replay file to video file

Project description

Getting started

from osr2mp4 import Osr2mp4

data = {
  "osu! path": "/Users/yuitora./osu!/",
  "Skin path": "/Users/yuitora./osu!/Skins/-#Whitecat#-",
  "Beatmap path": "/Users/yuitora./osu!/Songs/123456 Hachigatsu, Bou/",
  ".osr path": "/Users/yuitora./osu!/Replays/yuitora_12317423.osr",
  "Default skin path": "/Users/yuitora./Downloads/Default Skin/",
  "Output path": "output.avi",
  "Width": 1920,
  "Height": 1080,
  "FPS": 60,
  "Start time": 0,
  "End time": -1,
  "Video codec": "XVID",
  "Process": 2,
  "ffmpeg path": "Users/yuitora./ffmpeg/bin/ffmpeg.exe"
}

settings = {
  "Cursor size": 1,
  "In-game interface": True,
  "Show scoreboard": True,
  "Background dim": 90,
  "Always show key overlay": True,
  "Automatic cursor size": False,
  "Score meter size": 1.25,
  "Song volume": 50,
  "Effect volume": 100,
  "Ignore beatmap hitsounds": True,
  "Use skin's sound samples": True,
  "Global leaderboard": False,
  "Mods leaderboard": "(HD)HR",
  "api key": "lol"
}

converter = Osr2mp4(data, settings)
converter.startall()
converter.joinall()

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osr2mp4-0.0.1.dev0.tar.gz (8.6 MB view details)

Uploaded Source

File details

Details for the file osr2mp4-0.0.1.dev0.tar.gz.

File metadata

  • Download URL: osr2mp4-0.0.1.dev0.tar.gz
  • Upload date:
  • Size: 8.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5

File hashes

Hashes for osr2mp4-0.0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 eb6e302d0f9e17f206fdb8a76df1f9206f0d5929949a8dc42bc96164432ccbd0
MD5 0dcb0f839014dec69ad4a6b3485ddc2f
BLAKE2b-256 2ab00c966e9ef79cdfd8cb28e1c53ca6c37a336f6ae449d50a97c8b342022606

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page