Thursday, July 28, 2011

Adobe Media Encoder CS5 - No audio

I have had a unique problem recently where my Adobe Media Encoder (CS4 and CS5) would not encode the audio on a movie.  There were no error messages - there was just no sound.  Examining the resulting FLV file in Audacity showed that there was an audio track with a waveform, however Adobe Media Player and VLC Player would not play the audio.

After much trial and error, I was able to identify the following fix:

  1. Make sure that the video you want to render as an FLV is located on your hard drive.
  2. From the Start menu select Run.
  3. In the Open field, type "msconfig" then click OK.
  4. From the General tab, select "Diagnostic Startup" then click the "OK" button.
  5. At the prompt, select "Restart".
  6. Once your PC has restarted, run AME and encode the video you saved on your hard drive.
  7. Repeat steps 1-5, except select "Normal Startup" instead of "Diagnostic Startup".
Your Adobe Media Encoder should now work correctly.

As far as I can tell, this fix seems to work when using a PC where your Windows profile is stored on a network share.

Wednesday, July 20, 2011

Actionscript compile error - attempted access of inaccessible method through a reference with static type

If you are sure that the class and method that generated this error are all marked as public a simple publish settings change may help to fix the problem.  In the Publish Settings, select the Flash tab.  Then check the Export SWC option.  Then publish your SWF.  The error should be gone.

Tuesday, July 19, 2011

The dreaded "itunes was unable to load provider data from sync services" error

iTunes users (as at version 10.3.1.55) on a network behind an internet proxy requiring a username and password to connect to the internet might get this error when they attempt to synchronise in iTunes. 
The error occurs because iTunes tries to access the internet to load data - and it does not correctly pass your login details to the proxy.  The good news is that there is a very simple work-around.

In iTunes, select the "iTunes Store" option in the left panel.  You will be asked for your proxy username and password.  Enter your details, and select the "Remember password" box.  Click the OK button.  This saves your details in iTunes for the duration of your current iTunes session.

Re-run your sync, and all should work correctly.  The only problem is that you will need to do this each time you restart iTunes.