summaryrefslogtreecommitdiff
path: root/doc/outdevs.texi
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-03 21:28:07 -0300
committerJames Almer <jamrial@gmail.com>2017-10-03 21:28:07 -0300
commita2b0602cdad8da62c137f7db07b608d6bbbcefaa (patch)
tree67220614b5797dc9bd6ea58244a1a2e1e2e3197b /doc/outdevs.texi
parent08c751309670854c73b58f234a83f4ba679370be (diff)
parent4141a5a240fba44b4b4a1c488c279d7dd8a11ec7 (diff)
Merge commit '4141a5a240fba44b4b4a1c488c279d7dd8a11ec7'
* commit '4141a5a240fba44b4b4a1c488c279d7dd8a11ec7': Use modern avconv syntax for codec selection in documentation and tests Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'doc/outdevs.texi')
-rw-r--r--doc/outdevs.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/outdevs.texi b/doc/outdevs.texi
index 0012b0f04c..daf7b1ae62 100644
--- a/doc/outdevs.texi
+++ b/doc/outdevs.texi
@@ -104,7 +104,7 @@ The argument must be one of @code{algorithms}, @code{antialiases},
The following command shows the @command{ffmpeg} output is an
CACA window, forcing its size to 80x25:
@example
-ffmpeg -i INPUT -vcodec rawvideo -pix_fmt rgb24 -window_size 80x25 -f caca -
+ffmpeg -i INPUT -c:v rawvideo -pix_fmt rgb24 -window_size 80x25 -f caca -
@end example
@item
@@ -251,7 +251,7 @@ Set x/y coordinate of top left corner. Default is 0.
Play a file on framebuffer device @file{/dev/fb0}.
Required pixel format depends on current framebuffer settings.
@example
-ffmpeg -re -i INPUT -vcodec rawvideo -pix_fmt bgra -f fbdev /dev/fb0
+ffmpeg -re -i INPUT -c:v rawvideo -pix_fmt bgra -f fbdev /dev/fb0
@end example
See also @url{http://linux-fbdev.sourceforge.net/}, and fbset(1).
@@ -413,7 +413,7 @@ Quit the device immediately.
The following command shows the @command{ffmpeg} output is an
SDL window, forcing its size to the qcif format:
@example
-ffmpeg -i INPUT -vcodec rawvideo -pix_fmt yuv420p -window_size qcif -f sdl "SDL output"
+ffmpeg -i INPUT -c:v rawvideo -pix_fmt yuv420p -window_size qcif -f sdl "SDL output"
@end example
@section sndio