joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.83k stars 383 forks source link

Trouble when play DVD FMV games with MPEG-2 video codec #3414

Open Farooq87 opened 2 years ago

Farooq87 commented 2 years ago

Code of Conduct & Contributing Guidelines

Have you checked that no other similar bug report(s) already exists?

What operating system(s) this bug have occurred on?

Windows 10 x64

What version(s) of DOSBox-X have this bug?

0.83.24 SDL1 x64 - Opengl

Describe the bug

I have terrible glitches and video artifacts while playing FMV DVD-PC games in Dosbox-X 0.83.24 (Windows 98 SE). Besides video is played very slow. It's shame since now Dosbox-X has opportunity to mount DVD iso files with vast amount of space which are often for high-quality video. I have tested so far Tex Murphy Overseer and Tender Loving Care games almost completely built on video sequances. I installed differen codecs such as K-Lite, MPEG-2, DIV-X codec pack. I tried DVDexpress, PowerDVD, old versions of QuickTime & Classic Media Player but all in vain. Almost no effect. Its strange but I managed to run both games in Virtualbox and VirtualPC with Windows 98SE. And no issues there except quality of video due to poor internal video adapters. Please solve this in future Dosbox-X builds.

Expected behavior

MPEG-2 Video to play in flawless manner without artifacts, freezes and glitches

Steps to reproduce the behaviour

  1. Open Tender Loving Care icon
  2. Instead of playing video sequence either black screen or glitches
  3. https://youtu.be/sT9S0dm3mIk

Used configuration

https://drive.google.com/file/d/1DiJSGOpKKzfFm1aMtMjDh-GNfYXbZ-sJ/view?usp=sharing

Emulator log

0.83.24

Additional context

No response

joncampbell123 commented 2 years ago

To be fair, you're asking code within DOSBox-X to play something as computationally expensive as MPEG-2.

I wouldn't expect H.264 to play smoothly within DOSBox-X below a high cycle count for the same reasons.

However if there are visible glitches, that's another matter that needs to be addressed.

Is the decoder using MMX/SSE instructions?

joncampbell123 commented 2 years ago

Another question: Are you using dynamic core?