@editframe/assets 0.18.19-beta.0 → 0.18.20-beta.0

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/Probe.js CHANGED
@@ -336,6 +336,7 @@ var ProbeBase = class {
336
336
  "-frag_duration",
337
337
  "4000000"
338
338
  ] : ["-movflags", "frag_keyframe+empty_moov+default_base_moof"];
339
+ const codecOptions = isAudioTrack && this.mustReencodeAudio ? this.ffmpegAudioOutputOptions : ["-c", "copy"];
339
340
  const ffmpegArgs = [
340
341
  ...this.ffmpegAudioInputOptions,
341
342
  ...this.ffmpegVideoInputOptions,
@@ -343,8 +344,7 @@ var ProbeBase = class {
343
344
  this.absolutePath,
344
345
  "-map",
345
346
  `0:${trackIndex}`,
346
- "-c",
347
- "copy",
347
+ ...codecOptions,
348
348
  "-f",
349
349
  "mp4",
350
350
  "-bitexact",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@editframe/assets",
3
- "version": "0.18.19-beta.0",
3
+ "version": "0.18.20-beta.0",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {