semvec/pypi-packages huggingface dataset:
asiakirjasuodatin 2023.6.24
Document filter (Finnish: asiakirjasuodatin) that read a JSON serialization of the Pandoc AST from stdin, transform it in some way, and write it to stdout.
Requires Python: >=3.9
Keywords: developer-tools,devops

# Asiakirjasuodatin

Document filter (Finnish: asiakirjasuodatin) that read a JSON serialization of the Pandoc AST from stdin, transform it in some way, and write it to stdout.

[License: MIT](https://git.sr.ht/~sthagen/asiakirjasuodatin/tree/default/item/LICENSE)

Third party dependencies are documented in the folder [third-party](docs/third-party/README.md).

<!--
[![version](https://img.shields.io/pypi/v/asiakirjasuodatin.svg?style=flat)](https://pypi.python.org/pypi/asiakirjasuodatin/)
[![downloads](https://pepy.tech/badge/asiakirjasuodatin/month)](https://pepy.tech/project/asiakirjasuodatin)
[![wheel](https://img.shields.io/pypi/wheel/asiakirjasuodatin.svg?style=flat)](https://pypi.python.org/pypi/asiakirjasuodatin/)
[![supported-versions](https://img.shields.io/pypi/pyversions/asiakirjasuodatin.svg?style=flat)](https://pypi.python.org/pypi/asiakirjasuodatin/)
[![supported-implementations](https://img.shields.io/pypi/implementation/asiakirjasuodatin.svg?style=flat)](https://pypi.python.org/pypi/asiakirjasuodatin/)
-->

## Documentation

User and developer [documentation of asiakirjasuodatin](https://codes.dilettant.life/docs/asiakirjasuodatin).

## Bug Tracker

Any feature requests or bug reports shall go to the [todos of asiakirjasuodatin](https://todo.sr.ht/~sthagen/asiakirjasuodatin).

## Primary Source repository

The main source of `asiakirjasuodatin` is on a mountain in central Switzerland.
We use distributed version control (git).
There is no central hub.
Every clone can become a new source for the benefit of all.
The preferred public clones of `asiakirjasuodatin` are:

* [on codeberg](https://codeberg.org/sthagen/asiakirjasuodatin) - a democratic community-driven, non-profit software development platform operated by Codeberg e.V.
* [at sourcehut](https://git.sr.ht/~sthagen/asiakirjasuodatin) - a collection of tools useful for software development.

## Contributions

Please do not submit "pull requests" (I found no way to disable that "feature" on GitHub).
If you like to share small changes under the repositories license please kindly do so by sending a patchset.
You can either send such a patchset per email using [git send-email](https://git-send-email.io) or
if you are a sourcehut user by selecting "Prepare a patchset" on the summary page of your fork at [sourcehut](https://git.sr.ht/).

# Status

Experimental.

**Note** The default branch is `default`.
ffmpeg-gpt 0.1.1
Use GPT to generate ffmpeg commands

# ffmpeg_gpt

Using GPT to generate bash scripts that use ffmpeg commands to process videos.

## Installation
### From `pypi`
```bash
pip install ffmpeg_gpt
```

### From source
```bash
git clone https://github.com/apirrone/ffmpeg_gpt
cd ffmpeg_gpt
pip install .
```

### Set yout openai api key as an environment variable (put it in your .bashrc or equivalent for convenience)
```bash
export OPENAI_API_KEY=<your_api_key>
```
## Usage examples
```bash
$ ffmpeg-gpt "flip the video input.mp4 vertically, and export all its frames in a directory named out"

Generated script: 
===========
#!/bin/bash

mkdir out
ffmpeg -i input.mp4 -vf "vflip" -q:v 1 out/frame%04d.jpg
===========
Do you want to run this script? ([Y]/n): 

```