Skip to content

Commit

Permalink
doc: Fix typos in VideoStreamOptions docs
Browse files Browse the repository at this point in the history
The docs for `VideoStreamOptions` give example values for `profile`
which are unquoted strings.
Add quotes to the example strings in the docs.
  • Loading branch information
musoke committed Dec 20, 2023
1 parent 1c2adb6 commit 9b00837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ffmpeg-util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
higher numbers giving lower quality and smaller file sizes (higher compression). The
minimum value is `0` (lossless encoding).
- For `mp4`, `51` is the maximum. Note that `compression = 0` only works with `mp4` if
`profile = high444`.
`profile = "high444"`.
- For `webm`, `63` is the maximum.
- `compression` has no effect on `mkv` and `gif` outputs.
- `profile = "high422"`: A ffmpeg compatible profile. Currently only applies to `mp4`. If
you have issues playing a video, try `profile = "high"` or `profile = "main"`.
- `pixel_format = "yuv420p"`: A ffmpeg compatible pixel format (`-pix_fmt`). Currently only
applies to `mp4`. Defaults to `yuv444p` for `profile = high444`.
applies to `mp4`. Defaults to `yuv444p` for `profile = "high444"`.
- `loop = 0`: Number of times the video is repeated, for a `gif`. Defaults to `0`, which
means infinite looping. A value of `-1` turns off looping, and a value of `n > 0` and above
means `n` repetitions (i.e. the video is played `n+1` times).
Expand Down

0 comments on commit 9b00837

Please sign in to comment.