[FFmpeg-user] Dimensions of the input video as a variable
Moritz Barsnick
barsnick at gmx.net
Fri Apr 28 20:45:09 EEST 2017
On Fri, Apr 28, 2017 at 15:27:27 +0200, 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?
showwaves is an audio filter, it has no access to the dimensions of the
video, unfortunately.
Since its output is video though, you could in theory make it very
large and then scale it down, but there's also no way for one video's
filters (such as "scale") to know another video's dimensions. :(
Moritz
More information about the ffmpeg-user
mailing list