FORUMS: list search recent posts

How to take screen shot of video size by ffmpeg

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Rahul Mehta
How to take screen shot of video size by ffmpeg
on Feb 8, 2011 at 7:38:30 am

Hi,

I want to take screen shot of size of the video. How can if take it , as now i can take the screen shot of this size like 120x90 by following code.

$cmd = "$ffmpeg -i $video -deinterlace -an -ss $second -t 00:00:01 -r 1 -y -s 120x90 -vcodec mjpeg -f mjpeg $image 2>&1";

Please suggest .

Thanks


Return to posts index

Michael Rampe
Re: How to take screen shot of video size by ffmpeg
on Feb 14, 2011 at 11:32:02 pm

[Rahul Mehta] "I want to take screen shot of size of the video. How can if take it , as now i can take the screen shot of this size like 120x90 by following code."

Not sure of the question here. Do you want the size to be the same as the original? If so, just remove the -s flag and FFmpeg will use the source size.

Michael


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]