[FFmpeg-user] Creating an advanced filter effect that repeats the outer pixels

Moritz Barsnick barsnick at gmx.net
Mon Jun 8 11:22:03 CEST 2015


On Mon, Jun 08, 2015 at 09:59:08 +0200, Jesper Taxbøl wrote:
> The 1440x1 is only used in the pipeline. The end result will be a
> resulution around 1440x11440, so that should be fine for ffmpeg.

It should work in a pipeline. What you are trying to is to encode it
with libx264, that's the part that doesn't work. You should be able to
note that, because you see the muxer complaining, and not the filter.
:-)

This works for me:
$ ffmpeg -y -f lavfi -i testsrc=size=1440x1440  -t 10 -filter_complex "[0:v:0]crop=1440:1:0:720[OUT]" -map "[OUT]" -f null -
and seems to produce a 1440x1 video stream (so I conclude that the crop
filter doesn't seem to have a restriction).

Expand your filter chain and let us know.

Moritz


More information about the ffmpeg-user mailing list