Expression > 論壇首頁 > Expression Encoder > expression encoder sdk - mp4 format problem
發問發問
 

問題expression encoder sdk - mp4 format problem

  • 2009年6月23日 下午 04:06itsenes 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I'm trying to encode mp4 files using the sdk but an InvalidMediaFormatException is thrown (Message: Apple QuickTime is not installed), apple quicktime is installed and when using the application i manage to encode the files successfully - Uninstalled quicktime and reinstalled it but the problem persists - any ideas? thank you

所有回覆

  • 2009年6月23日 下午 07:52Dean RoweMSFT使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    Are you running your application as the current user or as System running as a service perhaps?
    Regards
    Dean.

  • 2009年6月24日 上午 11:08itsenes 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    well i tried both, i started working on a windows service and then switched to plain old console app. I forgot to mention that i'm working on a 64bit vista machine and installed expression blend 3.0 beta a few days ago. i'll uninstall and reinstall everything (expression apps and quicktime that is :) and try again. when running as a console app i assume that it is using the same identity the expression app is using (interactive user) but is a very interesting point for when it will be running as a service if it works.

    i'll try uninstalling and reinstalling everything and post the results here, thank you.
  • 2009年6月24日 下午 12:21itsenes 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    ok, uninstalling and reinstalling the apps didn't help. BUT it is definitely a problem with my machine (the configuration perhaps - vista64bit and quicktime !?) because i just tested the console test app on a different machine (32bit windows 2008 server) and WORKED just fine.

    bets regards,
    giannis
  • 2009年6月24日 下午 08:42Dean RoweMSFT使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    So for some reason QuickTime is not being detected on your 64-bit machine. This definitely should work as a whole bunch of us here work with 64-bit machines. Can you run the 32-bit version of Regedit on your 64-bit box to check something. You can do this by running

    c:\Windows\SysWOW64\regedit.exe

    Then navigate to HKEY_LOCAL_MACHINE\Apple Computer, Inc.\QuickTime and see if that is there with appropriate values?

    Regards
    Dean.

  • 2009年6月25日 上午 08:26itsenes 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    i did find the entries in the registry but i'm not sure what the appropriate values are, could you please elaborate.
    btw i ported the app back to windows service and works really good - i really really like the expression encoder api.

    best regards,

    giannis
  • 2009年6月29日 上午 07:14Dean RoweMSFT使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Thanks for the comments. I'm not sure what else to suggest as it looks like you've tried uninstalling and reinstalling QuickTime. I assume you're installing the latest version? We've certainly used QuickTime and Encoder on 64-bit machines, so it should work.
    Regards
    Dean.