@camstack/addon-decoder-ffmpeg 1.2.38 → 1.2.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +31 -2
- package/dist/index.mjs +31 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37197,8 +37197,9 @@ function resolveAudioCodecAlias(codec) {
|
|
|
37197
37197
|
* | ----------------------------- | ------ | ---- | ----------------------------- |
|
|
37198
37198
|
* | pcm_mulaw | mulaw | yes | G.711 µ-law |
|
|
37199
37199
|
* | pcm_alaw | alaw | yes | G.711 A-law |
|
|
37200
|
-
* | pcm_s16be (l16) | s16be | yes | RTP L16
|
|
37201
|
-
* | pcm_s16le | s16le | yes |
|
|
37200
|
+
* | pcm_s16be (l16) | s16be | yes | RTP L16 — NOT in the catalogue|
|
|
37201
|
+
* | pcm_s16le | s16le | yes | linear PCM rate conversion |
|
|
37202
|
+
* | pcm_f32le | f32le | yes | linear PCM rate conversion |
|
|
37202
37203
|
* | g722 | g722 | yes | 16 kHz wideband |
|
|
37203
37204
|
* | aac / aac_latm / mpeg4-generic| aac | no | ADTS demuxer |
|
|
37204
37205
|
* | opus | ogg | no | ⚠ needs Ogg framing (see NOTE)|
|
|
@@ -37226,6 +37227,10 @@ var DECODE_FORMAT_BY_CODEC = {
|
|
|
37226
37227
|
inputFormat: "s16le",
|
|
37227
37228
|
rawInput: true
|
|
37228
37229
|
},
|
|
37230
|
+
pcm_f32le: {
|
|
37231
|
+
inputFormat: "f32le",
|
|
37232
|
+
rawInput: true
|
|
37233
|
+
},
|
|
37229
37234
|
g722: {
|
|
37230
37235
|
inputFormat: "g722",
|
|
37231
37236
|
rawInput: true
|
|
@@ -37250,6 +37255,8 @@ var DECODE_FORMAT_BY_CODEC = {
|
|
|
37250
37255
|
* | --------- | ---------- | ----- | -------- |
|
|
37251
37256
|
* | pcm_mulaw | pcm_mulaw | mulaw | no |
|
|
37252
37257
|
* | pcm_alaw | pcm_alaw | alaw | no |
|
|
37258
|
+
* | pcm_s16le | pcm_s16le | s16le | no |
|
|
37259
|
+
* | pcm_f32le | pcm_f32le | f32le | no |
|
|
37253
37260
|
* | g722 | g722 | g722 | no |
|
|
37254
37261
|
* | aac | aac | adts | yes |
|
|
37255
37262
|
* | opus | libopus | ogg | yes |
|
|
@@ -37265,6 +37272,16 @@ var ENCODE_FORMAT_BY_CODEC = {
|
|
|
37265
37272
|
outputFormat: "alaw",
|
|
37266
37273
|
acceptsBitrate: false
|
|
37267
37274
|
},
|
|
37275
|
+
pcm_s16le: {
|
|
37276
|
+
encoder: "pcm_s16le",
|
|
37277
|
+
outputFormat: "s16le",
|
|
37278
|
+
acceptsBitrate: false
|
|
37279
|
+
},
|
|
37280
|
+
pcm_f32le: {
|
|
37281
|
+
encoder: "pcm_f32le",
|
|
37282
|
+
outputFormat: "f32le",
|
|
37283
|
+
acceptsBitrate: false
|
|
37284
|
+
},
|
|
37268
37285
|
g722: {
|
|
37269
37286
|
encoder: "g722",
|
|
37270
37287
|
outputFormat: "g722",
|
|
@@ -37923,6 +37940,18 @@ var CODEC_CATALOG = [
|
|
|
37923
37940
|
canEncode: true,
|
|
37924
37941
|
label: "PCM A-law (G.711)"
|
|
37925
37942
|
},
|
|
37943
|
+
{
|
|
37944
|
+
codec: "pcm_s16le",
|
|
37945
|
+
canDecode: true,
|
|
37946
|
+
canEncode: true,
|
|
37947
|
+
label: "PCM signed 16-bit LE"
|
|
37948
|
+
},
|
|
37949
|
+
{
|
|
37950
|
+
codec: "pcm_f32le",
|
|
37951
|
+
canDecode: true,
|
|
37952
|
+
canEncode: true,
|
|
37953
|
+
label: "PCM float 32-bit LE"
|
|
37954
|
+
},
|
|
37926
37955
|
{
|
|
37927
37956
|
codec: "g722",
|
|
37928
37957
|
canDecode: true,
|
package/dist/index.mjs
CHANGED
|
@@ -37193,8 +37193,9 @@ function resolveAudioCodecAlias(codec) {
|
|
|
37193
37193
|
* | ----------------------------- | ------ | ---- | ----------------------------- |
|
|
37194
37194
|
* | pcm_mulaw | mulaw | yes | G.711 µ-law |
|
|
37195
37195
|
* | pcm_alaw | alaw | yes | G.711 A-law |
|
|
37196
|
-
* | pcm_s16be (l16) | s16be | yes | RTP L16
|
|
37197
|
-
* | pcm_s16le | s16le | yes |
|
|
37196
|
+
* | pcm_s16be (l16) | s16be | yes | RTP L16 — NOT in the catalogue|
|
|
37197
|
+
* | pcm_s16le | s16le | yes | linear PCM rate conversion |
|
|
37198
|
+
* | pcm_f32le | f32le | yes | linear PCM rate conversion |
|
|
37198
37199
|
* | g722 | g722 | yes | 16 kHz wideband |
|
|
37199
37200
|
* | aac / aac_latm / mpeg4-generic| aac | no | ADTS demuxer |
|
|
37200
37201
|
* | opus | ogg | no | ⚠ needs Ogg framing (see NOTE)|
|
|
@@ -37222,6 +37223,10 @@ var DECODE_FORMAT_BY_CODEC = {
|
|
|
37222
37223
|
inputFormat: "s16le",
|
|
37223
37224
|
rawInput: true
|
|
37224
37225
|
},
|
|
37226
|
+
pcm_f32le: {
|
|
37227
|
+
inputFormat: "f32le",
|
|
37228
|
+
rawInput: true
|
|
37229
|
+
},
|
|
37225
37230
|
g722: {
|
|
37226
37231
|
inputFormat: "g722",
|
|
37227
37232
|
rawInput: true
|
|
@@ -37246,6 +37251,8 @@ var DECODE_FORMAT_BY_CODEC = {
|
|
|
37246
37251
|
* | --------- | ---------- | ----- | -------- |
|
|
37247
37252
|
* | pcm_mulaw | pcm_mulaw | mulaw | no |
|
|
37248
37253
|
* | pcm_alaw | pcm_alaw | alaw | no |
|
|
37254
|
+
* | pcm_s16le | pcm_s16le | s16le | no |
|
|
37255
|
+
* | pcm_f32le | pcm_f32le | f32le | no |
|
|
37249
37256
|
* | g722 | g722 | g722 | no |
|
|
37250
37257
|
* | aac | aac | adts | yes |
|
|
37251
37258
|
* | opus | libopus | ogg | yes |
|
|
@@ -37261,6 +37268,16 @@ var ENCODE_FORMAT_BY_CODEC = {
|
|
|
37261
37268
|
outputFormat: "alaw",
|
|
37262
37269
|
acceptsBitrate: false
|
|
37263
37270
|
},
|
|
37271
|
+
pcm_s16le: {
|
|
37272
|
+
encoder: "pcm_s16le",
|
|
37273
|
+
outputFormat: "s16le",
|
|
37274
|
+
acceptsBitrate: false
|
|
37275
|
+
},
|
|
37276
|
+
pcm_f32le: {
|
|
37277
|
+
encoder: "pcm_f32le",
|
|
37278
|
+
outputFormat: "f32le",
|
|
37279
|
+
acceptsBitrate: false
|
|
37280
|
+
},
|
|
37264
37281
|
g722: {
|
|
37265
37282
|
encoder: "g722",
|
|
37266
37283
|
outputFormat: "g722",
|
|
@@ -37919,6 +37936,18 @@ var CODEC_CATALOG = [
|
|
|
37919
37936
|
canEncode: true,
|
|
37920
37937
|
label: "PCM A-law (G.711)"
|
|
37921
37938
|
},
|
|
37939
|
+
{
|
|
37940
|
+
codec: "pcm_s16le",
|
|
37941
|
+
canDecode: true,
|
|
37942
|
+
canEncode: true,
|
|
37943
|
+
label: "PCM signed 16-bit LE"
|
|
37944
|
+
},
|
|
37945
|
+
{
|
|
37946
|
+
codec: "pcm_f32le",
|
|
37947
|
+
canDecode: true,
|
|
37948
|
+
canEncode: true,
|
|
37949
|
+
label: "PCM float 32-bit LE"
|
|
37950
|
+
},
|
|
37922
37951
|
{
|
|
37923
37952
|
codec: "g722",
|
|
37924
37953
|
canDecode: true,
|