Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Programming and Hacking > Development

Reply
 
Thread Tools Display Modes
Old 20th March 2002, 12:16   #1  |  Link
divxdede
Registered User
 
Join Date: Feb 2002
Posts: 45
Start a movie with WMP at specified time

I want to know if it have a way for launch Windows Média Player 6.4
with a vidéo and it start it directly at a specified time (like 2mins30) ??????

if someone know how make that , i thanks him in advance
divxdede is offline   Reply With Quote
Old 21st March 2002, 14:21   #2  |  Link
Wizard_FL
Registered User
 
Join Date: Oct 2001
Posts: 39
Do you mean to implement this in a batch file? Otherwise you might try to schedule the command with the windows sheduler, just use mplayer2.exe %1 where %1 represents the name of the file you want to play. If you want to use the command line in a batch file but you need to delay it's execution, there are a number of utilities you could use to achieve that result. Which one you use depends on the platform you are running it on... Try Sleep or Choice, or you can download one (I'm sure there are plenty).
Wizard_FL is offline   Reply With Quote
Old 21st March 2002, 14:39   #3  |  Link
divxdede
Registered User
 
Join Date: Feb 2002
Posts: 45
no you don't understand what i want, but it's my fault my question was ambigous !!

i want to start a vidéo at a spécific time inside the vidéo !!
so i want to launch a vidéo with WMP but not start at the beggining of the vidéo !!!

any idea ?
divxdede is offline   Reply With Quote
Old 21st March 2002, 14:47   #4  |  Link
Wizard_FL
Registered User
 
Join Date: Oct 2001
Posts: 39
Only thing I can think about right now is to simulate keys being pressed.
Wizard_FL is offline   Reply With Quote
Old 21st March 2002, 15:03   #5  |  Link
Wizard_FL
Registered User
 
Join Date: Oct 2001
Posts: 39
Found something... Have you tried creating an asx file? It's basically a text file that tells the player which file to play and how. The cool thing is that you can specify the start time!

Look at this link:
http://msdn.microsoft.com/library/de..._reference.asp
Wizard_FL is offline   Reply With Quote
Old 21st March 2002, 15:15   #6  |  Link
divxdede
Registered User
 
Join Date: Feb 2002
Posts: 45
Very thx )) it's that i need !!! all that i need ))))))))
i hope that i will can help you a day !!!
divxdede is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:18.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.