If this is done prior to building CasparCG Server with "/build-scripts/set-variables-and-build-linux.sh" building will include the custom ffmpeg version!
--enable-libv4l2 \
--enable-zlib
make -j $jval && make install
+
+#dirty hack
+#replace shipped ffmpeg linux libs with compiled ones from here!
+cd $BUILD_DIR
+mv ../../bin/linux ../../bin/linux-shipped
+cp -r ../target/lib ../../bin/linux
+#some ffmpeg libs are build in a different shared target folder
+cp ../target/usr/local/lib/* ../../bin/linux/