Skip to content

base/video/orc: build with emscripten#60

Open
aslobodeniuk wants to merge 23 commits intogst.wasmfrom
RDI-2775
Open

base/video/orc: build with emscripten#60
aslobodeniuk wants to merge 23 commits intogst.wasmfrom
RDI-2775

Conversation

@aslobodeniuk
Copy link
Contributor

Issue: RDI_2775

aslobodeniuk and others added 23 commits May 23, 2025 14:16
Otherwise, linking to this library fails because missing gio symbols
The following error is shown:

gtype.c:2092 Uncaught (in promise) RuntimeError: null function or function signature mismatch
    at codecs-example.wasm.type_iface_ensure_dflt_vtable_Wm (gtype.c:2092:13)
    at codecs-example.wasm.type_iface_vtable_base_init_Wm (gtype.c:2121:3)
    at codecs-example.wasm.type_class_init_Wm (gtype.c:407:31)
    at codecs-example.wasm.g_type_class_ref (gtype.c:3066:5)
    at codecs-example.wasm.gst_element_register (gstelementfactory.c:244:3)
    at codecs-example.wasm.gst_element_register_fakeaudiosink (gstfakeaudiosink.c:142:1)
The emscripten project did a commit replacing copied OpenAL
extensions header alext.h with its own reduced version. [1]

It was done due to incompatibilities BSD licence and MIT licence.

[1] emscripten-core/emscripten@cf8a0d000
The current task implementation makes the thread "active" waiting
on STOP and PAUSED, making it impossible to take control of the
thread for other processes. With this new API new kind of tasks can
exist that doesn't sleep during the execution, but give back the
control to the application.
Currently, GstTaskPools can be set on a pad using the STREAM_STATUS
message, assuming all GstTasks behave the same way. With this we can
set a GstTask on a pad different from the default created, but
only during the start (creation) of a task. Also add API to resume
a pad task. A task can be resumed but it is never possible to do so
if the GstPad API doesn't expose it.
It's not supported yet.

Issue: CS_3298
This allows to correctly build if FFMpeg have been configured
with restricted amount of features, e.g. configuring as

-Dauto_features=disabled
-Dlibav=enabled
-Dlibav:element_groups='viddec,auddec'
-DFFmpeg:h264_decoder=enabled
-DFFmpeg:aac_decoder=enabled
@cfoch
Copy link

cfoch commented Jul 15, 2025

Watch out the target branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants