For example to read from stdin with ffmpeg:

cat test.wav | ffmpeg -i pipe:0
# ...this is the same as...
cat test.wav | ffmpeg -i pipe:
For writing to stdout with ffmpeg:

ffmpeg -i test.wav -f avi pipe:1 | cat > test.avi
# ...this is the same as...
ffmpeg -i test.wav -f avi pipe: | cat > test.avi
The accepted syntax is:

pipe:[number]

Recommend

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.19 pipe

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.18 md5

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.17 mmsh

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.15 Icecast

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.14 http 3.14.1 HTTP Cookies

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.14 http

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.13 hls

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.10 ftp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.9 file

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.8 data

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.7 crypto

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.6 concatf

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.5 concat

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.4 cache

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.3 bluray

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.2 async

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.1 amqp

FFMPEG FFmpeg Formats Documentation 5 Metadata

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.35 webm_dash_manifest 4.35.2 Example

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.34 webm_chunk 4.34.2 Example

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.33 tee 4.33.2 Examples

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.30 segment, stream_segment, ssegment 4.30.2 Examples

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.30 segment, stream_segment, ssegment 4.30.1 Options

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.27 nut

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.26 null

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.24 mpegts 4.24.1 Options

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.23 mp3

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.22 mov, mp4, ismv 4.22.2 Example

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.21 md5 4.21.1 Examples

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.20 matroska 4.20.1 Metadata

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.19 image2 4.19.2 Examples

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.18 ico

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.17 hls 4.17.1 Options

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.17 hls

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.16 hash 4.16.1 Examples

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.15 gif

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.14 framemd5 4.14.1 Examples

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.13 framehash 4.13.1 Examples

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.12 framecrc 4.12.1 Examples

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.12 framecrc

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.10 fifo 4.10.1 Examples

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.9 dash

FFMPEG FFmpeg Formats Documentation 4 Muxers 4.8 crc 4.8.1 Examples

FFMPEG FFmpeg Formats Documentation 3 Demuxers 3.20 tedcaptions

FFMPEG FFmpeg Formats Documentation 3 Demuxers 3.19 sbg

FFMPEG FFmpeg Formats Documentation 3 Demuxers 3.18 rawvideo

FFMPEG FFmpeg Formats Documentation 3 Demuxers 3.15 mov/mp4/3gp 3.15.2 Audible AAX

FFMPEG FFmpeg Formats Documentation 3 Demuxers 3.11 image2 3.11.1 Examples

FFMPEG FFmpeg Formats Documentation 3 Demuxers 3.11 image2