PDA

View Full Version : Autorun For Divx 5.03 and Ogg Vorbis Help


prkay
21st April 2003, 17:49
Has anyone ever gotten a Divx5.03 and Ogg vorbis muxed to a .ogm file,to work in any autorun program .I'm Useing windows ME,and i think iv'e tried every possible autorun program i could find ,to make a autorun for my .ogm files. I can get the programs to work fine on my desktop,but when i burn them, they give me errors and wont start. Does anyone know if a autorun is possible useing a .ogm file in windows ME, useing BSPlayer? Please Help I'm Dieing Here

scharfis_brain
21st April 2003, 18:19
I hope, I've understood you right...

You want to make a Autorun-CD.

create a file named "autorun.inf" with the following content:
[autorun]
open=yourfile.ext

replace yourfile.ext with your OGM or AVI - filename

place autorun.inf in the rootdirectory of your CD.

prkay
21st April 2003, 19:40
Okay i just tried what you said, and i get this error (Windows cannot access the specified device,path,or file. You may not have the appropriate permission to access them.) Now i found two different autorun programs that will work with .avi files. But they wont work with .ogm file. Now my .avi files when i open the properties,(Type of file )BSplayer( Opens With ) BSPlayer Version 0.8 These also have a .avi extension. Now my .ogm files properties say (Type of file )OGM File ( Opens with ) BSPlayer version 0.8 Except the .ogm files has a different file icon. I am running Windows ME, and if i double click on eather file .avi or .ogm it automatically starts BSPlayer and begins to play the movie. Ive been going nuts trying to work this out. So if you could help i would be deeply appreciated. Thank You

outlyer
23rd April 2003, 18:30
try using shellexec, and change the autorun.inf:

autorun.inf:
[autorun]
open=shellexec.exe video_file.ogm

Now, about shellexec, try doing a google search on "shellexec", or if you've a C compiler, here's the code:
#include <windows.h>

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)
{
ShellExecute(NULL, "open", szCmdLine, NULL, NULL, iCmdShow);
return 0;
}

I'm not going to attach the exe here, if you can't get it either way, drop me a line and I can email it to you

HarryM
23rd April 2003, 18:41
You must register *.OGM association first!
Of course...!!!

Windows dont know, within player must open OGM file. Word? Excel? AutoCAD? WMP?!
You must say Windows, which program use for opening!

prkay
23rd April 2003, 22:47
Thank You for your'e response,but i did get it to work finnaly. Thanks Again

Alxemi
23rd April 2003, 23:20
If you like autoruns (so do I), try "Compact Disc Autorun"
Itīs a very customizable program t build autorun programs...
Playing with it & bsplayer ini files you can do great things.