[Libav-user] How can i get just basic info from an input video file by ffmpeg?

Clément Bœsch ubitux at gmail.com
Tue Jul 5 07:25:12 CEST 2011


On Tue, Jul 05, 2011 at 02:13:14PM +1000, Amir Rouhi-Rmit wrote:
> Hellow everybody
> How can i get the basic info of any video file which i need by ffmpeg? the
> information i need i just frame size and length of video. using below
> command seems not standard:
> ffmpeg -i "path of input video"

Yes, ffprobe is more appropriate.

> BTW is there any function in ffmpeg to call it in my c program to get my
> information? if yes whats the name and the method of calling the function?
> 

av_dump_format()

-- 
Clément B.


More information about the Libav-user mailing list