# \[ANN\] FFmpegPipe

**URL:** <https://discourse.julialang.org/t/ann-ffmpegpipe/16486>\
**Category:** Community\
**Tags:** package, announcement\
**Created:** [October 18, 2018, 7:54am UTC](https://discourse.julialang.org/t/ann-ffmpegpipe/16486 "2018-10-18T07:54:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [October 18, 2018, 7:54am UTC](https://discourse.julialang.org/t/ann-ffmpegpipe/16486/1 "2018-10-18T07:54:32Z")

</div>

# FFmpegPipe

[FFmpegPipe.jl](https://github.com/yakir12/FFmpegPipe.jl) lets you read/write video files (mp4, wmv, avi, mov…) from Julia by piping images from/to an [FFmpeg](https://ffmpeg.org/) process.

This is neither as efficient nor as versatile as calling lower-level routines from libav/ffmpeg directly, like [VideoIO.jl](https://github.com/kmsquire/VideoIO.jl) does, but that package does not yet support video output nor is it `v1` ready.

Anything that Julia can `show` as a `MIME("image/png")` can be sent as a video frame, in particular `Plot` objects from [Plots.jl](https://github.com/JuliaPlots/Plots.jl) and `Array{T,2} where T<:Colorant` from [Images.jl](https://github.com/JuliaImages/Images.jl) have been tested to work. (Yes, it is unnecessary to compress/decompress a PNG image only to pass it form one process to another, but at least it is lossless.)

# Background

@Per wrote [FFmpegPipe](https://github.com/yakir12/FFmpegPipe.jl) back in late 2017. He never got it registered. I took over maintenance and got it registered now. All help is welcomed! As it says, `VideoIO` is a better solution than this one, but this works well and works now (as long as you have `FFmpeg` installed).

---

<div class="post-metadata">

**Author:** ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)\
**Post date:** [October 20, 2018, 7:43am UTC](https://discourse.julialang.org/t/ann-ffmpegpipe/16486/2 "2018-10-20T07:43:28Z")

</div>

I have been trying to get VideoIO.jl working in Windows 10. It downloads the wrong file for ffmpeg, which is a 7z file rathe than a zip file which is currently on the ffmpeg website.

Sorry to say it but the test fails on Windows 10. I do have ffmepg installed an it is in my PATH  
Love to work with you on getting this installed in Windows

---

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [October 20, 2018, 8:07am UTC](https://discourse.julialang.org/t/ann-ffmpegpipe/16486/3 "2018-10-20T08:07:49Z")

</div>

> [@johnh](#):
>
> the test fails on Windows 10. I do have ffmepg installed an it is in my PATH  
> Love to work with you on getting this installed in Windows

Yea, I know, no idea why. I was thinking it might only be a “CI thing”, but I see I was wrong. Please, gladly, let’s fix this 🙂
