[Libav-user] Getting the size of video frames

Rouhi Amirhossein2 amir.rouhi at rmit.edu.au
Tue Sep 11 04:58:38 CEST 2012


I cant use that code in windows version. BTW does it save the frame size in
a file?

On 11 September 2012 12:09, 陈 钢 <chengang5 at staff.sina.com.cn> wrote:

> 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
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>


-- 
Amir H. Rouhi
PhD Student/ CSIT RMIT University
Room: 14-09-04
http://raws.adc.rmit.edu.au/~s3288736/blog2/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120911/42182902/attachment.html>


More information about the Libav-user mailing list