ffmpeg.git
7 years agodoc: extend "See Also" chapters in library manuals
Stefano Sabatini [Tue, 18 Dec 2012 00:22:16 +0000 (01:22 +0100)]
doc: extend "See Also" chapters in library manuals

In particular, make "See Also" chapter rendered in HTML output.

7 years agodoc: extend "See Also" chapters in component manuals
Stefano Sabatini [Mon, 17 Dec 2012 23:39:13 +0000 (00:39 +0100)]
doc: extend "See Also" chapters in component manuals

In particular, make "See Also" chapter rendered in HTML output.

7 years agodoc: extend "See Also" chapter rendering for ff* tools
Stefano Sabatini [Sun, 16 Dec 2012 19:53:16 +0000 (20:53 +0100)]
doc: extend "See Also" chapter rendering for ff* tools

Add more references, and generate alternative variants for HTML and POD
output. In particular, this allows to render a "See Also" chapter in the
HTML output.

7 years agodoc: rework synopsis section for ff* tools
Stefano Sabatini [Mon, 17 Dec 2012 11:55:28 +0000 (12:55 +0100)]
doc: rework synopsis section for ff* tools

Fix syntax, remove pointless introductory sentence, improve overall
consistency.

7 years agodoc: use a common authors.texi file blurb
Stefano Sabatini [Sun, 16 Dec 2012 17:04:37 +0000 (18:04 +0100)]
doc: use a common authors.texi file blurb

Factorize.

7 years agodoc/texi2pod: rework man inclusion logic
Stefano Sabatini [Sun, 16 Dec 2012 16:45:59 +0000 (17:45 +0100)]
doc/texi2pod: rework man inclusion logic

Ignore @c man begin ... @c man end comments, rely on @chapter for marking
the beginning of the various manual top level sections.

This allows us to write markup which is not dependent on the specific
texi2pod.pl implementation.

This change causes a few rendering issues, which will be fixed in further
patches.

7 years agoutils: fix duration calculation for strange_duration_example.ts
Michael Niedermayer [Wed, 19 Dec 2012 03:14:44 +0000 (04:14 +0100)]
utils: fix duration calculation for strange_duration_example.ts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavfi/gradfun: small align cosmetics.
Clément Bœsch [Wed, 19 Dec 2012 02:22:58 +0000 (03:22 +0100)]
lavfi/gradfun: small align cosmetics.

7 years agodoc/filters: reformat and rework gradfun.
Clément Bœsch [Tue, 18 Dec 2012 21:19:34 +0000 (22:19 +0100)]
doc/filters: reformat and rework gradfun.

Note that examples are changed.

7 years agolavfi/gradfun: support named options.
Clément Bœsch [Tue, 18 Dec 2012 21:10:32 +0000 (22:10 +0100)]
lavfi/gradfun: support named options.

This breaks usage for out-of-range values.

7 years agofate: re-enable lavfi gradfun filter test.
Clément Bœsch [Thu, 6 Dec 2012 23:41:25 +0000 (00:41 +0100)]
fate: re-enable lavfi gradfun filter test.

7 years agolavfi/gradfun: reduce up limit for threshold.
Clément Bœsch [Tue, 18 Dec 2012 20:44:51 +0000 (21:44 +0100)]
lavfi/gradfun: reduce up limit for threshold.

This will prevent an overflow in the SSSE3 and MMX filter_line code:
delta is expressed as an u16 being shifted by 2 to the left. If it
overflows, having a strength not above 64 will make sure that m is set
to 0 (making the m*m*delta >> 14 expression void).

A value above 64 should not make any sense unless gradfun is used as a
blur filter.

7 years agolavfi/gradfun: remove rounding to match C and SSE code.
Clément Bœsch [Thu, 6 Dec 2012 23:41:04 +0000 (00:41 +0100)]
lavfi/gradfun: remove rounding to match C and SSE code.

There is no noticable benefit for such precision.

7 years agolavfi/gradfun: fix dithering in MMX code.
Clément Bœsch [Thu, 6 Dec 2012 23:39:31 +0000 (00:39 +0100)]
lavfi/gradfun: fix dithering in MMX code.

Current dithering only use the first 4w instead of the whole 8 random values.

7 years agolavfi/gradfun: fix rounding in MMX code.
Clément Bœsch [Thu, 6 Dec 2012 23:36:29 +0000 (00:36 +0100)]
lavfi/gradfun: fix rounding in MMX code.

Current code divide before increasing precision.

7 years agolavfi/gradfun: do not increment DC pointer for odd values.
Clément Bœsch [Wed, 5 Dec 2012 03:58:03 +0000 (04:58 +0100)]
lavfi/gradfun: do not increment DC pointer for odd values.

First DC is only used once otherwise. This also makes the code
consistent with ASM versions.

7 years agoqcelpdata: correct start bit for cbgain[0] in qcelp_rate_octave_bitmap[]
Paul B Mahol [Mon, 17 Dec 2012 20:58:23 +0000 (20:58 +0000)]
qcelpdata: correct start bit for cbgain[0] in qcelp_rate_octave_bitmap[]

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agoffmpeg: Fix shortest with libx264
Michael Niedermayer [Tue, 18 Dec 2012 23:08:37 +0000 (00:08 +0100)]
ffmpeg: Fix shortest with libx264

Encoders that buffer a significant number of frames where a "few"
frames off with -shortest

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMAINTAINERS: update my GPG key fingerprint
Stefano Sabatini [Tue, 18 Dec 2012 22:07:17 +0000 (23:07 +0100)]
MAINTAINERS: update my GPG key fingerprint

7 years agoCosmetics: Reindent after last commit.
Carl Eugen Hoyos [Tue, 18 Dec 2012 22:06:00 +0000 (23:06 +0100)]
Cosmetics: Reindent after last commit.

7 years agoDo not skip three bytes and don't search for extradata in old realaudio files.
Carl Eugen Hoyos [Tue, 18 Dec 2012 22:04:19 +0000 (23:04 +0100)]
Do not skip three bytes and don't search for extradata in old realaudio files.

Fixes ticket #1557.

7 years agoaf_apad: remove unneeded av_opt_free
Michael Niedermayer [Tue, 18 Dec 2012 16:31:01 +0000 (17:31 +0100)]
af_apad: remove unneeded av_opt_free

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoapad: add whole_len and pad_len options.
Michael Niedermayer [Tue, 18 Dec 2012 16:22:36 +0000 (17:22 +0100)]
apad: add whole_len and pad_len options.

These options allow padding to a specific length or adding a specific amount if silence.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoapad: fix apad_options formating
Michael Niedermayer [Tue, 18 Dec 2012 16:16:03 +0000 (17:16 +0100)]
apad: fix apad_options formating

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaf_apad: add user setable packet_size
Michael Niedermayer [Tue, 18 Dec 2012 16:01:33 +0000 (17:01 +0100)]
af_apad: add user setable packet_size

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavfilter: add apad filter
Michael Niedermayer [Tue, 18 Dec 2012 04:13:59 +0000 (05:13 +0100)]
avfilter: add apad filter

This filter pads an audio stream with silence
It can together with -shortest be used to extend audio streams to
the same length as video.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 18 Dec 2012 14:00:05 +0000 (15:00 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: formatting cosmetics
  h264: use mbaff ref indices in fill_colmap() only for mbaff references

Conflicts:
libavcodec/h264_direct.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264: remove redundant parts of old slice in extradata code.
Michael Niedermayer [Tue, 18 Dec 2012 13:52:44 +0000 (14:52 +0100)]
h264: remove redundant parts of old slice in extradata code.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264: merge old and new "slice in extradata" checks
Michael Niedermayer [Tue, 18 Dec 2012 13:50:12 +0000 (14:50 +0100)]
h264: merge old and new "slice in extradata" checks

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit '61c6eef5456f2bc8b1dc49a0a759c975551cea29'
Michael Niedermayer [Tue, 18 Dec 2012 13:38:10 +0000 (14:38 +0100)]
Merge commit '61c6eef5456f2bc8b1dc49a0a759c975551cea29'

* commit '61c6eef5456f2bc8b1dc49a0a759c975551cea29':
  h264: prevent decoding of slice NALs in extradata
  doxy: Clarify what avpriv_set_pts_info does

Conflicts:
libavcodec/h264.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit 'c35f0e8495e34c2082dcde805e9323c9f6a4cb0a'
Michael Niedermayer [Tue, 18 Dec 2012 13:27:59 +0000 (14:27 +0100)]
Merge commit 'c35f0e8495e34c2082dcde805e9323c9f6a4cb0a'

* commit 'c35f0e8495e34c2082dcde805e9323c9f6a4cb0a':
  au: Reorder code so that both muxer and demuxer are under #ifdefs
  fate: Move RALF test into lossless audio group
  cosmetics: Use consistent names for multiple inclusion guards.

Conflicts:
libavformat/au.c
tests/fate/lossless-audio.mak
tests/fate/real.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agowtv: permit root table and first sectors to be located beyond 2GB boundary
Peter Ross [Mon, 17 Dec 2012 13:42:13 +0000 (00:42 +1100)]
wtv: permit root table and first sectors to be located beyond 2GB boundary

Fixes ticket #2025.

Signed-off-by: Peter Ross <pross@xvid.org>
7 years agonutdec: sanity check r_frame_rate
Michael Niedermayer [Tue, 18 Dec 2012 03:05:44 +0000 (04:05 +0100)]
nutdec: sanity check r_frame_rate

This fixes files that store a somewhat incorrect value.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoconfigure: formatting cosmetics
Diego Biurrun [Sun, 2 Dec 2012 22:32:41 +0000 (23:32 +0100)]
configure: formatting cosmetics

7 years agoh264: use mbaff ref indices in fill_colmap() only for mbaff references
Michael Niedermayer [Thu, 6 Oct 2011 20:54:00 +0000 (22:54 +0200)]
h264: use mbaff ref indices in fill_colmap() only for mbaff references

Prevents writing beyond array bounds.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
7 years agoh264: prevent decoding of slice NALs in extradata
Janne Grunau [Sat, 15 Dec 2012 21:21:23 +0000 (22:21 +0100)]
h264: prevent decoding of slice NALs in extradata

It is not posible to call get_buffer during frame-mt codec
initialization. Libavformat might pass huge amounts of data as
extradata after parsing broken files. The 'extradata' for the fuzzed
sample sample_varPAR_s5374_r001-02.avi is 2.8M large and contains
multiple slices.

7 years agoFix "bistream" typo and add a check in tools/patcheck.
Clément Bœsch [Tue, 18 Dec 2012 01:46:42 +0000 (02:46 +0100)]
Fix "bistream" typo and add a check in tools/patcheck.

7 years agodoc/ffmpeg-bitstream-filters: fix typo in title
Stefano Sabatini [Tue, 18 Dec 2012 00:59:22 +0000 (01:59 +0100)]
doc/ffmpeg-bitstream-filters: fix typo in title

7 years agoFix typo in mvc decoder.
Carl Eugen Hoyos [Tue, 18 Dec 2012 00:58:17 +0000 (01:58 +0100)]
Fix typo in mvc decoder.

7 years agomjpegenc: fix restart interval parameters for yuv444
Michael Niedermayer [Tue, 18 Dec 2012 00:11:02 +0000 (01:11 +0100)]
mjpegenc: fix restart interval parameters for yuv444

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomjpegenc: fix YUV444 with w%16!=0
Michael Niedermayer [Mon, 17 Dec 2012 23:46:31 +0000 (00:46 +0100)]
mjpegenc: fix YUV444 with w%16!=0

Fixes Ticket2040

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodoc/indevs: update syntax for the color filter in the lavfi device examples
Stefano Sabatini [Mon, 17 Dec 2012 15:33:00 +0000 (16:33 +0100)]
doc/indevs: update syntax for the color filter in the lavfi device examples

7 years agodoc/texi2pod: correctly handle @url commands in the form @url{URL,...}
Stefano Sabatini [Mon, 17 Dec 2012 13:29:17 +0000 (14:29 +0100)]
doc/texi2pod: correctly handle @url commands in the form @url{URL,...}

Ignore the other arguments, which have not to be processed by the POD
renderer.

7 years agodoc/Makefile: add docclean rule
Stefano Sabatini [Mon, 17 Dec 2012 12:39:53 +0000 (13:39 +0100)]
doc/Makefile: add docclean rule

This allows to clean the doc directory from the parent project dir.
The command:
make -C doc clean

does not work as long as the paths specified in doc/Makefile are relative
to the parent dir.

Also it is consitent with "testclean" and "distclean" targets.

7 years agodoc/texi2pod: add support to @ifhtml and @ifnothtml directives
Stefano Sabatini [Sun, 16 Dec 2012 19:16:43 +0000 (20:16 +0100)]
doc/texi2pod: add support to @ifhtml and @ifnothtml directives

With these commands it is possible to add HTML and non-HTML snippets,
which will be useful for the "See Also" manual chapters.

7 years agodoc: remove references to external documents
Stefano Sabatini [Sun, 16 Dec 2012 12:05:08 +0000 (13:05 +0100)]
doc: remove references to external documents

Fix a few warnings generated when creating the manuals.

Our current doc generation toolchain does not allow to reference external
documents.

7 years agooggparsevorbis: check channels
Michael Niedermayer [Mon, 17 Dec 2012 19:51:07 +0000 (20:51 +0100)]
oggparsevorbis: check channels

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoSAP muxer set session name from metadata
Jernej Virag [Mon, 17 Dec 2012 09:04:15 +0000 (10:04 +0100)]
SAP muxer set session name from metadata

Pass "title" metadata field to av_sdp_create (as in RTP muxer) in SAP
muxer for correct
session name in SAP SDP announcements.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoconcatdec: change data type to suppress warning about limited range of data type...
Michael Niedermayer [Mon, 17 Dec 2012 13:20:29 +0000 (14:20 +0100)]
concatdec: change data type to suppress warning about limited range of data type on some platforms.

Reviewed-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodoxy: Clarify what avpriv_set_pts_info does
Derek Buitenhuis [Sun, 16 Dec 2012 20:29:12 +0000 (15:29 -0500)]
doxy: Clarify what avpriv_set_pts_info does

The "pts for a given stream" was nonsensical.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
7 years agodoxy: Clarify what avpriv_set_pts_info does
Derek Buitenhuis [Sun, 16 Dec 2012 20:29:12 +0000 (15:29 -0500)]
doxy: Clarify what avpriv_set_pts_info does

The "pts for a given stream" was nonsensical.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
7 years agoau: Reorder code so that both muxer and demuxer are under #ifdefs
Diego Biurrun [Wed, 12 Dec 2012 15:55:35 +0000 (16:55 +0100)]
au: Reorder code so that both muxer and demuxer are under #ifdefs

This reduces code size when either piece has been disabled.

7 years agofate: Move RALF test into lossless audio group
Diego Biurrun [Sun, 16 Dec 2012 22:19:39 +0000 (23:19 +0100)]
fate: Move RALF test into lossless audio group

7 years agocosmetics: Use consistent names for multiple inclusion guards.
Diego Biurrun [Sun, 9 Dec 2012 12:35:21 +0000 (13:35 +0100)]
cosmetics: Use consistent names for multiple inclusion guards.

7 years agoMerge remote-tracking branch 'ramiro/dshow'
Michael Niedermayer [Mon, 17 Dec 2012 13:38:22 +0000 (14:38 +0100)]
Merge remote-tracking branch 'ramiro/dshow'

* ramiro/dshow:
  dshow: call CoUninitialize() on dshow_read_close()
  dshow: handle events in graph

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 17 Dec 2012 13:11:43 +0000 (14:11 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  avresample: use valid log context in mixing functions
  lavr: remove automatic context close/open for resampling compensation

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit 'f322b2073581119de5da74f92a03309a36891cfa'
Michael Niedermayer [Mon, 17 Dec 2012 13:06:06 +0000 (14:06 +0100)]
Merge commit 'f322b2073581119de5da74f92a03309a36891cfa'

* commit 'f322b2073581119de5da74f92a03309a36891cfa':
  lavr: only save/restore the mixing matrix if mixing is being done
  rtpdec_vp8: Cosmetics: Fix bad alignment/indentation
  rtpenc: Allow including a SDES/CNAME block in RTCP SR packets

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge commit '65e053271a98f7acf3ef6b412998cfcb44a8eef8'
Michael Niedermayer [Mon, 17 Dec 2012 12:46:46 +0000 (13:46 +0100)]
Merge commit '65e053271a98f7acf3ef6b412998cfcb44a8eef8'

* commit '65e053271a98f7acf3ef6b412998cfcb44a8eef8':
  rtpenc_vp8: Include the picture number in VP8 packets

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosiff: set duration
Piotr Bandurski [Sun, 16 Dec 2012 15:03:16 +0000 (16:03 +0100)]
siff: set duration

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoisom: support SGI RLE 8-bit in QuickTime file format
Peter Ross [Mon, 17 Dec 2012 09:37:54 +0000 (20:37 +1100)]
isom: support SGI RLE 8-bit in QuickTime file format

Signed-off-by: Peter Ross <pross@xvid.org>
7 years agoSilicon Graphics Movie (.mv) demuxer
Peter Ross [Mon, 17 Dec 2012 09:37:54 +0000 (20:37 +1100)]
Silicon Graphics Movie (.mv) demuxer

Signed-off-by: Peter Ross <pross@xvid.org>
7 years agoSilicon Graphics Motion Video Compressor 1 & 2 decoder
Peter Ross [Mon, 17 Dec 2012 09:37:54 +0000 (20:37 +1100)]
Silicon Graphics Motion Video Compressor 1 & 2 decoder

Signed-off-by: Peter Ross <pross@xvid.org>
7 years agoSGI RLE 8-bit decoder
Peter Ross [Mon, 17 Dec 2012 09:37:54 +0000 (20:37 +1100)]
SGI RLE 8-bit decoder

Signed-off-by: Peter Ross <pross@xvid.org>
7 years agodshow: call CoUninitialize() on dshow_read_close()
Ramiro Polla [Mon, 17 Dec 2012 05:44:51 +0000 (03:44 -0200)]
dshow: call CoUninitialize() on dshow_read_close()

Every call to CoInitialize should have a matching CoUnititalize.

Based on patch by Don Moir <donmoir@comcast.net>.

7 years agodshow: handle events in graph
Ramiro Polla [Mon, 17 Dec 2012 05:44:12 +0000 (03:44 -0200)]
dshow: handle events in graph

Handling DirectShow events prevents infinite loops when there is an error in
the graph, such as a device being disconnected. This makes it possible for
dshow to return an error to the caller and run the cleanup code.

Based on patch by Don Moir <donmoir@comcast.net>.

7 years agoavresample: use valid log context in mixing functions
Hendrik Leppkes [Sun, 16 Dec 2012 08:52:35 +0000 (09:52 +0100)]
avresample: use valid log context in mixing functions

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
7 years agosctp: dont abort on invalid input
Michael Niedermayer [Mon, 17 Dec 2012 00:53:35 +0000 (01:53 +0100)]
sctp: dont abort on invalid input

Fixes Ticket1865

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoac3dec: fix outptr increment.
Michael Niedermayer [Mon, 17 Dec 2012 00:35:14 +0000 (01:35 +0100)]
ac3dec: fix outptr increment.

Fixes decoding regression

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavr: only save/restore the mixing matrix if mixing is being done
Justin Ruggles [Fri, 30 Nov 2012 01:49:36 +0000 (20:49 -0500)]
lavr: only save/restore the mixing matrix if mixing is being done

7 years agolavr: remove automatic context close/open for resampling compensation
Justin Ruggles [Fri, 30 Nov 2012 01:58:05 +0000 (20:58 -0500)]
lavr: remove automatic context close/open for resampling compensation

It adds unnecessary complication for insignificant usability improvement.
The user really should know if they'll need resampling compensation before
opening the context.

Note that only the documentation has changed. The current functionality will
still work until the next major bump.

7 years agoh264: Improve first slice and slice type checks
Michael Niedermayer [Sun, 16 Dec 2012 23:48:33 +0000 (00:48 +0100)]
h264: Improve first slice and slice type checks

This prevents a null pointer dereference

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodoc/examples/resampling_audio.c: fix path
Michael Niedermayer [Sun, 16 Dec 2012 20:36:42 +0000 (21:36 +0100)]
doc/examples/resampling_audio.c: fix path

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr/doxy: fix missing quote in code example.
Clément Bœsch [Sun, 16 Dec 2012 20:04:54 +0000 (21:04 +0100)]
swr/doxy: fix missing quote in code example.

7 years agolavu/pixdesc: fix a const qualifier discarding warning.
Clément Bœsch [Sun, 16 Dec 2012 19:41:28 +0000 (20:41 +0100)]
lavu/pixdesc: fix a const qualifier discarding warning.

7 years agolavu: make sure av_pix_fmt_desc_next returns a valid pix fmt.
Clément Bœsch [Sat, 15 Dec 2012 22:28:15 +0000 (23:28 +0100)]
lavu: make sure av_pix_fmt_desc_next returns a valid pix fmt.

This is required because there are some "holes" in the list for
compatibility with the fork.

The commit also removes the now unecessary check from cmdutils.

Found-by: wm4
7 years agortpdec_vp8: Cosmetics: Fix bad alignment/indentation
Martin Storsjö [Wed, 12 Dec 2012 14:59:45 +0000 (16:59 +0200)]
rtpdec_vp8: Cosmetics: Fix bad alignment/indentation

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortpenc: Allow including a SDES/CNAME block in RTCP SR packets
Martin Storsjö [Fri, 3 Apr 2009 15:08:07 +0000 (18:08 +0300)]
rtpenc: Allow including a SDES/CNAME block in RTCP SR packets

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortpenc_vp8: Include the picture number in VP8 packets
Martin Storsjö [Sun, 9 Dec 2012 23:10:42 +0000 (01:10 +0200)]
rtpenc_vp8: Include the picture number in VP8 packets

This makes it easier for receivers to decide what to do if data
is lost.

Refactor calculating the max payload size, to avoid hardcoding the
header size in too many places, reducing the number of lines that
have to be touched if the header is adjusted further.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agobfi: set duration
Piotr Bandurski [Sun, 16 Dec 2012 14:52:59 +0000 (15:52 +0100)]
bfi: set duration

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agobrstm: ask for samples for version != 1.0
Michael Niedermayer [Sun, 16 Dec 2012 11:57:43 +0000 (12:57 +0100)]
brstm: ask for samples for version != 1.0

This also avoids 2 unused variable warnings.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomjpegenc: fix 444 block count so it is below 10
Michael Niedermayer [Sun, 16 Dec 2012 13:42:31 +0000 (14:42 +0100)]
mjpegenc: fix 444 block count so it is below 10

Fixes Ticket1990

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agobrstm: add missing new line to request for sample messages
Paul B Mahol [Sun, 16 Dec 2012 13:02:58 +0000 (13:02 +0000)]
brstm: add missing new line to request for sample messages

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agodoc/filters: fix "Dolby Pro Logic II" option name
Michael Niedermayer [Sun, 16 Dec 2012 12:24:59 +0000 (13:24 +0100)]
doc/filters: fix "Dolby Pro Logic II" option name

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 16 Dec 2012 12:21:36 +0000 (13:21 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  h264: fix memleak on error during SPS parsing

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavfi/crop: free x and y parsed expression objects
Stefano Sabatini [Sun, 16 Dec 2012 12:14:44 +0000 (13:14 +0100)]
lavfi/crop: free x and y parsed expression objects

Fix leak introduced in 1e5492ffe6609fa0059d1a64fb3c4d5fd285a88c.

7 years agoMerge commit '27c8337e595a058347150269d5c2c48281e4285b'
Michael Niedermayer [Sun, 16 Dec 2012 12:08:53 +0000 (13:08 +0100)]
Merge commit '27c8337e595a058347150269d5c2c48281e4285b'

* commit '27c8337e595a058347150269d5c2c48281e4285b':
  h264-mt: handle NAL_DPAs before calling ff_thread_finish_setup
  lavr: move AudioMix struct definition to audio_mix.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agobuild: fix idf demuxer dependency
Paul B Mahol [Sun, 16 Dec 2012 11:57:42 +0000 (11:57 +0000)]
build: fix idf demuxer dependency

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agoRemove 8SVX_RAW on next lavc mayor bump
Paul B Mahol [Mon, 10 Dec 2012 16:18:12 +0000 (16:18 +0000)]
Remove 8SVX_RAW on next lavc mayor bump

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agoaiff: support in24/in32 tags
Piotr Bandurski [Sun, 16 Dec 2012 10:39:18 +0000 (10:39 +0000)]
aiff: support in24/in32 tags

Supported by QuickTime, libaudiofile and Csound.

7 years agobrstm: fix number of samples for the last block
James Almer [Sun, 16 Dec 2012 00:15:04 +0000 (21:15 -0300)]
brstm: fix number of samples for the last block

Signed-off-by: James Almer <jamrial@gmail.com>
7 years agothp: set duration
Piotr Bandurski [Sun, 16 Dec 2012 10:27:54 +0000 (10:27 +0000)]
thp: set duration

7 years agoffplay: provide some feedback in case the codec cannot be set
Stefano Sabatini [Sat, 15 Dec 2012 21:52:23 +0000 (22:52 +0100)]
ffplay: provide some feedback in case the codec cannot be set

7 years agoffplay: set codec_id in codec context
Stefano Sabatini [Sat, 15 Dec 2012 21:42:21 +0000 (22:42 +0100)]
ffplay: set codec_id in codec context

Set codec id in case another codec is forced on the context (e.g. when
the user specify the codec with -codec).

For example fix:
ffplay -vcodec pgmyuv -i "tests/vsynth1/%02d.pgm"

7 years agoffplay: improve robustness of opt_codec(), and add options acodec,vcodec,scodec
Stefano Sabatini [Sat, 15 Dec 2012 21:40:26 +0000 (22:40 +0100)]
ffplay: improve robustness of opt_codec(), and add options acodec,vcodec,scodec

Fail with a meaningfull error message in case of bogus input.

Also the new options are more consistent with the rest of the tool
options, since it does not support generic stream specifiers.

7 years agoffmpeg: Improve filter input fps selection heuristic.
Michael Niedermayer [Sun, 16 Dec 2012 04:09:23 +0000 (05:09 +0100)]
ffmpeg: Improve filter input fps selection heuristic.

This fixes a broken file that has a incorrect timebase at the codec level.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agowrap_timestamp: remove unneeded check
Michael Niedermayer [Sun, 16 Dec 2012 00:07:53 +0000 (01:07 +0100)]
wrap_timestamp: remove unneeded check

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavf: fix integer overflows
Michael Niedermayer [Sat, 15 Dec 2012 23:56:12 +0000 (00:56 +0100)]
lavf: fix integer overflows

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264: dont mess with frame gaps on second fields.
Michael Niedermayer [Sat, 15 Dec 2012 22:33:20 +0000 (23:33 +0100)]
h264: dont mess with frame gaps on second fields.

Fixes assertion failure

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: replace magic number with VSYNC_CFR
Peter Ross [Fri, 14 Dec 2012 12:31:41 +0000 (23:31 +1100)]
ffmpeg: replace magic number with VSYNC_CFR

7 years agolavf: Provide a monotonic timestamp to the outside world
Harald Axmann [Sun, 2 Dec 2012 18:27:21 +0000 (19:27 +0100)]
lavf: Provide a monotonic timestamp to the outside world

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>