mcfifo - a Mickey Mouse mkfifo for Windows
mcfifo implements a poor man's mkfifo on Windows. Though less convenient than mkfifo on Unix, it aims to be more convenient than fiddling with cmd.exe and anonymous pipes.
$ mcfifo pipe command [ args, ... ]
e.g.
-
launch the child process and redirect its stdin to read from the specified named pipe (which mcfifo creates)
$ mcfifo \\.\pipe\downloader_out ffmpeg -y -i - output.mp4
-
launch the parent process normally
$ rtmpdump -r rtmp://www.whatever.com -o \\.\pipe\\downloader_out
Save mcfifo.exe to a path accessible from the command line.
Remove mcfifo.exe.
make
mcfifo is developed on Linux with MinGW. The Makefile requires i586-mingw32msvc-gcc. Patches are welcome for other build environments.
1.1.0
Based on this post by roozhou.
This is free software; you can redistribute it and/or modify it under the terms of the CC0.