Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

autoplay frustration

4 views
Skip to first unread message

Mike Kujbida

unread,
Dec 5, 2001, 2:53:10 PM12/5/01
to
All I'm trying to do is to burn an mpeg 1 file to CD so that it will
autoplay upon insertion. I've done extensive searches on both the archives
for this group and on the web. I've tried every combination I can think of
using the following syntax - but it still doesn't work (W98, NT 4.0 & W2K).
What am I doing wrong? I should mention that I'm burning this to a CD-RW
but this shouldn't make a difference, should it?

On the root of the CD:
autorun.inf
mplayer2.exe
myvideo.mpg

The autorun file reads:
[autorun]
open=mplayer2.exe /play /close /fullscreen \myvideo.mpg


Mike Kujbida


WEBPA

unread,
Dec 5, 2001, 4:22:58 PM12/5/01
to
You do understand, don't you, that "autoplay" cannot work unless the computer
has its "autoinsert notification" turned "ON"? In other words, there is no way
to put something on a CD-ROM that will force a computer (Windows or Mac) to
execute a file on it ... unless the computer is expecting to find an executable
file on a newly inserted disk...and is continuously looking for a newly
inserted disk. If the computer(s) you're trying this with do, in fact, have
autoinsert turned on and autoplay works with factory-made disks, and your disk
won't work...then it is probable that the disk is not "closed" (see you burning
software's documentation)...and the CD drives cannot handle multi-session data
disks (some fairly recent ones cannot).


All I'm trying to do is to burn an mpeg 1 file to CD so that it will
>autoplay upon insertion. I've done extensive searches on both the archives

>for this group and on the web. I've tried ev...


webpa

Mike Kujbida

unread,
Dec 5, 2001, 4:45:27 PM12/5/01
to
I do understand. The NT & W2K units (it's been disabled on my W98 unit by
our IT folks) do have "autoinsert notification" on and I did finalize the
disc when I was burning it.

Mike Kujbida


"WEBPA" <we...@aol.com> wrote in message
news:20011205162258...@mb-ck.aol.com...

Eric Deghaye

unread,
Dec 5, 2001, 5:13:05 PM12/5/01
to
Do you know about "autorun.inf"...... almost like autoexec.bat of the old
days...

Eric


"Mike Kujbida" <kujfams...@sympatico.ca> wrote in message
news:9um4l3$9c974$1...@ID-113661.news.dfncis.de...

Mike Kujbida

unread,
Dec 5, 2001, 7:37:16 PM12/5/01
to
"Eric Deghaye" <eric.d...@skynet.be> wrote in message
news:3c0e9bdf$0$24143$ba62...@news.skynet.be...

> Do you know about "autorun.inf"...... almost like autoexec.bat of the old
> days...
>
> Eric
>

It's in there. From my original post:


On the root of the CD:
autorun.inf
mplayer2.exe
myvideo.mpg
The autorun file reads:
[autorun]
open=mplayer2.exe /play /close /fullscreen \myvideo.mpg

Is there something wrong with this syntax that I don't know about??

Mike Kujbida


Vance Green

unread,
Dec 5, 2001, 9:23:40 PM12/5/01
to
This EXACT syntax (except for the name of the file to be played)
works just fine here on W2K.

What OS are you using?

Are there any (accidental) trailing spaces after the filename to be played?

"Mike Kujbida" <kujfams...@sympatico.ca> wrote in message

news:Y4zP7.22491$iF3.2...@news20.bellglobal.com...

Mike Kujbida

unread,
Dec 6, 2001, 4:39:37 AM12/6/01
to

"Vance Green" <vanc...@covad.net> wrote in message
news:9umm38$glb$1...@newstest.laserlink.net...

> This EXACT syntax (except for the name of the file to be played)
> works just fine here on W2K.

Oh, great. Now I'm even more frustrated:-(


>
> What OS are you using?

NT4 and W2K (on 2 separate units).

>
> Are there any (accidental) trailing spaces after the filename to be
played?


Not that I can see.

bernard_...@hotmail.com

unread,
Dec 6, 2001, 2:49:31 PM12/6/01
to
Hi Mike,

I have a less elegant way of doing this, that might get your thing working. The
reason I figured out this way that I'll explain below, is that I've heard that
you couldn't launch an HTML without a third party tool ??? I thought to myself,
you've gotta be kidding, and I was right.

Create 2 files AUTORON.INF and LAUNCH.BAT

AUTORON.INF
[autorun]
open=launch.bat
icon=icon.ico **OPTIONAL**

LAUNCH.BAT
@echo off
start <FILENAME>.MPG

Well, if you replace the <FILENAME>.MPG with <FILENAME>.HTM, it does start the
default browser with the HTML page. So I beleive that if you put in an MPEG
filename there, it will launch the MPEG with the default MPEG player.

Have an ice day ;)

Bernard

In article <9ulu2f$9a2ce$1...@ID-113661.news.dfncis.de>, Mike Kujbida says...

Rusty Wright

unread,
Dec 6, 2001, 5:06:35 PM12/6/01
to
So, if I understand this correctly, in the autorun.inf file the open=
line can only specify a file that's directly runnable; i.e., something
that ends with .bat, .cmd, .exe, or .com, and it can't take any
command line arguments.

Vance Green

unread,
Dec 6, 2001, 7:44:38 PM12/6/01
to
Hmmm....

Do other autorun CD's work in this installation
(like commercial software)?

"Mike Kujbida" <kujfams...@sympatico.ca> wrote in message

news:r1HP7.23974$iF3.2...@news20.bellglobal.com...

Mike Kujbida

unread,
Dec 6, 2001, 8:48:30 PM12/6/01
to
> Hmmm....
>
> Do other autorun CD's work in this installation
> (like commercial software)?
>

Yep. No problems whatsoever.

Mike Kujbida

Mike Kujbida

unread,
Dec 6, 2001, 8:57:22 PM12/6/01
to
No problems at all Vance. All the usual progs installed just fine.
It really frustrates me to hear that this worked for you. BTW, I'm using
EZCD 5.01 on a Yamaha SCSI burner. My next step is to have a buddy with
different software/hardware try it and see what happens.

Mike Kujbida


"Vance Green" <vanc...@covad.net> wrote in message

news:9up503$ti2$1...@newstest.laserlink.net...

Mike Kujbida

unread,
Dec 6, 2001, 9:01:29 PM12/6/01
to
Thanks Bernard. I'll give it a shot. BTW, was "AUTORON.INF" instead of
"AUTORUN.INF" just a slip of the typing fingers?

Mike Kujbida

<bernard_...@hotmail.com> wrote in message
news:fZPP7.51782$xS6....@www.newsranger.com...

Vance Green

unread,
Dec 6, 2001, 10:23:06 PM12/6/01
to
Just had a thought...

Are you using Notepad to create the file?

If so, try saving with double quotes (") around the
entire filename i.e. "AUTORUN.INF" when doing a Save
As and make sure the entire name is capitalized. Also make
sure you're not saving in Unicode, but ANSI.

If you don't put quotes around the filename, Notepad will
save it as AUTORUN.INF.TXT, which, of course, won't work.

If you're NOT using Notepad, that may also be your problem.

Other text editors may include hidden crap that may be hosing the file.

I'm using EZCDC 3.5 on a Plextor SCSI.
Creating in CDROM-XA mode, if it helps.
Not "closing" the disc.

"Mike Kujbida" <kujfams...@sympatico.ca> wrote in message

news:qAVP7.27169$iF3.2...@news20.bellglobal.com...

Mike Kujbida

unread,
Dec 7, 2001, 4:25:55 AM12/7/01
to

"Vance Green" <vanc...@covad.net> wrote in message
news:9updu0$rc1$1...@newstest.laserlink.net...

> Just had a thought...
>
> Are you using Notepad to create the file?

Yes.

>
> If so, try saving with double quotes (") around the
> entire filename i.e. "AUTORUN.INF" when doing a Save
> As and make sure the entire name is capitalized. Also make
> sure you're not saving in Unicode, but ANSI.

I'll try the (") thing in capitals. I'll double-check on the ANSI thing.

>
> If you don't put quotes around the filename, Notepad will
> save it as AUTORUN.INF.TXT, which, of course, won't work.
>

I did not know that. I've been doing "file - save as - all files" to get
past the "*.txt" issue. I'll let you know what happens. Thanks.

Mike

Mike Kujbida

unread,
Dec 7, 2001, 8:28:52 AM12/7/01
to
Still no go Vance. When I try to do as you said, the saved file shows up as
plain old Autorun.inf.(no CAPS) and still doesn't work. Should I be seeing
it in caps?
If I try using single quotes at the beginning and end, then it saves it as
"AUTORUN.INF"".txt.
Either way, when I insert the CD after burning it, I get the following
prompt:

Windows cannot find myvideo.mpg.
This program is needed for opening files of type 'File'.
Location of myvideo.mpg
C:\

Yet the autorun file reads:
[autorun]
open=mplayer2.exe/fullscreen/play/close\myvideo.mpg

Is there another program I can use besides Notepad to create this file?
Thanks again for your help.

Mike Kujbida


"Vance Green" <vanc...@covad.net> wrote in message

news:9updu0$rc1$1...@newstest.laserlink.net...

Frank

unread,
Dec 7, 2001, 12:35:05 PM12/7/01
to
best bet is to place a Video player on the cd itself so it can be autorun
from there, this will also meen it will start to play on any machine you put
it into ( If you burn a VCD with Roxio's WinOnCD you have the option of
inluding a player etc when you burn the VCD ), or if you are doing what you
are doing make sure you include the full path to where mplayer is on your
system in the inf file

"Mike Kujbida" <kujfams...@sympatico.ca> wrote in message

news:9uqgb3$a608n$1...@ID-113661.news.dfncis.de...

Vance Green

unread,
Dec 7, 2001, 8:00:37 PM12/7/01
to
See below...


"Mike Kujbida" <kujfams...@sympatico.ca> wrote in message

news:9uqgb3$a608n$1...@ID-113661.news.dfncis.de...


> Still no go Vance. When I try to do as you said, the saved file shows up
as
> plain old Autorun.inf.(no CAPS) and still doesn't work. Should I be
seeing
> it in caps?
> If I try using single quotes at the beginning and end, then it saves it as
> "AUTORUN.INF"".txt.
> Either way, when I insert the CD after burning it, I get the following
> prompt:
>
> Windows cannot find myvideo.mpg.
> This program is needed for opening files of type 'File'.
> Location of myvideo.mpg
> C:\
>
> Yet the autorun file reads:
> [autorun]
> open=mplayer2.exe/fullscreen/play/close\myvideo.mpg

There should be spaces here^^^...is this a typo?

should be:

open=mplayer2.exe /fullscreen /play /close \myvideo.mpg

The error you're getting is a pathname issue, as in Autorun is
running, but can't find the file.

I know you probably covered this in your original post, but
is myvideo.mpg in the root directory of the CD along with
AUTORUN.INF?

Try this:

open=mplayer2.exe /fullscreen /play /close myvideo.mpg

leaving out the backslash before the video filename.

Mike Kujbida

unread,
Dec 7, 2001, 9:33:51 PM12/7/01
to
Thanks Vance. I'll give it a shot first thing Monday morning when I'm back
in the office and let you know.
And yes, the file is in the root directory.

Mike Kujbida


"Vance Green" <vanc...@covad.net> wrote in message

news:9urrve$5td$2...@newstest.laserlink.net...

Mike Kujbida

unread,
Dec 10, 2001, 2:04:46 PM12/10/01
to
Many thanks Vance! That did the trick. A case of not enough spaces in the
proper spots.
BTW, when I was looking for solutions, I came across a free utility called
MediaCD that might be of interest to some of you. From their site:
"Bot Productions is proud to introduce MediaCD 1.1, a simple but powerful
freeware product that enhances your digital media experience. When creating
a data CD containing video and/or audio files, simply add the MediaCD files
to your CD. When you insert the CD into your computer, the MediaCD program
will autoplay and allow you to view and play the media files on the disc.
Additionally, MediaCD is not restricted to use on CDs but can also be used
to play media on your hard drive."
You can find it at http://www.botproductions.com/mediacd/index.html

Mike Kujbida


"Vance Green" <vanc...@covad.net> wrote in message

news:9urrve$5td$2...@newstest.laserlink.net...

0 new messages