Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've been using Office 2010 with Ubuntu 12.04. I would like to embed an video (.avi format) into a .pptx file in Powerpoint. It was originally a .mov file, so I used avconv to convert the .mov file to a .avi file:

avconv -i input.mov -vcodec libx264 -crf 22 ouput.avi

This works fine. But, when I try and embed output.avi into Powerpoint 2010, I get the following error:

PowerPoint cannot insert a video from the selected file.  Verify the necessary codec for this media is installed, and try again.

Do you have any suggestions on how to install the necessary codecs (in Wine?) or embed the video in my PowerPoint? Thanks

share|improve this question
    
This sounds like a Microsoft issue, but do you have winetricks installed? –  Mitch Jun 22 '12 at 14:04
    
There are many codec packs available freely on the Internet. Installing one of them under WINE might help. –  Anwar Shah Jun 22 '12 at 14:10

1 Answer 1

You'll have to convert the file using a Windows Media codec, rather than h.264. I don't think Office can embed h.264 video by default. If you install the appropriate codec package under wine, though, it should start working.

share|improve this answer
    
Thanks for the suggestions. Could you point me toward an appropriate codec package that plays nice with MS Office? It seems Windows Media Codecs 9 doesn't work with Wine (just tried and it gave me a "internal error" message). Maybe WMC 8? –  user63573 Jun 23 '12 at 14:09
    
As a quick update, I tried installing –  user63573 Jun 24 '12 at 18:59
    
I'm sorry, I don't use MS Office regularly, and I don't know which, if any, will play well with WINE. But Office 2010 probably needs the WMC 9 package to work best. –  dobey Jun 25 '12 at 13:58
    
To finish my last update, I installed Windows Media Player 10 through Playonlinux (I installed MS Office through this program as well), and it said during installation that it was installing some codecs. I just downloaded the test.wmv from this website: dougneubauer.com/mhcctest but it was still giving me the same error when I tried to embed the video file into Powerpoint 2010. I wonder if other people have had the same issue? –  user63573 Jun 26 '12 at 21:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.