semvec/pypi-packages huggingface dataset:
video-bookmarks 1.0.0
A command-line wrapper of the mpv video player to create video bookmarks
License: MIT
Requires Python: >=3.8
Keywords: video, bookmarks, mpv, cli, video-editing, timestamps

# video-bookmarks
**@readwithai** - [X](https://x.com/readwithai) - [blog](https://readwithai.substack.com/) - [machine-aided reading](https://www.reddit.com/r/machineAidedReading/) - [📖](https://readwithai.substack.com/p/what-is-reading-broadly-defined
)[⚡️](https://readwithai.substack.com/s/technical-miscellany)[🖋️](https://readwithai.substack.com/p/note-taking-with-obsidian-much-of)

A command-line wrapper for the the `mpv` video player to create bookmarks in videos and audio files from te command-line. This can be useful when clipping videos for memes.

This is lightweight and easy to edit. The timestamps obtained may be used with [ffmpeg](https://github.com/talwrii/ffmpeg-cookbook).

Mostly vibe-coded at present! I can code, quantity of vibe coding will likely decrease over time.

## Motivation
I quite like the command-line, and use it when I am not doing someting big. I wanted to cut out clips from a video from the command-line in order to share memes, but most of the tools were fiddley. So I decided to write this.

## Alternatives and prior work
mplayer and mpv support scripting and you may be able to define a bookmarks system for them. This seemed too fiddle for my liking.

Video editors like [[Shotcut]] may be useful for this sort of thing. If you are posting on youtube or TikTok the short creators allow some good editing.

You could use `vlc` to get these timestamps.

## Installation
Ensure mpv is installed:

```
sudo apt install mpv
```

You can then install `video-bookmarks` using [pipx](https://github.com/pypa/pipx):

```
pipx install video-bookmarks
```


# Usage
You can run `video-bookmarks test.mp4`. This then gives you a list of keybindings to run.

It will generate a bookmarks file called test.bookmarks.


## About me
I am **@readwithai**. I create tools for reading, research and agency sometimes using the markdown editor [Obsidian](https://readwithai.substack.com/p/what-exactly-is-obsidian).

I also create a [stream of tools](https://readwithai.substack.com/p/my-productivity-tools) that are related to carrying out my work.

I write about lots of things - including tools like this - on [X](https://x.com/readwithai).
My [blog](https://readwithai.substack.com/) is more about reading and research and agency.
async-regigen 0.1.1
A async utility package for generating coordinates of rotated geometric shapes.
License: MIT
Requires Python: >=3.8
Keywords: geometry, rotation, rectangle, util

rotation_utils_package/
├── rotation_utils/        # 实际的 Python 模块
│   ├── __init__.py        # 导入类和函数
│   └── geometry.py        # 包含核心代码的模块
├── pyproject.toml         # 配置项目元数据和构建系统
├── README.md              # 项目描述文件
└── LICENSE                # 许可证文件



在pyproject.toml同级执行
pip install build
python -m build  # build失败，使用下面指定源后再pip
# 确保在运行构建命令的同一行或之前设置了环境变量
PIP_INDEX_URL="https://pypi.tuna.tsinghua.edu.cn/simple" python -m build



# 如果是本地文件，使用本地路径
pip install dist/rotation_utils_geometry-0.1.0-py3-none-any.whl