[FFmpeg-cvslog] avplay: add examples of how to specify size/ pixel format through private options

Stefano Sabatini git at videolan.org
Mon Aug 22 15:32:48 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Sun Aug 21 16:20:37 2011 +0200| [b6d28eff8454dd37c2f461fa7c55e35be7b05e9c] | committer: Anton Khirnov

avplay: add examples of how to specify size/pixel format through private options

Clarify with an example what the user should use instead of the
deprecated (and no longer working) -s/-pix_fmt options.

Signed-off-by: Anton Khirnov <anton at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b6d28eff8454dd37c2f461fa7c55e35be7b05e9c
---

 doc/avplay.texi |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/avplay.texi b/doc/avplay.texi
index d7fecf0..e292481 100644
--- a/doc/avplay.texi
+++ b/doc/avplay.texi
@@ -39,7 +39,8 @@ Force displayed width.
 Force displayed height.
 @item -s @var{size}
 This option has been removed. Use private format options for specifying the
-input video size.
+input video size.  For example with the rawvideo demuxer you need to specify the
+option @var{video_size}.
 @item -an
 Disable audio.
 @item -vn
@@ -70,7 +71,8 @@ also sources and sinks).
 @table @option
 @item -pix_fmt @var{format}
 This option has been removed. Use private options for specifying the
-input pixel format.
+input pixel format. For example with the rawvideo demuxer you need to specify
+the option @var{pixel_format}.
 @item -stats
 Show the stream duration, the codec parameters, the current position in
 the stream and the audio/video synchronisation drift.



More information about the ffmpeg-cvslog mailing list