Skip to content

Vproject/mkfifo-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

mkfifo-input

Creates a named pipe on win32 and forwards stdin

Based on UnZipPipe from http://jcarlossaez1.wordpress.com/2005/10/24/ii-on-the-fly-compression-is-easy-on-unix-but-it-is-also-easy-on-windows/

##Usage ... | mkfifo-input out_pipe_name

Reads stdin and writes it to a pipe. Msys tools seem to have trouble open the pipe. Other mingw compiled tools don't seem to suffer from that. Note: backslashes may require escaping; \\.\pipe\ vs \\\\.\\pipe\\

The named pipe is removed after the last reference to it is closed.

###Example

$ ffmpeg.exe -i example.y4m -f yuv4mpegpipe -v -1 - | ./mkfifo-input.exe your_pipename

####output

Reading from stdin and writing to pipe \\.\pipe\your_pipename

####start another process in a different shell that uses the pipe

$ ffmpeg.exe -i \\\\.\\pipe\\your_pipename exampleout.y4m

####when both processes end, \\.\pipe\your_pipename is removed.

About

Creates a named pipe on win32 and forwards stdin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages