diff --git a/index.html b/index.html index cbeed67..592311c 100644 --- a/index.html +++ b/index.html @@ -83,6 +83,20 @@ + + + +
+

Streaming vs. Saving

+

FFplay allows you to stream created video and FFmpeg allows you to save video.

+

The following command creates and saves a 10-second video of SMPTE bars:

+ ffmpeg -f lavfi -i smptebars=size=640x480 -t 5 output_file +

This command plays and streams SMPTE bars but does not save them on the computer:

+ ffplay -f lavfi smptebars=size=640x480 +

The main difference is small but significant: the -i flag is required for FFmpeg but not required for FFplay. Additionally, the FFmpeg script needs to have -t 5 and output.mkv added to specify the length of time to record and the place to save the video.

+ +
+

Learn about more advanced FFmpeg concepts