Closed Bug 1891068 Opened 2 years ago Closed 2 years ago

On https://dmnsgn.github.io/canvas-record/, the multiple "encoders" do not work

Categories

(Core :: Audio/Video: Web Codecs, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1891080

People

(Reporter: mayankleoboy1, Unassigned)

References

()

Details

Attachments

(1 file)

Attached file about:support

Second encoder: MediaCaptureEncoder
Error:
Uncaught (in promise) DOMException: MediaRecorder constructor: video/x-matroska;codecs=avc1 indicates an unsupported container
init https://dmnsgn.github.io/canvas-record/src/encoders/MediaCaptureEncoder.js:39
init https://dmnsgn.github.io/canvas-record/src/Recorder.js:220
start https://dmnsgn.github.io/canvas-record/src/Recorder.js:242
<anonymous> https://dmnsgn.github.io/canvas-record/example/index.js:203

Summary: On https://dmnsgn.github.io/canvas-record/, the mp4wasmencoder doesnt work → On https://dmnsgn.github.io/canvas-record/, the multiple "encoders" do not work

Third encoder: WebCodecEncoder
Error::
DOMException: The given encoding is not supported. WebCodecsEncoder.js:98:29
error https://dmnsgn.github.io/canvas-record/src/encoders/WebCodecsEncoder.js:98
(Async: WebCodecsErrorCallback)
init https://dmnsgn.github.io/canvas-record/src/encoders/WebCodecsEncoder.js:96
init https://dmnsgn.github.io/canvas-record/src/Recorder.js:220
start https://dmnsgn.github.io/canvas-record/src/Recorder.js:242
<anonymous> https://dmnsgn.github.io/canvas-record/example/index.js:203
on https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1484
emit https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:155
emit https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:154
onClick_ https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1538
(Async: EventListener.handleEvent)
ButtonController https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1551
ButtonBladeController https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1562
controller https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1621
createBladeController https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:2773
bc https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:7296
createBlade https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:7296
addBlade https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1696
addButtonAsBlade https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1640
addButton https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1681
addButton https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:2169
<anonymous> https://dmnsgn.github.io/canvas-record/example/index.js:45
22:23:02.812
Uncaught (in promise) DOMException: VideoEncoder.encode: Encoder must be configured first
encode https://dmnsgn.github.io/canvas-record/src/encoders/WebCodecsEncoder.js:133
step https://dmnsgn.github.io/canvas-record/src/Recorder.js:326
tick https://dmnsgn.github.io/canvas-record/example/index.js:125
rAFId https://dmnsgn.github.io/canvas-record/example/index.js:129
tick https://dmnsgn.github.io/canvas-record/example/index.js:129
rAFId https://dmnsgn.github.io/canvas-record/example/index.js:129
tick https://dmnsgn.github.io/canvas-record/example/index.js:129
async* https://dmnsgn.github.io/canvas-record/example/index.js:206
on https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1484
emit https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:155
emit https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:154
onClick_ https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1538
ButtonController https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1551
ButtonBladeController https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1562
controller https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1621
createBladeController https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:2773
bc https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:7296
createBlade https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:7296
addBlade https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1696
addButtonAsBlade https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1640
addButton https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:1681
addButton https://dmnsgn.github.io/canvas-record/web_modules/tweakpane.js:2169
<anonymous> https://dmnsgn.github.io/canvas-record/example/index.js:45

The severity field is not set for this bug.
:padenot, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(padenot)
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1891080
Resolution: --- → DUPLICATE
Flags: needinfo?(padenot)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: