JuliaIO / VideoIO.jl

Reading and writing of video files in Julia via ffmpeg
https://juliaio.github.io/VideoIO.jl/stable
Other
128 stars 53 forks source link

Add tests for executables (ffmpeg & ffprobe) #169

Closed IanButterworth closed 5 years ago

IanButterworth commented 5 years ago

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