Is there any way to record a movie with PhantomJS? I need to get it in various formats like animated GIF, AVI etc.
--
You received this message because you are subscribed to the Google Groups "phantomjs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phantomjs+...@googlegroups.com.
Visit this group at http://groups.google.com/group/phantomjs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
It's not about recording a movie, embedded into the page. It's about recording the movie from website dynamic content, e.g JavaScript game.
--
Preference is that the script will run on my Linux server, target pages may be on same server or different.
I am not a programmer (and will not be coding this), however I know enough about code that once I understand what is possible with a script / application I can create a spec and have a reasonably sensible conversation with a developer.
My site will allow users to upload panoramic images (1 per page), when others visit the page it will be coded to automatically smoothly pan from left to right in about 15 seconds, users can then manually pan and zoom.
All I want to do is, as soon as the page is created is for a script to visit that URL, record the ~15 seconds of movement and save a video.
Creating a PNG sequence using phantomjs or one of the related scripts listed below seems like a suitable solution.
I am not sure what fps I need yet, probably 12 to 25fps
Bryan Bishop suggests "You can dump multiple screenshots to png, then you can convert to gif or use ffmpeg/avconv to generate movies"
Once I have the PNG in images is ffmpeg likely to be the most suitable to create the video?
Is phantomjs suitable for creating the PNG sequence? Or should I look at one of the related utilities below?
Is there an alternative script that can directly record video from a web page?
http://phantomjs.org/related-projects.html
Several page capture projects utilizing PhantomJS:
command-line
capturejs (Node.js)
DeckTape a CLI to capture screenshots and export high-quality PDF documents of slides from any HTML presentation frameworks like impress.js, reveal.js, ...
pageres - get screenshots of website(s) in few different resolutions to make sure they are responsive (Node.js)
phantomjs-screenshots, a system for running screenshot tasks defined in JSON format (Node.js)
web-service
manet (Node.js)
screenshot-app (Node.js)
screenshot-as-a-service (Node.js)
screenshot-service a pure phantomJS project to capture screenshot of any page with various configuration options
screenshot (Dancer)
screenshot-webservice (Play2)
pyshotx a screenshot server using multiple phantomJS processes and queues (Gevent, Redis)
htmlshots a screenshot server based on the WebServer module that accepts both URLs and HTML file uploads