Note that broadcasting may not work properly on networks having a broadcast storm protection.

ffmpeg -i input -f format udp://hostname:port
Note that broadcasting may not work properly on networks having a broadcast storm protection.

ffmpeg -i input -f format udp://hostname:port
The required syntax for an UDP URL is:

udp://hostname:port[?options]
The following examples all make use of the ffplay and ffmpeg tools.

ffplay -max_delay 500000 -rtsp_transport udp rtsp://server/video.mp4

ffplay -rtsp_transport http rtsp://server/video.mp4
Note that broadcasting may not work properly on networks having a broadcast storm protection.

ffmpeg -i input -f format udp://hostname:port
Note that broadcasting may not work properly on networks having a broadcast storm protection.

ffmpeg -i input -f format udp://hostname:port
Note that broadcasting may not work properly on networks having a broadcast storm protection.

ffmpeg -i input -f format udp://hostname:port
To broadcast a stream on the local subnet, for watching in VLC:

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

ffmpeg -re -i input -f sap sap://[ff0e::1:2:3:4]
Similarly, for watching in ffplay:

ffmpeg -re -i input -f sap sap://224.0.0.255

Recommend

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.41 udp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.40 tls

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.39 tcp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.38 tee

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.37 subfile

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.35 srt

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.34 sctp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.33 sap 3.33.2 Demuxer

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.33 sap 3.33.1 Muxer

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.32 rtsp 3.32.1 Examples

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.32 rtsp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.30 librtmp rtmp, rtmpe, rtmps, rtmpt, rtmpte

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.29 libssh

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.22 rtmp

FFMPEG FFmpeg Protocols Documentation 3 Protocols 3.20 prompeg

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