[FFmpeg-user] If FFmpeg compatible with Windows Docker ?

Reindl Harald h.reindl at thelounge.net
Mon Nov 27 12:05:42 EET 2017

Am 27.11.2017 um 10:54 schrieb Shyam Sundar:
> During further research I have come across this post -
> https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0c13bd1a-388f-48cf-a190-7259d39a080f/ffmpeg-doesnt-work-from-inside-a-container-but-works-on-the-host?forum=windowscontainers
> Which suggests that ffmpeg.exe can run only if two dlls - avicap32.dll and
> msvfw32.dll are present on your windows machine, they'll generally be in
> System32 folder.
> I copied these two from working box to windows docker container where these
> files weren't present, and ffmpeg started working after that.
> Has anyone come across this dependency to run ffmpeg.exe in past ? I
> thought ffmpeg static binary wouldn't need anything else to run itself

this is not possible that easy - ffmpeg don't implement everything on 
it's own and it would not make sense to do so - in the build below x264 
is explicit linked static and the other libraries are still loaded 
dynamic while verything is in a big ffmpeg binary without seperated 

i doubt you get a useful build with everything linked static

[harry at srv-rhsoft:~]$ ldd /usr/local/bin/ffmpeg
         linux-vdso.so.1 (0x00007fff5fbb8000)
         libdl.so.2 => /lib64/libdl.so.2 (0x00007f860f3bf000)
         libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f860f153000)
         libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f860ecc8000)
         libvdpau.so.1 => /lib64/libvdpau.so.1 (0x00007f860eac4000)
         libX11.so.6 => /lib64/libX11.so.6 (0x00007f860e786000)
         libva.so.1 => /lib64/libva.so.1 (0x00007f860e566000)
         libva-x11.so.1 => /lib64/libva-x11.so.1 (0x00007f860e360000)
         libva-drm.so.1 => /lib64/libva-drm.so.1 (0x00007f860e15d000)
         libx265.so.116 => /lib64/libx265.so.116 (0x00007f860dbf4000)
         libvpx.so.4 => /lib64/libvpx.so.4 (0x00007f860d7f0000)
         libm.so.6 => /lib64/libm.so.6 (0x00007f860d4da000)
         libtheoraenc.so.1 => /lib64/libtheoraenc.so.1 (0x00007f860d29c000)
         libtheoradec.so.1 => /lib64/libtheoradec.so.1 (0x00007f860d083000)
         libmp3lame.so.0 => /lib64/libmp3lame.so.0 (0x00007f8611358000)
         liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f860ce5d000)
         libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f860cc4d000)
         libz.so.1 => /lib64/libz.so.1 (0x00007f860ca36000)
         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f860c817000)
         libc.so.6 => /lib64/libc.so.6 (0x00007f860c442000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f86111e7000)
         libXext.so.6 => /lib64/libXext.so.6 (0x00007f860c230000)
         libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f860c008000)
         libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f860be02000)
         libdrm.so.2 => /lib64/libdrm.so.2 (0x00007f860bbf1000)
         librt.so.1 => /lib64/librt.so.1 (0x00007f860b9e9000)
         libnuma.so.1 => /lib64/libnuma.so.1 (0x00007f860b7de000)
         libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f860b455000)
         libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f860b23e000)
         libogg.so.0 => /lib64/libogg.so.0 (0x00007f860b037000)
         libmvec.so.1 => /lib64/libmvec.so.1 (0x00007f860ae0d000)
         libgomp.so.1 => /lib64/libgomp.so.1 (0x00007f860abde000)
         libXau.so.6 => /lib64/libXau.so.6 (0x00007f860a9da000)

More information about the ffmpeg-user mailing list