Take a look at :

http://stackoverflow.com/questions/2017843/fetch-frame-count-with-ffmpeg

在 2012-9-11,上午8:51, Rouhi Amirhossein2 写道:

> Hi
> I have a list of videos. how can i run a program, like ffmpeg (or any other 
> program ) in a for loop to just get the size of the video frames ? like:
> 
> for(i=0;i<MaxVideoNum;i++){
> 
>   FrameSize[i]  =system(ffmpeg_path); //!!!?????
> 
> }
> Cheers
> Amir 
> _______________________________________________
> Libav-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to