IVF Cutscene Playing Too Fast?

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: IVF Cutscene Playing Too Fast?

Re: IVF Cutscene Playing Too Fast?

by Rachael » Wed Apr 17, 2024 6:24 pm

thank you, merged

Re: IVF Cutscene Playing Too Fast?

by Chris » Wed Apr 17, 2024 6:22 pm

Re: IVF Cutscene Playing Too Fast?

by Rachael » Wed Apr 17, 2024 4:14 pm

I am moving this to bugs, this is a very important one.

Re: IVF Cutscene Playing Too Fast?

by Chris » Fri Apr 12, 2024 10:21 am

It seems to be a bug in GZDoom. According to a trace I made, the file has these properties: fpsnumerator=1001/fpsdenominator=20000 (which equates to 0.05005 seconds per frame, or 19.98 fps). GZDoom in turn has this check in VpxPlayer::ReadIVFHeader:

Code: Select all

        if (fpsdenominator > 1000 || fpsnumerator == 0 || fpsdenominator == 0)
        {
            // default to 30 fps if the header does not provide useful info.
            fpsdenominator = 30;
            fpsnumerator = 1;
        }
Because it has such a large denominator, GZDoom thinks the value is bad and assumes 30 fps, which makes it play ~1.5x too fast.

IVF Cutscene Playing Too Fast?

by GamingMarine » Thu Apr 11, 2024 10:28 am

I'm not sure if this is a GZDoom bug or just a screwup on my end, but I'm posting this here in case it's the latter.

I'm currently trying to port over the cutscenes from the PS1 and Saturn ports of Hexen, but right out the gate I'm having issues with getting the intro cutscene to appear correctly. Original video here to give you an idea of how it's supposed to look: https://www.youtube.com/watch?v=HaXyiYM ... MxIGludHJv

I'm far from familiar with how FFMpeg's command line arguments work, so I'm using Jakie's tutorial (viewtopic.php?t=76355) as a sort of guide. I can get the cutscene (extracted from the PS1 port via jpsxdec) to convert just fine, and it plays back properly in ffplay.exe, but when the IVF is actually used in GZDoom, it's played at about 1.5x the speed.

Here are the files to demonstrate this, in case someone with more experience in cutscene playback than I am can help me: https://drive.google.com/file/d/1Pc-5tu ... sp=sharing

If this is actually a bug, the version of GZDoom I'm using is g4.12pre-485-gf0b96bff0.

Top