ffmpegwasm / ffmpegwasm/ffmpeg.wasm
Could you provide more detailed instructions on building in Docker?
- Dominant language
- C
- Stars
- 17.8k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
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](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?
1. **System Environment:** Windows 11, Docker version: 26.1.4, Command-line tool: Windows PowerShell.
2. **Using Windows PowerShell**, run `git clone https://github.com/ffmpegwasm/ffmpeg.wasm.git`.
3. **After cloning**, navigate to the ffmpeg.wasm directory using the command line.
4. **Build the Docker image** with this command: `docker build -t ffmpeg.wasm .`
5. **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!
Contributor guide
Assessment
This issue has not been assessed yet.