webarkit / opencv-em

A simple utility script to build OpenCV static libs with Emscripten
GNU General Public License v3.0
19 stars 3 forks source link

Build opencv libs with videoio module support (Linux) #12

Closed kalwalt closed 8 months ago

kalwalt commented 8 months ago

This PR add videio support to the build script and consequently after merged i will make a new release with the new libs. Enabled plugins for V4L, ffmpeg and gstreamer. Without them you can't display a video. No changes to the Emscripten build. @Algomorph This PR also will integrate changes from #7 into the main branch. I added a bunch of improves to the action github script to address some minor issues.

kalwalt commented 8 months ago

The action github fails with:

./build.sh linux
./build.sh: line 213: pcregrep: command not found
cat: write error: Broken pipe
Error: Process completed with exit code 127.

Before this, it not happened, probably changed something in the ubuntu image? I will add the installation of pcregrep and i will upgrade actions/checkout@v3, actions/setup-node@v3 to v4.