[FFmpeg-devel] [PATCH 2/2] lavfi: add tile video filter. (WIP)
Clément Bœsch
ubitux at gmail.com
Thu Feb 23 15:05:52 CET 2012
On Thu, Feb 23, 2012 at 02:44:27PM +0100, Nicolas George wrote:
>
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
> doc/filters.texi | 10 ++
> libavfilter/Makefile | 1 +
> libavfilter/allfilters.c | 1 +
> libavfilter/vf_tile.c | 225 ++++++++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 237 insertions(+), 0 deletions(-)
> create mode 100644 libavfilter/vf_tile.c
>
Nice, do you plan to use it in combination of a scenedetect video filter?
>
> There are still two problems with that filter:
>
> - When using ffmpeg -i file -vf tile ... the last incomplete frame is not
> flushed. Apparently, ffmpeg does not try to poll the filtergraph after it
> has fed it the last decoded frame.
>
> - When using -f lavfi, the last incomplete frame is flushed, but the empty
> frames, instead of being blank, keep the content they had on the last
> frame. This one is easy to fix, but it requires some extension/cleanup of
> the drawutils API, and it is sorely lacking documentation.
>
> Apart from that, it does work.
>
> Regards,
>
> --
> Nicolas George
>
>
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 238401a..9487a31 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -2597,6 +2597,16 @@ Complete example of a thumbnail creation with @command{ffmpeg}:
> ffmpeg -i in.avi -vf thumbnail,scale=300:200 -frames:v 1 out.png
> @end example
>
> + at section tile
> +
> +Tile several successive frames together.
> +
> +It accepts as argument the tile size in the form "@var{w}:@var{h}".
> +
Isn't it the number of columns/lines of tiles instead?
[...]
--
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/20120223/398b0ea2/attachment.asc>
More information about the ffmpeg-devel
mailing list