https://bugs.winehq.org/show_bug.cgi?id=39597
Bug ID: 39597 Summary: Amstream demo application fails to play video file Product: Wine Version: 1.7.55 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: amstream Assignee: wine-bugs@winehq.org Reporter: bunglehead@gmail.com Distribution: ---
Created attachment 52762 --> https://bugs.winehq.org/attachment.cgi?id=52762 demo application sources, binary
Follow up after first thing from bug 8712 is fixed, but application still doesn't work.
https://bugs.winehq.org/show_bug.cgi?id=39597
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |8712
https://bugs.winehq.org/show_bug.cgi?id=39597
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on|8712 |
https://bugs.winehq.org/show_bug.cgi?id=39597
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |8712
https://bugs.winehq.org/show_bug.cgi?id=39597
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #1 from super_man@post.com --- Still valid
could be related.
fixme:amstream:IAMMultiMediaStreamImpl_AddMediaStream Specifying a stream object in params is not yet supported fixme:pulse:AudioRenderClient_GetBuffer 0x1b70e8 Not using pulse locked data: 0 2729/4800 0/4800 err:quartz:GetClassMediaFile Media class not found fixme:amstream:MediaStreamFilterImpl_Run (0x162830)->(7dbb1000003b9d60): Stub! fixme:amstream:IDirectDrawStreamSampleImpl_Update (0xa7c438)->(0,(nil),(nil),0): stub fixme:d3d_surface:surface_convert_format Cannot find a conversion function from format WINED3DFMT_B8G8R8X8_UNORM to WINED3DFMT_B5G6R5_UNORM. fixme:ddraw:ddraw_surface7_Flip Ignoring flags 0x1. fixme:amstream:MediaStreamFilterImpl_Pause (0x162830)->(): Stub! fixme:amstream:MediaStreamFilterImpl_Stop (0x162830)->(): Stub!
wine 1.9.6 and staging 1.9.6
https://bugs.winehq.org/show_bug.cgi?id=39597
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #2 from winetest@luukku.com --- Still valid wine-staging 1.9.21
https://bugs.winehq.org/show_bug.cgi?id=39597
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #3 from joaopa jeremielapuree@yahoo.fr --- Nikolay, still a bug for you?
https://bugs.winehq.org/show_bug.cgi?id=39597
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com
--- Comment #4 from Zhiyi Zhang zzhang@codeweavers.com --- No longer in wine-3.13-5
https://bugs.winehq.org/show_bug.cgi?id=39597
Bartosz gang65@poczta.onet.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gang65@poczta.onet.pl
https://bugs.winehq.org/show_bug.cgi?id=39597
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|amstream |quartz
https://bugs.winehq.org/show_bug.cgi?id=39597
--- Comment #5 from joaopa jeremielapuree@yahoo.fr --- No more amstream dll error with wine-5.9. The video does not play but it is a other issue. Reported fixed twice. Can an administrator close this bug as FIXED?
https://bugs.winehq.org/show_bug.cgi?id=39597
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- (In reply to joaopa from comment #5)
No more amstream dll error with wine-5.9.
If that's true, I think there's a bug preventing it from getting that far. IDirectDrawStreamSampleImpl_Update() is still a stub, and I would expect that to need to work before video will play.
The video does not play but it is a other issue.
Why do you say this?
https://bugs.winehq.org/show_bug.cgi?id=39597
--- Comment #7 from joaopa jeremielapuree@yahoo.fr --- To compile the souce with MINGW: i686-w64-mingw32-g++ PlayVideo.cpp DirectXApp.cpp -o PlayVideo.exe -lole32 -lgdi32 -luser32 -ldxguid -luuid -lddraw -static
https://bugs.winehq.org/show_bug.cgi?id=39597
--- Comment #8 from joaopa jeremielapuree@yahoo.fr --- Created attachment 67354 --> https://bugs.winehq.org/attachment.cgi?id=67354 console ouput
Gstreamer error arrives very soon.
https://bugs.winehq.org/show_bug.cgi?id=39597
--- Comment #9 from Zebediah Figura z.figura12@gmail.com --- This almost works with wine 6.0-rc5, except that it crashes, apparently due to this:
00d8:err:gstreamer:gstdecoder_init_gst Failed to play stream. 0138:err:gstreamer:watch_bus avisubtitle0: Could not decode stream. 0138:err:gstreamer:watch_bus ../gst/avi/gstavisubtitle.c(235): gst_avi_subtitle_parse_gab2_chunk (): /GstBin:bin0/GstDecodeBin:decodebin0/GstAviSubtitle:avisubtitle0: Wrong magic word
Weirdly, it works fine with gst-play-1.0, so I don't know why it breaks with winegstreamer.
https://bugs.winehq.org/show_bug.cgi?id=39597
--- Comment #10 from joaopa jeremielapuree@yahoo.fr --- Created attachment 71703 --> https://bugs.winehq.org/attachment.cgi?id=71703 Modified source to avoid a warnig + binary
Big still occurs with wine-7.0 Instruction to compile in Linux: i686-w64-mingw32-g++ PlayVideo.cpp DirectXApp.cpp -o PlayVideo.exe -lole32 -lgdi32 -luser32 -ldxguid -luuid -lddraw -lstrmiids -static
https://bugs.winehq.org/show_bug.cgi?id=39597
--- Comment #11 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-7.16 wine PlayVideo.exe 0120:fixme:imm:ImeSetActiveContext (0002006E, 1): stub 0120:fixme:imm:ImmReleaseContext (00030072, 0002006E): stub 0130:fixme:imm:ImeSetActiveContext (0000000000020030, 0): stub 0130:fixme:imm:ImmReleaseContext (000000000002008E, 0000000000020030): stub 0120:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0120:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work. mesa: for the --simplifycfg-sink-common option: may only occur zero or one times! mesa: for the --global-isel-abort option: may only occur zero or one times! mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times! winegstreamer error: avisubtitle0: Could not decode stream. winegstreamer error: avisubtitle0: ../gst/avi/gstavisubtitle.c(238): gst_avi_subtitle_parse_gab2_chunk (): /GstBin:bin0/GstDecodeBin:decodebin0/GstAviSubtitle:avisubtitle0: Wrong magic word (wine:7149): GStreamer-CRITICAL **: 19:15:36.780: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed (wine:7149): GStreamer-CRITICAL **: 19:15:36.780: gst_object_unref: assertion 'object != NULL' failed (wine:7149): GStreamer-CRITICAL **: 19:15:36.780: gst_object_unref: assertion 'object != NULL' failed (wine:7149): GStreamer-CRITICAL **: 19:15:36.780: gst_element_set_bus: assertion 'GST_IS_ELEMENT (element)' failed (wine:7149): GStreamer-CRITICAL **: 19:15:36.780: gst_object_unref: assertion 'object != NULL' failed
https://bugs.winehq.org/show_bug.cgi?id=39597
--- Comment #12 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-8.16
https://bugs.winehq.org/show_bug.cgi?id=39597
--- Comment #13 from joaopa jeremielapuree@yahoo.fr --- Created attachment 76411 --> https://bugs.winehq.org/attachment.cgi?id=76411 console output with quartz channel enabled
I modified the source to pinpoint where the proble occurs (playvideo.c) // Build the filter graph for our multimedia stream HRESULT ret = pAMStream->OpenFile(L"Clock.avi", 0); printf("hresult = %0x", ret); if (FAILED((ret)))
ret= 80040217 which is VFW_E_CANNOT_CONNECT In amstream/multimedia.c where openfile is implemented, the problem is in these lines
if (SUCCEEDED(ret) && !(flags & AMMSF_NORENDER)) { IFilterGraph2 *graph;
if (SUCCEEDED(ret = IGraphBuilder_QueryInterface(This->graph, &IID_IFilterGraph2, (void **)&graph))) { DWORD renderflags = (flags & AMMSF_RENDERALLSTREAMS) ? 0 : AM_RENDEREX_RENDERTOEXISTINGRENDERERS;
ret = IFilterGraph2_RenderEx(graph, This->ipin, renderflags, NULL); if (ret == VFW_E_CANNOT_RENDER) ret = VFW_E_CANNOT_CONNECT; else if (ret == VFW_S_PARTIAL_RENDER) ret = S_OK;
IFilterGraph2_Release(graph); } else { FIXME("Failed to get IFilterGraph2 interface, hr %#lx.\n", ret); ret = IGraphBuilder_Render(This->graph, This->ipin); } }
So the question is: why does IFilterGraph2_RenderEx fail?
https://bugs.winehq.org/show_bug.cgi?id=39597
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source