TeamRizu / OutFox

The Bug Reporting Repository for OutFox LTS 0.4, Alpha V and Steam Early Access Builds
https://projectoutfox.com
Apache License 2.0
187 stars 3 forks source link

[FIXED][NOTABUG] Badly encoded Background videos play earlier than expected, due to modern FFMPEG not respecting B Frame H264 in AVI Flags #682

Closed jerrymxy closed 10 months ago

jerrymxy commented 1 year ago

Is there an existing issue for this?

Operating System

Windows 11 Pro 22H2 64bit

CPU

Intel Core i7-12700H

GPU

NVIDIA GeForce RTX3060 Laptop

Storage

40GB DDR5 Memory + 1TB internal SSD + 2TB external SSD

Game Version

5.0.0-041

Game Mode

dance

Theme

SoundWaves-default

Describe the problem

Some background videos and music don't start playing at the same time. Videos play a bit earlier than normal. Happens in both 0.4.19 LTS (2023-04-15) and 0.5.0-pre041. This issue doesn't happen in StepMania 5.1.

Here are some links to the simfiles that will cause the issue (They are from the same song pack and I don't have the same problem in other packs): https://zenius-i-vanisher.com/v5.2/viewsimfile.php?simfileid=51745 https://zenius-i-vanisher.com/v5.2/viewsimfile.php?simfileid=56914 https://zenius-i-vanisher.com/v5.2/viewsimfile.php?simfileid=53156

Describe what should happen

No response

Relevant Log output

No response

Scraticus commented 1 year ago

right, so i actually added an episode from the bluray to check this simfile as the video seemed really off, and the BGCHANGES vs the actual anime is around 4seconds out.

image

however, giving the video a re-encode so it has the proper timing included, fixes the issue.

image

A simple open in avidemux, let it reconstruct, resave, solves the video issue, as i cannot obviously upload videos on this platform.

Sadly not everyone encodes their BGAs equally, so if we cannot get a proper timing segment, it won't load. We do not use the same FFMPEG as 5.1, (it uses FFMPEG 2.x where we're on 4.x).

Hope that helps and apologies we can't do anything more.

Scraticus commented 10 months ago

Closed in 042