]> git.sesse.net Git - ffmpeg/blobdiff - doc/outdevs.texi
Merge commit 'f058f384a0d76bfd125f4738dceab7c890186432'
[ffmpeg] / doc / outdevs.texi
index 8038defe67d617609bda02b71dacaff432584be9..f18982300b0fba983e50199cfe7a15320e791a49 100644 (file)
@@ -164,6 +164,19 @@ by default it is set to the specified output name.
 Specify the device to use. Default device is used when not provided.
 List of output devices can be obtained with command @command{pactl list sinks}.
 
+@item buffer_size
+@item buffer_duration
+Control the size and duration of the PulseAudio buffer. A small buffer
+gives more control, but requires more frequent updates.
+
+@option{buffer_size} specifies size in bytes while
+@option{buffer_duration} specifies duration in milliseconds.
+
+When both options are provided then the highest value is used
+(duration is recalculated to bytes using stream parameters). If they
+are set to 0 (which is default), the device will use the default
+PulseAudio duration value. By default PulseAudio set buffer duration
+to around 2 seconds.
 @end table
 
 @subsection Examples
@@ -209,6 +222,16 @@ Set fullscreen mode when non-zero value is provided.
 Default value is zero.
 @end table
 
+@subsection Interactive commands
+
+The window created by the device can be controlled through the
+following interactive commands.
+
+@table @key
+@item q, ESC
+Quit the device immediately.
+@end table
+
 @subsection Examples
 
 The following command shows the @command{ffmpeg} output is an