RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
Movie Snapshot?

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
amator



Joined: 01 Dec 2010
Posts: 48

PostPosted: Jan 24, 2011 2:01 pm    Post subject: Movie Snapshot? Reply with quote

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.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 22 Mar 2006
Posts: 1286

PostPosted: Jan 24, 2011 2:35 pm    Post subject: Reply with quote

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:
 -ss 00:005   
Back to top
View user's profile Send private message Send e-mail
amator



Joined: 01 Dec 2010
Posts: 48

PostPosted: Jan 25, 2011 7:58 am    Post subject: Reply with quote

OK, I'll try.

But what happens when I set -ss 00:150 and the movie takes only 5 minutes? Does it work then?
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 22 Mar 2006
Posts: 1286

PostPosted: Jan 25, 2011 9:32 am    Post subject: Reply with quote

No, it will not generate snapshot. That's why it's set to 00:05 by default.
Back to top
View user's profile Send private message Send e-mail
nyan



Joined: 28 Oct 2010
Posts: 121

PostPosted: Jan 25, 2011 10:42 am    Post subject: Reply with quote

install "mediainfo" and execute it to get the movie duration first.
Back to top
View user's profile Send private message
ankurs



Joined: 10 Mar 2009
Posts: 605

PostPosted: Jan 25, 2011 10:59 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group