Skip to main content
Lazlo_Hollyfeld
Inspiring
September 7, 2012
Question

Strange audio issue when running render queue via script.

  • September 7, 2012
  • 1 reply
  • 1009 views

The issue I'm having with AE is odd, and I'm hoping someone may be able to shed light on the matter.  I have a very simple composition that, when I render out using the GUI, everything works as expected.  The video renders fine, the audio renders fine, etc.  However, when I invoke a script that runs the .aep file, sets the render queue for the composition in question, and then renders it, only the video comes through, but no audio.  There is nothing in my script prior to the setting up of the render queue that alters any audio layers (i.e. no code shutting off audio, etc.)  Has anybody ever encountered this?  The audio file is a .wav in 44.1KHz, 16bit, stereo, and will try other formats to see if the problem might with the file itself?  Although, I don't see how that would be the case if it is rendering just fine via the GUI.

Any help you can offer for troubleshooting would be great!  Thanks for your help and time!

This topic has been closed for replies.

1 reply

Alan_AEDScripts
Inspiring
September 14, 2012

One thing to look at is your output modules, are your rendering with a default one or are you specifying a module when you use the GUI. Perhaps your default OM has audio switched off and it is defaulting to this when you render.

Lazlo_Hollyfeld
Inspiring
September 18, 2012

Thanks for your suggestion.  It wasn't the output module.  I created a custom template for it and ensured the audio was checked.  It was an odd fix.  I deleted the audio layer, then dragged it back to the timline.  Then, it worked.  Cost me like two hours of work for that, and I should have checked it earlier.  But I still don't know why the original wasn't working.

Alan_AEDScripts
Inspiring
September 19, 2012

Sometimes I have had reading errors where say I replace a file and while AFX is importing/reading if I scrub the timeline too quickly it doesn't read the file properly. Seldom but usually with mpeg type files with complex compression.