[FFmpeg-user] How to duplicate 1st line
Paul B Mahol
onemda at gmail.com
Sun Jan 6 17:05:20 EET 2019
On 1/6/19, Ulf Zibis <Ulf.Zibis at gmx.de> wrote:
> Hi,
>
> because of a noise in the 1st line of my video, I want to duplicate the
> 2nd line to the first. I tried this and got an error about invalid
> horizontal crop value:
> ffmpeg -i in.vob -vf
> "split[in1][in2];[in1]crop=in_w:1:0:1[top];[in2]crop=in_w:in_h-1:0:1[main];[top][main]
> vstack"out_fill-top_.mp4
>
> I guess, the problem is, that the input file is interlaced. So I tried
> the following:
> ffmpeg -i in.vob -vf
> "split[in1][in2];[in1]crop=in_w:2:0:2[top];[in2]crop=in_w:in_h-2:0:2[main];[top][main]
> vstack"out_fill-top_.mp4
> This works, but results in visible artefacts in the first 2 lines.
>
> Because the resulting mp4 video is progressive anyway, how could I get
> what I want (only 1 line should be duplicated)?
>
>
> Thanks
> -Ulf
>
> --
> Von meinem Seibert gesendet
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
use fillborders filters.
More information about the ffmpeg-user
mailing list