For example, to convert a GIF file given inline with ffmpeg:

ffmpeg -i "data:image/gif;base64,R0lGODdhCAAIAMIEAAAAAAAA//8AAP//AP///////////////ywAAAAACAAIAAADF0gEDLojDgdGiJdJqUX02iB4E8Q9jUMkADs=" smiley.png
For example, to convert a GIF file given inline with ffmpeg:

ffmpeg -i "data:image/gif;base64,R0lGODdhCAAIAMIEAAAAAAAA//8AAP//AP///////////////ywAAAAACAAIAAADF0gEDLojDgdGiJdJqUX02iB4E8Q9jUMkADs=" smiley.png
If set to 1 enables experimental HTTP server. This can be used to send data when used as an output option, or read data from a client with HTTP POST when used as an input option. If set to 2 enables experimental multi-client HTTP server. This is not yet implemented in ffmpeg.c and thus must not be used as a command line option.

# Server side (sending):
ffmpeg -i somefile.ogg -c copy -listen 1 -f ogg http://server:port

# Client side (receiving):
ffmpeg -i http://server:port -c copy somefile.ogg

# Client can also be done with wget:
wget http://server:port -O somefile.ogg

# Server side (receiving):
ffmpeg -listen 1 -i http://server:port -c copy somefile.ogg

# Client side (sending):
ffmpeg -i somefile.ogg -chunked_post 0 -c copy -f ogg http://server:port

# Client can also be done with wget:
wget --post-file=somefile.ogg http://server:port
After starting the broker, an FFmpeg client may stream data to the broker using the command:

ffmpeg -re -i input -f mpegts amqp://[[user]:[password]@]hostname[:port][/vhost]
The following examples all make use of the ffplay and ffmpeg tools.

ffplay -max_delay 500000 -rtsp_transport udp rtsp://server/video.mp4
The following example shows how to setup a listening TCP connection with ffmpeg, which is then accessed with ffplay:

ffmpeg -i input -f format tcp://hostname:port?listen
ffplay tcp://hostname:port
Similarly, for watching in ffplay:

ffmpeg -re -i input -f sap sap://224.0.0.255
And for watching in ffplay, over IPv6:

ffmpeg -re -i input -f sap sap://[ff0e::1:2:3:4]
For example to read a sequence of files split1.mpeg, split2.mpeg, split3.mpeg with ffplay use the command:

ffplay concat:split1.mpeg\|split2.mpeg\|split3.mpeg
For example to read a sequence of files split1.mpeg, split2.mpeg, split3.mpeg listed in separate lines within a file split.txt with ffplay use the command:

ffplay concatf:split.txt
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:

Recommend

FFMPEG ffplay Documentation 16 Protocols 16.7 crypto

FFMPEG ffplay Documentation 16 Protocols 16.6 concatf

FFMPEG ffplay Documentation 16 Protocols 16.5 concat

FFMPEG ffplay Documentation 16 Protocols 16.4 cache

FFMPEG ffplay Documentation 16 Protocols 16.3 bluray

FFMPEG ffplay Documentation 16 Protocols 16.2 async

FFMPEG ffplay Documentation 16 Protocols 16.1 amqp

FFMPEG ffplay Documentation 14 Metadata

FFMPEG ffplay Documentation 13 Demuxers 13.20 tedcaptions

FFMPEG ffplay Documentation 13 Demuxers 13.19 sbg

FFMPEG ffplay Documentation 13 Demuxers 13.18 rawvideo

FFMPEG ffplay Documentation 13 Demuxers 13.15 mov/mp4/3gp 13.15.2 Audible AAX

FFMPEG ffplay Documentation 13 Demuxers 13.11 image2 13.11.1 Examples

FFMPEG ffplay Documentation 13 Demuxers 13.11 image2

FFMPEG ffplay Documentation 13 Demuxers 13.9 gif

FFMPEG ffplay Documentation 13 Demuxers 13.8 flv, live_flv, kux

FFMPEG ffplay Documentation 13 Demuxers 13.5 concat 13.5.3 Examples

FFMPEG ffplay Documentation 11 Bitstream Filters 11.26 prores_metadata

FFMPEG ffplay Documentation 11 Bitstream Filters 11.25 pcm_rechunk

FFMPEG ffplay Documentation 11 Bitstream Filters 11.23 noise 11.23.1 Examples

FFMPEG ffplay Documentation 11 Bitstream Filters 11.22 mpeg4_unpack_bframes

FFMPEG ffplay Documentation 11 Bitstream Filters 11.17 mjpeg2jpeg

FFMPEG ffplay Documentation 11 Bitstream Filters 11.16 imxdump

FFMPEG ffplay Documentation 11 Bitstream Filters 11.15 hevc_mp4toannexb

FFMPEG ffplay Documentation 11 Bitstream Filters 11.12 h264_mp4toannexb

FFMPEG ffplay Documentation 11 Bitstream Filters 11.10 hapqa_extract

FFMPEG ffplay Documentation 11 Bitstream Filters 11.9 filter_units

FFMPEG ffplay Documentation 11 Bitstream Filters 11.5 dump_extra

FFMPEG ffplay Documentation 11 Bitstream Filters

FFMPEG ffplay Documentation 6 Codec Options

FFMPEG ffplay Documentation 5 Expression Evaluation

FFMPEG ffplay Documentation 4 Syntax 4.3 Time duration

FFMPEG ffplay Documentation 4 Syntax 4.2 Date

FFMPEG ffplay Documentation 4 Syntax 4.1 Quoting and escaping 4.1.1 Examples

FFMPEG FFmpeg Codecs Documentation 9 Video Encoders 9.16 libxvid 9.16.1 Options

FFMPEG FFmpeg Codecs Documentation 9 Video Encoders 9.15 libxavs2 9.15.1 Options

FFMPEG FFmpeg Codecs Documentation 9 Video Encoders 9.14 libx265 9.14.1 Options

FFMPEG FFmpeg Codecs Documentation 9 Video Encoders 9.13 libx264, libx264rgb 9.13.2 Options

FFMPEG FFmpeg Codecs Documentation 9 Video Encoders 9.11 libvpx 9.11.1 Options

FFMPEG FFmpeg Codecs Documentation 9 Video Encoders 9.10 libtheora 9.10.2 Examples

FFMPEG FFmpeg Codecs Documentation 9 Video Encoders 9.6 libaom-av1 9.6.1 Options

FFMPEG FFmpeg Codecs Documentation 9 Video Encoders 9.5 librav1e 9.5.1 Options

FFMPEG FFmpeg Codecs Documentation 9 Video Encoders 9.4 jpeg2000 9.4.1 Options

FFMPEG FFmpeg Codecs Documentation 8 Audio Encoders 8.5 libfdk_aac 8.5.2 Examples

FFMPEG FFmpeg Codecs Documentation 2 Codec Options

FFMPEG ffmpeg Documentation 45 Multimedia Sources 45.2 movie

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.32 zmq, azmq 44.32.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.32 zmq, azmq

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.31 split, asplit 44.31.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.30 spectrumsynth 44.30.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.28 showwavespic 44.28.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.27 showwaves 44.27.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.25 showspectrumpic 44.25.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.24 showspectrum 44.24.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.21 showcqt 44.21.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.20 settb, asettb 44.20.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.18 setpts, asetpts 44.18.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.17 sendcmd, asendcmd 44.17.2 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.17 sendcmd, asendcmd 44.17.1 Commands syntax

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.16 select, aselect 44.16.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.15 segment, asegment 44.15.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.12 metadata, ametadata 44.12.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.10 interleave, ainterleave 44.10.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.9 ebur128 44.9.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.8 concat 44.8.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.7 bench, abench 44.7.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.6 avectorscope 44.6.1 Examples

FFMPEG ffmpeg Documentation 44 Multimedia Filters 44.5 aphasemeter 44.5.2 Examples

FFMPEG ffmpeg Documentation 42 Video Sources 42.9 allrgb, allyuv, color, colorspectrum, haldclutsrc, nullsrc, pal75bars, pal100bars, rgbtestsrc, smptebars, smptehdbars, testsrc, testsrc2, yuvtestsrc 42.9.1 Examples

FFMPEG ffmpeg Documentation 42 Video Sources 42.8 life 42.8.1 Examples

FFMPEG ffmpeg Documentation 42 Video Sources 42.7 frei0r_src

FFMPEG ffmpeg Documentation 42 Video Sources 42.3 coreimagesrc 42.3.1 Examples

FFMPEG ffmpeg Documentation 42 Video Sources 42.3 coreimagesrc