auto run DVD - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 05-03-2005, 01:31 AM   #1 (permalink)
purveyor of fine cheeses
 
Join Date: Apr 2004
Posts: 323
Question auto run DVD

I have a whole bunch of video files that I would like to put on DVD. But what I would like to do is make the DVD so that when it is put into a drive a website automatically opens and the video files can be accessed and maybe played through the site.

How can I go about this?
__________________

__________________
<img src=\"http://img.photobucket.com/albums/v208/knowledgelifeguard/homer21.gif\" alt=\"Image hosted by Photobucket.com\" width=\"125\" height=\"104.8\"> <font size=\"1\"><i>\"I like these real Saturdays, not like that fake one that almost got me fired.\"</font></i>
SupremeRuler99 is offline  
Old 05-04-2005, 12:48 PM   #2 (permalink)
Junior Techie
 
Join Date: Dec 2004
Posts: 45
Default

The first thing you have to do, is get your hands on what they call a 'stub' program. This is an executable program that you put in the root of your CD, that can execute the default browser of that persons system (it uses the ShellExecute() function -- if you are a programmer).

Once you have the stub program (try searching google for ShellExecute -- if anything, you will find some instructions on how to compile it yourself), you have to create the autorun.inf. To do this, go into notepad (or any other text editor), and type the following:

[autorun]
open=stub.exe filename.html

Assuming your stub program accepts only 1 parameter, this will pass the name of your html file to the stub program, which will then execute it. You are going to have to place the autorun.inf file in the root director of you CD as well.

Finally, you are going to have to create the HTML. If you want the person to just access it, you use the <a href> tag to link to each of the videos, and when they click on it, it will come up with the "Open, Save" dialog. They can then use the Open option to open the video with their default video player.

If you want them to view the videos right inside the webpage, you will have to create separate webpages for each of the videos, and use the <embed> tag to load each one up (you can search google for "embed" for more information).

If this seems like an awful lot of work (it can get exhaustive ), I have found this link for you:

http://www.doom9.org/index.html?/autorun_divx.htm

This is a tutorial off of doom9.org (awesome for video encoding), which helps you create a divx-autorun program. This might be what your looking for, but I'm not sure what your doing exactly.

I hope this helps.
__________________

Babbage is offline  
Old 05-05-2005, 12:53 AM   #3 (permalink)
purveyor of fine cheeses
 
Join Date: Apr 2004
Posts: 323
Talking Thanks a bunch

That's pretty much what I was looking for, in terms of the webpage thing. If I embed the clips will they still be able to save them as? Also, would you recomend a maximum film length for embeded objects?

I will take a look at the tutorial you recommended, that might be even better and easier that what I had first envisaged!

Thank goodness there are helpful and kind people like you on the net
__________________
<img src=\"http://img.photobucket.com/albums/v208/knowledgelifeguard/homer21.gif\" alt=\"Image hosted by Photobucket.com\" width=\"125\" height=\"104.8\"> <font size=\"1\"><i>\"I like these real Saturdays, not like that fake one that almost got me fired.\"</font></i>
SupremeRuler99 is offline  
Old 05-05-2005, 09:50 AM   #4 (permalink)
Junior Techie
 
Join Date: Dec 2004
Posts: 45
Default

Thanks for the comment

If you still want them to have the ability to save the object, then on the same page with the <embed> tag, just add the <a href> tag. You could then give the link a title of something like: "Right-click here to save." When they right-click, they can go to "Save Target As", and save it to a location of their choosing.

As far as the length of the clips, there really isn't a maximum you have to live by. Since you are going to be running if off of the DVD, you can pretty much have it as long as you want.
Babbage is offline  
Old 05-05-2005, 03:28 PM   #5 (permalink)
purveyor of fine cheeses
 
Join Date: Apr 2004
Posts: 323
Default

Excellent! Thank you very much!
__________________
<img src=\"http://img.photobucket.com/albums/v208/knowledgelifeguard/homer21.gif\" alt=\"Image hosted by Photobucket.com\" width=\"125\" height=\"104.8\"> <font size=\"1\"><i>\"I like these real Saturdays, not like that fake one that almost got me fired.\"</font></i>
SupremeRuler99 is offline  
Closed Thread

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
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 07:45 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.