# FFMPEG Filtergraph Generator

**URL:** https://racket.discourse.group/t/ffmpeg-filtergraph-generator/2831
**Category:** Show & Tell
**Created:** [March 24, 2024, 4:58pm UTC](https://racket.discourse.group/t/ffmpeg-filtergraph-generator/2831 "2024-03-24T16:58:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Antigen-11](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/antigen-11/32/1813_2.png) [@Antigen-11](https://racket.discourse.group/u/Antigen-11)
#### Post date: [March 24, 2024, 4:58pm UTC](https://racket.discourse.group/t/ffmpeg-filtergraph-generator/2831/1 "2024-03-24T16:58:51Z")

</div>

Hello, everyone!

I have created an tiny [ffmpeg (complex) filtergraph generator](https://github.com/Antigen-1/filtergraph-generator.git) using a s-expression representation, which implements basic checks and character escaping.

However, I find its syntax not very user-friendly, and its behaviour is currently unsafe due to a shortage of necessary checks. Also, the documentation is still in progress.

Contributions and suggestions would be appreciated!

---

<div class="post-metadata">

### Author: ![soegaard](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/soegaard/32/19_2.png) [@soegaard](https://racket.discourse.group/u/soegaard)
#### Post date: [March 24, 2024, 5:46pm UTC](https://racket.discourse.group/t/ffmpeg-filtergraph-generator/2831/2 "2024-03-24T17:46:34Z")

</div>

Can you give a short description of what a they can be used for?

---

<div class="post-metadata">

### Author: ![Antigen-11](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/antigen-11/32/1813_2.png) [@Antigen-11](https://racket.discourse.group/u/Antigen-11)
#### Post date: [March 25, 2024, 3:50am UTC](https://racket.discourse.group/t/ffmpeg-filtergraph-generator/2831/3 "2024-03-25T03:50:31Z")

</div>

Sure!

> Before encoding, `ffmpeg` can process raw audio and video frames using filters from the libavfilter library. Several chained filters form a filter graph. `ffmpeg` distinguishes between two types of filtergraphs: simple and complex.

This library is written according to documents listed as follows.

- [Filtergraph description](https://ffmpeg.org/ffmpeg-filters.html#Filtergraph-description)
- [Filtering](https://ffmpeg.org/ffmpeg.html#Filtering)
