savonet / ocaml-ffmpeg

OCaml bindings to the FFmpeg library.
http://www.liquidsoap.info/ocaml-ffmpeg/
GNU Lesser General Public License v2.1
48 stars 12 forks source link

Export `AVOptions`! #45

Closed toots closed 4 years ago

toots commented 4 years ago
Filter name: trim
description: Pick one continuous section from the input, drop the rest.
options:
- end_frame:
    type: int64
    help: Number of the first frame that should be dropped again
    flags: filtering param, video param
    spec: {default: 9223372036854775807, min: 0, max: 9223372036854775807, values: []}
- start_frame:
    type: int64
    help: Number of the first frame that should be passed to the output
    flags: filtering param, video param
    spec: {default: -1, min: -1, max: 9223372036854775807, values: []}
- durationi:
    type: duration
    help: Maximum duration of the output
    flags: filtering param, video param
    spec: {default: 0, min: 0, max: 9223372036854775807, values: []}
- duration:
    type: duration
    help: Maximum duration of the output
    flags: filtering param, video param
    spec: {default: 0, min: 0, max: 9223372036854775807, values: []}
- end_pts:
    type: int64
    help: Timestamp of the first frame that should be dropped again
    flags: filtering param, video param
    spec: {default: -9223372036854775808, min: -9223372036854775808, max: 9223372036854775807, values: []}
- start_pts:
    type: int64
    help: Timestamp of the first frame that should be  passed
    flags: filtering param, video param
    spec: {default: -9223372036854775808, min: -9223372036854775808, max: 9223372036854775807, values: []}
- endi:
    type: duration
    help: Timestamp of the first frame that should be dropped again
    flags: filtering param, video param
    spec: {default: 9223372036854775807, min: -9223372036854775808, max: 9223372036854775807, values: []}
- end:
    type: duration
    help: Timestamp of the first frame that should be dropped again
    flags: filtering param, video param
    spec: {default: 9223372036854775807, min: -9223372036854775808, max: 9223372036854775807, values: []}
- starti:
    type: duration
    help: Timestamp of the first frame that should be passed
    flags: filtering param, video param
    spec: {default: 9223372036854775807, min: -9223372036854775808, max: 9223372036854775807, values: []}
- start:
    type: duration
    help: Timestamp of the first frame that should be passed
    flags: filtering param, video param
    spec: {default: 9223372036854775807, min: -9223372036854775808, max: 9223372036854775807, values: []}
inputs:
- name: default, type: video
outputs:
- name: default, type: video