![]() ![]() If interest exists in adding this feature, I would be happy to accept any pull requests or to otherwise implement some trivial edge cases into the existing scriptįor use case 2.a and 2.b together, the clear choice is to statically compile ffmpeg with all desired features, delete the compilation precursors, and simply keep the statically compiled binary. I personally have no use for 1, as it is fairly easy to simply enter the relevant ffmpeg container via docker run -rm -it -entrypoint=/bin/sh $image_name and then manually run any ffmpeg containers from within. Complex commands that use redirection to perform audio/video manipulations (e.g., commands outside of the form: ffmpeg _ -i $path_to_file _ $path_to_output.Simple commands that do not perform any audio/video manipulations (e.g., ffmpeg -encoders).As a result, two main types of commands are not supported The script parses commands to determine which host directories need to be mounted to the guest container for input/output. ĭffmpeg currently only supports commands that actually process files from the local system. build.sh will be executed from within the directory that contains it (i.e., build.sh can take the form docker build -t $image_name.The name of your new image must be the same as the directory that contains it. ![]() To specify an ffmpeg image of your own design, simply create a new subdirectory within "images." Inside, you will need to create a Dockerfile that has ffmpeg configured as its entrypoint and a build.sh that builds the image with a name of your choosing. # Copy dffmpeg.sh to a location that *should* be in the default $PATH setup for most systems # (Also removes the file extension following unix executable naming conventions)Ĭp dffmpeg.sh /usr/local/bin/dffmpeg Adding Your Own ffmpeg Image # Build the desired image with the tag specified above # Modify the default image name from "alpine-ffmpeg" to that of your choosing (e.g., "arch-ffmpeg") ![]() # Download dffmpeg.sh and the Dockerfile to build the default Arch Linux image implementation
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |