Stefano Sabatini | 1 Feb 01:09 2011
Picon

[PATCH] Document null muxer.

---
 doc/muxers.texi |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index d98abef..7076959 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
 <at>  <at>  -109,4 +109,17  <at>  <at>  ffmpeg -i file.mpg -acodec copy -vcodec copy \
      -y out.ts
  <at> end example

+ <at> section null
+
+Rawvideo null video format.
+
+This muxer does not generate any output file, it is mainly useful for
+testing or benchmarking purposes.
+
+For example to benchmark decoding with  <at> file{ffmpeg} you can use the
+command:
+ <at> example
+ffmpeg -benchmark -i in.avi -f null out.null
+ <at> end example
+
  <at> c man end MUXERS
--

-- 
1.7.2.3
Stefano Sabatini | 1 Feb 01:09 2011
Picon

[PATCH] Add documentation for the CRC muxer.

---
 doc/muxers.texi |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index 7076959..f097753 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
 <at>  <at>  -18,6 +18,39  <at>  <at>  enabled muxers.

 A description of some of the currently available muxers follows.

+ <at> section crc
+
+CRC (Cyclic Redundancy Check) testing format.
+
+This muxer computes and prints the CRC of all the input audio and
+video frames. By default the CRC is computed on the decoded input
+audio and video frames converted respectively to rawvideo and signed
+16-bit rawaudio.
+
+The output of the muxer consists of a single line of the form:
+CRC=0x <at> var{CRC}, where  <at> var{CRC} is an hexadecimal number 0-padded to
+8 digits containing the CRC for all the decoded input frames.
+
+For example to compute the CRC of the input, and store it in the file
+ <at> file{out.crc}:
+ <at> example
+ffmpeg -i INPUT -f crc out.crc
+ <at> end example
(Continue reading)

Stefano Sabatini | 1 Feb 01:09 2011
Picon

[PATCH] Add documentation for the framecrc muxer.

---
 doc/muxers.texi |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index f097753..56ac13f 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
 <at>  <at>  -18,6 +18,7  <at>  <at>  enabled muxers.

 A description of some of the currently available muxers follows.

+ <at> anchor{crc}
  <at> section crc

 CRC (Cyclic Redundancy Check) testing format.
 <at>  <at>  -51,6 +52,45  <at>  <at>  and the input video converted to MPEG-2 video, use the command:
 ffmpeg -i INPUT -acodec pcm_u8 -vcodec mpeg2video -f crc -
  <at> end example

+See also the  <at> code{framecrc} muxer ( <at> pxref{framecrc}).
+
+ <at> anchor{framecrc}
+ <at> section framecrc
+
+Per-frame CRC (Cyclic Redundancy Check) testing format.
+
+This muxer computes and prints a CRC for each decoded audio and video
+frame. By default the CRC is computed on the input audio and video
+frames converted respectively to rawvideo and signed 16-bit rawaudio.
(Continue reading)

Måns Rullgård | 1 Feb 01:18 2011

Re: [PATCH] Document null muxer.

Stefano Sabatini <stefano.sabatini-lala <at> poste.it> writes:

> ---
>  doc/muxers.texi |   13 +++++++++++++
>  1 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/doc/muxers.texi b/doc/muxers.texi
> index d98abef..7076959 100644
> --- a/doc/muxers.texi
> +++ b/doc/muxers.texi
>  <at>  <at>  -109,4 +109,17  <at>  <at>  ffmpeg -i file.mpg -acodec copy -vcodec copy \
>       -y out.ts
>   <at> end example
>
> + <at> section null
> +
> +Rawvideo null video format.
> +
> +This muxer does not generate any output file, it is mainly useful for
> +testing or benchmarking purposes.
> +
> +For example to benchmark decoding with  <at> file{ffmpeg} you can use the
> +command:
> + <at> example
> +ffmpeg -benchmark -i in.avi -f null out.null
> + <at> end example
> +
>   <at> c man end MUXERS
> -- 
> 1.7.2.3
(Continue reading)

Måns Rullgård | 1 Feb 01:23 2011

Re: [PATCH] Add documentation for the CRC muxer.

Stefano Sabatini <stefano.sabatini-lala <at> poste.it> writes:

> ---
>  doc/muxers.texi |   33 +++++++++++++++++++++++++++++++++
>  1 files changed, 33 insertions(+), 0 deletions(-)
>
> diff --git a/doc/muxers.texi b/doc/muxers.texi
> index 7076959..f097753 100644
> --- a/doc/muxers.texi
> +++ b/doc/muxers.texi
>  <at>  <at>  -18,6 +18,39  <at>  <at>  enabled muxers.
>
>  A description of some of the currently available muxers follows.
>
> + <at> section crc
> +
> +CRC (Cyclic Redundancy Check) testing format.
> +
> +This muxer computes and prints the CRC of all the input audio and
> +video frames. By default the CRC is computed on the decoded input
> +audio and video frames converted respectively to rawvideo and signed
> +16-bit rawaudio.

Just one problem, which is not your fault: it's not actually a CRC,
but an adler32 checksum.

> +The output of the muxer consists of a single line of the form:
> +CRC=0x <at> var{CRC}, where  <at> var{CRC} is an hexadecimal number 0-padded to
> +8 digits containing the CRC for all the decoded input frames.
> +
(Continue reading)

Måns Rullgård | 1 Feb 01:30 2011

Re: [PATCH] Add documentation for the framecrc muxer.

Stefano Sabatini <stefano.sabatini-lala <at> poste.it> writes:

> ---
>  doc/muxers.texi |   40 ++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 40 insertions(+), 0 deletions(-)
>
> diff --git a/doc/muxers.texi b/doc/muxers.texi
> index f097753..56ac13f 100644
> --- a/doc/muxers.texi
> +++ b/doc/muxers.texi
>  <at>  <at>  -18,6 +18,7  <at>  <at>  enabled muxers.
>
>  A description of some of the currently available muxers follows.
>
> + <at> anchor{crc}
>   <at> section crc

Should that have been in the previous patch?

>  CRC (Cyclic Redundancy Check) testing format.
>  <at>  <at>  -51,6 +52,45  <at>  <at>  and the input video converted to MPEG-2 video, use the command:
>  ffmpeg -i INPUT -acodec pcm_u8 -vcodec mpeg2video -f crc -
>   <at> end example
>
> +See also the  <at> code{framecrc} muxer ( <at> pxref{framecrc}).
> +
> + <at> anchor{framecrc}
> + <at> section framecrc
> +
> +Per-frame CRC (Cyclic Redundancy Check) testing format.
(Continue reading)

Stefano Sabatini | 1 Feb 01:46 2011
Picon

[PATCH] Add $(ALLPODPAGES) to Makefile, fix dependency generation for pod files.

---
 Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index fb9d8a4..4be2eaa 100644
--- a/Makefile
+++ b/Makefile
 <at>  <at>  -23,6 +23,7  <at>  <at>  BASENAMES   = ffmpeg ffplay ffprobe ffserver
 ALLPROGS    = $(BASENAMES:%=%$(EXESUF))
 ALLPROGS_G  = $(BASENAMES:%=%_g$(EXESUF))
 ALLMANPAGES = $(BASENAMES:%=%.1)
+ALLPODPAGES = $(BASENAMES:%=%.pod)
 ALLHTMLPAGES= $(BASENAMES:%=%.html)

 FFLIBS-$(CONFIG_AVDEVICE) += avdevice
 <at>  <at>  -112,7 +113,7  <at>  <at>  version.h .version:

 alltools: $(TOOLS)

-DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html $(ALLHTMLPAGES) $(ALLMANPAGES))
+DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html $(ALLHTMLPAGES)
$(ALLMANPAGES) $(ALLPODPAGES))

 documentation: $(DOCS)

--

-- 
1.7.2.3
Måns Rullgård | 1 Feb 01:54 2011

Re: [PATCH] Add $(ALLPODPAGES) to Makefile, fix dependency generation for pod files.

Stefano Sabatini <stefano.sabatini-lala <at> poste.it> writes:

> ---
>  Makefile |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index fb9d8a4..4be2eaa 100644
> --- a/Makefile
> +++ b/Makefile
>  <at>  <at>  -23,6 +23,7  <at>  <at>  BASENAMES   = ffmpeg ffplay ffprobe ffserver
>  ALLPROGS    = $(BASENAMES:%=%$(EXESUF))
>  ALLPROGS_G  = $(BASENAMES:%=%_g$(EXESUF))
>  ALLMANPAGES = $(BASENAMES:%=%.1)
> +ALLPODPAGES = $(BASENAMES:%=%.pod)
>  ALLHTMLPAGES= $(BASENAMES:%=%.html)
>
>  FFLIBS-$(CONFIG_AVDEVICE) += avdevice
>  <at>  <at>  -112,7 +113,7  <at>  <at>  version.h .version:
>
>  alltools: $(TOOLS)
>
> -DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html $(ALLHTMLPAGES) $(ALLMANPAGES))
> +DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html $(ALLHTMLPAGES)
$(ALLMANPAGES) $(ALLPODPAGES))

This line had me wondering, why do you build documentation for
disabled tools?  Wouldn't using the non-ALL versions of those
variables make more sense?

(Continue reading)

Stefano Sabatini | 1 Feb 02:06 2011
Picon

Re: [PATCH] Add $(ALLPODPAGES) to Makefile, fix dependency generation for pod files.

On date Tuesday 2011-02-01 00:54:35 +0000, Måns Rullgård encoded:
> Stefano Sabatini <stefano.sabatini-lala <at> poste.it> writes:
> 
> > ---
> >  Makefile |    3 ++-
> >  1 files changed, 2 insertions(+), 1 deletions(-)
> >
> > diff --git a/Makefile b/Makefile
> > index fb9d8a4..4be2eaa 100644
> > --- a/Makefile
> > +++ b/Makefile
> >  <at>  <at>  -23,6 +23,7  <at>  <at>  BASENAMES   = ffmpeg ffplay ffprobe ffserver
> >  ALLPROGS    = $(BASENAMES:%=%$(EXESUF))
> >  ALLPROGS_G  = $(BASENAMES:%=%_g$(EXESUF))
> >  ALLMANPAGES = $(BASENAMES:%=%.1)
> > +ALLPODPAGES = $(BASENAMES:%=%.pod)
> >  ALLHTMLPAGES= $(BASENAMES:%=%.html)
> >
> >  FFLIBS-$(CONFIG_AVDEVICE) += avdevice
> >  <at>  <at>  -112,7 +113,7  <at>  <at>  version.h .version:
> >
> >  alltools: $(TOOLS)
> >
> > -DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html $(ALLHTMLPAGES) $(ALLMANPAGES))
> > +DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html $(ALLHTMLPAGES)
$(ALLMANPAGES) $(ALLPODPAGES))
> 
> This line had me wondering, why do you build documentation for
> disabled tools?  Wouldn't using the non-ALL versions of those
> variables make more sense?
(Continue reading)

Måns Rullgård | 1 Feb 02:26 2011

Re: [PATCH] Add $(ALLPODPAGES) to Makefile, fix dependency generation for pod files.

Stefano Sabatini <stefano.sabatini-lala <at> poste.it> writes:

> On date Tuesday 2011-02-01 00:54:35 +0000, Måns Rullgård encoded:
>> Stefano Sabatini <stefano.sabatini-lala <at> poste.it> writes:
>> 
>> > ---
>> >  Makefile |    3 ++-
>> >  1 files changed, 2 insertions(+), 1 deletions(-)
>> >
>> > diff --git a/Makefile b/Makefile
>> > index fb9d8a4..4be2eaa 100644
>> > --- a/Makefile
>> > +++ b/Makefile
>> >  <at>  <at>  -23,6 +23,7  <at>  <at>  BASENAMES   = ffmpeg ffplay ffprobe ffserver
>> >  ALLPROGS    = $(BASENAMES:%=%$(EXESUF))
>> >  ALLPROGS_G  = $(BASENAMES:%=%_g$(EXESUF))
>> >  ALLMANPAGES = $(BASENAMES:%=%.1)
>> > +ALLPODPAGES = $(BASENAMES:%=%.pod)
>> >  ALLHTMLPAGES= $(BASENAMES:%=%.html)
>> >
>> >  FFLIBS-$(CONFIG_AVDEVICE) += avdevice
>> >  <at>  <at>  -112,7 +113,7  <at>  <at>  version.h .version:
>> >
>> >  alltools: $(TOOLS)
>> >
>> > -DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html $(ALLHTMLPAGES) $(ALLMANPAGES))
>> > +DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html $(ALLHTMLPAGES)
$(ALLMANPAGES) $(ALLPODPAGES))
>> 
>> This line had me wondering, why do you build documentation for
(Continue reading)


Gmane