[FFmpeg-devel] [PATCH] doc: add libavdevice.texi and ffmpeg-devices.texi files
Clément Bœsch
ubitux at gmail.com
Tue Nov 27 15:42:01 CET 2012
On Mon, Nov 26, 2012 at 11:41:18PM +0100, Stefano Sabatini wrote:
> ---
> doc/Makefile | 3 ++-
> doc/ffmpeg-devices.texi | 57 +++++++++++++++++++++++++++++++++++++++++++++++
> doc/libavdevice.texi | 38 +++++++++++++++++++++++++++++++
> 3 files changed, 97 insertions(+), 1 deletion(-)
> create mode 100644 doc/ffmpeg-devices.texi
> create mode 100644 doc/libavdevice.texi
>
> diff --git a/doc/Makefile b/doc/Makefile
> index 1dea375..9582231 100644
> --- a/doc/Makefile
> +++ b/doc/Makefile
> @@ -3,9 +3,10 @@ DOCLIBS-$(CONFIG_SWSCALE) += libswscale
> DOCLIBS-$(CONFIG_SWRESAMPLE) += libswresample
> DOCLIBS-$(CONFIG_AVCODEC) += libavcodec
> DOCLIBS-$(CONFIG_AVFORMAT) += libavformat
> +DOCLIBS-$(CONFIG_AVFORMAT) += libavdevice
AVDEVICE? and maybe one line above?
> DOCLIBS-$(CONFIG_AVFILTER) += libavfilter
>
> -COMPONENTS=$(PROGS-yes) ffmpeg-codecs ffmpeg-filters ffmpeg-resampler ffmpeg-scaler ffmpeg-formats
> +COMPONENTS=$(PROGS-yes) ffmpeg-codecs ffmpeg-devices ffmpeg-filters ffmpeg-resampler ffmpeg-scaler ffmpeg-formats
>
> MANPAGES = $(COMPONENTS:%=doc/%.1) $(DOCLIBS-yes:%=doc/%.3)
> PODPAGES = $(COMPONENTS:%=doc/%.pod) $(DOCLIBS-yes:%=doc/%.pod)
> diff --git a/doc/ffmpeg-devices.texi b/doc/ffmpeg-devices.texi
> new file mode 100644
> index 0000000..542dae8
> --- /dev/null
> +++ b/doc/ffmpeg-devices.texi
> @@ -0,0 +1,57 @@
> +\input texinfo @c -*- texinfo -*-
> +
> + at settitle FFmpeg Devices Documentation
> + at titlepage
> + at center @titlefont{FFmpeg Devices Documentation}
> + at end titlepage
> +
> + at top
> +
> + at contents
> +
> + at chapter Description
> + at c man begin DESCRIPTION
> +
> +This document describes the input and output devices provided by the
> +libavdevice library.
> +
libavdevice(3)?
> + at c man end DESCRIPTION
> +
> + at chapter Device Options
> + at c man begin DEVICE OPTIONS
> +
> +The libavdevice library provides the same interface as
> +libavformat. Namely, an input device is considered like a demuxer, and
> +an output device like a muxer, and the interface and generic device
> +options are the same provided by libavformat (see the @ref{FFmpeg
> +formats} manual page).
> +
Will that ref work? I ask because I have a few references warnings at the
moment, which might be related:
HTML doc/ffserver.html
doc//avtools-common-opts.texi:158: @ref reference to nonexistent node `quoting_and_escaping'
HTML doc/ffmpeg-filters.html
doc//filters.texi:243: @ref reference to nonexistent node `quoting_and_escaping'
doc//filters.texi:5143: @ref reference to nonexistent node `Stream specifiers'
> +In addition each input or output device may support so-called private
> +options, which are specific for that component.
> +
> +Options may be set by specifying - at var{option} @var{value} in the
> +FFmpeg tools, or by setting the value explicitly in the device
> + at code{AVFormatContext} options or using the @file{libavutil/opt.h} API
> +for programmatic use.
> +
> + at c man end DEVICE OPTIONS
> +
> + at include indevs.texi
> + at include outdevs.texi
> +
> + at ignore
> +
> + at setfilename ffmpeg-devices
> + at settitle FFmpeg devices
> +
> + at c man begin SEEALSO
> +ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1), libavformat(3), libavdevice(3)
> + at c man end
> +
> + at c man begin AUTHORS
> +See Git history (git://source.ffmpeg.org/ffmpeg)
> + at c man end
> +
> + at end ignore
> +
> + at bye
> diff --git a/doc/libavdevice.texi b/doc/libavdevice.texi
> new file mode 100644
> index 0000000..d986422
> --- /dev/null
> +++ b/doc/libavdevice.texi
> @@ -0,0 +1,38 @@
> +\input texinfo @c -*- texinfo -*-
> +
> + at settitle Libavdevice Documentation
> + at titlepage
> + at center @titlefont{Libavdevice Documentation}
> + at end titlepage
> +
> + at top
> +
> + at contents
> +
> + at chapter Description
> + at c man begin DESCRIPTION
> +
> +The libavdevice library provides a generic framework for grabbing from
> +and rendering to many common multimedia input/output devices, and
> +supports several input and output devices, including Video4Linux,
we still support v4l?
> +Video4Linux2, VfW, and ALSA.
> +
> + at c man end DESCRIPTION
> +
> + at ignore
> +
> + at setfilename libavdevice
> + at settitle multimedia device handling library
> +
> + at c man begin SEEALSO
> +ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1), libavutil(3),
> +libavcodec(3), libavformat(3), ffmpeg-devices(1)
> + at c man end
> +
> + at c man begin AUTHORS
> +See Git history (git://source.ffmpeg.org/ffmpeg)
> + at c man end
> +
> + at end ignore
> +
> + at bye
The rest LGTM
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121127/1c37e080/attachment.asc>
More information about the ffmpeg-devel
mailing list