-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash with improperly cropped replay output #1
Comments
Hi zooki, thankyou for the detailed report.
8mb.video-Kof-aO2rmtJK.mp4I have looked it up, and it might be because my system's display resolution (1920 x 1080) is different from yours.
|
Thanks for your response.
output.mp4
output.mp4
|
From what I can tell of puppeteer (after another day's of research), the viewport helps it maintain the same screen resolution across various systems. I'll be testing a possible fix for improper cropping by setting viewport on new page creation. |
Hello zooki, I have created the branch https://github.com/Intenzi/ShowdownReplayDownloader/tree/1-scale-resolution to serve as a fix for recording under varying screen resolutions. |
I ran
npm install
in my git clone of this repo(my/home/zuki/src/ShowdownReplayDownloader
dir) thennode download.js --nochat --noaudio -l https://replay.pokemonshowdown.com/gen9nationaldexubers-1962139555
the output of this command is at the bottom of this issue.I did get a output replay file as the log suggests, a compressed version of the video is bellow it has black bars embeded into the video at the top and bottom a little bit of the chat embeded and and little bit bellow that should have been cropped out.
The audio of the replay was played when recording as well although I don't know if thats how it works on all systems.
output.mp4
The text was updated successfully, but these errors were encountered: