Crash when playing a video with PowerPoint viewer 2010

Questions about Wine on Linux
Locked
pablopla
Level 1
Level 1
Posts: 6
Joined: Fri Oct 10, 2014 1:41 pm

Crash when playing a video with PowerPoint viewer 2010

Post by pablopla »

I'm trying to play a pptx presentation with PowerPoint Viewer 2010.
PowerPoint crashes when trying to play a video in the presentation.
I've tried both wmv and mp4 videos.

Steps to reproduce on Ubuntu 14.04 32 bit with Wine 1.7.28

Code: Select all

wget http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7
WINEPREFIX=~/.wine_powerpoint wine PowerPointViewer.exe
WINEPREFIX=~/.wine_powerpoint winecfg
# libraries -> add -> set riched20 to (native, bulitin)
WINEPREFIX=~/.wine_powerpoint wine "C:\Program Files\Microsoft Office\Office14\PPTVIEW.EXE"
When trying to play the video in the second slide in the following presentation, it crashes PowerPoint
https://drive.google.com/file/d/0BxtO-p ... sp=sharing

backtrace
https://drive.google.com/file/d/0BxtO-p ... sp=sharing

Am I missing a gstreamer plugin or a codec?
How can I install it?

Code: Select all

fixme:gstreamer:unknown_type Could not find a filter for caps: audio/x-wma, wmaversion=(int)2, bitrate=(int)192040, depth=(int)16, rate=(int)44100, channels=(int)2, block_align=(int)4459, codec_data=(buffer)008800000f0000000000
fixme:gstreamer:unknown_type Could not find a filter for caps: video/x-wmv, wmvversion=(int)3, format=(fourcc)WVC1, width=(int)1280, height=(int)720, codec_data=(buffer)270000010fdbfe27f16788800000010e10c49fc59c80
fixme:gstreamer:watch_bus decodebin20: Your GStreamer installation is missing a plug-in.
fixme:gstreamer:GST_Connect GStreamer could not find any streams
fixme:gstreamer:watch_bus asfdemux0: Internal data stream error.
fixme:hlink:IHlinkBC_OnNavigateHlink (0x538db08)->(0 0x187a08 L"257,2,Slide 2" L"Slide 2" (nil))
fixme:hlink:IHlinkBC_Revoke (0x538db08)->(3)
wine: Unhandled page fault on read access to 0x77cefa74 at address 0x2e3eb562 (thread 0009), starting debugger...
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
Thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by dimesio »

Video playback in Powerpoint does not work out of the box in systems with glib newer than 2.32.0. https://bugs.winehq.org/show_bug.cgi?id=30557

I downloaded your pptx and tested in in Powerpoint Viewer. Winetricks wmp9 quartz devenum prevents the crash and enables audio to play, but there is no video. I tried installing the basic K-Lite Codec Pack, but it didn't help. Possibly it needs a codec not in the basic pack, or a newer version of WMP.
pablopla
Level 1
Level 1
Posts: 6
Joined: Fri Oct 10, 2014 1:41 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by pablopla »

I tried with 'winetricks wmp9 quartz devenum' and it also plays the video for me with audio only.
I also tried embedded mp4 that also gives me only audio.
There are still crashes but not when playing the video.
If I extract the embedded wmv I can play it with wmp so I don't think a codec is missing.

Any workaround?
pablopla
Level 1
Level 1
Posts: 6
Joined: Fri Oct 10, 2014 1:41 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by pablopla »

I don't think it's a missing codec because the same video can play with WMP.

Is it possible that the hardware acceleration setting of the display device is too high?
Is there a way to decrease it?
http://support2.microsoft.com/kb/905167
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by dimesio »

On my system, WMP9 crashes when I try to play the extracted .wmv file. Kaffeine can play it fine, so it's not the extracted file.

File a bug.
pablopla
Level 1
Level 1
Posts: 6
Joined: Fri Oct 10, 2014 1:41 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by pablopla »

On what part should I file a bug?
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by dimesio »

Actually, I think the problem is a codec not included in older versions of WMP:

Code: Select all

fixme:gstreamer:unknown_type Could not find a filter for caps: video/x-wmv, wmvversion=(int)3, format=(fourcc)WVC1, width=(int)1280, height=(int)720, codec_data=(buffer)270000010fdbfe27f16788800000010e10c49fc59c80
Googling wvc1 turned up this: http://support2.microsoft.com/kb/942423.
pablopla
Level 1
Level 1
Posts: 6
Joined: Fri Oct 10, 2014 1:41 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by pablopla »

If I understand correctly, the gstreamer issues is because Ubuntu 14.04 doesn't have the gstreamer0.10-ffmpeg package.
I've installed it with:

Code: Select all

sudo apt-add-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg gstreamer0.10-ffmpeg
embedded mp4 also doesn't play:
https://drive.google.com/file/d/0BxtO-p ... sp=sharing

Is it supposed to work in an old version of ubuntu?
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by dimesio »

Is it supposed to work in an old version of ubuntu?
Winegstreamer worked, and would probably still work, in systems with old versions of glib. It doesn't work in current systems because of bug 30557; using native wmp/quartz/devenum/codecs in Wine is the workaround for that bug. Unfortunately, it is impossible to install newer versions of WMP in Wine (WMP11 requires validation), so any video that requires a codec that WMP9 or 10 can't handle isn't going to work.

As for Powerpoint, my experience when winegrstreamer still worked was that it used to play embedded .avi files out of the box (so long as the needed gstreamer plugins were installed on the host system), but always had problems with other containers.

The Ubuntu Wine packages include many unofficial patches; I believe among them are patches intended to fix bug 30557, which may be why the extracted video doesn't crash for you in WMP9 whereas it does for me. Those unofficial patches aren't supported here. You might try contacting Maarten Lankhorst, the package maintainer and author of those patches, with your testcase.
pablopla
Level 1
Level 1
Posts: 6
Joined: Fri Oct 10, 2014 1:41 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by pablopla »

User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by dimesio »

How many times do I have to tell you about bug 30557?
forevertheuni
Level 1
Level 1
Posts: 5
Joined: Sun Mar 29, 2015 10:09 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by forevertheuni »

So. I installed WMP10 is there any way to force my wine to use it for files? I also installed quicktime7 too.
Anyway of stoping gstreamer? or we still need it anyway?
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by dimesio »

forevertheuni wrote:So. I installed WMP10 is there any way to force my wine to use it for files? I also installed quicktime7 too.
Anyway of stoping gstreamer? or we still need it anyway?
Disable winegstreamer.dll in winecfg and install wmp10 with winetricks, which will set all the necessary overrides for you.
forevertheuni
Level 1
Level 1
Posts: 5
Joined: Sun Mar 29, 2015 10:09 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by forevertheuni »

Bah. Powerpoint just crashes when I try to insert the video :(

Yesterday (no gstream dll) and with CCCP codecs installed I got a black box when I insert the videos. But then it only plays..a blackbox.

I have no idea what to do now :(.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by dimesio »

This thread is about Powerpoint Viewer, which only plays ppt and pptx files. It can't create or edit them.

If you are using full Powerpoint, you should have created a new thread for that. I would have pointed you to https://bugs.winehq.org/show_bug.cgi?id=17448 and https://bugs.winehq.org/show_bug.cgi?id=30687, both of which are now also blocked by https://bugs.winehq.org/show_bug.cgi?id=30557.
forevertheuni
Level 1
Level 1
Posts: 5
Joined: Sun Mar 29, 2015 10:09 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by forevertheuni »

OH ok. Thanks!
forevertheuni
Level 1
Level 1
Posts: 5
Joined: Sun Mar 29, 2015 10:09 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by forevertheuni »

However those bugs are not the same I'm having. Specially the second one.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Crash when playing a video with PowerPoint viewer 2010

Post by dimesio »

For the last time: until bug 30557 is fixed, playing video in Powerpoint or Powerpoint Viewer in plain Wine won't work. Period. The Ubuntu Wine packages contain a modified winegstreamer that might work, but it is not supported here.
Locked