PDA

View Full Version : Convert avi to exe


NoiseHead
21st September 2003, 21:27
Does anyone know how I can convert an .avi file into an .exe ??? I have created a very nice autorun presentation with FlashMX. It looks really slick. I have managed to get flash to launch an executable, to install the DivX codec, but I cannot get it to launch an .avi with windows media player with out Conformation prompts from IE. I need to be able to convert the .avi's into .exe's so that they can be launched properly and hopefully forced into opening in the Divx Player. The DivX 5.1 codec does not seem to register itself for playing avi's when installed. After installing the codec and running the video manually, I have had it open in winamp, or quicktime with very poor results.

Any help would be greatly appreciated. I came across references to a program called avi2exe with google, but I have not been able to find the program.

Thanks again.

bb
21st September 2003, 21:36
I'm not sure what the exe should do, but AVI files should be registered to a default player; the decoder (codec) chosen depends on the fourcc entry in the AVI header. So why don't you simply launch the AVI file?

You could also try to rename the AVI to .divx, e.g. myfilm.avi to myfilm.divx. In this case the file should be opened with the DivX player which is contained in the bundle from DivXNetworks (provided that it has been installed, of course).

bb

NoiseHead
21st September 2003, 23:19
the .exe will allow me to launch the .avi from within my flash presentation, using the "fscommand", without any kind of conformation or other prompts. Using this command I have a button that launches the Divx 5.1 codec installer. Click, and it loads. Works great. Unforunately the fscommand only works with .exe extension. If I just point to the .avi in the flash presentation, it wants to open in Internet Explorer. Then I get the prompts about some files being harmful, then am asked to play it inside our outside of IE. Not acceptable for this presentation.

If I can call the movie as an .exe, hopefully I can specify the player as well in the .exe.

Unfortunately, the Divx 5.1 codec installer does not seem to register the divx player as the default player. After installation of 5.1, the movie tries to launch in the same player that it did before the codec was installed.

I tried renaming my .avi to .dvix. It still opened in the Core Media Player, even though I do have the Divx 5.1 Codec and player installed.

Thanks for your suggestions, and trying to help. I still think that repacking the .avi as an .exe will be the simplest way for me to launch the video. If you know of any way that I can do that, or are famailar enough with FlashMX to tell me how to launch the .avi with the default registered player (or even better, force it into the divx player) please let me know. Sorry for asking that. I am really not looking for support for Flash MX in this forum.

Cheers.

mrlipring
21st September 2003, 23:19
i'd assume that it's so the video can be played on any windows pc without needing a codec, and with no chance of codec troubles.

Possibly on univerity pcs (for example) that don't let you install stuff.

Much the same as the half life 2 bink videos.

int 21h
21st September 2003, 23:49
Add Gabest's mediaplayerclassic to the CD (mpc.exe) then launch it with the movie file as an argument, perhaps FSCommand("mpc.exe movie.avi",argumentsforFlash)

NoiseHead
22nd September 2003, 01:13
Okay I did it. Thanks bb. The key was in your reply. After I un/reinstalled the Divx 5.1 Codec, .dvix files did open with the DivX player. Because .divx is not a filetype that is normally handled by Internet Explorer, IE gets bypassed and the movie opens directly in the divx player. No prompts or anything. Just perfect. And so simple too.

Thanks alot bb, and thanks to everyone else as well.

The project is now very close to finished. 3 Versions of a 4 minute video, compressed at 3 diferrent resolutions and bitrates (for good playback on a range of processor speeds). Everything starts with a slick animation inside of a flash projector that autoruns right off of the CD. Then full explanations of the system requirements and codec installation etc, as well as an explanation of what the 3 different versions are for. All fitting on a 185 MB mini Cd.

Thanks again everyone.

mrlipring
22nd September 2003, 02:02
bear in mind that flash like a relatively fast pc too.