nunodasneves / slp-to-mp4 Goto Github PK
View Code? Open in Web Editor NEWConvert slippi replay files for Super Smash Bros Melee to videos
License: MIT License
Convert slippi replay files for Super Smash Bros Melee to videos
License: MIT License
Traceback (most recent call last):
File "e:\slp-to-mp4-master\slp2mp4\slp-to-mp4.py", line 217, in
main()
File "e:\slp-to-mp4-master\slp2mp4\slp-to-mp4.py", line 213, in main
record_file_slp(slp_file, outfile)
File "e:\slp-to-mp4-master\slp2mp4\slp-to-mp4.py", line 79, in record_file_slp
video_file, audio_file = dolphin_runner.run(slp_file, num_frames)
File "e:\slp-to-mp4-master\slp2mp4\dolphinrunner.py", line 224, in run
self.prep_dolphin_settings()
File "e:\slp-to-mp4-master\slp2mp4\dolphinrunner.py", line 161, in prep_dolphin_settings
with open(gale01_ini_path, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'e:\slp-to-mp4-master\slp2mp4\User-31a785c4-57f1-42dc-9953-4528f0520d14\GameSettings\GALE01.ini'
The dolphin replay .exe has been renamed, even when fixing this it never properly renders any frames.
While using this program I got an error saying the following:
[wav @ 00000238c655c880] Packet corrupt (stream = 0, dts = NOPTS).te=16089.7kbits/s speed=57.6x %path%/slp-to-mp4-master\slp2mp4\User-0c5f04bd-9b6b-4950-8396-8e1e23386d21\Dump\Audio\dspdump.wav: corrupt input packet in stream 0
frame=12377 fps=3418 q=-1.0 Lsize= 408583kB time=00:03:28.29 bitrate=16068.9kbits/s speed=57.5x
video:406019kB audio:2441kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.029989%
Created %path%/slp-to-mp4-master\slp2mp4\RoyVsPuffNoApproach.mp4
After this it output a file with the name I wanted, but the end of that file is far sooner than it should be and it's corrupt.
This was with my config set at 1080p. When I dropped it to 720p it worked just fine.
Hello,
It seems there's a delay in the video necessary for the playback emulator to load the stage that the audio playback doesn't account for. In other words, while the emulator is loading the stage, the audio plays as if the match had started as normal, so it remains ahead of the video for the rest of the recording. Is there a way to delay the audio recording a bit or to separate the audio and video recordings so that they can be assembled manually to work around this?
Thanks.
I run the script with sudo (because otherwise it'd lack the necessary permissions to open the dolphin config file).
I'm running the script in manjaro linux with Python 3.8.3
Pretty sure ever since rollback came out this doesnt work with the newest launcher anymore
First, just wanted to say great job and thank you. I was hoping something exactly like this existed, and so far it is working beautifully and doing just what I had wanted it to.
I also would like to suggest a few clarifications on the README.md and documentation. The first thing (regardless of platform) is to put the full shell input line for the example runs:
$ python[3] slp-to-mp4.py REPLAY_FILE [OUTPUT_FILE_OR_DIRECTORY]
This is clear in hindsight, but the line above would have saved me a few minutes and some confusion. Also, I would clarify that [stuff]
means that the stuff
input is optional. This is reasonably common notation, and doesn't matter much in the long run since the output will just be bracketed, but it could be nice for completeness and clarity.
More importantly, perhaps, is the matter of slashes in the Dolphin, ffmepg, and iso paths. On Windows 10 I got a json decode error due to premature escapes. This was solved easily enough by adding a \
to every existing \
, but this is the sort of thing which might be preferable to fix inside the Python program instead. If it's not possible to fix in the script, then perhaps just add a note under the Windows documentation about it.
Thanks again.
I'm trying to run the command, "slp-to-mp4.py C:\Users\Jake\Documents\Slippi\FoxReview.slp Foxplay4Review.mp4' for instance, and keep getting this runtime error :
RuntimeError: C:/Users/Jake/AppData/Roaming/Slippi Launcher/playback\Dolphin.exe does not exist
Worth noting here that I do have it pointing to this folder, and that there is slippi dolphin renamed as dolphin.exe. Attaching the screenshot
Any Ideas why this might be struggling to find this?
Has this been tested on Mac?
I couldn't get it to work.
Seems like the dolphin directory layout is different, so the User
directory is not in he same directory as the emulator executable.
Happy New Year!!
I hope all your aspirations come to fruition in this new year!
Several friends and I have tried to install this tool... but we just get stuck halfway through! We aren't too tech-savvy haha. Could you perhaps add a step-by-step dummy-proof installation and use guide for Windows users, please?
Thank you very much!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.