Page 1 of 1

possible to generate a thumbnail of an mpg with GD?

Posted: Thu May 05, 2005 1:01 pm
by Burrito
I would like to be able to whip up a script that scan my folder for files and then generate thumbs for images and (if possible) mpegs.

I'd like to just capture like the tenth frame or so and then throw that into a thumb for a hyperlink to the "full" movie.

anyone?

thx,

Burrito

Posted: Thu May 05, 2005 1:11 pm
by Chris Corbyn
Hm... under windows or linux? There some dos apps you may be able to passthru() to get the frame as an image... then the rest is obvious (i guess) ;-)

Posted: Thu May 05, 2005 1:26 pm
by timvw

Posted: Thu May 05, 2005 4:07 pm
by Burrito
awesome Tim, that looks very promising...do you know if it will work with RM?

I didn't see it on the site, but in all honesty, I didn't look that hard.

Posted: Thu May 05, 2005 4:44 pm
by timvw
can't speak from experience, haven't had the chance to experiment with it yet...

but http://ffmpeg.sourceforge.net/ffmpeg-doc.html#SEC16 seems to mention real audio and video....

Posted: Thu May 05, 2005 8:31 pm
by Burrito
ok, another question:

will this work with windows? It says something about building into the php binary and then goes on about some other stuff that looks *nixesque to me.

because I'm a total we Todd with *nix it's all greek to me.

if it did work with windows, I'd think it would have a .dll no?

if it's not painfully obvious, I need something that will work with windows...

Posted: Mon May 16, 2005 4:12 pm
by Burrito
guess this thread flatlined...I'm bringin' back to life!

any ideas on the windows thingy?

Posted: Tue May 17, 2005 3:12 am
by JayBird
could give it a whirl to find out