Cutscene format limitation

Any issues with the XWAU or X-Wing Alliance? Please let us know here!
Post Reply

Cutscene format limitation

marcop000
Cadet 1st Class
Posts: 213
Joined: Fri Dec 27, 2019 7:08 pm

Post by marcop000 » Sat Jan 16, 2021 10:03 am

Hi Jeremy,

I these days I'am working with PopoPirat to create a new hi res updated cutscene.

The idea is create cutscenes at 60 FPS with 4 times the standard resolution (640x480).

I already knwon that the avaliable formats are: avi, mp4, snm.

Unfortunatenly I found some limits on each format:

1) mp4:

Can play at 60 FPS but if the first cuscene is in mp4, don't play the next. Apart this for internal cuscene ex: "Briefroom.mp4" there is short black screen pause not present in snm or avi, that is a bit annoying.

2) avi

Play the 60 FPS cutscene at 15 FPS.

3) snm

Play the 60 FPS in slow motion.


We can convert the cutscene in all of these formats but with these limitation we can't create a updated cutscenes.

There is a way to solve the problem ?

Thanks !

User avatar
Forceflow
Fleet Admiral (Administrator)
Posts: 7211
Joined: Wed Oct 20, 1999 11:01 pm
Contact:

Post by Forceflow » Sat Jan 16, 2021 10:50 am

Always a good idea to tag the people you want to react to it.
@JeremyaFr can you help here?
Murphy was an optimist! I am a pessimist!
And always remember that a smile is cheaper than a bullet! (District 9)
Webmaster of the X-Wing Alliance Upgrade Project

User avatar
JeremyaFr
XWAU Member
Posts: 3977
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Jan 16, 2021 12:38 pm

Hello,
The behavior where only the first video is played is a bug.

Here is a fix:

EDIT: link removed
Last edited by JeremyaFr on Sun Jan 17, 2021 5:41 pm, edited 1 time in total.

PopoPirat
Cadet 4th Class
Posts: 12
Joined: Sun Dec 27, 2020 12:09 pm

Post by PopoPirat » Sat Jan 16, 2021 1:31 pm

JeremyaFr wrote:
Sat Jan 16, 2021 12:38 pm
Hello,
The behavior where only the first video is played is a bug.

Here is a fix:


TgSmush_WIP_2101161334.zip
fantastic, thanks! And hi by the way :D

User avatar
Ace Antilles
Admiral (Moderator)
Posts: 7880
Joined: Sat Jan 22, 2000 12:01 am
Contact:

Post by Ace Antilles » Sat Jan 16, 2021 2:16 pm

@marcelo999 @PopoPirat
The playable formats are .snm, .znm, .avi, .wmv and .mp4.

- snm and znm files are played with the original dll.
- avi files with a resolution <= 640x480 are played using AVIFile functions (Isildur's code).
- other avi files and wmv files are played using DirectShow.
- mp4 files are player using Media Foundation
WMV videos have been used by someone else and seem to work fine.
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

marcop000
Cadet 1st Class
Posts: 213
Joined: Fri Dec 27, 2019 7:08 pm

Post by marcop000 » Sat Jan 16, 2021 2:31 pm

Many thanks to all !!

@JeremyaFr

In the meantime can you check this:

https://forums.xwaupgrade.com/viewtopic ... 33&t=13232

Thanks !

marcop000
Cadet 1st Class
Posts: 213
Joined: Fri Dec 27, 2019 7:08 pm

Post by marcop000 » Sat Jan 16, 2021 3:09 pm

Hi @Ace Antilles,

I have updated the cutscene mixed in the menu:

https://drive.google.com/drive/u/0/fold ... v1UnLn1MmD

Now are in 60 FPS, but becouse the game menu is 640x480 I have keeped the resolution, but the result is similar to a higher resolution becouse I have removed the noise and add more shapness.

The files are in .wmv format.

The only compromise is that at the end there is short pause.

For the rest of cutscene: @PopoPirat is working to upascale.

Please leave your comment.

Thanks !

Post Reply