update readme

This commit is contained in:
jb-alvarado 2022-08-31 21:22:15 +02:00
parent 176cd0a9ce
commit 952cc6fcfc
2 changed files with 9 additions and 3 deletions

View File

@ -47,7 +47,7 @@ Check the [releases](https://github.com/ffplayout/ffplayout/releases/latest) for
- [live ingest](/docs/live_ingest.md)
- image source (will loop until out duration is reached)
- extra audio source (experimental) (has priority over audio from video source)
- [custom filter](/docs/custom_filters.md)
- [custom filter](/docs/custom_filters.md) globally in config, or in playlist for specific clips
For preview stream, read: [/docs/preview_stream.md](/docs/preview_stream.md)
@ -78,11 +78,17 @@ Check [install](docs/install.md) for details about how to install ffplayout.
"out": 647.68,
"duration": 647.68,
"source": "/Media/clip1.mp4"
}, {
"in": 0,
"out": 890.02,
"duration": 890.02,
"source": "/Media/clip2.mp4",
"custom_filter": "eq=gamma_b=0.6:gamma_g=0.7[c_v_out]"
}, {
"in": 0,
"out": 149,
"duration": 149,
"source": "/Media/clip2.mp4",
"source": "/Media/clip3.mp4",
"category": "advertisement"
}, {
"in": 0,

View File

@ -1,6 +1,6 @@
## Custom filter
ffplayout allows it to define a custom filter string. For that is the parameter **custom_filter** in the **ffplayout.yml** config file. The playlist can also contain a **custom_filter** paramter for every clip, with the same usage.
ffplayout allows it to define a custom filter string. For that is the parameter **custom_filter** in the **ffplayout.yml** config file. The playlist can also contain a **custom_filter** parameter for every clip, with the same usage.
The filter outputs should end with `[c_v_out]` for video filter, and `[c_a_out]` for audio filter. The filters will be apply on every clip and after the filters which unify the clips.