Video clips in WADs?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- Woolie Wool
- Posts: 1713
- Joined: Mon Dec 15, 2003 3:36 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Arch Linux, Windows 11
- Graphics Processor: nVidia with Vulkan support
- Contact:
Video clips in WADs?
Is it possible to play an actual video clip in a wad? There's a setting in the options menu called "movie volume". This would be interesting for something like the Lord of the Rings TC idea that pops up in my head every couple of weeks.
Not from a wad, no, but from a file on your HD, yes. Zdoom can play any movie file format that Windows Media Player can. In fact, what it actually does is put Zdoom on hold, start a dedicated instance of media player, play the movie, then return to Zdoom. You can run it using ACS or from the console.
- Lexus Alyus
- Posts: 4220
- Joined: Tue Jul 15, 2003 5:07 pm
- Location: Nottingham, UK
- Contact:
- Bio Hazard
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
- Contact:
Hmm, Since ZDoom just passes the file off to WMP, pesumably with the arg being the file. Couldn't ZDoom create a temporary file and write the contents of the video file lump to it and pass that off to WMP?
There is probably a better way to do it, like passing it a pointer to the location of the lump in the wadfile, but you probably can't do that with WMP...
There is probably a better way to do it, like passing it a pointer to the location of the lump in the wadfile, but you probably can't do that with WMP...
Not sure what you are saying there, but to be clear, if you play Zdoom fullscreen, then the movie is played fullscreen. It doesn't just pop-up a small WMP window. It's WMP that is showing it, but it is fullscreen. Or were you saying it's only people who use full screen that can see the movies in fullscreen?Nash wrote:For those who play ZDoom in full-screen can enjoy the movies in full-screen...
The only problem I have had in the past is that when switching between the programs, Zdoom hung. Hasn't happened for a long time. Mind you, I haven't played many movies in Zdoom recently either.
To clear up a misconception: ZDoom does not start Windows Media Player to play the video. Rather, it uses DirectShow. So does Media Player. DirectShow is a media library provided by Windows that any program can use. Windows Media Player is probably the most common program you will see using it, but the two are not one and the same.
The video code also originates from a time before VMR when the only way to show video was to open another window to do it. If somebody is serious about using it, I could see what needs to be done to make it render directly into ZDoom's window. Otherwise, it's not worth the effort.
And I can't remember which project I was thinking of when I added it, either.
The video code also originates from a time before VMR when the only way to show video was to open another window to do it. If somebody is serious about using it, I could see what needs to be done to make it render directly into ZDoom's window. Otherwise, it's not worth the effort.
And I can't remember which project I was thinking of when I added it, either.
- Lexus Alyus
- Posts: 4220
- Joined: Tue Jul 15, 2003 5:07 pm
- Location: Nottingham, UK
- Contact:
A lot of older games ported from console use this method (I presume). Games like Resident Evil would appear to open a new window and shoe the movies... it was only just noticable, but every PC game I've played that had movies have done the same, so IMO, if people knew how to render scenes then this method would be really effective.
The program that mouse uses for her sprites is pritty simple to use and can render full scenes... I wonder if LWM knows about thos feature? Maybe she does but can't render scenes? I dunno...
http://www.doga.co.jp/english/
That's the program mouse uses for her sprites, it's pritty good and amaizing for beginners. It's kind of like lego for 3D rendering (that's what mouse said, I used the program and agree
). Saying that, it still requires skill to create what mouse has created. I'm very tempted to buy the full version cus you can achieve some really good effects.
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
The program that mouse uses for her sprites is pritty simple to use and can render full scenes... I wonder if LWM knows about thos feature? Maybe she does but can't render scenes? I dunno...
http://www.doga.co.jp/english/
That's the program mouse uses for her sprites, it's pritty good and amaizing for beginners. It's kind of like lego for 3D rendering (that's what mouse said, I used the program and agree
![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
Aha! Thanks for clearing that up. I've been blabbering about it using WMP for years now.randy wrote:To clear up a misconception: ZDoom does not start Windows Media Player to play the video. Rather, it uses DirectShow.
![Smile :)](./images/smilies/icon_smile.gif)
Well, the feature has been there for years now, and not a single project has been released that uses it. I have used it here at home, but even then, not enough to justify your time unless you really want to spend time on it.I could see what needs to be done to make it render directly into ZDoom's window. Otherwise, it's not worth the effort.
- Woolie Wool
- Posts: 1713
- Joined: Mon Dec 15, 2003 3:36 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Arch Linux, Windows 11
- Graphics Processor: nVidia with Vulkan support
- Contact:
I thought of an awesome intro for a Space Marine vs. Space Marine "mutiny" wad--a rendered cutscene of a futuristic Washington D.C on an overcast day with fires smoldering here and there and a tattered American flag on the Capitol. The music would be the theme from Terminator 2, and when it kicks up in volume, the title would appear, followed by the names of the people who made the wad. The camera would move around the war-torn city and would zoom in on the flag atop the Capitol as the music ends.
- Bio Hazard
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
- Contact: