[FFmpeg-user] Dimensions of the input video as a variable

Lou lou at lrcd.com
Fri Apr 28 21:04:46 EEST 2017


On Fri, Apr 28, 2017, at 05:27 AM, Wolfgang Hugemann wrote:
> As you see, I supplied the dimensions of the input video (640x480) in 
> the command line. I would like to turn this into a more general script, 
> determining the dimensions of the input video on the fly, but how do I 
> do that?

ffprobe can be used to get width and height for the showwaves size
option.


More information about the ffmpeg-user mailing list