[FFmpeg-user] How to grab a jpg thumb image?

tank pranav akshar_tank at yahoo.com
Wed Nov 2 06:27:24 CET 2011


check this link.

http://blog.prashanthellina.com/2008/03/29/creating-video-thumbnails-using-ffmpeg/


regards,
pranav.


________________________________
From: kadin 320 <kadin320 at gmail.com>
To: ffmpeg-user at ffmpeg.org
Sent: Wednesday, November 2, 2011 10:48 AM
Subject: [FFmpeg-user] How to grab a jpg thumb image?

I am trying to grab a frame of video and convert it to a jpg thumb image.
I am only seccessful at coverting it to a png thumb.
I tried putting the word jpg and jpeg in the exec()
and making sure the file ext. is jpg or jpeg, but I can't get it to work.
What am I doing wrong? Thanks.

exec("$ffmpegPath -y -i $srcFile -vframes 1 -ss 00:00:03 -an -vcodec png -f
rawvideo -s 110x90 $destThumb");
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list