[FFmpeg-devel] [PATCH] filters: add the vediting and aediting filters

Clément Bœsch u at pkh.me
Tue Jan 7 07:55:50 CET 2014


On Mon, Jan 06, 2014 at 03:59:51PM +0100, Federico Simoncelli wrote:
> The vediting and aediting filters allow the user to select segments
> of video and audio to include.
> 
> Signed-off-by: Federico Simoncelli <fsimonce at redhat.com>
> ---
>  Changelog                |   1 +
>  doc/filters.texi         |  23 +++++
>  libavfilter/Makefile     |   2 +
>  libavfilter/allfilters.c |   2 +
>  libavfilter/f_editing.c  | 259 +++++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 287 insertions(+)
>  create mode 100644 libavfilter/f_editing.c
> 
> diff --git a/Changelog b/Changelog
> index 2cab110..c45b2fe 100644
> --- a/Changelog
> +++ b/Changelog
> @@ -18,6 +18,7 @@ version <next>
>  - ATRAC3+ decoder
>  - VP8 in Ogg demuxing
>  - side & metadata support in NUT
> +- editing filter
>  
>  
>  version 2.1:
> diff --git a/doc/filters.texi b/doc/filters.texi
> index a579964..4d0b4f6 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -1787,6 +1787,29 @@ slope
>  Determine how steep is the filter's shelf transition.
>  @end table
>  
> + at section vediting, aediting
> +
> +Select the segments of video and audio to include.
> +
> +The filter accepts the following options:
> +
> + at table @option
> + at item segments
> +The segments of the video or audio to include. The format is:
> + at example
> +vediting=START_TS1-END_TS1#START_TS2-END_TS2#...


What's the difference with
select=between(t,START_TS1,END_TS1)+between(t,START_TS2,END_TS2)+...?

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140107/0188ca42/attachment.asc>


More information about the ffmpeg-devel mailing list