[FFmpeg-user] How to analyse a pure audio file by ffmpeg commands?

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Feb 19 14:39:06 CET 2013


JIA Pei <jp4work <at> gmail.com> writes:

> Is there a ffmpeg command to analyse an audio file?
> 
> 1) How many samples are in this audio file?

I may misunderstand, but the following often helps:
$ ffmpeg -i file -f null -

> 2) How many audio channels are in this audio file? 1 or 2?

$ ffmpeg -i file

Carl Eugen



More information about the ffmpeg-user mailing list