I'm trying to do a simple scale using ffmpeg with -vf to scale a file that is currently 720:480 to 720:400. I do NOT want to keep the original aspect ratio. I want to compress the vertical dimension without changing the horizontal dimension. But ffmpeg ignores the horizontal scale value that I input on the command line. Instead, it resizes the image to the vertical scale that I input but keeps the original aspect ratio. The output file always comes out with the same aspect ratio as the original file. This seems like it should be straight forward. What am I doing wrong? BTW, I can change the aspect ratio using Handbrake with a Custom Anamorphic setting, but I'd like to know how to do this directly in ffmpeg. Thanks.
ffmpeg.exe" -i "INPUT.mkv" -vf "scale=720:400" OUTPUT.mkv
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 3 of 3
			
		- 
	
- 
	Thanks! I looked at a lot of documentation on the web about the scaling with ffmpeg but never saw any comment about the "setsar" option. It works great. I wonder why other sites don't mention it. 
 
 BTW, I understand about the preference for horizontal stretching when upscaling. I was just using a simple example to get help with the scaling problem I was having. Thanks again!
Similar Threads
- 
  ffmpeg scaling video resolutionBy marcorocchini in forum Newbie / General discussionsReplies: 7Last Post: 26th Feb 2017, 10:25
- 
  ffmpeg order of operations - scaling footage and interlacingBy nesburf in forum Video ConversionReplies: 12Last Post: 31st Jan 2017, 18:40
- 
  Down-scaling helpBy ChibiSqueeze in forum Video ConversionReplies: 8Last Post: 1st Jul 2016, 09:45
- 
  Help up-scaling animeBy zanzar in forum Newbie / General discussionsReplies: 1Last Post: 29th Dec 2015, 02:30
- 
  scaling questionBy hoodleehoo in forum Newbie / General discussionsReplies: 1Last Post: 27th Aug 2013, 07:29


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote