diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-07-10 18:25:53 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-07-12 15:58:22 +0000 |
commit | b3405b1bdacf83f1b9116e70b8cbd3542916b628 (patch) | |
tree | 35c792148a2a4f00adeabbff8dfcaa81994f12c7 /doc/filters.texi | |
parent | 8aea97a49d19a12691bc82ed97705053cfdb6ad2 (diff) | |
download | ffmpeg-streaming-b3405b1bdacf83f1b9116e70b8cbd3542916b628.zip ffmpeg-streaming-b3405b1bdacf83f1b9116e70b8cbd3542916b628.tar.gz |
lavfi/trim: use AV_OPT_TYPE_DURATION
Workarounds for rounding differences between platforms should not be
needed any more.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 92f8612..bcc9687 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -949,11 +949,11 @@ Trim the input so that the output contains one continuous subpart of the input. This filter accepts the following options: @table @option @item start -Timestamp (in seconds) of the start of the kept section. I.e. the audio sample +Specify time of the start of the kept section, i.e. the audio sample with the timestamp @var{start} will be the first sample in the output. @item end -Timestamp (in seconds) of the first audio sample that will be dropped. I.e. the +Specify time of the first audio sample that will be dropped, i.e. the audio sample immediately preceding the one with the timestamp @var{end} will be the last sample in the output. @@ -966,7 +966,7 @@ Same as @var{end}, except this option sets the end timestamp in samples instead of seconds. @item duration -Maximum duration of the output in seconds. +Specify maximum duration of the output. @item start_sample Number of the first sample that should be passed to output. @@ -975,6 +975,10 @@ Number of the first sample that should be passed to output. Number of the first sample that should be dropped. @end table +@option{start}, @option{end}, @option{duration} are expressed as time +duration specifications, check the "Time duration" section in the +ffmpeg-utils manual. + Note that the first two sets of the start/end options and the @option{duration} option look at the frame timestamp, while the _sample options simply count the samples that pass through the filter. So start/end_pts and start/end_sample will @@ -7066,11 +7070,11 @@ Trim the input so that the output contains one continuous subpart of the input. This filter accepts the following options: @table @option @item start -Timestamp (in seconds) of the start of the kept section. I.e. the frame with the +Specify time of the start of the kept section, i.e. the frame with the timestamp @var{start} will be the first frame in the output. @item end -Timestamp (in seconds) of the first frame that will be dropped. I.e. the frame +Specify time of the first frame that will be dropped, i.e. the frame immediately preceding the one with the timestamp @var{end} will be the last frame in the output. @@ -7083,7 +7087,7 @@ Same as @var{end}, except this option sets the end timestamp in timebase units instead of seconds. @item duration -Maximum duration of the output in seconds. +Specify maximum duration of the output. @item start_frame Number of the first frame that should be passed to output. @@ -7092,6 +7096,10 @@ Number of the first frame that should be passed to output. Number of the first frame that should be dropped. @end table +@option{start}, @option{end}, @option{duration} are expressed as time +duration specifications, check the "Time duration" section in the +ffmpeg-utils manual. + Note that the first two sets of the start/end options and the @option{duration} option look at the frame timestamp, while the _frame variants simply count the frames that pass through the filter. Also note that this filter does not modify |