https://bugs.winehq.org/show_bug.cgi?id=41101
Bug ID: 41101 Summary: Her Story: crash on playing video clip Product: Wine Version: 1.9.16 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dap56@cornell.edu Distribution: ---
Created attachment 55306 --> https://bugs.winehq.org/attachment.cgi?id=55306 Backtrace generated on crash
The game is unplayable as it crashes immediately when trying to play the first video clip. The opening screen displays and the "search" function and selecting a clip to play works, but as soon as the play button is clicked, wine pops up a dialog saying it has crashed and offers to show/save the backtrace (attached).
Note that originally, the game crashed with a message in console saying that gstreamer was not installed; this is the behavior after installing the i386 gstreamer packages.
Looking into the game's data folder, the video clips are identified by the file command as "RIFF (little-endian) data, AVI, 640 x 480, 25.00 fps, video: FFMpeg MPEG-4, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)".
I am running Debian Sid (x86-64) with Wine 1.9.16 from the winehq.org Debian package.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #1 from Daniel Perelman dap56@cornell.edu --- Created attachment 55307 --> https://bugs.winehq.org/attachment.cgi?id=55307 Standard error output from wine
https://bugs.winehq.org/show_bug.cgi?id=41101
Daniel Perelman dap56@cornell.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |x86-64 CC| |dap56@cornell.edu
https://bugs.winehq.org/show_bug.cgi?id=41101
Daniel Perelman dap56@cornell.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian
https://bugs.winehq.org/show_bug.cgi?id=41101
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #2 from joaopa jeremielapuree@yahoo.fr ---
Your GStreamer installation is missing a plug-in
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #3 from Daniel Perelman dap56@cornell.edu --- Created attachment 55309 --> https://bugs.winehq.org/attachment.cgi?id=55309 Errors printed when trying to play a video
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #4 from Daniel Perelman dap56@cornell.edu --- (In reply to joaopa from comment #2)
Your GStreamer installation is missing a plug-in
Thank you. I installed gstreamer1.0-libav:i386 and now instead of crashing, it just doesn't play the video and prints the error messages in the attachment "Errors printed when trying to play a video" to the console each time. Seeing as one of the lines is "fixme:gstreamer:watch_bus typefind: Could not determine type of stream.", I'm not sure I have actually managed to install the correct gstreamer plugin.
https://bugs.winehq.org/show_bug.cgi?id=41101
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #5 from fjfrackiewicz@gmail.com --- (In reply to Daniel Perelman from comment #4)
(In reply to joaopa from comment #2)
Your GStreamer installation is missing a plug-in
Thank you. I installed gstreamer1.0-libav:i386 and now instead of crashing, it just doesn't play the video and prints the error messages in the attachment "Errors printed when trying to play a video" to the console each time. Seeing as one of the lines is "fixme:gstreamer:watch_bus typefind: Could not determine type of stream.", I'm not sure I have actually managed to install the correct gstreamer plugin.
Try running the following winetricks:
winetricks quartz wmp9
The reason I mention this is because of this line in the terminal:
err:quartz:GetClassMediaFile Media class not found
and
err:msvideo:ICLocate Required media codec 'vidc I420' not found!
I think those winetricks may help to work around the problem at least.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com ---
err:msvideo:ICLocate Required media codec 'vidc I420' not found!
That is Indeo 4. Download https://www.moviecodec.com/download-codec-packs/indeo-codecs-legacy-package-... and select CUSTOM install and remove the last option: Indeo 5 Web Browser Plugin (otherwise it will take ages to scan your harddrive looking for a browser).
https://bugs.winehq.org/show_bug.cgi?id=41101
Daniel Perelman dap56@cornell.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #55306|0 |1 is obsolete| | Attachment #55307|0 |1 is obsolete| | Attachment #55309|0 |1 is obsolete| |
--- Comment #7 from Daniel Perelman dap56@cornell.edu --- Created attachment 55342 --> https://bugs.winehq.org/attachment.cgi?id=55342 Standard error output from wine on upside down video
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #8 from Daniel Perelman dap56@cornell.edu --- (In reply to fjfrackiewicz from comment #5)
(In reply to Daniel Perelman from comment #4)
(In reply to joaopa from comment #2)
Your GStreamer installation is missing a plug-in
Thank you. I installed gstreamer1.0-libav:i386 and now instead of crashing, it just doesn't play the video and prints the error messages in the attachment "Errors printed when trying to play a video" to the console each time. Seeing as one of the lines is "fixme:gstreamer:watch_bus typefind: Could not determine type of stream.", I'm not sure I have actually managed to install the correct gstreamer plugin.
Try running the following winetricks:
winetricks quartz wmp9
The reason I mention this is because of this line in the terminal:
err:quartz:GetClassMediaFile Media class not found
and
err:msvideo:ICLocate Required media codec 'vidc I420' not found!
I think those winetricks may help to work around the problem at least.
Thank you. Running that winetricks command installing the codecs *almost* works. First, i420 is actually a different codec, but I found it on the same site ( https://www.moviecodec.com/download-video-codecs/helix-yv12-i420-vfw-284/ ). The catch is the video plays upside-down. Which is very strange. The same video files play just fine in VLC/mplayer under Linux. I have attached the console output from wine when playing a video in case there is anything relevant.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #9 from Daniel Perelman dap56@cornell.edu ---
The catch is the video plays upside-down. Which is very strange. The same video files play just fine in VLC/mplayer under Linux.
... I have a slightly silly workaround, which seems to be sufficient to make the game playable: flip all of the videos using ffmpeg:
ffmpeg -i $INPUT -vf vflip -c:a copy -b:v 1868.5k $OUTPUT
flips a single video and wrapping it in a loop over all of the .avi files flips all of the videos (which is currently running on my computer, but I tested with one video first to confirm this would work).
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com --- Please attach a +msvideo,+quartz,+amstream,+devenum log. See https://wiki.winehq.org/FAQ#How_do_I_get_a_debug_trace.3F
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #11 from fjfrackiewicz@gmail.com --- (In reply to Bruno Jesus from comment #10)
Please attach a +msvideo,+quartz,+amstream,+devenum log. See https://wiki.winehq.org/FAQ#How_do_I_get_a_debug_trace.3F
Hi Bruno,
I have the GOG version of the game I can test for this but the question I'd like to ask:
Do you want this log without any winetricks or workarounds (such as flipping videos with ffmpeg) or do you want it with all the winetricks/workarounds needed?
Just want to make sure that I, or anyone else reading, log the correct information :)
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to fjfrackiewicz from comment #11)
Do you want this log without any winetricks or workarounds (such as flipping videos with ffmpeg) or do you want it with all the winetricks/workarounds needed?
The minimum necessary to make the game start and play the upside down videos. This includes the codec installation. I just want to check if it is decompressing the video using VFW (video for windows) or gstreamer.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #13 from fjfrackiewicz@gmail.com --- (In reply to Bruno Jesus from comment #12)
(In reply to fjfrackiewicz from comment #11)
Do you want this log without any winetricks or workarounds (such as flipping videos with ffmpeg) or do you want it with all the winetricks/workarounds needed?
The minimum necessary to make the game start and play the upside down videos. This includes the codec installation. I just want to check if it is decompressing the video using VFW (video for windows) or gstreamer.
Right. Let me grab the GOG version and I will report back :)
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #14 from fjfrackiewicz@gmail.com --- (In reply to Bruno Jesus from comment #12)
(In reply to fjfrackiewicz from comment #11)
Do you want this log without any winetricks or workarounds (such as flipping videos with ffmpeg) or do you want it with all the winetricks/workarounds needed?
The minimum necessary to make the game start and play the upside down videos. This includes the codec installation. I just want to check if it is decompressing the video using VFW (video for windows) or gstreamer.
As of right now with quartz amstream devenum wmp9, the Indeo5 codec from https://bugs.winehq.org/show_bug.cgi?id=41101#c6 , the 32-bit version of gstreamer-libav (https://www.archlinux.org/packages/extra/i686/gst-libav/) installed, the game simply refuses to play any video, whether upside down or not. I made a new 32-bit prefix and installed all of those winetricks and the Indeo5 codec into it.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #15 from fjfrackiewicz@gmail.com --- Created attachment 55354 --> https://bugs.winehq.org/attachment.cgi?id=55354 Terminal output wine-1.9.16-161-gd6d0d96
This is the terminal output of Her Story's crash. As I've mentioned earlier, I've installed a few winetricks and installed whatever audio/video plug ins gstreamer might require.
It would really help if gstreamer would mention the plug-in it's missing as that would minimize hunting for whatever plug-in it's demanding.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #16 from Bruno Jesus 00cpxxx@gmail.com --- As mentioned in comment 8 the codec is not Indeo, I was wrong in comment 6.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #17 from fjfrackiewicz@gmail.com --- (In reply to Bruno Jesus from comment #16)
As mentioned in comment 8 the codec is not Indeo, I was wrong in comment 6.
Still crashing when attempting to play a video with the same terminal output even after installing that codec.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #18 from Daniel Perelman dap56@cornell.edu --- Created attachment 55358 --> https://bugs.winehq.org/attachment.cgi?id=55358 Debug log with +msvideo,+quartz,+amstream,+devenum for upside down video
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #19 from Daniel Perelman dap56@cornell.edu --- (In reply to Bruno Jesus from comment #10)
Please attach a +msvideo,+quartz,+amstream,+devenum log. See https://wiki.winehq.org/FAQ#How_do_I_get_a_debug_trace.3F
Log attached.
BTW, the sound doesn't work in the videos either. (The game's music does work.) It's mp3, and I tried the winetricks for installing the mp3 codec.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #20 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Daniel Perelman from comment #19)
BTW, the sound doesn't work in the videos either. (The game's music does work.) It's mp3, and I tried the winetricks for installing the mp3 codec.
At least in Debian for other games not playing mp3 this package fixed it for me: gstreamer1.0-fluendo-mp3:i386
Thanks for the log, I'll take a look.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #21 from Bruno Jesus 00cpxxx@gmail.com --- In the mean time if possible please try wine-staging using the same winetricks/codec because it has some improvements to msvideo handling, which seems to be the case here.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #22 from fjfrackiewicz@gmail.com --- (In reply to Daniel Perelman from comment #19)
(In reply to Bruno Jesus from comment #10)
Please attach a +msvideo,+quartz,+amstream,+devenum log. See https://wiki.winehq.org/FAQ#How_do_I_get_a_debug_trace.3F
Log attached.
BTW, the sound doesn't work in the videos either. (The game's music does work.) It's mp3, and I tried the winetricks for installing the mp3 codec.
What GStreamer plug-in did you install to get rid of the GStreamer not being able to find a plug-in errors? I am trying to run tests for this game on my machine but I can't for the life of figure out which plug-in it wants as I've already installed all the ones offered by my distro.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #23 from Daniel Perelman dap56@cornell.edu --- (In reply to Bruno Jesus from comment #20)
(In reply to Daniel Perelman from comment #19)
BTW, the sound doesn't work in the videos either. (The game's music does work.) It's mp3, and I tried the winetricks for installing the mp3 codec.
At least in Debian for other games not playing mp3 this package fixed it for me: gstreamer1.0-fluendo-mp3:i386
Thanks for the log, I'll take a look.
Nope, that didn't fix it.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #24 from Daniel Perelman dap56@cornell.edu --- (In reply to fjfrackiewicz from comment #22)
(In reply to Daniel Perelman from comment #19)
(In reply to Bruno Jesus from comment #10)
Please attach a +msvideo,+quartz,+amstream,+devenum log. See https://wiki.winehq.org/FAQ#How_do_I_get_a_debug_trace.3F
Log attached.
BTW, the sound doesn't work in the videos either. (The game's music does work.) It's mp3, and I tried the winetricks for installing the mp3 codec.
What GStreamer plug-in did you install to get rid of the GStreamer not being able to find a plug-in errors? I am trying to run tests for this game on my machine but I can't for the life of figure out which plug-in it wants as I've already installed all the ones offered by my distro.
Sorry, it sounds like you tried what I did. I did install pretty much every i386 gstreamer package I could get from Debian/Debian-multimedia, so I'm not sure which ones were actually required.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #25 from fjfrackiewicz@gmail.com --- (In reply to Daniel Perelman from comment #24)
(In reply to fjfrackiewicz from comment #22)
(In reply to Daniel (((Perelman))) from comment #19)
(In reply to Bruno Jesus from comment #10)
Please attach a +msvideo,+quartz,+amstream,+devenum log. See https://wiki.winehq.org/FAQ#How_do_I_get_a_debug_trace.3F
Log attached.
BTW, the sound doesn't work in the videos either. (The game's music does work.) It's mp3, and I tried the winetricks for installing the mp3 codec.
What GStreamer plug-in did you install to get rid of the GStreamer not being able to find a plug-in errors? I am trying to run tests for this game on my machine but I can't for the life of figure out which plug-in it wants as I've already installed all the ones offered by my distro.
Sorry, it sounds like you tried what I did. I did install pretty much every i386 gstreamer package I could get from Debian/Debian-multimedia, so I'm not sure which ones were actually required.
The only I can think of would be gst-libav but I already have that installed.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #26 from Daniel Perelman dap56@cornell.edu --- (In reply to Bruno Jesus from comment #21)
In the mean time if possible please try wine-staging using the same winetricks/codec because it has some improvements to msvideo handling, which seems to be the case here.
I installed wine-staging and it had the same effect (upside-down video, no sound).
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #27 from Daniel Perelman dap56@cornell.edu ---
Sorry, it sounds like you tried what I did. I did install pretty much every i386 gstreamer package I could get from Debian/Debian-multimedia, so I'm not sure which ones were actually required.
The only I can think of would be gst-libav but I already have that installed.
Here's the list of all of the i386 gstreamer packages I have installed (although this may not translate directly to Arch): gstreamer1.0-fluendo-mp3:i386 gstreamer1.0-libav:i386 gstreamer1.0-nice:i386 gstreamer1.0-plugins-base:i386 gstreamer1.0-plugins-good:i386 gstreamer1.0-pulseaudio:i386 gstreamer1.0-tools:i386 gstreamer1.0-x:i386 libgstreamer1.0-0:i386 libgstreamer-plugins-base1.0-0:i386
https://bugs.winehq.org/show_bug.cgi?id=41101
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #28 from Bruno Jesus 00cpxxx@gmail.com --- Andrew, any idea why the video would end up upside down even after the recent commits [1] that should have flipped it? Is it related to the fact that the video is being decoded using VFW instead of a gstreamer codec?
[1] http://source.winehq.org/git/wine.git/search/HEAD?s=Jan+Schmidt;st=author
I'm not able to CC Jan Schmidt because he is not in bugzilla.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #29 from Andrew Eikum aeikum@codeweavers.com --- Not off the top of my head, though I do have access to this game so I'll take a look sometime.
https://bugs.winehq.org/show_bug.cgi?id=41101
pinguin255@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pinguin255@gmail.com
--- Comment #30 from pinguin255@gmail.com --- I'm having similar problem with Steins;Gate. Game engine uses MPEG-1 videos, requires gstreamer1.0-plugins-bad to avoid crash, also shows following message after that: err:msvideo:ICLocate Required media codec 'vidc I420' not found! And if helix-yv12-i420-vfw is installed video also playing upside-down.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #31 from dnord pinguin255@gmail.com --- I also tried to extract iyuv_32.dll from windows 7 and register it to play vidc.i420, it worked but videos are still upside-down.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #32 from fjfrackiewicz@gmail.com --- Created attachment 56792 --> https://bugs.winehq.org/attachment.cgi?id=56792 Wine 2.0-rc4 terminal output
I don't get a crash in Wine 2.0-rc4. Instead what happens now is any given video plays for a split second and then immediately closes.
My gstreamer version is 1.10.2 and so are all my plug-ins.
Terminal output attached.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #33 from fjfrackiewicz@gmail.com --- After fixing this:
(wine:3885): GStreamer-WARNING **: Failed to load plugin '/usr/lib32/gstreamer-1.0/libgstcoretracers.so': /usr/lib32/gstreamer-1.0/libgstcoretracers.so: undefined symbol: _ULx86_get_proc_name
in my Gstreamer installation I still have the issue where the video opens for a second and then just closes.
https://bugs.winehq.org/show_bug.cgi?id=41101
Stefano Guidoni s.guidoni@tin.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |s.guidoni@tin.it
--- Comment #34 from Stefano Guidoni s.guidoni@tin.it --- Same problem on Guilty Gear Isuka and Guilty Gear XX #Reload.
When gst-plugins-bad is not installed the game crashes at startup.
If gst-plugins-bad is installed, the intro video "plays", but its output is all black even if gst-plugins-ugly is installed with libmpeg2 support; if I run from the command line "/usr/bin/32/gst-launch-1.0 playbin uri=file:///path/to/al.mpg" the video plays just fine, so gstreamer works.
If gst-plugins-bad is installed and gst-plugins-ugly is installed with libmad support, I can hear the video soundtrack, but the screen is still black. Otherwise I get a black screen and no sound (obviously), but the game does not crash.
The console output is:
err:quartz:GetClassMediaFile Media class not found fixme:gstreamer:GST_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}! err:gstreamer:push_data Sending returned: -2 fixme:quartz:FileAsyncReader_WaitForNext Returned: 258 (00000000) fixme:quartz:VideoRendererInner_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}! fixme:quartz:VideoRendererInner_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}! fixme:strmbase:TransformFilterImpl_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}! err:msvideo:ICLocate Required media codec 'vidc I420' not found! fixme:strmbase:TransformFilterImpl_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}! fixme:quartz:DSoundRender_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}! fixme:gstreamer:GST_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}! fixme:strmbase:TransformFilterImpl_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}! err:quartz:GetClassMediaFile Media class not found fixme:gstreamer:GST_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}!
For some reason it seems the game requires the i420 codec (does it convert the mpeg video to i420 before playing it? Can't think of a reason for it), so I installed helix-yv12-i420-vfw (see comment 30). If that codec is installed, the videos play vertically mirrored in a window other than that of the game, even if the game is running fullscreen.
I think this is a duplicate of bug 9127: bug 9127 is just this bug when the right codecs are not installed.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #35 from joaopa jeremielapuree@yahoo.fr --- Can an administrator close this bug as DUPLICATE of bug 9127?
https://bugs.winehq.org/show_bug.cgi?id=41101
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #36 from Zebediah Figura z.figura12@gmail.com --- (In reply to joaopa from comment #35)
Can an administrator close this bug as DUPLICATE of bug 9127?
I'd kind of rather not. This application doesn't require the MPEG-1 splitter filter, but rather just needs to be able to parse MPEG-1 program streams. Of course, most of the applications in bug 9127 are in the same boat, but I'd rather resolve that by removing those applications from bug 9127. I'm of the opinion that gstreamer should be a required library to parse certain codecs, and as such failure to install it means that a bug is just invalid.
I'd rather close this bug entirely, or make it about the failures reported even with functional winegstreamer as described in comment 34.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #37 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.10? I can not test it since it request Opengl 2.0. My PC does not satisfy these features.
https://bugs.winehq.org/show_bug.cgi?id=41101
--- Comment #38 from Stefano Guidoni s.guidoni@tin.it --- With Guilty Gear XX, the problem is no more there, when the right codecs are installed. Tested last time with wine 5.9.
https://bugs.winehq.org/show_bug.cgi?id=41101
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #39 from Zebediah Figura z.figura12@gmail.com --- (In reply to Stefano Guidoni from comment #38)
With Guilty Gear XX, the problem is no more there, when the right codecs are installed. Tested last time with wine 5.9.
Thanks, I'm going to go ahead and resolve this as fixed, then.
https://bugs.winehq.org/show_bug.cgi?id=41101
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #40 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.11.