]> granicus.if.org Git - libvpx/commit
vpxdec: rework default output parameters
authorJohn Koleszar <jkoleszar@google.com>
Fri, 22 Oct 2010 03:40:42 +0000 (20:40 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 26 Oct 2010 02:32:03 +0000 (22:32 -0400)
commit933d44b8180f8552fafcbc6563c009dae1ba1626
tree21413b78346a3ef52ecce58afb26799f43f5bb72
parent4b578ea6c4c45cc9aa850932878860c8eae948ed
vpxdec: rework default output parameters

This patch reworks the default behavior of the tool to output Y4M
instead of writing individual raw frames. The relevant controls are
now:
  --yv12, --i420  - These options change the output format to be
                    raw planar data. The output will be Y4M unless
                    one of these options is specified.

  --flipuv        - Swaps the chroma planes. Works with Y4M output.

  -o, --output    - Sets the output filename. Defaults to stdout if
                    not specified. Supports escape character
                    expansion for frame width (%w) height (%h) and
                    sequence number (%1..%9). The --prefix option
                    has been removed in favor of this escape
                    expansion.

Since the output defaults to stdout if -o is not specified, an
error will be thrown if stdout is not connected to a pipe. This
can be overridden by specifying '-o -'.

Change-Id: I94e42c57ca75721fdd57a6129e79bcdb2afe5d4d
vpxdec.c