[MPlayer-DOCS] CVS: main/DOCS/man/en mplayer.1,1.709,1.710

Diego Biurrun diego at biurrun.de
Sat Sep 11 14:55:36 CEST 2004


Daniele Forghieri CVS writes:
> 
> Modified Files:
> 	mplayer.1 
> Log Message:
> Video driver null, yuv4mpeg, gif89a, pgm, png and tga documented, jpeg drop from the list to document

:-)

>  .B null\ \ \ 
>  Produces no video output.
>  Useful for benchmarking.
> +Actually there are no suboptions available.

Just leave this out, it's not necessary to mention this explicitly,
same below.

>  The format is the same as the one employed by mjpegtools, so this is
>  useful if you want to process the video with the mjpegtools suite.
> +It support the YV12, RGB (24 bpp) and BGR (24 bpp) format.

supports

> +.PD 0
> +.RSs
> +.IPs interlaced
> +Write the output as interlaced frames, top field first.
> +.IPs interlaced_bf
> +Write the output as interlaced frames, bottom field first.
> +.RE
> +.PD 1
> +.br
> +.I NOTE:

This is broken, now NOTE: is displayed at the same indentation level
as the option, but it should be at the indentation level of the option
desctription.  Use .RS to fix this, look at the -fstype option as an
example.

The same applies below.

> +If you don't specify any option the output is progressive (ie. no interlace).

i.e.\&

> +You must specify only one option.

Hmm, I think you can safely leave this out, the suboptions clearly do
the opposite, they cannot both work simultaneously.

>  .B gif89a\ 
> -Output each frame into a GIF file in the current directory.
> -Each file takes the frame number padded with leading zeros as name.
> +Output each frame into a single animated GIF file in the current directory.
> +It support only RGB format with 24 bpp and the output is converted to 256

supports

> +.IPs fps\ \ \ 
> +Float value to specify framerate (default: 5).
> +.IPs filename
> +Specify the output filename (default: out.gif).

I'd write ./out.gif here to clarify again that it goes into the
current directory.

How do you specify these suboptions?

  -vo gif89a:25:/tmp/foo.gif

or

  -vo gif89a:fps=25:filename=/tmp/foo.gif

In the former case you should write <fps> and <filename>, in the
latter fps=<value> and filename=<value>.

> @@ -2724,16 +2751,33 @@
>  .B pgm\ \ \ \ 
>  Output each frame into a PGM file in the current directory.
>  Each file takes the frame number padded with leading zeros as name.
> +It support only YV12 format.

Only supports the YV12 format.

> +The resulting image is (width) * (height * 1.5) of the original
> +image.
> +At coordinate 0,0 for w,h you have the Y plane, at coordinate 0,h for

coordinates

> +w/2,h/2 you have the U plane and at w/2,h for w/2,h/2 you have the V plane.

I'd write width and height explicitly instead of w and h.

>  .B png\ \ \ \ 
>  Output each frame into a PNG file in the current directory.
>  Each file takes the frame number padded with leading zeros as name.
> +It support RGB and BGR format with 24 bpp.

24bpp RGB and BGR formats are supported.

> +Actually there are no suboptions available but you can specify
> +the compression level with the -z option, ranging from 0 (no
> +compression) to 9 (maximum compression).

Leave this out and just add (also see \-z) to the output driver name.

Somebody should convert the -z option into a suboption.  Ivo, you've
done this for -jpeg, could you repeat it for -z?

>  .TP
>  .B tga\ \ \ \ 
>  Output each frame into a Targa file in the current directory.
>  Each file takes the frame number padded with leading zeros as name.
> +The reason for this output video driver is to have a simple lossless
> +image writer to use without any external library.
> +It support BGR[A] color format, with 15, 24 and 32 bpp.

supports the

> +To force a particular format use the -vf format filter, e.g.\&

You can force a particular format with the format video filter.

> +-vf format=bgr15 to save images with 2 bytes per pixel.

Please format this as a "real" example.

> +Actually there are no suboptions available.
> +
>  .

Don't add empty lines to the man page, empty lines are interpreted by
groff.

Diego




More information about the MPlayer-DOCS mailing list