You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a great library. Although its video encoding conversion functionality is not yet suitable for production use (it's too slow), it is excellent for video packaging and unpackaging if encoding conversion is not needed. In my use case, I only need to package MP4, so I need to rebuild a smaller wasm file. However, I encountered issues building through Docker (I am not familiar with Docker). I read this documentation: https://ffmpegwasm.netlify.app/docs/contribution/core, and my understanding is to set up the environment through Docker and then enter Docker to run "make dev."
Below are my build steps and the issues I encountered. Could you guys give me some suggestions for my work?
System Environment: Windows 11, Docker version: 26.1.4, Command-line tool: Windows PowerShell.
Using Windows PowerShell, run git clone https://github.com/ffmpegwasm/ffmpeg.wasm.git.
After cloning, navigate to the ffmpeg.wasm directory using the command line.
Build the Docker image with this command: docker build -t ffmpeg.wasm .
The problem arises here: After the Docker image is successfully built, how do I enter the Docker environment to run the "make dev" command? Here is a screenshot after I completed building the Docker image:
I tried docker run -it --entrypoint sh ffmpeg.wasm and docker run ffmpeg.wasm, but neither allowed me to enter the Docker environment smoothly. Are there any mistakes in my steps? Please provide suggestions, and thank you!
The text was updated successfully, but these errors were encountered:
Mayby not the answer you looking for.
But i couldn't manage to get it working on windows docker also and gave up on that.
In the end i compiled with docker using ubuntu, (using Hyper-V to quickly deploy a VM of ubuntu LTS, just make sure you do Ubuntu 20.04 not 22.04 that one has some problems with xrdp)
Mayby not the answer you looking for. But i couldn't manage to get it working on windows docker also and gave up on that.
In the end i compiled with docker using ubuntu, (using Hyper-V to quickly deploy a VM of ubuntu LTS, just make sure you do Ubuntu 20.04 not 22.04 that one has some problems with xrdp)
According to your suggestion, I successfully compiled the wasm file to about 1MB, thank you brother! I also thank the awesome Jerome Wu for providing this library
This is a great library. Although its video encoding conversion functionality is not yet suitable for production use (it's too slow), it is excellent for video packaging and unpackaging if encoding conversion is not needed. In my use case, I only need to package MP4, so I need to rebuild a smaller wasm file. However, I encountered issues building through Docker (I am not familiar with Docker). I read this documentation: https://ffmpegwasm.netlify.app/docs/contribution/core, and my understanding is to set up the environment through Docker and then enter Docker to run "make dev."
Below are my build steps and the issues I encountered. Could you guys give me some suggestions for my work?
git clone https://github.com/ffmpegwasm/ffmpeg.wasm.git
.docker build -t ffmpeg.wasm .
make dev
" command? Here is a screenshot after I completed building the Docker image:I tried
docker run -it --entrypoint sh ffmpeg.wasm
anddocker run ffmpeg.wasm
, but neither allowed me to enter the Docker environment smoothly. Are there any mistakes in my steps? Please provide suggestions, and thank you!The text was updated successfully, but these errors were encountered: