On Tue, 2006-04-25 at 22:19 +0200, Dirk Meyer wrote:
> That is not the problem. It takes ages to generate them.

I did up a little demo to test the feasibility of running lots of video
thumbnails at once.  (It's quite feasible.)  I put 15 mngs in a
kaa.canvas.  It ran on my box at about 40% cpu until all the thumbs were
loaded (i.e. all had cycled once), and then it dropped to about 22%
(because everything was in memory).  With opengl after thumbs were
loaded, about 16%.

[EMAIL PROTECTED] t]$ time ./mkthumb /data/movies/Matchstick\ 
Men/Matchstick_Men.avi test.mng
real    0m6.163s
user    0m4.977s
sys     0m0.467s

[EMAIL PROTECTED] t]$ cat mkthumb
mkdir tmp.$$
pushd tmp.$$
mplayer -ss 30:00 -vf decimate=2:100000:100000:1,scale=120:-2 -frames 
$((12*15)) -vo png -ac null -ao null -benchmark "$1"
convert --verbose -delay 8 *.png thumb.mng
mv thumb.mng "../$2"
popd
rm -rf tmp.$$

So it takes 6 seconds to generate a 15 second clip at 12fps.  (The evas
thumbs looked like about 5 fps, but it's hard to tell.)  That's not
really that bad, and if you want to generate a 5fps mng then it takes
about 3 seconds.

Sure it takes ages when you have lots of movies.  But that's not _that_
slow when you consider what it's doing.

Jason.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to