[FFmpeg-user] How to crop block borders from top and bottom using ffmpeg

Mark Himsley mark.himsley at gmail.com
Thu Oct 4 21:49:12 CEST 2012


On 4 Oct 2012 20:40, "diljit singh" <diljit77 at gmail.com> wrote:
>
> Hi Roger,
>
> I'm little new to ffmpeg. I used following commands using crop, but for
all
> commands, i'm getting similar message " unable to find suitable output
> format
>
> 1. ffmpeg -i input.mp4 crop=1280:700 -y output.mp4

ffmpeg -i input.mp4 -vf crop=1280:700 -y output.mp4

> 2. ffmpeg -i input.mp4 crop=in_w-2*10:in_h-2*20 -y output.mp4
>
> Please give me one working example. That will be of great help.
>
> Regards
> Diljit singh
>
> On Thu, Oct 4, 2012 at 7:37 PM, Roger Pack <rogerdpack2 at gmail.com> wrote:
>
> > > How to crop black borders from top and bottom of video using top and
> > > bottom. Actually I'm using a 16:9 video which I want to convert in to
4:3
> > > while retaining aspect ratio. So, first I would like to remove borders
> > and
> > > then convert the file back to exact size and then add enough borders
to
> > > make it 4:3. Please advise.
> >
> > http://ffmpeg.org/ffmpeg.html
> > search for "crop"
> > :)
> > -r
> >

-- 
Mark


More information about the ffmpeg-user mailing list