3D Realms Forums

3D Realms Forums (https://forums.3drealms.com/vb/index.php)
-   Shadow Warrior Source Code (https://forums.3drealms.com/vb/forumdisplay.php?f=30)
-   -   :) *.AVI to *.ANM file ? (https://forums.3drealms.com/vb/showthread.php?t=33652)

Blendercon 11-16-2008 11:56 AM

:) *.AVI to *.ANM file ?
 
Is it possible to create software to convert videos in AVI format to a file ANM for Shadow Warrior in 8bpp ?
And use the AVI video for Shadow Warror in 16bpp and 32bpp ?

It is an invention that I propose, I have no talent programmer. :)

Mr.Fibbles 11-16-2008 12:33 PM

Re: :) *.AVI to *.ANM file ?
 
TerminX has said that he won't program anything like that for EDuke32 until there is an actual need for it (ie some one actually makes a avi worthwhile for a mod or something).

I imagine that you won't get much support from ProAsm but he may be more willing to install new things before there is a use for it.

As far as converting. . .I'm not sure how ANM works (or really how AVI for that matter) but I am not sure they are compatible enough to convert to and from.

Blendercon 11-16-2008 12:38 PM

Re: :) *.AVI to *.ANM file ?
 
OK thank you as well;)

Mr.Fibbles 11-16-2008 12:41 PM

Re: :) *.AVI to *.ANM file ?
 
I think if you can demonstrate a need for AVI or MOV support in the Build ports, you may be able to convince someone to add support for them. ;) That would mean making an extensive mod with decent videos etc. Possibly making a high quality version of the intro (or end game) videos for Duke or SW.

Blendercon 11-16-2008 12:52 PM

Re: :) *.AVI to *.ANM file ?
 
Bah ...
When the 3D model of Lo-Wang is done, I want to do this on annimation Blender, and then having high definition.
So we will have a beautiful introsuction! :)

I speak for Shadow Warrior, but I have the same idea with Duke Nukem.
Making such as the Atomic logo at the beginning of the game with more details, as the logo Atomic Duke Nukem Forever Trailer 2001.

Blendercon 11-16-2008 01:02 PM

Re: :) *.AVI to *.ANM file ?
 
:( Answer me please...

Mr.Fibbles 11-16-2008 01:09 PM

Re: :) *.AVI to *.ANM file ?
 
I think if you make some videos that need to be in AVI you may be able to get someone to put in support for them. . .I don't think anyone will be able to help until that is done though.

I don't know of any way to convert ANM to anything, but someone else might.

Daedolon 11-16-2008 02:17 PM

Re: :) *.AVI to *.ANM file ?
 
ANM is a packed file that contains series of .PCX images, basically what you need is to export your avi as an image sequence, then use the pcx2anm to create the animation.

Hendricks266 11-16-2008 02:31 PM

Re: :) *.AVI to *.ANM file ?
 
There is a program called anim2pcx that will convert ANMs to PCXs and back. Get it from RTCM.

For AVI, you would have to extract the frames, downsize them to 320x200, palettize them (not necessarily the Duke/SW palettes), convert them to PCX, form an ANM, extract the sound, and replace the default sounds with them.

Blendercon 11-17-2008 12:34 PM

Re: :) *.AVI to *.ANM file ?
 
But insert AVI, WMV, MOV, 3GP, MP4 ect... formats when Shadow Warrior/Duke Nukem is in 16/32 bpp is possible ?
And the movie is a annimation make witch HRP 3D models.
Is it my principal question.

Hendricks266 11-17-2008 05:46 PM

Re: :) *.AVI to *.ANM file ?
 
As of the present, there is no way to do so.

Blendercon 11-18-2008 11:00 AM

Re: :) *.AVI to *.ANM file ?
 
Quote:

As of the present, there is no way to do so.
3D Realms programmers or others, can make the software?

Mr.Fibbles 11-18-2008 11:56 AM

Re: :) *.AVI to *.ANM file ?
 
It is doable. . . just no one is going to do it unless there is a reason to. Make a mod or video to replace an ANM and then make your proposal again.

ProAsm 11-18-2008 12:29 PM

Re: :) *.AVI to *.ANM file ?
 
I started messing with gif animation in SWP a while ago and got side tracked.
I'll go back and see where it is and if its still feasible.
As for avi etc.... in your dreams :)

Mr.Fibbles 11-18-2008 12:48 PM

Re: :) *.AVI to *.ANM file ?
 
GIF would be a huge step actually. . .You can do much more with GIF. . .and it can have higher resolutions.

Hendricks266 11-18-2008 10:22 PM

Re: :) *.AVI to *.ANM file ?
 
APNG/MNG ftw in this case.

Blendercon 11-19-2008 06:58 AM

Re: :) *.AVI to *.ANM file ?
 
I am ok for GIF images. The only problem is that there will not be enough colors.
Thus in poor quality for HRP °_°'

Blendercon 12-06-2008 07:03 AM

Re: :) *.AVI to *.ANM file ?
 
I want to have this video when I run SW/DN3D when the 3D Realms logo appears.

Quote:

Posted by Joe Siegler here ->

http://www.3drealms.com/3drlogo.html
(Requires the DivX Web player plugin)

Timiditas 04-18-2009 08:14 AM

Re: :) *.AVI to *.ANM file ?
 
Quote:

Originally Posted by ProAsm (Post 787590)
I started messing with gif animation in SWP a while ago and got side tracked.
I'll go back and see where it is and if its still feasible.
As for avi etc.... in your dreams :)

What is the actual problem in rendering an avi file (respectively a 24bpp image sequence) onto a D3D surface?
BTW that logo looks really sweet :)

ProAsm 04-18-2009 03:14 PM

Re: :) *.AVI to *.ANM file ?
 
Quote:

What is the actual problem in rendering an avi file (respectively a 24bpp image sequence) onto a D3D surface?
Well I wouldn't know where to start so if you have the know how, go for it and write the .c routines and I'll try and incorporated it into Swp :)

Timiditas 04-19-2009 03:20 AM

Re: :) *.AVI to *.ANM file ?
 
I have no experience whatsoever with C(++), however I successfully managed to get enough information out of the PlayWnd example in the DX SDK to do it in Visual Basic 6.
That example project seems to have been removed out of current SDK versions. But if DirectShow is decent for you, I'll try to find it in my backups.
If your port aims to be multiplatform, DShow would be a no-go of course.

ProAsm 04-19-2009 02:32 PM

Re: :) *.AVI to *.ANM file ?
 
Swp does not aim to be multiplatform unless it really takes off.
Also I dont know the first thing about Basic as I'm an Assembler programmer who learned C++ through necessity at the advent of Windows 2k/Xp :)

Timiditas 04-19-2009 03:23 PM

Re: :) *.AVI to *.ANM file ?
 
Well no, it is a C example of course. What I meant was, that it showed me the basics to do it in VB.


All times are GMT -6. The time now is 07:09 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.