[FFmpeg-user] Stretch

Claudiu Rad-Lohanel jazzman at misalpina.net
Wed Jan 14 08:41:43 CET 2015

On 1/14/2015 9:25 AM, Vladimir Bilichenko wrote:
>>> Hi. I have a question about  video stretching. I have a video(
>>> https://www.dropbox.com/sh/5mw6hvgw170ov8b/AADABGroGqbSg_a9INZiesrQa?dl=0)
>>> width = 840, height = 922. I need to change the size of the video to
>>> 1920x1080 it must be stretched. Output file should be .mp4. Can some one
>>> help me with that?
> Thats not working for such input resolution width = 840, height = 922.

yes, it works, but you probably also want to set SAR 1:1:

ffmpeg -i <input_file> -vf 'scale=1920:1080,setsar=1' 
<other_encoding_parameters> <output_name>.mp4

>>> ffmpeg -i <input_file> -s 1920x1080 <other_encoding_parameters> <output_name>.mp4 ?


More information about the ffmpeg-user mailing list