sorry not that one, this one ffmpeg -i video.mov -filter_complex "scale=iw*min(1\,min(640/iw\,360/ih)):-1" -vb 600k -ac 2 -ab 96k -ar 44100 -f mp4 out.mp4
On Wed, Jul 29, 2015 at 5:33 PM, Moritz Barsnick <[email protected]> wrote: > On Wed, Jul 29, 2015 at 17:27:47 +0200, vedran wrote: > > Anyway, thank you all guys. I did it like this, although i don't > understand > > well what this does > > > > ffmpeg -i myvideo001.3gp -vf scale=1024:-1 -vb 600k -ac 2 -ab 96k -ar > 44100 > > -f mp4 myvideo001out.mp4 > > Oh my, what's there not to understand? ;-) > > It scales your input video to a width of 1024 (regardless of whether > the input is narrower or wider), while maintaining the aspect ratio. > > Moritz > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
