Expression > Forums Home > Expression Studio Forums > Expression Encoder > expression encoder sdk - mp4 format problem
Ask a questionAsk a question
 

Questionexpression encoder sdk - mp4 format problem

  • Tuesday, June 23, 2009 4:06 PMitsenes Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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

All Replies

  • Tuesday, June 23, 2009 7:52 PMDean RoweMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

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

  • Wednesday, June 24, 2009 11:08 AMitsenes Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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.
  • Wednesday, June 24, 2009 12:21 PMitsenes Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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
  • Wednesday, June 24, 2009 8:42 PMDean RoweMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    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.

  • Thursday, June 25, 2009 8:26 AMitsenes Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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
  • Monday, June 29, 2009 7:14 AMDean RoweMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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.