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

Jesper Taxbøl jesper at taxboel.dk
Tue Jun 9 00:10:36 CEST 2015


ok, it makes kind of sense then.

Is there a way to specify a more generic format inside the filter chain,
and only apply h264 in the end?


2015-06-09 0:01 GMT+02:00 Lou <lou at lrcd.com>:

> On Mon, 8 Jun 2015 06:57:46 +0000 (UTC)
> Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>
> > x264 does not allow encoding a height of "1" (it
> > has to be even), so even if we would support
> > cropping a height of "1" (it is currently forbidden),
> > what would be your usecase?
>
> It should be clarified that this depends on the pixel format. 4:2:0,
> width and height must be divisible by 2; 4:2:2 just width.
>
> For example with yuv444p output seems to work for me:
> ffmpeg -f lavfi -i testsrc=d=1 -vf crop=iw:1 crop.mkv
>
> The output seems to decode fine, but you can't play it back with ffplay
> unless you do something like: ffplay -vf scale=iw:-2 crop.mkv
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



-- 
Jesper Taxbøl
+45 61627501


More information about the ffmpeg-user mailing list