This repository contains scripts to play and/or record videos from websites using CEF Python. The Python script capture.py
is a modification based on the screenshot.py
script from the CEF Python examples.
In order to use the scripts provided in this repository, install cefpython
using pip tool:
pip install cefpython3==57.0
Use capture.py
to capture frames and write them to an output file. The script expects five arguments: url, width, height, fps, outfile:
python capture.py https://github.com/indr/cef-python 1024 768 25 output.bgra
This repository contains scripts and web pages to demonstrate playing and recording. In order to run the examples, you need to start a simple web server by running serve.sh
. Capture the website with capture.sh
and then either play it with play.sh
or record to a file using record.sh
.
Copyright (c) 2017 Reto Inderbitzin, MIT License