+ Reply to Thread
Results 1 to 13 of 13

Thread: DVD Image - script to autoplay

  Share/Bookmark
  1. #1

    Reputation

    Join Date
    May 2008
    Posts
    19
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default DVD Image - script to autoplay

    Hi all,

    I have a DVD (school excercise) that the whole school needs to access across the network because I dont want to burn 25 copies of it only for them to end up cracked, scratched, lost or otherwise rendered unusable.
    So I made a nice neat .ISO image of the dvd and used a batch file (as below) to call Daemon Tools to mount the image to the virtual DVD drive...all good so far...however I am having trouble getting it to autoplay. When the shortcut to the batch file is clicked the image mounts great but the user would then have to open My Computer and double click the virtual drive to get it to play, great for us but not for teachers or reception children. I need it to open up and play in either Media player, Nero showtime or Powerdvd when the batch file is run. Ive tried adding various switches to the end of line7 to no avail.

    Batch is as follows:-

    @echo off

    title TAKE Aerobics
    "c:\Program Files\D-Tools\daemon.exe" -unmount 0
    "c:\Program Files\D-Tools\daemon.exe" -mount 0, "\\server01\media\Videos\TAKE_Aerobics.iso"

    "C:\Program Files\Windows Media Player\wmplayer.exe"

    any ideas?

  2. #2

    Reputation Reputation Reputation
    clarky2k3's Avatar
    Join Date
    Nov 2007
    Location
    Northumberland
    Posts
    240
    Thank Post
    23
    Thanked 37 Times in 31 Posts
    Rep Power
    14

    Default

    Daemon Script is your friend! We use it here with Daemon Tools V3.47. For the life of me I cant find the download link! FOUND IT
    Last edited by clarky2k3; 18-11-2009 at 04:23 PM. Reason: Found The Link

  3. #3

    Reputation

    Join Date
    May 2008
    Posts
    19
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Thank you nice little app, but still cant get it to autoplay. I can get it to open media player or any other DVD player after mounting the image (as my original script did) but cannot get media player to automatically select the E:\ drive (virtual drive) and play the DVD. Am I missing something that this app does that my existing batch script didnt?

  4. #4

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    4,813
    Thank Post
    408
    Thanked 364 Times in 342 Posts
    Rep Power
    75

    Default

    In the batch script if you just put

    E:

    At the end of the bat script would that make it launch E:

  5. #5

    Reputation

    Join Date
    May 2008
    Posts
    19
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    you see I normally (when running an application) simply add the path to the executable at the end of the batch script, but because this is a dvd Video there is no EXE to call otherwise id create an Autorun.inf and call that from the script. I can of course add the path to the dvd player but that wont default to the virtual drive and play.


  6. #6

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    4,813
    Thank Post
    408
    Thanked 364 Times in 342 Posts
    Rep Power
    75

    Default

    Quote Originally Posted by dyson38 View Post
    you see I normally (when running an application) simply add the path to the executable at the end of the batch script, but because this is a dvd Video there is no EXE to call otherwise id create an Autorun.inf and call that from the script. I can of course add the path to the dvd player but that wont default to the virtual drive and play.

    If you had wmp classic on the clients you could do it that way then and put the path as something along the lines of

    e:\video_ts

  7. #7

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    Arthur's Avatar
    Join Date
    Feb 2007
    Location
    Oxfordshire, UK
    Posts
    834
    Thank Post
    33
    Thanked 223 Times in 172 Posts
    Rep Power
    47

    Default

    If you have VLC Media Player (portable or standard versions) you could use the following command to play the DVD ISO directly...

    Code:
    VLC.exe dvdsimple://\\Server01\Media\Videos\TAKE_Aerobics.iso
    

  8. Thanks to Arthur from:

    OutToLunch (20-11-2009)

  9. #8

    Reputation

    Join Date
    May 2008
    Posts
    19
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Thank you the last suggestion worked, needed a little tweak to get it to play the menu instead of defaulting to the first track, apart from that worked like a charm.

    Thank you all, much appreciated

  10. #9

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,374
    Thank Post
    175
    Thanked 207 Times in 168 Posts
    Rep Power
    53

    Default

    Quote Originally Posted by Arthur View Post
    If you have VLC Media Player (portable or standard versions) you could use the following command to play the DVD ISO directly...

    Code:
    VLC.exe dvdsimple://\\Server01\Media\Videos\TAKE_Aerobics.iso
    
    You learn something new about VLC every day Thanks for that!

  11. #10

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    Arthur's Avatar
    Join Date
    Feb 2007
    Location
    Oxfordshire, UK
    Posts
    834
    Thank Post
    33
    Thanked 223 Times in 172 Posts
    Rep Power
    47

    Default

    Quote Originally Posted by dyson38 View Post
    Thank you the last suggestion worked, needed a little tweak to get it to play the menu instead of defaulting to the first track, apart from that worked like a charm.
    Ah yes. I forgot to mention that if you wanted VLC to start playing the DVD at the menu, you just need to remove 'simple' from the command above.

  12. #11

    Reputation

    Join Date
    May 2008
    Posts
    19
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Just one more thing to note, when VLC starts up it give a network security screen..great for a single user but im deploying this to 100 machines used by primary school kids. I found various suggestions on changing and re-deploying the exe none of which worked, in the end went to old vesion 8.6 which doesnt have the network security screen. DVD plays perfectly on the click of the batch file with all original tracks and menus just as if it were in the drive.

    Thanks again

  13. #12

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    Arthur's Avatar
    Join Date
    Feb 2007
    Location
    Oxfordshire, UK
    Posts
    834
    Thank Post
    33
    Thanked 223 Times in 172 Posts
    Rep Power
    47

    Default

    Quote Originally Posted by dyson38 View Post
    Just one more thing to note, when VLC starts up it give a network security screen..great for a single user but I'm deploying this to 100 machines used by primary school kids. I found various suggestions on changing and re-deploying the exe none of which worked, in the end went to old version 8.6 which doesn't have the network security screen.
    For future reference, you can disable this in the latest version of VLC by using additional switches in your batch file. i.e.

    Code:
    VLC.exe --no-qt-updates-notif --no-qt-privacy-ask --no-video-title-show --started-from-file dvd://\\Server01\Media\Videos\TAKE_Aerobics.iso
    

  14. Thanks to Arthur from:

    OutToLunch (24-11-2009)

  15. #13

    Reputation

    Join Date
    Dec 2009
    Posts
    83
    Thank Post
    5
    Thanked 5 Times in 5 Posts
    Rep Power
    2

    Default

    excuse my ignorance

    Cant you just decode the DVD and rip it to a shared directory on your server or make a new directory ?
    and share it as normal , im pretty sure standard Vobs can be opened with WMP.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. DVD or CD Tray Lock from Script or on login
    By k-strider in forum Windows
    Replies: 8
    Last Post: 31-05-2010, 01:29 PM
  2. Post Image Script
    By andrewking2 in forum O/S Deployment
    Replies: 0
    Last Post: 17-08-2009, 11:14 PM
  3. Image laptop to DVD for use as recovery disk.. help
    By adamchapman in forum Windows Vista
    Replies: 8
    Last Post: 08-07-2009, 04:22 PM
  4. Need script to associate WMP to open DVD's
    By sidewinder in forum Windows
    Replies: 6
    Last Post: 08-05-2009, 12:24 AM
  5. Replies: 16
    Last Post: 19-02-2008, 09:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts