![]() ![]() Put them in the same folder and then run docker compose up -d (requires docker compose to be installed though) Update: Managed to do it with the recommendation of the comments: ![]() Is there a way to get ffmpeg working within the docker container? Or is there another best practice to achieve this (besides not using docker)? However, due to probably using the docker version, ffmpeg is not available and the node crashes. From here you can either embed or create a playlist to display on the post/page.I am trying to use the media utils nodes ( ), which would probably solve my problem (download aac file and convert to wav). If encoding is successful, the mp4 file should be listed on your media page.Upload Issue?Ĭlick on “Encode selected” button to encode your video. By now, you are ready to upload your first video file and encode with plugin software that required FFMPEG or LIBAV.Scroll down to the bottom of the screen and you should see FFMPEG test data.Now you can go back to WordPress Admin screen under setting to continue setup your “Video Embed & Thumbnail Generator”.Įnter “/usr/bin” next to path and select “LIBAV” as an application.After it installed, check the WordPress image and make sure you can find FFMPEG under /usr/bin folderĭocker exec wp_tfphotos ls -li /usr/bin | grep ffmpeg.Once you get the name, use following syntax if you are running the same WordPress image that I have shown above.ĭocker exec wp_tfphotos apt-get install -y libav-tools.Find the name of the container you want to install libav-tools to by executing docker ps -a. ![]() Follow these steps to install video encoding to your docker container. Otherwise, it’s pretty straight forward for installing libav-tools to WordPress Debian container. How do I add FFMPEG or LIBAV to my docker image?ĭocker, WordPress with Debian image, Video Embed & Thumbnail Generator pluginįinding what you have and how to install it into your docker container is crucial. So I installed “Video Embed & Thumbnail Generator” plugin to display and play my video files, but it required FFMPEG or LIBAV for encoding. mov video after uploaded to my WordPress site. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |