]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agojpeg2000dec: simplify jpeg2000_read_bitstream_packets()
Michael Niedermayer [Tue, 23 Jul 2013 19:59:01 +0000 (21:59 +0200)]
jpeg2000dec: simplify jpeg2000_read_bitstream_packets()

23 lines less
less error prone as theres no more need to update *_size on every read

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec/wmaenc: change commented assert to av_assert
Michael Niedermayer [Fri, 2 Aug 2013 01:45:02 +0000 (03:45 +0200)]
avcodec/wmaenc: change commented assert to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegts: save last pcr of pcr pids in PES Context
Marton Balint [Sat, 27 Jul 2013 19:14:45 +0000 (21:14 +0200)]
mpegts: save last pcr of pcr pids in PES Context

Based on a patch by Reimar Döffinger.
http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2012-September/131610.html

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibxvid: cosmetics: Realign the code
Timothy Gu [Wed, 31 Jul 2013 02:41:32 +0000 (19:41 -0700)]
libxvid: cosmetics: Realign the code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: raise level for message printed in case of auto-select pixel format
Stefano Sabatini [Thu, 1 Aug 2013 19:14:48 +0000 (21:14 +0200)]
ffmpeg: raise level for message printed in case of auto-select pixel format

Increase visibility, in order to decrease troubleshooting for
users generating non playable H.264 content.

Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
11 years agolavf/movenc: Write disc number and total number of discs as part of metadata.
Carl Eugen Hoyos [Thu, 1 Aug 2013 14:21:31 +0000 (16:21 +0200)]
lavf/movenc: Write disc number and total number of discs as part of metadata.

Fixes ticket #2731.

11 years agolavf/movenc: Write total number of tracks as part of metadata.
Carl Eugen Hoyos [Thu, 1 Aug 2013 14:20:58 +0000 (16:20 +0200)]
lavf/movenc: Write total number of tracks as part of metadata.

Fixes ticket #2157.

11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 1 Aug 2013 11:59:47 +0000 (13:59 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  avframe: have av_frame_get_side_data take const AVFrame*

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ee37d5811caa8f4ad125a37fe6ce3f9e66cd72f2'
Michael Niedermayer [Thu, 1 Aug 2013 11:51:37 +0000 (13:51 +0200)]
Merge commit 'ee37d5811caa8f4ad125a37fe6ce3f9e66cd72f2'

* commit 'ee37d5811caa8f4ad125a37fe6ce3f9e66cd72f2':
  rtpproto: Allow specifying a separate rtcp port in ff_rtp_set_remote_url

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '1851e1d05d06f6ef3436c667e4354da0f407b226'
Michael Niedermayer [Thu, 1 Aug 2013 11:24:53 +0000 (13:24 +0200)]
Merge commit '1851e1d05d06f6ef3436c667e4354da0f407b226'

* commit '1851e1d05d06f6ef3436c667e4354da0f407b226':
  rtpproto: Check the size before reading buf[1]

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '7748dd41be3d6dd6300f14263586af4ee104ead2'
Michael Niedermayer [Thu, 1 Aug 2013 11:16:56 +0000 (13:16 +0200)]
Merge commit '7748dd41be3d6dd6300f14263586af4ee104ead2'

* commit '7748dd41be3d6dd6300f14263586af4ee104ead2':
  avconv: add -n option to immediately exit when output files already exist

Conflicts:
Changelog
doc/ffmpeg.texi
ffmpeg_opt.c

See: 0a4f02117b67c135a27e3490aea1631ad9f4312f
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'b85dbe68e222586fd77332716eb8ed5724db4e1b'
Michael Niedermayer [Thu, 1 Aug 2013 10:46:38 +0000 (12:46 +0200)]
Merge commit 'b85dbe68e222586fd77332716eb8ed5724db4e1b'

* commit 'b85dbe68e222586fd77332716eb8ed5724db4e1b':
  avconv: Call exit_program instead of exit in avconv_opt as well

Conflicts:
ffmpeg_opt.c

See: eeddeb6579d8133871dc15f989ab8ffec5b5b396

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c7e921a54ffe7feb9f695c82f0a0764ab8d0f62b'
Michael Niedermayer [Thu, 1 Aug 2013 10:30:30 +0000 (12:30 +0200)]
Merge commit 'c7e921a54ffe7feb9f695c82f0a0764ab8d0f62b'

* commit 'c7e921a54ffe7feb9f695c82f0a0764ab8d0f62b':
  avopt: Check whether the object actually has got an AVClass

Conflicts:
libavutil/opt.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'b7e6da988bfd5def40ccf3476eb8ce2f98a969a5'
Michael Niedermayer [Thu, 1 Aug 2013 10:02:33 +0000 (12:02 +0200)]
Merge commit 'b7e6da988bfd5def40ccf3476eb8ce2f98a969a5'

* commit 'b7e6da988bfd5def40ccf3476eb8ce2f98a969a5':
  rtpproto: Move rtpproto specific function declarations to a separate header

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '892b0be1dfbdeaf71235fb6c593286e4f5c7e4ec'
Michael Niedermayer [Thu, 1 Aug 2013 09:58:13 +0000 (11:58 +0200)]
Merge commit '892b0be1dfbdeaf71235fb6c593286e4f5c7e4ec'

* commit '892b0be1dfbdeaf71235fb6c593286e4f5c7e4ec':
  rtpproto: Simplify the rtp_read function by looping over the fds

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '7531588fffbca1f0afdcc06635999c00dfc16ca6'
Michael Niedermayer [Thu, 1 Aug 2013 09:53:49 +0000 (11:53 +0200)]
Merge commit '7531588fffbca1f0afdcc06635999c00dfc16ca6'

* commit '7531588fffbca1f0afdcc06635999c00dfc16ca6':
  rtpproto: Remove a misplaced comment

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '54e03ff6af8a070f1055edd26028f3f7b2e2ca8e'
Michael Niedermayer [Thu, 1 Aug 2013 09:47:35 +0000 (11:47 +0200)]
Merge commit '54e03ff6af8a070f1055edd26028f3f7b2e2ca8e'

* commit '54e03ff6af8a070f1055edd26028f3f7b2e2ca8e':
  rtpproto: Support nonblocking reads

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '2e814d0329aded98c811d0502839618f08642685'
Michael Niedermayer [Thu, 1 Aug 2013 09:42:25 +0000 (11:42 +0200)]
Merge commit '2e814d0329aded98c811d0502839618f08642685'

* commit '2e814d0329aded98c811d0502839618f08642685':
  rtpenc: Simplify code by introducing a macro for rescaling NTP timestamps

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '45dd1ae1b3c18331f3db2293a9135bc5851e553f'
Michael Niedermayer [Thu, 1 Aug 2013 09:36:54 +0000 (11:36 +0200)]
Merge commit '45dd1ae1b3c18331f3db2293a9135bc5851e553f'

* commit '45dd1ae1b3c18331f3db2293a9135bc5851e553f':
  avfilter: Add some missing FF_API_AVFILTERBUFFER ifdefs

Conflicts:
libavfilter/buffer.c
libavfilter/internal.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil/tree: fix memleaks
Michael Niedermayer [Thu, 1 Aug 2013 09:23:45 +0000 (11:23 +0200)]
avutil/tree: fix memleaks

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c2e936de07d054bf476e60445b453bf6b4836820'
Michael Niedermayer [Thu, 1 Aug 2013 09:06:38 +0000 (11:06 +0200)]
Merge commit 'c2e936de07d054bf476e60445b453bf6b4836820'

* commit 'c2e936de07d054bf476e60445b453bf6b4836820':
  tree-test: Refactor and plug memory leaks

Conflicts:
libavutil/tree.c

Most of this commit is not merged due to bugs in it

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'a9b04b2c43f95cc17c2291f83c27a3119471d986'
Michael Niedermayer [Thu, 1 Aug 2013 08:41:01 +0000 (10:41 +0200)]
Merge commit 'a9b04b2c43f95cc17c2291f83c27a3119471d986'

* commit 'a9b04b2c43f95cc17c2291f83c27a3119471d986':
  tree.h: K&R formatting and typo cosmetics

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavframe: have av_frame_get_side_data take const AVFrame*
Vittorio Giovara [Tue, 30 Jul 2013 15:39:07 +0000 (17:39 +0200)]
avframe: have av_frame_get_side_data take const AVFrame*

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agortpproto: Allow specifying a separate rtcp port in ff_rtp_set_remote_url
Martin Storsjö [Wed, 31 Jul 2013 08:48:28 +0000 (11:48 +0300)]
rtpproto: Allow specifying a separate rtcp port in ff_rtp_set_remote_url

A separate rtcp port can already be set when opening the rtp
protocol normally, but when doing port setup as in RTSP (where
we first need to open the local ports and pass them to the peer,
and only then receive the remote peer port numbers), we didn't
check the same url parameter as in the normal open routine.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortpproto: Check the size before reading buf[1]
Martin Storsjö [Wed, 31 Jul 2013 09:45:33 +0000 (12:45 +0300)]
rtpproto: Check the size before reading buf[1]

I doubt that anyone ever would try to send a 1 byte packet
via the RTP protocol, but check just in case - it shouldn't
crash at least.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agodoc/protocols: Document file protocol options
Andrey Utkin [Sun, 14 Jul 2013 10:43:25 +0000 (13:43 +0300)]
doc/protocols: Document file protocol options

Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolclenc: remove unused code
Paul B Mahol [Fri, 26 Jul 2013 21:45:10 +0000 (21:45 +0000)]
lclenc: remove unused code

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agosunrastenc: do not set avctx->coded_frame
Paul B Mahol [Fri, 26 Jul 2013 14:16:42 +0000 (14:16 +0000)]
sunrastenc: do not set avctx->coded_frame

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agojv: make code independent of sizeof(AVFrame)
Paul B Mahol [Wed, 31 Jul 2013 14:57:27 +0000 (14:57 +0000)]
jv: make code independent of sizeof(AVFrame)

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agomss3: make code independent of sizeof(AVFrame)
Paul B Mahol [Mon, 29 Jul 2013 15:27:05 +0000 (15:27 +0000)]
mss3: make code independent of sizeof(AVFrame)

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agomss2: make code independent of sizeof(AVFrame)
Paul B Mahol [Mon, 29 Jul 2013 15:20:15 +0000 (15:20 +0000)]
mss2: make code independent of sizeof(AVFrame)

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoindeo2: make code independent of sizeof(AVFrame)
Paul B Mahol [Fri, 26 Jul 2013 14:58:44 +0000 (14:58 +0000)]
indeo2: make code independent of sizeof(AVFrame)

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agosmacker: make code independent of sizeof(AVFrame)
Paul B Mahol [Fri, 26 Jul 2013 14:41:38 +0000 (14:41 +0000)]
smacker: make code independent of sizeof(AVFrame)

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavconv: add -n option to immediately exit when output files already exist
Vittorio Giovara [Wed, 31 Jul 2013 12:48:49 +0000 (14:48 +0200)]
avconv: add -n option to immediately exit when output files already exist

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoDocument new 'blocksize' option of 'pipe' protocol
Andrey Utkin [Wed, 31 Jul 2013 12:22:02 +0000 (15:22 +0300)]
Document new 'blocksize' option of 'pipe' protocol

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofile: Add 'blocksize' option
Andrey Utkin [Wed, 31 Jul 2013 12:22:01 +0000 (15:22 +0300)]
file: Add 'blocksize' option

Interruptibility of file operations is strongly desirable in case of
slow storage access, e.g. mounted network share.
This commit introduces possibility to limit data quantity transferred by
'file' protocol at once. By default, old behaviour is preserved and data
is still tried to be transferred without block size limitation.

Note that file I/O operation still may block (or even freeze) inside of
single read(2) or write(2) operation.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavconv: Call exit_program instead of exit in avconv_opt as well
Martin Storsjö [Wed, 31 Jul 2013 10:44:17 +0000 (13:44 +0300)]
avconv: Call exit_program instead of exit in avconv_opt as well

This seems to have been missed in 636ced8e1dc.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoavopt: Check whether the object actually has got an AVClass
Martin Storsjö [Mon, 29 Jul 2013 11:53:01 +0000 (14:53 +0300)]
avopt: Check whether the object actually has got an AVClass

AVIOContext has got an av_class member that only gets set if
opening the context using avio_open2, but not if allocating a
custom IO context. A caller that wants to read AVOptions from
an AVIOContext (recursively using AV_OPT_SEARCH_CHILDREN) may
not know if the AVIOContext actually has got a class set or not.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortpproto: Move rtpproto specific function declarations to a separate header
Martin Storsjö [Wed, 31 Jul 2013 09:29:32 +0000 (12:29 +0300)]
rtpproto: Move rtpproto specific function declarations to a separate header

Mixing these with the rtp depacketizer functions in rtpdec.h is
no good.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortpproto: Simplify the rtp_read function by looping over the fds
Martin Storsjö [Wed, 31 Jul 2013 09:21:47 +0000 (12:21 +0300)]
rtpproto: Simplify the rtp_read function by looping over the fds

This avoids having duplicate code where only the fd parameter
differs.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortpproto: Remove a misplaced comment
Martin Storsjö [Wed, 31 Jul 2013 09:17:51 +0000 (12:17 +0300)]
rtpproto: Remove a misplaced comment

The fdset is a pollfd array nowadays, and it is already populated
at this point.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortpproto: Support nonblocking reads
Martin Storsjö [Fri, 26 Jul 2013 17:24:06 +0000 (20:24 +0300)]
rtpproto: Support nonblocking reads

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortpenc: Simplify code by introducing a macro for rescaling NTP timestamps
Martin Storsjö [Wed, 9 Jan 2013 16:55:52 +0000 (18:55 +0200)]
rtpenc: Simplify code by introducing a macro for rescaling NTP timestamps

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoavfilter: Add some missing FF_API_AVFILTERBUFFER ifdefs
Diego Biurrun [Mon, 29 Jul 2013 18:49:53 +0000 (20:49 +0200)]
avfilter: Add some missing FF_API_AVFILTERBUFFER ifdefs

11 years agotree-test: Refactor and plug memory leaks
Diego Biurrun [Tue, 30 Jul 2013 15:28:44 +0000 (17:28 +0200)]
tree-test: Refactor and plug memory leaks

With the most annoying memory leak found by Derek Buitenhuis.

11 years agotree.h: K&R formatting and typo cosmetics
Diego Biurrun [Tue, 30 Jul 2013 17:41:47 +0000 (19:41 +0200)]
tree.h: K&R formatting and typo cosmetics

11 years agolibxvid: Add SSIM displaying through a libxvidcore plugin
Timothy Gu [Wed, 31 Jul 2013 02:40:45 +0000 (19:40 -0700)]
libxvid: Add SSIM displaying through a libxvidcore plugin

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibxvid: add working lumimasking and variance AQ
Timothy Gu [Wed, 31 Jul 2013 02:39:06 +0000 (19:39 -0700)]
libxvid: add working lumimasking and variance AQ

The old implementation is unusable due to change in the Xvid API.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 31 Jul 2013 09:01:30 +0000 (11:01 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  hls: Call avformat_find_stream_info() on the chained demuxers

Conflicts:
libavformat/hls.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoSupport for shine 3.0.0
Romain Beauxis [Sun, 21 Jul 2013 20:40:08 +0000 (15:40 -0500)]
Support for shine 3.0.0

11 years agolavf/webvttenc: use proper printf format for int64_t values
Paul B Mahol [Tue, 30 Jul 2013 19:27:43 +0000 (19:27 +0000)]
lavf/webvttenc: use proper printf format for int64_t values

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavfilter/af_compand: %f is for printing doubles
Michael Niedermayer [Tue, 30 Jul 2013 18:29:46 +0000 (20:29 +0200)]
avfilter/af_compand: %f is for printing doubles

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec/get_bits: place volatile at the right spot
Michael Niedermayer [Tue, 30 Jul 2013 18:48:51 +0000 (20:48 +0200)]
avcodec/get_bits: place volatile at the right spot

Should fix Ticket2825

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec/get_bits: init_state is used for thread sync, make it volatile
Michael Niedermayer [Tue, 30 Jul 2013 18:26:38 +0000 (20:26 +0200)]
avcodec/get_bits: init_state is used for thread sync, make it volatile

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/encoders: add libxvid doc
Timothy Gu [Tue, 30 Jul 2013 02:12:10 +0000 (19:12 -0700)]
doc/encoders: add libxvid doc

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
11 years agoasfdec: Skip to keyframe after seeking
Michael Niedermayer [Tue, 30 Jul 2013 13:09:13 +0000 (15:09 +0200)]
asfdec: Skip to keyframe after seeking

Fixes Ticket1616

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavdevice/timefilter: cleanup the formating of the test output
Michael Niedermayer [Tue, 30 Jul 2013 10:34:34 +0000 (12:34 +0200)]
avdevice/timefilter: cleanup the formating of the test output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil/pixfmt: dont refer to deprecated PIX_FMT in the documentation
Michael Niedermayer [Tue, 30 Jul 2013 10:32:05 +0000 (12:32 +0200)]
avutil/pixfmt: dont refer to deprecated PIX_FMT in the documentation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/gxfenc: replace deprecated PIX_FMT constants
Michael Niedermayer [Tue, 30 Jul 2013 10:29:20 +0000 (12:29 +0200)]
avformat/gxfenc: replace deprecated PIX_FMT constants

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 30 Jul 2013 10:03:12 +0000 (12:03 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  Replace remaining obsolete PIX_FMT names with AV_PIX_FMT equivalents

Conflicts:
libavcodec/g2meet.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '1f57d60129b0e297cd197c6031c4439b30a6b503'
Michael Niedermayer [Tue, 30 Jul 2013 09:57:37 +0000 (11:57 +0200)]
Merge commit '1f57d60129b0e297cd197c6031c4439b30a6b503'

* commit '1f57d60129b0e297cd197c6031c4439b30a6b503':
  rtsp: Support RFC4570 (source specific multicast) more properly.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '74972220909787af5a3ffe66f7fa8041827c2bd2'
Michael Niedermayer [Tue, 30 Jul 2013 09:51:14 +0000 (11:51 +0200)]
Merge commit '74972220909787af5a3ffe66f7fa8041827c2bd2'

* commit '74972220909787af5a3ffe66f7fa8041827c2bd2':
  rtpproto: Support more than one SSM include address, support excludes

Conflicts:
libavformat/rtpproto.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '7d99c92945e4b2d12ed2126365482e1900340da0'
Michael Niedermayer [Tue, 30 Jul 2013 09:40:05 +0000 (11:40 +0200)]
Merge commit '7d99c92945e4b2d12ed2126365482e1900340da0'

* commit '7d99c92945e4b2d12ed2126365482e1900340da0':
  udp: Keep track of include and exclude sources separately

Conflicts:
libavformat/udp.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '3357bccc5cb31795f248cd72dc480025f3075a5b'
Michael Niedermayer [Tue, 30 Jul 2013 09:31:08 +0000 (11:31 +0200)]
Merge commit '3357bccc5cb31795f248cd72dc480025f3075a5b'

* commit '3357bccc5cb31795f248cd72dc480025f3075a5b':
  udp: Allow specifying multicast include/blocks as host names as well

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agohls: Call avformat_find_stream_info() on the chained demuxers
Michael Niedermayer [Wed, 25 Jul 2012 15:40:33 +0000 (17:40 +0200)]
hls: Call avformat_find_stream_info() on the chained demuxers

This allows the chained demuxer (or more precisely, the lavf
utility code) to better fill in timestamps on packets from
these, especially for cases where one stream is a raw ADTS
stream.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoMerge commit '0e8c6f221a8ddb7dfb3c9e9bd0b33cb12e9391b8'
Michael Niedermayer [Tue, 30 Jul 2013 09:26:39 +0000 (11:26 +0200)]
Merge commit '0e8c6f221a8ddb7dfb3c9e9bd0b33cb12e9391b8'

* commit '0e8c6f221a8ddb7dfb3c9e9bd0b33cb12e9391b8':
  avisynth: Fix a "AVISynth" vs. "AviSynth" struct name typo

Conflicts:
doc/general.texi
libavformat/avisynth.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '4822ee3ca620a92cd2b0a9a03ea9e34288192c79'
Michael Niedermayer [Tue, 30 Jul 2013 09:20:06 +0000 (11:20 +0200)]
Merge commit '4822ee3ca620a92cd2b0a9a03ea9e34288192c79'

* commit '4822ee3ca620a92cd2b0a9a03ea9e34288192c79':
  configure: Detect AIX ar command instead of hardcoding it in the OS section

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '711c4da1af71e0d26ca93626a3c2dd48821f1cc7'
Michael Niedermayer [Tue, 30 Jul 2013 09:13:34 +0000 (11:13 +0200)]
Merge commit '711c4da1af71e0d26ca93626a3c2dd48821f1cc7'

* commit '711c4da1af71e0d26ca93626a3c2dd48821f1cc7':
  fate: Add tree test

Conflicts:
tests/fate/libavutil.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'd99a2b6d0a4d0b2f5ba6a1f1637d6cb88c5c9184'
Michael Niedermayer [Tue, 30 Jul 2013 09:06:03 +0000 (11:06 +0200)]
Merge commit 'd99a2b6d0a4d0b2f5ba6a1f1637d6cb88c5c9184'

* commit 'd99a2b6d0a4d0b2f5ba6a1f1637d6cb88c5c9184':
  avutil/tree: Drop debug messages that clutter the output

Conflicts:
libavutil/tree.c

Merge for metadata only, a better solution has been commited that allows the
debug output to be turned on and off

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil/tree: allow adjusting the log level
Michael Niedermayer [Tue, 30 Jul 2013 09:04:48 +0000 (11:04 +0200)]
avutil/tree: allow adjusting the log level

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil/tree: change debug output to AV_LOG_DEBUG level
Michael Niedermayer [Tue, 30 Jul 2013 09:03:52 +0000 (11:03 +0200)]
avutil/tree: change debug output to AV_LOG_DEBUG level

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '10db1a9bca46b0f760a1263d47142b2f57e195d7'
Michael Niedermayer [Tue, 30 Jul 2013 08:42:40 +0000 (10:42 +0200)]
Merge commit '10db1a9bca46b0f760a1263d47142b2f57e195d7'

* commit '10db1a9bca46b0f760a1263d47142b2f57e195d7':
  avutil/tree: K&R formatting cosmetics

Conflicts:
libavutil/tree.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c47037c7a17e4026d38dfa41da27b9f91506725b'
Michael Niedermayer [Tue, 30 Jul 2013 08:30:42 +0000 (10:30 +0200)]
Merge commit 'c47037c7a17e4026d38dfa41da27b9f91506725b'

* commit 'c47037c7a17e4026d38dfa41da27b9f91506725b':
  fate: Add timefilter test

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '06205b5efdcf0bc4c5463bfdd02f09b5f79fc4cd'
Michael Niedermayer [Tue, 30 Jul 2013 08:25:02 +0000 (10:25 +0200)]
Merge commit '06205b5efdcf0bc4c5463bfdd02f09b5f79fc4cd'

* commit '06205b5efdcf0bc4c5463bfdd02f09b5f79fc4cd':
  hls: Free packets when skipping packets when seeking

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'a2b7eeeb06471979ee39fd3075a04633222678a6'
Michael Niedermayer [Tue, 30 Jul 2013 08:19:20 +0000 (10:19 +0200)]
Merge commit 'a2b7eeeb06471979ee39fd3075a04633222678a6'

* commit 'a2b7eeeb06471979ee39fd3075a04633222678a6':
  hlsproto: Store all durations in AV_TIME_BASE

Conflicts:
libavformat/hlsproto.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c44191039944526dd7eb6e536990b555837961f5'
Michael Niedermayer [Tue, 30 Jul 2013 08:12:48 +0000 (10:12 +0200)]
Merge commit 'c44191039944526dd7eb6e536990b555837961f5'

* commit 'c44191039944526dd7eb6e536990b555837961f5':
  hls: Store all durations in AV_TIME_BASE

Conflicts:
libavformat/hls.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'e1d5b244761cf69db655ad7ece1dbf2c13dd4fce'
Michael Niedermayer [Tue, 30 Jul 2013 08:03:02 +0000 (10:03 +0200)]
Merge commit 'e1d5b244761cf69db655ad7ece1dbf2c13dd4fce'

* commit 'e1d5b244761cf69db655ad7ece1dbf2c13dd4fce':
  hls: Store first_timestamp in units of AV_TIME_BASE

Conflicts:
libavformat/hls.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '55c4cba2a7037161ea56b2d55b347c8381df7f1e'
Michael Niedermayer [Tue, 30 Jul 2013 07:50:26 +0000 (09:50 +0200)]
Merge commit '55c4cba2a7037161ea56b2d55b347c8381df7f1e'

* commit '55c4cba2a7037161ea56b2d55b347c8381df7f1e':
  huffyuvenc: BGRA support

Conflicts:
libavcodec/huffyuvenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoasfdec: remove "ignoring invalid packet_obj_size" code
Michael Niedermayer [Tue, 30 Jul 2013 01:13:30 +0000 (03:13 +0200)]
asfdec: remove "ignoring invalid packet_obj_size" code

The code is no longer needed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoasfdec: move packet_obj_size to ASFStream
Michael Niedermayer [Tue, 30 Jul 2013 01:12:28 +0000 (03:12 +0200)]
asfdec: move packet_obj_size to ASFStream

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoasfdec: avoid using AVStream->priv_data
Michael Niedermayer [Tue, 30 Jul 2013 00:52:17 +0000 (02:52 +0200)]
asfdec: avoid using AVStream->priv_data

This ensures that we dont write into one struct and read the other without
realizing that they arent identical.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoReplace remaining obsolete PIX_FMT names with AV_PIX_FMT equivalents
Diego Biurrun [Mon, 29 Jul 2013 18:48:47 +0000 (20:48 +0200)]
Replace remaining obsolete PIX_FMT names with AV_PIX_FMT equivalents

11 years agodoc/filters: fix typo
Paul B Mahol [Mon, 29 Jul 2013 20:05:21 +0000 (20:05 +0000)]
doc/filters: fix typo

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agortsp: Support RFC4570 (source specific multicast) more properly.
Ed Torbett [Fri, 26 Jul 2013 10:38:00 +0000 (11:38 +0100)]
rtsp: Support RFC4570 (source specific multicast) more properly.

Add support for domain names, for multiple source addresses,
for exclusions, and for session level specification of addresses.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortpproto: Support more than one SSM include address, support excludes
Ed Torbett [Fri, 26 Jul 2013 19:37:00 +0000 (22:37 +0300)]
rtpproto: Support more than one SSM include address, support excludes

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoudp: Keep track of include and exclude sources separately
Ed Torbett [Fri, 26 Jul 2013 19:05:21 +0000 (22:05 +0300)]
udp: Keep track of include and exclude sources separately

This allows us to explicitly fail if the caller tried to set
both inclusions and exclusions at the same time.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoudp: Allow specifying multicast include/blocks as host names as well
Ed Torbett [Fri, 26 Jul 2013 18:54:29 +0000 (21:54 +0300)]
udp: Allow specifying multicast include/blocks as host names as well

Previously this only allowed literal IP addresses. When these
are conveyed in a SDP file as in RFC4570, host names are allowed
as well.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolavfi: add compand filter
Paul B Mahol [Tue, 16 Jul 2013 21:39:06 +0000 (21:39 +0000)]
lavfi: add compand filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavcodec/kmvc: fix MV checks
Michael Niedermayer [Mon, 29 Jul 2013 18:43:45 +0000 (20:43 +0200)]
avcodec/kmvc: fix MV checks

Fixes Ticket2813
Fixes regression since 70b5583

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavisynth: Fix a "AVISynth" vs. "AviSynth" struct name typo
Diego Biurrun [Mon, 29 Jul 2013 17:39:51 +0000 (19:39 +0200)]
avisynth: Fix a "AVISynth" vs. "AviSynth" struct name typo

Also fix some similar typos in comments and documentation.

11 years agoconfigure: Detect AIX ar command instead of hardcoding it in the OS section
Diego Biurrun [Mon, 29 Jul 2013 16:23:08 +0000 (18:23 +0200)]
configure: Detect AIX ar command instead of hardcoding it in the OS section

11 years agofate: Add tree test
Diego Biurrun [Wed, 17 Oct 2012 17:43:41 +0000 (19:43 +0200)]
fate: Add tree test

11 years agoavutil/tree: Drop debug messages that clutter the output
Diego Biurrun [Tue, 16 Oct 2012 14:08:58 +0000 (16:08 +0200)]
avutil/tree: Drop debug messages that clutter the output

11 years agoavutil/tree: K&R formatting cosmetics
Diego Biurrun [Tue, 16 Oct 2012 14:08:05 +0000 (16:08 +0200)]
avutil/tree: K&R formatting cosmetics

11 years agofate: Add timefilter test
Diego Biurrun [Fri, 5 Oct 2012 17:37:10 +0000 (19:37 +0200)]
fate: Add timefilter test

11 years agohls: Free packets when skipping packets when seeking
Martin Storsjö [Mon, 29 Jul 2013 08:27:44 +0000 (11:27 +0300)]
hls: Free packets when skipping packets when seeking

This fixes memory leaks present since 2b3d041cdc.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agohlsproto: Store all durations in AV_TIME_BASE
Martin Storsjö [Mon, 29 Jul 2013 07:27:09 +0000 (10:27 +0300)]
hlsproto: Store all durations in AV_TIME_BASE

Also parse segment durations as floating point, which is allowed
since HLS version 3.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agohls: Store all durations in AV_TIME_BASE
Martin Storsjö [Mon, 29 Jul 2013 07:26:02 +0000 (10:26 +0300)]
hls: Store all durations in AV_TIME_BASE

Also parse segment durations as floating point, which is allowed
since HLS version 3.

This is based on a patch by Zhang Rui.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agohls: Store first_timestamp in units of AV_TIME_BASE
Martin Storsjö [Mon, 29 Jul 2013 07:09:02 +0000 (10:09 +0300)]
hls: Store first_timestamp in units of AV_TIME_BASE

When first_timestamp was stored as-is, its actual time base
wasn't known later in the seek function.

Additionally, the logic (from 795d9594cfa) for scaling it
based on stream_index is flawed - stream_index in the seek
function only specifies which stream the seek timestamp refers
to, but obviously doesn't say anything about which stream
first_timestamp belongs to.

In the cases where stream_index was >= 0 and all streams had the
same time base, this didn't matter in practice.

Seeking taking first_timestamp into account is problematic
when one variant is mpegts (with real timestamps) and one variant
is raw ADTS (with timestamps only being accumulated packet
duration), where the variants start at totally different timestamps.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agohuffyuvenc: BGRA support
Michael Niedermayer [Sun, 10 Mar 2013 10:16:33 +0000 (11:16 +0100)]
huffyuvenc: BGRA support

Bug-Id: 452

Signed-off-by: Diego Biurrun <diego@biurrun.de>