Error or optimization problem with AudioEncodeThread?

Discuss about generic usage of MediaCoder.

Moderator: HuggiL

Post Reply
theprime
Beginner
Beginner
Posts: 1
Joined: Fri Sep 05, 2014 5:39 pm

Error or optimization problem with AudioEncodeThread?

Post by theprime » Fri Sep 05, 2014 5:48 pm

When transcoding, to H264 with AAC audio using FAAC, I receive the following message in the logger window repeatedly:

[09-05 07:06:40] Suspended for 2.8 secs to sync [AudioEncodeThread]

Is this an problem, and if so, what is the cause? (The transcoded files generally seem OK).
Or perhaps it's an optimization issue? Is the Audio transcoder waiting for the Video transcoder to catch-up? If so, should I devote less cores to Audio transcoding, or is there a better course of action?

Thanks
Paul

User avatar
HuggiL
Modest
Modest
Posts: 233
Joined: Tue Oct 18, 2011 3:44 am
Location: Perth, Australia

Re: Error or optimization problem with AudioEncodeThread?

Post by HuggiL » Sat Sep 06, 2014 3:00 am

I've seen that happen on mine as well. And my deduction is the same as yours, that the audio is waiting for the video to catch up. You can try changing the core allocation settings if you really want to try and get rid of that but I find that it's a delicate balancing act (reducing the cores for audio decoder and/or encoder might just make the video wait). So depending on your CPU, you may or may not be able to get rid of the message.
Also, I have yet to notice a negative effect from having those messages appear so I've left my core allocation on the default settings.
In theory, theory and practice are the same. In practice, they are not.

Tips & Guides: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Older versions: http://www.videohelp.com/tools/MediaCoder/old-versions#download

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: Error or optimization problem with AudioEncodeThread?

Post by stanley » Sat Sep 06, 2014 9:02 pm

This is normal as audio encoding is much faster than video encoding.
When things work together, things work.

Post Reply