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 <[email protected]>: > On Mon, 8 Jun 2015 06:57:46 +0000 (UTC) > Carl Eugen Hoyos <[email protected]> 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 > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > -- Jesper Taxbøl +45 61627501 _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
