timecut | js program to record smooth movies | Animation library
kandi X-RAY | timecut Summary
kandi X-RAY | timecut Summary
timecut is a Node.js program that records smooth videos of web pages that use JavaScript animations. It uses timeweb, timesnap, and puppeteer to open a web page, overwrite its time-handling functions, take snapshots of the web page, and then passes the results to ffmpeg to encode those frames into a video. This allows for slower-than-realtime and/or virtual high-fps capture of frames, while the resulting video is smooth. You can run timecut from the command line or as a Node.js library. It requires ffmpeg, Node v8.9.0 or higher, and npm. To only record screenshots and save them as pictures, see timesnap. For using virtual time in browser, see timeweb. timeweb (and timesnap and timecut by extension) only overwrites JavaScript functions and video playback, so pages where changes occur via other means (e.g. through transitions/animations from CSS rules) will likely not render as intended.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of timecut
timecut Key Features
timecut Examples and Code Snippets
Community Discussions
Trending Discussions on timecut
QUESTION
The following HTML/javascript, when opened on Chrome, Chromium, Firefox, or Safari, produces a nicely flowing white on black set of text that we want to use to display the end credits at the end of our live stream. We want to record this and create an mp4 file with the results.
...ANSWER
Answered 2022-Mar-01 at 18:34After further research, I've determined that the issue was the javascript method for the animation. Replacing requestAnimationFrame which was subtly mentioned in tungs' blog post regarding timecut. The following code works perfectly with timecut now:
QUESTION
To capture frames of html animations and stitch them into video, I was about to use Timecut (available from npm). However the result is not crisp videos - the capture is rather fuzzy for some reason.
What other terminal app would you reccomend for capturing html animations? Main goal is crisp output!
...ANSWER
Answered 2020-Jan-06 at 23:12If I understand the question correctly you are looking for a way to record your screen with an application that can be run from the commandline.
I would use ffmpeg which is available from brew more details on screen recording using ffmpeg on MacOS can be found in this answer and on the ffmpeg wiki.
Remember that the resolution/"crispiness" of the video you record will be limited by your desktop resolution. Zooming in on the content you want to record might help if it's possible.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install timecut
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page