With this, ffmpeg or ffprobe can be used externally like this (for instance to write a video) where the lib path for windows, linux and OSX needs to be set:
withenv("PATH" => VideoIO.libpath, "LD_LIBRARY_PATH" => VideoIO.libpath, "DYLD_LIBRARY_PATH" => VideoIO.libpath) do
open(`$(VideoIO.ffmpeg etc. etc. fname.mpeg`, "w") do out
for image in images
write(out, image)
end
end
end
With this, ffmpeg or ffprobe can be used externally like this (for instance to write a video) where the lib path for windows, linux and OSX needs to be set: