XFileSharing Pro - Movie Snapshot?

Message
Author
amator
Posts: 72
Joined: Dec 01, 2010 6:51 pm

Movie Snapshot?

#1 Postby amator » Jan 24, 2011 2:01 pm

Hi,

Is it possible to take a few snapshot of movie (video mod)? Or not in the first second movie?

Now it is a little misleading, because most movies have the same initial stage like Universal Pictures etc.

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#2 Postby admin » Jan 24, 2011 2:35 pm

You can take snapshot not on 0s, but for example on 5th second of your movie.
In order to do that, go to XUpload.pm and search for "mplayer" (there will be several instances).

Add following parameter to mplayer command:

Code: Select all

 -ss 00:005    

amator
Posts: 72
Joined: Dec 01, 2010 6:51 pm

#3 Postby amator » Jan 25, 2011 7:58 am

OK, I'll try.

But what happens when I set -ss 00:150 and the movie takes only 5 minutes? Does it work then?

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#4 Postby admin » Jan 25, 2011 9:32 am

No, it will not generate snapshot. That's why it's set to 00:05 by default.

nyan
Posts: 163
Joined: Oct 28, 2010 8:01 pm

#5 Postby nyan » Jan 25, 2011 10:42 am

install "mediainfo" and execute it to get the movie duration first.

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#6 Postby ankurs » Jan 25, 2011 10:59 am

nyan wrote:install "mediainfo" and execute it to get the movie duration first.
doesn't need to , the database already has those details

just need to script it smart , that it will take at X% of timeframe ; instead of hardcoding the time value