Project

General

Profile

Emulator Issues #5046

EA VP6 playback library does not work on Dolphin

Added by delroth about 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
GFX
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

A lot of EA games have problems with ingame VP6 videos. The image appears completely corrupted, like it was not deinterlaced correctly. Examples:

It happens regardless of the video plugin and on all OS.


Related issues

Has duplicate Emulator - Emulator Issues #3933: James Bond and SSX On Tour launch cinematicsDuplicate

Has duplicate Emulator - Emulator Issues #4954: FIFA 2003 has corrupted video playbackDuplicate

Has duplicate Emulator - Emulator Issues #5355: Medal of Honor: Frontline - Corrupt cutscenesDuplicate

Has duplicate Emulator - Emulator Issues #5755: Some of the movies in 007: Nightfire (NGC) show incorrectly. Both PAL and NTSC versions are affected.Duplicate

Has duplicate Emulator - Emulator Issues #5766: Harry Potter : POA Broken VideosDuplicate

History

#1 Updated by delroth about 6 years ago

issue 4954 has been merged into this issue.

#2 Updated by delroth about 6 years ago

issue 3933 has been merged into this issue.

#3 Updated by delroth about 6 years ago

Maybe linked (only maybe because it is another EA game with another video playback problem): The Simpsons game (RSNP69) has problems with the BIK video decoder.

Screenshot : http://i.imgur.com/b7LNw.jpg

#4 Updated by patzer.dennis almost 6 years ago

In Need for Speed Nitro it's the same (not sure if it's the same codec).

#5 Updated by Autoran1 almost 6 years ago

Bink videos on Dolphin doesn't like Force Bilinear and Anisotropic filtering at all
turn them off and videos will look perfect on DX11 and OGL, DX9 is pretty much corrupted itself even without filters issue 1067

#6 Updated by skidau over 5 years ago

issue 5355 has been merged into this issue.

#7 Updated by wespipes69 over 5 years ago

SSX3 videos are unwatchable as well.

#8 Updated by Autoran1 over 5 years ago

I've tested all APIs and
DX9 and OGL look's fine with Native x2, x3, x4
x1,5 and x2,5 cause little issues
both APIs looks fine with Anisotropic filtering
DX11 has the same things but it has negative reaction on Anisotropic filtering
and of course all 3 APIs do not like Bi/Trilinear filtering

#9 Updated by wespipes69 over 5 years ago

Please don't generalize and try to combine different issues. And state exactly what games you've tested.

On DX9, the SSX games are not affected by changes to the internal res. or 'scaled copy' options. The videos are just corrupted garbage no matter what you do.

#10 Updated by Autoran1 over 5 years ago

Ok, i've got
De Blob, Crash Mind over Mutant, Simpsons The Game, Def Jam FFNY
All games videos work pretty much the way i've described before, and i don't have SSX

#11 Updated by delroth over 5 years ago

How did you check these games were using VP6 videos?

#12 Updated by delroth about 5 years ago

issue 5755 has been merged into this issue.

#13 Updated by skidau about 5 years ago

issue 5766 has been merged into this issue.

#14 Updated by sofiBeatriz almost 5 years ago

EA game "Medal of Honor: Heroes 2" (Wii) suffers from the same issue.

#15 Updated by skidau almost 5 years ago

Need for Speed: Nitro (Wii) has this issue.

#16 Updated by Sonicadvance1 over 4 years ago

  • Category changed from gfx to dx9

#17 Updated by delroth over 4 years ago

  • Category deleted (dx9)

Wrong classification.

#18 Updated by Billiard26 over 4 years ago

  • Issue type set to Bug

#19 Updated by delroth over 4 years ago

  • Status changed from New to Accepted

#20 Updated by williamderieux over 4 years ago

07: Agent Under Fire has similar issues.
Are you sure all of those games are actually using VP6 Video.
The wiki Page: https://wiki.dolphin-emu.org/index.php?title=007:_Agent_Under_Fire
repoted that the game used VP6 video, but were infact MPEG2 video

I don't think dolphin can decode mpeg2 videos--or am I wrong--and that is why the video(s) are scramled -- on at least this game.

#21 Updated by magcius over 4 years ago

Dolphin doesn't care what type of video it is. The Gamecube/Wii doesn't have hardware-accelerated decoding. All that we care about is if we execute the PPC/GPU code the VP6/MPEG2 library uses correctly.

#22 Updated by williamderieux over 4 years ago

On future investigate (MPC video) = MusePaCk (not VP6/MPEG2) but a custom format http://en.wikipedia.org/wiki/Musepack.
We're probably decoding the wrong format.
I'm not sure if the other games metioned use video/movies ending in .mpc

#23 Updated by MofoMan2000 over 4 years ago

Yeah, Dolphin handles that kind of thing with LLE, providing a software implementation of the console hardware for the game to run on. A high-level implementation would potentially run much faster but compatibility would be quite limited due to an incredibly high number of complex opcodes to write a specific implementation for. The only reason HLE works as well as it does for the audio plugin is because of a lot of reverse-engineering on the part of the developers, and the fact that most of it is fairly standard.

#24 Updated by williamderieux over 4 years ago

oops, so maybe we need a DiretShow decoder for MusePack video...I'll do some test on my setup and see if I can get it to work for 007:Agent Under Fire.

#25 Updated by parlane over 4 years ago

We don't have any video decoders in Dolphin. The video decoder is part of the game itself. So it doesn't matter what video decoding it is using, the bug is more likely in the JIT and interpreter code for the ppc cpu.

#26 Updated by parlane over 4 years ago

Also musepack is audio.. it says it right there on the page you linked o_O

#27 Updated by magcius over 4 years ago

Dolphin does not care about what DirectShow video codecs you have installed on your system.

The best guess is that we have a bug in our PowerPC CPU implementation. Probably some tricky timing detail.

We're really never going to write HLE for video codecs. If we ever wrote HLE instead of a JIT (which will probably never happen), it would be for Nintendo's SDKs.

#28 Updated by tommyhl2.SS over 4 years ago

  • Category set to gfx
  • Operating system N/A added

#29 Updated by christiangrubb7 about 4 years ago

Harry potter and the prisoner of askaban seems to be having the same problem.I reall need a solution as this is my childhood

#30 Updated by delroth almost 4 years ago

Please try again with the latest development version.

#31 Updated by delroth almost 4 years ago

  • Status changed from Accepted to Fixed

Confirmed fixed in red67d1ae2f96 by skid.

#32 Updated by JMC4789 almost 4 years ago

I am unable to confirm this fixed, still some graphical corruption on videos.

#33 Updated by delroth almost 4 years ago

Still a different bug from the original, with probably a completely different root cause.

#34 Updated by JMC4789 almost 4 years ago

Software Renderer is working, appears to be an issue on my end.

#35 Updated by kostamarino almost 4 years ago

A pic of the issue that is left with those videos:
http://prntscr.com/2gq200

#36 Updated by JMC4789 almost 4 years ago

I can confirm that's happening with me as well. Not happening in software renderer though.

#37 Updated by aavindraa almost 4 years ago

Some of the videos in 007: Nightfire are still not working.

These are listed on the wiki:

https://wiki.dolphin-emu.org/index.php?title=007:_Nightfire

#38 Updated by johncroft2580 almost 4 years ago

i also get this issue with ssx 3 and ssx on tour, with direct3d is just a blurry mess but with opengl you can see the videos but they have lines all over them

#39 Updated by darkrocket almost 3 years ago

The videos are still messed up in Need for Speed Most Wanted with 4.0-4674. It works fine with Software Renderer.

#40 Updated by darkrocket almost 3 years ago

D3D: The videos seem to work fine with no Anisotropic Filtering and no Force Texture Filtering.

OpenGL: The same except it kinda works with AF (but showing some artifacts).

Also available in: Atom PDF