refactor: Gomplate now renders all examples using the same plugin.

This commit is contained in:
Spencer Brower
2024-03-04 09:46:34 -05:00
parent d7aed73263
commit 5bc2321b4f
4 changed files with 22 additions and 14 deletions

View File

@@ -3,7 +3,8 @@
vim: filetype=markdown :
->
{{ end }}
{{ end -}}
# nu-ffmpeg
Utility commands for working with ffmpeg in nushell.
@@ -14,8 +15,10 @@ Utility commands for working with ffmpeg in nushell.
- `ffprobe` multiple files at once
- Use `streams`, `streams video`, and `streams audio` to filter `ffprobe` output
- get the `dimensions` of a video stream as a record
- Apply complex filters to a video using standard shell pipes `|` rather than filtergraph syntax.
- Conditionally apply filters to a video based on the inputs
- Tab-completion for filter options. i.e. `fps --round<tab>` will yield `zero inf down up near`
- Apply and parse complex filters to a video (Work In Progress)
## Setup
@@ -47,18 +50,18 @@ use <path-to-repository>/filters *
## Examples
```nu
{{ ffprobe_example -}}
{{ example "ffprobe" -}}
```
```nu
{{ ffprobe_multiple_files_example -}}
{{ example "ffprobe-multiple-files" -}}
```
```nu
{{ ffprobe_streams_video_example -}}
{{ ffprobe_streams_audio_example -}}
{{ example "streams-video" -}}
{{ example "streams-audio" -}}
```
```nu
{{ ffprobe_dimensions_example -}}
{{ example "dimensions" -}}
```