<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Take a look at :</div><div><br></div><a href="http://stackoverflow.com/questions/2017843/fetch-frame-count-with-ffmpeg">http://stackoverflow.com/questions/2017843/fetch-frame-count-with-ffmpeg</a><div><br><div><div>ÔÚ 2012-9-11£¬ÉÏÎç8:51£¬ Rouhi Amirhossein2 Ð´µÀ£º</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi<div>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:</div><div><br clear="all"><div>for(i=0;i<MaxVideoNum;i++){</div>
<div><br></div><div>  FrameSize[i]  =system(ffmpeg_path); //!!!?????</div><div><br></div><div>}</div>Cheers<br><div>Amir </div>
</div>
_______________________________________________<br>Libav-user mailing list<br><a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>http://ffmpeg.org/mailman/listinfo/libav-user<br></blockquote></div><br></div></body></html>