Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2014-06-11 22:26:33 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-06-12 23:31:25 +0400
commitffe6ecc418add84063b55a8bfa6e3662600f2d9e (patch)
tree5465d3c10b31ad604ce2789d8e1c5a7ead0bfc5e /doc/indevs.texi
parent6286bb5c07dd3feb90c51c8fd7daa80b88e84352 (diff)
lavd/avfoundation: Support user selected pixel formats and pixel format autoselection.
Signed-off-by: Thilo Borgmann <thilo.borgmann@mail.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/indevs.texi')
-rw-r--r--doc/indevs.texi7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/indevs.texi b/doc/indevs.texi
index 4ea82a4ba8..4205808776 100644
--- a/doc/indevs.texi
+++ b/doc/indevs.texi
@@ -64,6 +64,11 @@ A given device index will override any given device name.
If the desired device consists of numbers only, use -video_device_index to identify it.
The default device will be chosen if an empty string or the device name "default" is given.
The available devices can be enumerated by using -list_devices.
+The pixel format can be set using -pixel_format.
+Available formats:
+ monob, rgb555be, rgb555le, rgb565be, rgb565le, rgb24, bgr24, 0rgb, bgr0, 0bgr, rgb0,
+ bgr48be, uyvy422, yuva444p, yuva444p16le, yuv444p, yuv422p16, yuv422p10, yuv444p10,
+ yuv420p, nv12, yuyv422, gray
@example
ffmpeg -f avfoundation -i "0" out.mpg
@@ -74,7 +79,7 @@ ffmpeg -f avfoundation -video_device_index 0 -i "" out.mpg
@end example
@example
-ffmpeg -f avfoundation -i "default" out.mpg
+ffmpeg -f avfoundation -pixel_format bgr0 -i "default" out.mpg
@end example
@example