Hi jimmalenko,
Try uninstalling Media Player classic and see if the CD still works
+ Reply to Thread
Results 31 to 42 of 42
-
-
Originally Posted by mikesbytes
@neilpercy:
MPC still uses whatever codecs the user has on their PC - It doesn't enable play of all formats on its own. If there ain't any MPEG-2 codecs installed on the local machine, it won't work.If in doubt, Google it. -
Try this code
Code:<HTML> <HEAD> <TITLE>My Video</TITLE> <BODY> [img]video2.mpg[/img] </BODY> </HTML>
-
OK, some progress.
I can get the web page to open mplayer2.exe from the Program Files\Windows Media Player folder using jimmalenko's code
Modified
var oShell = new ActiveXObject("Shell.Application");
oShell.ShellExecute("C:\\Program Files\Windows Media Player\\mplayer2.exe", "Video.mpg /play", "", "open", "1");
}
</SCRIPT>
so am I specifying the arguments wrong, or do I have to specify a full path to the mpg file on the cd??
If so, we are back to the problem of specifying the cd drive !!
I'll keep plugging away.
@mikesbytes
I tried your DYNSRC code, but didn't work, although i haven't tried it with an mpg1 file yet, will do so when I get a chance. -
I explored trying to execute media player in a similar fashion and struck 2 problems;
1. Windows media player is located in different places on different releases of MS Windows.
2. On some machines it is called mplayer.exe (no 2 in the name).
You need to either run a player off the disk, as per your origional intent, or let the machine use its default player, hence the DYNSRC function. -
hi folks,
an update.
went back to first principals.
used an avi video file, linked to it off the web page, and it seems to work just fine. I shouldn't have got bogged down with the mpg format.
will try it with my file converted to an avi and burn to disk.
will let you know how it goes.
Any idea which avi codec is most commonly found on MS windows machines ???
cheers,
Neil -
Hi Neil,
Good to see you have made some progress. Would like to see your code.
I assume you are referring to a type 1 or type 2 AVI, as distinct from DV AVI or MPEG4 AVI.
The disadvantage of using AVI over MPEG1, is that slower computers may struggle with the volumne of data, especially for higher resolutions. Where wth the MPEG1 being much smaller, slower computers seem to be able to handle them without the suttering seen on some AVI's.
PS. Suggest you put your computer specs in your profile. -
Hate to interrupt, but would this have anything to do with storing the proper PATH of an application in the Registry.
Does Windows allow the PATH to be written to registry when the application is on removable media? Such a REG entry would be invalid as soon as you ejected the disc.
Media Player Classic is small, why not try copying it to "C:\Program Files\Windows Media Player" with your autorun.inf (& batchfile) and launching from there. It might require that a dummy file is run first to establish the PATH in the registry. (or maybe ECHO the PATH to the Registry with the batch file)
--------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Gabest\Media Player Classic]
"ExePath"="C:\\Program Files\\Windows Media Player\\mplayerc.exe" -
Hate to interrupt, but would this have anything to do with storing the proper PATH of an application in the Registry.
Does Windows allow the PATH to be written to registry when the application is on removable media? Such a REG entry would be invalid as soon as you ejected the disc.
Media Player Classic is small, why not try copying it to temp directory with your autorun.inf (& batchfile) and launching from there. It might require that a dummy file is run first to establish the PATH in the registry. (or maybe ECHO the PATH to the Registry with the batch file)
--------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Gabest\Media Player Classic]
"ExePath"="C:\\Temp\\mplayerc.exe" -
hi folks
well I have a solution that works as well as can be expected.
I have made the video file an MPEG1 file, although a non-standard one with a higher bit-rate and resolution - 720x576 25fps CBR 5000kbps - which I know is much higher bitrate than the original specs, but even my old PII 133Mhz lap-top just manages to play, a bit of judder, but it almost copes !
Now I don't expect many people to have hardware that ancient, and I have put a disclaimer in the ReadMe specifying minimum specs at PII 500 Mhz and a 4x speed CD-Rom drive.
I may lower the bit-rate a little, but you can't cater for every piece of equipment out there.
The Mpeg1 format should mean that at least the default Windowes Media Player from Win95 onwards should be able to play the file.
All I do is hyperlink to it from the web page and it seems to work fine !
Sorry to have made this overly complicated at first.
Would still be curious to find out about the PATH issues au7usa, I think you are on the right track.
cheers for all the help guys.
Now, does anyone Know how to make a disc that will also autoplay in a MAC -
I make disks for my parents Win95 P133 desktop , so your old laptop isn't alone. I was using bog standard VCD settings for the MPEG1 and scaling them up to full window (see my code prior in this post) and it works fine. It was supprising how good the quality was, despite the 320*256 base resolution.
A dual Windows / Mac boot disk can be done, but from what I've seen in the posts, it is not easy. Have a surf of this web site and also over at doom9.
Similar Threads
-
web page translator and email full page translator
By juststarting in forum ComputerReplies: 3Last Post: 1st Feb 2010, 09:23 -
DLC.html
By Hangrumps in forum Video ConversionReplies: 4Last Post: 15th Jul 2009, 15:00 -
System Running Slow when running dvdshrink
By mn072065 in forum ComputerReplies: 7Last Post: 24th Mar 2009, 19:59 -
html help
By steve42069 in forum ComputerReplies: 4Last Post: 8th Aug 2008, 10:38 -
HTML Help
By FEEL in forum ProgrammingReplies: 3Last Post: 20th Aug 2007, 08:58