Here is a quick snippet for configuring the output socket of a Transcoder for Advanced Audio Coding (AAC) / Audio Data Transport Stream (ADTS) encoding using C++.
Diagram
flowchart TB
is("<b>MediaSocket</b>\nFile: input.wav")
os("<b>MediaSocket</b>\nType: AAC\nSubtype: AAC_ADTS\nFile: output.aac")
tr("<b>Transcoder Block</b>\nopen\nrun\nclose")
in["input.wav"]
out["output.aac"]
is --> |"add input"| tr
os --> |"add output"| tr
in --> |"read"| tr --> |"write"| out
There is a new parameter in AVBlocks 1.8 called MaxDecFrameBuffering (corresponding to max_dec_frame_buffering from the AVC / H.264 standard).
It controls the decoded picture buffer size of the decoder and indirectly affects the decoding latency.
Update: This issue has been fixed as of version 1.6.
Wmvcore.dll is standard on all editions of Windows Vista and Windows 7 with the exception of the “N” editions. The “N” editions are distributed in Europe and do not include Windows Media Player and its related technologies.
This post assumes that you are using AVBlocks for .NET and you have purchased a license from the License Management site.
When you license a Primo Software product you usually get a license file in the email. The license file is basically a signed XML string that describes the products and features you have licensed. Then you have to provide the license to AVBlocks with the Library.SetLicense method.