# ![image0](https://raw.githubusercontent.com/henrywoo/kazam/master/kazam.png) Kazam2 - Linux Screen Recorder, Broadcaster, Capture and OCR
![Documentation Status](https://readthedocs.org/projects/hiq/badge/?version=latest) ![CodeCov](https://codecov.io/gh/uber/athenadriver/branch/master/graph/badge.svg) ![Github release](https://img.shields.io/badge/release-v2.0.0-red) ![License](https://img.shields.io/badge/License-Apache--2.0-red)
Kazam 2.0 is a versatile tool for **screen recording, broadcasting, capturing and optical character recognition(OCR)**.
![Kazam GUI Screenshot](https://raw.githubusercontent.com/henrywoo/images/main/kazam.png)
Main Features:
1. **Screen Recording**: Kazam allows you to capture everything displayed on your screen and save it as a video file. The recorded video is saved in a format compatible with any media player that supports H264, VP8 codec and WebM video format.
2. **Broadcasting**: Kazam offers the ability to broadcast your screen content live over the internet, making it suitable for live streaming sessions. It supports Twitch and Youtube live broadcasting at the time of this writing.
3. **Optical Character Recognition (OCR)**: Kazam includes OCR functionality, enabling it to detect and extract text from the captured screen content, which can then be edited or saved.
4. **Audio Recording**: In addition to screen content, Kazam can record audio from any sound input device that is recognized and supported by the PulseAudio sound system. This allows you to capture both the screen and accompanying audio, such as voice narration or system sounds, in your recordings.
5. **Web Camera**: Kazam support web camera recording and users can drag and drop webcam window anywhere in the screen to suit the recording need.
6. **Full Screen, Window and Area Mode**: Kazam support full screen, window and area modes.
📌 **Please use the latest version kazam 2.0.0. Make sure the version is the latest when you report issues.**
```bash
🍄 Tested in: Ubuntu 20.04, 22.04, and 24.04 with Python 3.8 - 3.12.
```
## 📥 Installation
```bash
pip install -U kazam
```
Kazam needs some dependency libraries like `dbus`, `cairo` to work. In Ubuntu, you can use the following command to install them:
```bash
sudo apt install build-essential libpython3-dev \
libdbus-1-dev libcairo2-dev libgirepository1.0-dev \
gir1.2-gudev-1.0 gir1.2-keybinder-3.0 python3-gi python3-gst-1.0 xdotool -y
```
In Ubuntu, make sure the PulseAudio GStreamer plugin is installed. If not, run:
```bash
sudo apt reinstall gstreamer1.0-pulseaudio -y
```
- To use OCR features, please install:
```bash
sudo apt-get install tesseract-ocr -y
pip install pytesseract pillow rapidocr-onnxruntime
```
## 🧸 Screenshots
- Live Broadcasting
![Kazam GUI Screenshot](https://raw.githubusercontent.com/henrywoo/images/main/live.png)
- Preferences Window
![Kazam Preferences Screenshot](https://raw.githubusercontent.com/henrywoo/images/main/prefs.png)
## 💎 Running Kazam
### From Source Code
If you want to run Kazam from the source tree, there are a few limitations that you have to take into account. Every icon has to be taken from the currently installed icon theme. Toolbars will not show any icons, and you will not see Unity AppIndicator.
To run Kazam, simply execute the following commands in the source tree:
```bash
pip install -r requirements.txt
cd bin
./kazam
```
### From Command Line
Make sure **~/.local/bin** is in your PATH, and running `kazam` in your terminal should work.
### From GUI
If you already have Kazam installed, then Kazam icons will be displayed properly.
## ⌨️ Keyboard Shortcuts
```bash
SUPER-CTRL-Q - Quit
SUPER-CTRL-W - Show/Hide main window
SUPER-CTRL-R - Start Recording
SUPER-CTRL-F - Finish Recording
```
On a normal Logitech keyboard, SUPER-CTRL is `Ctrl+CMD`.
## 💡 Recording Tips
- Choose a small framerate. My personal setup is framerate equal to 3. Framerates above 20fps are unlikely to work well because of software and hardware limitations. If you increase the framerate and the resulting video framerate drops, that is because the encoder can't keep up.
- Always do a sound check, especially if you are recording live commentary with background sound. I got the best results when I used earphones to listen to the audio while recording. This way, your mic will not pick up any audio coming from the speakers.
- If you _really_ want lossless quality, then you will have to record in RAW format. This is possible, but without an SSD with a lot of free space, your results will be terrible. 1920x1080 at 15 frames per second will need around 45 MB of disk space per second. Most people will want to record at 20 or 25 frames per second. Most disks will not handle that, and your system will start to crawl.
- Your next best bet is HUFFYUV format, which is a little bit friendlier on disk bandwidth with 28 MB per second at 15 frames per second. The problem? Not many video editors and players can handle HUFFYUV, let alone video sharing services.
## 💣 Debugging & Reporting Problems
If you encounter a bug or any kind of unexpected behavior, please try to reproduce it while running Kazam from a standard terminal with the `--debug` option. Please report bugs at [https://github.com/henrywoo/kazam/issues](https://github.com/henrywoo/kazam/issues) and include the generated output.
Raw data
{
"_id": null,
"home_page": "https://github.com/henrywoo/kazam",
"name": "kazam",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "screencast screenshot capture audio sound video recorder kazam OCR webcam",
"author": "Henry Fuheng Wu, David Klasinc",
"author_email": "wufuheng@gmail.com",
"download_url": null,
"platform": null,
"description": "# ![image0](https://raw.githubusercontent.com/henrywoo/kazam/master/kazam.png) Kazam2 - Linux Screen Recorder, Broadcaster, Capture and OCR\n\n![Documentation Status](https://readthedocs.org/projects/hiq/badge/?version=latest) ![CodeCov](https://codecov.io/gh/uber/athenadriver/branch/master/graph/badge.svg) ![Github release](https://img.shields.io/badge/release-v2.0.0-red) ![License](https://img.shields.io/badge/License-Apache--2.0-red)\n\nKazam 2.0 is a versatile tool for **screen recording, broadcasting, capturing and optical character recognition(OCR)**.\n\n![Kazam GUI Screenshot](https://raw.githubusercontent.com/henrywoo/images/main/kazam.png)\n\nMain Features:\n\n1. **Screen Recording**: Kazam allows you to capture everything displayed on your screen and save it as a video file. The recorded video is saved in a format compatible with any media player that supports H264, VP8 codec and WebM video format.\n\n2. **Broadcasting**: Kazam offers the ability to broadcast your screen content live over the internet, making it suitable for live streaming sessions. It supports Twitch and Youtube live broadcasting at the time of this writing.\n\n3. **Optical Character Recognition (OCR)**: Kazam includes OCR functionality, enabling it to detect and extract text from the captured screen content, which can then be edited or saved.\n\n4. **Audio Recording**: In addition to screen content, Kazam can record audio from any sound input device that is recognized and supported by the PulseAudio sound system. This allows you to capture both the screen and accompanying audio, such as voice narration or system sounds, in your recordings.\n\n5. **Web Camera**: Kazam support web camera recording and users can drag and drop webcam window anywhere in the screen to suit the recording need.\n\n6. **Full Screen, Window and Area Mode**: Kazam support full screen, window and area modes.\n\n\ud83d\udccc **Please use the latest version kazam 2.0.0. Make sure the version is the latest when you report issues.**\n\n```bash\n\ud83c\udf44 Tested in: Ubuntu 20.04, 22.04, and 24.04 with Python 3.8 - 3.12.\n```\n\n## \ud83d\udce5 Installation\n\n```bash\npip install -U kazam\n```\n\nKazam needs some dependency libraries like `dbus`, `cairo` to work. In Ubuntu, you can use the following command to install them:\n\n```bash\nsudo apt install build-essential libpython3-dev \\\n libdbus-1-dev libcairo2-dev libgirepository1.0-dev \\\n gir1.2-gudev-1.0 gir1.2-keybinder-3.0 python3-gi python3-gst-1.0 xdotool -y\n```\n\nIn Ubuntu, make sure the PulseAudio GStreamer plugin is installed. If not, run:\n\n```bash\nsudo apt reinstall gstreamer1.0-pulseaudio -y\n```\n\n- To use OCR features, please install:\n\n```bash\nsudo apt-get install tesseract-ocr -y\npip install pytesseract pillow rapidocr-onnxruntime\n```\n\n## \ud83e\uddf8 Screenshots\n\n- Live Broadcasting\n\n![Kazam GUI Screenshot](https://raw.githubusercontent.com/henrywoo/images/main/live.png)\n\n- Preferences Window\n\n![Kazam Preferences Screenshot](https://raw.githubusercontent.com/henrywoo/images/main/prefs.png)\n\n## \ud83d\udc8e Running Kazam\n\n### From Source Code\n\nIf you want to run Kazam from the source tree, there are a few limitations that you have to take into account. Every icon has to be taken from the currently installed icon theme. Toolbars will not show any icons, and you will not see Unity AppIndicator.\n\nTo run Kazam, simply execute the following commands in the source tree:\n\n```bash\npip install -r requirements.txt\ncd bin\n./kazam\n```\n\n### From Command Line\n\nMake sure **~/.local/bin** is in your PATH, and running `kazam` in your terminal should work.\n\n### From GUI\n\nIf you already have Kazam installed, then Kazam icons will be displayed properly.\n\n## \u2328\ufe0f Keyboard Shortcuts\n\n```bash\nSUPER-CTRL-Q - Quit\nSUPER-CTRL-W - Show/Hide main window\nSUPER-CTRL-R - Start Recording\nSUPER-CTRL-F - Finish Recording\n```\n\nOn a normal Logitech keyboard, SUPER-CTRL is `Ctrl+CMD`.\n\n## \ud83d\udca1 Recording Tips\n\n- Choose a small framerate. My personal setup is framerate equal to 3. Framerates above 20fps are unlikely to work well because of software and hardware limitations. If you increase the framerate and the resulting video framerate drops, that is because the encoder can't keep up.\n\n- Always do a sound check, especially if you are recording live commentary with background sound. I got the best results when I used earphones to listen to the audio while recording. This way, your mic will not pick up any audio coming from the speakers.\n\n- If you _really_ want lossless quality, then you will have to record in RAW format. This is possible, but without an SSD with a lot of free space, your results will be terrible. 1920x1080 at 15 frames per second will need around 45 MB of disk space per second. Most people will want to record at 20 or 25 frames per second. Most disks will not handle that, and your system will start to crawl.\n\n- Your next best bet is HUFFYUV format, which is a little bit friendlier on disk bandwidth with 28 MB per second at 15 frames per second. The problem? Not many video editors and players can handle HUFFYUV, let alone video sharing services.\n\n## \ud83d\udca3 Debugging & Reporting Problems\n\nIf you encounter a bug or any kind of unexpected behavior, please try to reproduce it while running Kazam from a standard terminal with the `--debug` option. Please report bugs at [https://github.com/henrywoo/kazam/issues](https://github.com/henrywoo/kazam/issues) and include the generated output.\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "A screencasting program created with design in mind.",
"version": "2.0.0",
"project_urls": {
"Homepage": "https://github.com/henrywoo/kazam"
},
"split_keywords": [
"screencast",
"screenshot",
"capture",
"audio",
"sound",
"video",
"recorder",
"kazam",
"ocr",
"webcam"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b92df635b64b1f45a310428ba766ea96bce23dd23a519fae0d7dfe4364d74d9e",
"md5": "b3389cb9ed203b650306bc1f2ae33014",
"sha256": "2e86f208c1c306e97d47a121290a5be09b6f365518238fbf77cd7805c549cd6c"
},
"downloads": -1,
"filename": "kazam-2.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b3389cb9ed203b650306bc1f2ae33014",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 823613,
"upload_time": "2024-08-30T03:00:41",
"upload_time_iso_8601": "2024-08-30T03:00:41.699691Z",
"url": "https://files.pythonhosted.org/packages/b9/2d/f635b64b1f45a310428ba766ea96bce23dd23a519fae0d7dfe4364d74d9e/kazam-2.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-30 03:00:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "henrywoo",
"github_project": "kazam",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "kazam"
}