-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
293 lines (192 loc) · 11.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<!DOCTYPE html>
<html lang="en">
<head>
<title>Blog | AVBlocks™</title>
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Primo Software">
<meta name="generator" content="Jekyll v4.2.2">
<link rel="canonical" href="https://blog.avblocks.com/">
<link rel="stylesheet" href="/assets/css/frame.css">
<link rel="stylesheet" href="/assets/css/classes.css">
<link rel="alternate" href="/feed.xml" type="application/atom+xml" title="AVBlocks™">
<script async src="https://www.googletagmanager.com/gtag/js?id=G-9ZGMP2RVMJ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-9ZGMP2RVMJ');
</script>
<script src="https://unpkg.com/mermaid@10.9.0/dist/mermaid.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
mermaid.initialize({
startOnLoad:true,
theme: "default",
});
window.mermaid.init(undefined, document.querySelectorAll('.language-mermaid'));
});
</script>
<style>
:not([class]) {
pre {
text-align: center;
}
}
</style>
<link href="/assets/prism/prism.css" rel="stylesheet" />
<script src="/assets/prism/prism.js"></script>
<script>
// don't highlight mermaid code
Prism.plugins.filterHighlightAll.add(function (env) {
return env.language !== 'mermaid';
});
</script>
<style>
code {
font-size: 15px !important;
}
</style>
</head>
<header>
<a href="https://avblocks.com" class="title">AVBlocks™</a>
<nav><a aria-label="Home" href="https://avblocks.com/" ><span aria-hidden="true">Home</span></a><a aria-label="Blog" href="/" class="selected"><span aria-hidden="true">Blog</span></a><a aria-label="Archive" href="/archive/" ><span aria-hidden="true">Archive</span></a></nav>
</header>
<article>
<header>
<h1><a href="/how-to-configure-output-socket-mp3-encoding-net/">How to configure output socket for MP3 encoding in .NET</a></h1><time datetime="2024-05-11T00:00:00-07:00">May 11, 2024</time>
</header>
<p>Here is a quick snippet for configuring the output socket of a <a href="https://doc.avblocks.com/net/latest/class_primo_software_1_1_a_v_blocks_1_1_transcoder.html">Transcoder</a> for MP3 encoding using C#.</p>
<h2 id="diagram">Diagram</h2>
<pre><code class="language-mermaid">flowchart TB
is("<b>MediaSocket</b>\nFile: input.wav")
os("<b>MediaSocket</b>\nType: MpegAudio\nSubtype: MpegAudioLayer3\nFile: output.mp3")
tr("<b>Transcoder Block</b>\nopen\nrun\nclose")
out["output.mp3"]
in["input.wav"]
out["output.mp3"]
is --> |"add input"| tr
os --> |"add output"| tr
in --> |"read"| tr --> |"write"| out
</code></pre>
<div class="more"><a href="/how-to-configure-output-socket-mp3-encoding-net/">read more</a></div>
</article>
<article>
<header>
<h1><a href="/how-to-configure-output-socket-aac-adts-encoding-cpp/">How to configure output socket for AAC / ADTS encoding in C++</a></h1><time datetime="2024-05-08T00:00:00-07:00">May 08, 2024</time>
</header>
<p>Here is a quick snippet for configuring the output socket of a <a href="https://doc.avblocks.com/cpp/latest/classprimo_1_1avblocks_1_1_transcoder.html">Transcoder</a> for Advanced Audio Coding (AAC) / Audio Data Transport Stream (ADTS) encoding using C++.</p>
<h2 id="diagram">Diagram</h2>
<pre><code class="language-mermaid">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
</code></pre>
<div class="more"><a href="/how-to-configure-output-socket-aac-adts-encoding-cpp/">read more</a></div>
</article>
<article>
<header>
<h1><a href="/how-to-configure-output-socket-mp3-encoding-cpp/">How to configure output socket for MP3 encoding in C++</a></h1><time datetime="2024-05-06T00:00:00-07:00">May 06, 2024</time>
</header>
<p>Here is a quick snippet for configuring the output socket of a <a href="https://doc.avblocks.com/cpp/latest/classprimo_1_1avblocks_1_1_transcoder.html">Transcoder</a> for MP3 encoding using C++.</p>
<h2 id="diagram">Diagram</h2>
<pre><code class="language-mermaid">flowchart TB
is("<b>MediaSocket</b>\nFile: input.wav")
os("<b>MediaSocket</b>\nType: MPEG_Audio\nSubtype: MPEG_Audio_Layer3\nFile: output.mp3")
tr("<b>Transcoder Block</b>\nopen\nrun\nclose")
in["input.wav"]
out["output.mp3"]
is --> |"add input"| tr
os --> |"add output"| tr
in --> |"read"| tr --> |"write"| out
</code></pre>
<div class="more"><a href="/how-to-configure-output-socket-mp3-encoding-cpp/">read more</a></div>
</article>
<article>
<header>
<h1><a href="/avblocks-3-whats-new/">AVBlocks v3 - What’s New</a></h1><time datetime="2023-07-05T00:00:00-07:00">July 05, 2023</time>
</header>
<h3 id="api">API</h3>
<ul>
<li>Remove 32-bit application support (C++ and .NET)</li>
<li>C++: Refactor API headers to use lowercase file names and subdirectories for namespaces</li>
<li>.NET: New AVBlocks .NET SDK for macOS and Linux (based on .NET Core 6+)</li>
<li>Distribute the <a href="https://github.com/avblocks/avblocks-core">AVBlocks Core</a> and <a href="https://github.com/avblocks/avblocks-net-core">AVBlocks .NET Core</a> through GitHub</li>
</ul>
<div class="more"><a href="/avblocks-3-whats-new/">read more</a></div>
</article>
<article>
<header>
<h1><a href="/avblocks-2-whats-new/">AVBlocks v2 - What’s New</a></h1><time datetime="2016-04-16T00:00:00-07:00">April 16, 2016</time>
</header>
<h3 id="api">API</h3>
<ul>
<li>The MediaInfo object now implements the Block abstract interface.</li>
</ul>
<h3 id="samples">Samples</h3>
<ul>
<li>New <code>overlay_mp4_png_file</code> sample. This sample shows how to place a watermark on a video file by blending a video file with a PNG image.</li>
</ul>
<div class="more"><a href="/avblocks-2-whats-new/">read more</a></div>
</article>
<article>
<header>
<h1><a href="/controling-h-264-decoding-latency/">Controling H.264 decoding latency</a></h1><time datetime="2013-12-17T00:00:00-08:00">December 17, 2013</time>
</header>
<p>There is a new parameter in AVBlocks 1.8 called <a href="http://doc.avblocks.com/cpp/latest/namespaceprimo_1_1avblocks_1_1_param_1_1_decoder_1_1_video_1_1_h264_1_1_v_u_i.html#details">MaxDecFrameBuffering</a> (corresponding to <code>max_dec_frame_buffering</code> from the AVC / H.264 standard).
It controls the decoded picture buffer size of the decoder and indirectly affects the decoding latency.<!--more--></p>
<div class="more"><a href="/controling-h-264-decoding-latency/">read more</a></div>
</article>
<article>
<header>
<h1><a href="/avblocks-will-not-load-if-wmvcore-dll-is-not-present-on-users-system/">AVBlocks will not load if Wmvcore.dll is not present on user's system</a></h1><time datetime="2013-09-09T00:00:00-07:00">September 09, 2013</time>
</header>
<blockquote>
<p>Update: This issue has been fixed as of version 1.6.</p>
</blockquote>
<p>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.</p>
<div class="more"><a href="/avblocks-will-not-load-if-wmvcore-dll-is-not-present-on-users-system/">read more</a></div>
</article>
<article>
<header>
<h1><a href="/how-to-set-license-string-in-avblocks/">How to set license string in AVBlocks</a></h1><time datetime="2013-05-29T00:00:00-07:00">May 29, 2013</time>
</header>
<p>This post assumes that you are using AVBlocks for .NET and you have purchased a license from the <a href="https://lm.primosoftware.com" title="License Managerment">License Management</a> site.</p>
<p>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.</p>
<div class="more"><a href="/how-to-set-license-string-in-avblocks/">read more</a></div>
</article>
<article>
<a href="/tag/tips-and-tricks"><code class="highligher-rouge" style="font-size:16px;"><nobr>tips-and-tricks</nobr></code></a>
<a href="/tag/encoder"><code class="highligher-rouge" style="font-size:13px;"><nobr>encoder</nobr></code></a>
<a href="/tag/audio"><code class="highligher-rouge" style="font-size:13px;"><nobr>audio</nobr></code></a>
<a href="/tag/video"><code class="highligher-rouge" style="font-size:12px;"><nobr>video</nobr></code></a>
<a href="/tag/news"><code class="highligher-rouge" style="font-size:12px;"><nobr>news</nobr></code></a>
<a href="/tag/mp3"><code class="highligher-rouge" style="font-size:12px;"><nobr>mp3</nobr></code></a>
<a href="/tag/wmv"><code class="highligher-rouge" style="font-size:11px;"><nobr>wmv</nobr></code></a>
<a href="/tag/windows"><code class="highligher-rouge" style="font-size:11px;"><nobr>windows</nobr></code></a>
<a href="/tag/license"><code class="highligher-rouge" style="font-size:11px;"><nobr>license</nobr></code></a>
<a href="/tag/h.264"><code class="highligher-rouge" style="font-size:11px;"><nobr>h.264</nobr></code></a>
<a href="/tag/demo"><code class="highligher-rouge" style="font-size:11px;"><nobr>demo</nobr></code></a>
<a href="/tag/decoder"><code class="highligher-rouge" style="font-size:11px;"><nobr>decoder</nobr></code></a>
<a href="/tag/c++"><code class="highligher-rouge" style="font-size:11px;"><nobr>c++</nobr></code></a>
<a href="/tag/avc"><code class="highligher-rouge" style="font-size:11px;"><nobr>avc</nobr></code></a>
<a href="/tag/adts"><code class="highligher-rouge" style="font-size:11px;"><nobr>adts</nobr></code></a>
<a href="/tag/aac"><code class="highligher-rouge" style="font-size:11px;"><nobr>aac</nobr></code></a>
<a href="/tag/.net"><code class="highligher-rouge" style="font-size:11px;"><nobr>.net</nobr></code></a>
</article>
<footer>
<span></span>
<span>page 1 of 2</span>
<a href="/page2">older posts »</a>
</footer>
<footer>
<div>© Primo Software</div>
<nav><a aria-label="Mail" href="mailto:sales@avblocks.com" ><svg aria-hidden="true" class="icon"><use xlink:href="/assets/fontawesome/icons.svg#envelope"></use></svg></a><a aria-label="Github" href="https://github.com/avblocks" ><svg aria-hidden="true" class="icon"><use xlink:href="/assets/fontawesome/icons.svg#github"></use></svg></a><a aria-label="Subscribe" href="/feed.xml" ><svg aria-hidden="true" class="icon"><use xlink:href="/assets/fontawesome/icons.svg#rss"></use></svg></a></nav>
</footer>
</html>