FFmpeg
Streaming Commands
Stream media over networks and capture screen/webcam with FFmpeg. Set up RTMP streams, create HLS segments, record your screen, and build live streaming pipelines.
6 commands
Pro Tips
Create HLS segments: 'ffmpeg -i input.mp4 -hls_time 10 -hls_list_size 0 output.m3u8' for adaptive streaming.
Stream to RTMP: 'ffmpeg -re -i input.mp4 -c copy -f flv rtmp://server/live/key' — '-re' reads at native framerate.
Record screen on Linux: 'ffmpeg -f x11grab -r 30 -s 1920x1080 -i :0.0 output.mp4'.
Common Mistakes
Streaming without '-re' sends data as fast as possible, which can overwhelm the server and cause buffering.
Screen capture may include sensitive information. Be careful when recording and sharing screen captures.