http://bugs.winehq.org/show_bug.cgi?id=26216
Summary: Lylian: can't play videos Product: Wine Version: 1.3.14 Platform: x86 URL: http://demos.gamersgate.com/21701 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com
Created an attachment (id=33419) --> (http://bugs.winehq.org/attachment.cgi?id=33419) terminal output
There are 2 videos in the demo but none of them work: a short company logo after you start the game shows only black screen (by pressing a key you will get into the main menu). The other video is a 1-minute long intro when you start a new game: Wine simply skips the video.
The videos are in AVI format, using Cinepack video codec (audio is Microsoft PCM format). I've tried native iccvid.dll and native quartz.dll, devenum.dll but none of them helped. The videos are playing fine in Linux, e.g. by using Totem.
Fedora 14 Wine was compiled with gstreamer support
http://bugs.winehq.org/show_bug.cgi?id=26216
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=26216
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Austin English austinenglish@gmail.com 2011-02-23 13:48:04 CST --- Confirming. Tried native quartz/devenum/wmp9, but that makes the game hang on start for me, with some garbage in the window.
http://bugs.winehq.org/show_bug.cgi?id=26216
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://demos.gamersgate.com |http://www.fileplanet.com/2 |/21701 |17922/210000/fileinfo/Lylia | |n-Demo
--- Comment #2 from GyB gyebro69@gmail.com 2011-09-03 00:32:22 CDT --- Still an issue in wine-1.3.27-224-g32c36b7.
After the following overrides the first video (company logo, PP.avi) is playing fine. The second one (Intro.avi) is still not playing. The difference might be coming from the fact that PP.avi contains only a video stream but Intro.avi has both audio and video tracks. Native: iccvid, quartz, devenum, qedit Disabled: winegstreamer
I've changed the download link to the demo because the previous link (pointing to the Gamersgate website) now requires a user registration.
http://bugs.winehq.org/show_bug.cgi?id=26216
--- Comment #3 from GyB gyebro69@gmail.com 2011-09-06 21:39:42 CDT --- Created an attachment (id=36264) --> (http://bugs.winehq.org/attachment.cgi?id=36264) 7zipped +amstream,+devenum,+quartz,+qedit,+winmm,+driver,+msacm,+iccvid log (uncompressed 1.2 MB)
https://bugs.winehq.org/show_bug.cgi?id=26216
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 47902 --> https://bugs.winehq.org/attachment.cgi?id=47902 wine 1.7.15 log
Still in wine 1.7.15.
File info: d238de091097b98d68401c330148b0e0444717b2 LylianDemoInstall.exe 136Mb
https://bugs.winehq.org/show_bug.cgi?id=26216
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #5 from super_man@post.com --- Doesnt work with inbuilt libraries
wine 1.7.50(git)
https://bugs.winehq.org/show_bug.cgi?id=26216
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |quartz Summary|Lylian: can't play videos |Lylian: can't play videos | |(quartz can't handle the | |AVI file header correctly)
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- There may be more than one problem related to this but the first one is that our quartz reject the file since it cannot find the LIST chunk containing the stream information.
https://bugs.winehq.org/show_bug.cgi?id=26216
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #7 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Bruno Jesus from comment #6)
There may be more than one problem related to this but the first one is that our quartz reject the file since it cannot find the LIST chunk containing the stream information.
There was a recent attempt to fix a bug related to handling LIST chunks, see http://source.winehq.org/patches/data/113615. Does this help or is it unrelated?
https://bugs.winehq.org/show_bug.cgi?id=26216
--- Comment #8 from super_man@post.com --- The patch doesnt help.
fixme:quartz:VMR9SurfaceAllocatorNotify_AdviseSurfaceAllocator (0x19a420/0x19a210)->(...) stub fixme:quartz:VMR9SurfaceAllocatorNotify_SetD3DDevice (0x19a420/0x19a210)->(...) semi-stub err:quartz:GetClassMediaFile Media class not found fixme:quartz:Parser_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}! err:quartz:AVISplitter_InputPin_PreConnect Expected LIST, but got Cr8r err:quartz:GetClassMediaFile Media class not found fixme:quartz:Parser_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}! err:quartz:AVISplitter_InputPin_PreConnect Expected LIST, but got Cr8r
with wine-1.7.50-218-g76c43d8 + patch from the patch-list
https://bugs.winehq.org/show_bug.cgi?id=26216
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 52257 --> https://bugs.winehq.org/attachment.cgi?id=52257 PP.avi file dump
As super-man stated it does not help, the problem seems simple but I'm still studying it. This is a dump of the AVI file header produced by https://www.mikekohn.net/file_formats/readavi.php
It seems like wine ignores the first LIST and tries to look for other one and since no other exists it quits as: err:quartz:AVISplitter_InputPin_PreConnect Expected LIST, but got Cr8r
Cr8r is a bad header chunk in the AVI as seen in the attachment. If you change the PP.avi to a good avi it will play.
https://bugs.winehq.org/show_bug.cgi?id=26216
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 52258 --> https://bugs.winehq.org/attachment.cgi?id=52258 ignore bad chunks
Please try the attached patch, it makes quartz happy.
https://bugs.winehq.org/show_bug.cgi?id=26216
--- Comment #11 from super_man@post.com --- Your patch does work. Great job so far.
https://bugs.winehq.org/show_bug.cgi?id=26216
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- Thanks for testing so fast. So the videos play correctly and the game starts?
The problem is the opposite from my description, wine does not try to skip the bad headers and expects the avi stream to be in a fixed position just after the main header.
https://bugs.winehq.org/show_bug.cgi?id=26216
--- Comment #13 from super_man@post.com --- It may require some additional work.
The intro video plays in "emulation mode", not fullscreen. Also it seems to stop at some point not able to continue from there to the main menu. I somehow got focus, pressing mouse button or esc and it started the game in fullscreen like it should.
I get these errors
fixme:quartz:FileAsyncReader_WaitForNext Returned: 258 fixme:quartz:FileAsyncReader_WaitForNext Returned: 258 (00000578)
While trying to exit the demo there seems to be an animation too unless I pressed in some wrong place with mouse.
https://bugs.winehq.org/show_bug.cgi?id=26216
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c49e9d085d905cdb2aac021dfef | |ad7bc3f409b7e Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #14 from Bruno Jesus 00cpxxx@gmail.com --- The current issue about the video not playing is now fixed in 1.7.51, I'll open a second bug about the hang after playing.
Both game videos suffer from a header malformation but now we can cope with them.
https://bugs.winehq.org/show_bug.cgi?id=26216
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.52.