]> git.sesse.net Git - ffmpeg/log
ffmpeg
9 years agoavfilter/vf_framerate: calculate delta from scaled pts instead of unscaled
Paul B Mahol [Thu, 10 Sep 2015 15:39:35 +0000 (15:39 +0000)]
avfilter/vf_framerate: calculate delta from scaled pts instead of unscaled

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavfilter/vf_framerate: highbit depth support
Paul B Mahol [Mon, 7 Sep 2015 18:30:22 +0000 (18:30 +0000)]
avfilter/vf_framerate: highbit depth support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavfilter: add ocr filter
Paul B Mahol [Wed, 9 Sep 2015 13:43:35 +0000 (13:43 +0000)]
avfilter: add ocr filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavfilter: use ff_all_channel_counts() instead of ff_all_channel_layouts()
Paul B Mahol [Fri, 11 Sep 2015 18:51:10 +0000 (18:51 +0000)]
avfilter: use ff_all_channel_counts() instead of ff_all_channel_layouts()

Fixes playback of some files with ffplay.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agolavf/img2dec: Improve jpeg auto-detection.
Carl Eugen Hoyos [Sat, 12 Sep 2015 17:00:02 +0000 (19:00 +0200)]
lavf/img2dec: Improve jpeg auto-detection.

Fixes ticket #4841.

9 years agoavformat/mov: use AV_OPT_TYPE_BOOL for export_{all,xmp} options
Clément Bœsch [Fri, 11 Sep 2015 19:20:39 +0000 (21:20 +0200)]
avformat/mov: use AV_OPT_TYPE_BOOL for export_{all,xmp} options

9 years agoavcodec/roqvideoenc: use AV_OPT_TYPE_BOOL for quake3_compat option
Clément Bœsch [Fri, 11 Sep 2015 19:17:57 +0000 (21:17 +0200)]
avcodec/roqvideoenc: use AV_OPT_TYPE_BOOL for quake3_compat option

9 years agoavfilter/treble: use AV_OPT_TYPE_BOOL for csg option
Clément Bœsch [Fri, 11 Sep 2015 19:17:05 +0000 (21:17 +0200)]
avfilter/treble: use AV_OPT_TYPE_BOOL for csg option

9 years agoavcodec/pgssubdec: use AV_OPT_TYPE_BOOL for forced_subs_only option
Clément Bœsch [Fri, 11 Sep 2015 19:16:08 +0000 (21:16 +0200)]
avcodec/pgssubdec: use AV_OPT_TYPE_BOOL for forced_subs_only option

9 years agoavdevice/v4l2: use AV_OPT_TYPE_BOOL for use_libv4l2 option
Clément Bœsch [Fri, 11 Sep 2015 19:14:59 +0000 (21:14 +0200)]
avdevice/v4l2: use AV_OPT_TYPE_BOOL for use_libv4l2 option

9 years agoavcodec/textdec: use AV_OPT_TYPE_BOOL for keep_ass_markup option
Clément Bœsch [Fri, 11 Sep 2015 19:11:36 +0000 (21:11 +0200)]
avcodec/textdec: use AV_OPT_TYPE_BOOL for keep_ass_markup option

9 years agoavcodec/libx264: use AV_OPT_TYPE_BOOL for fastfirstpass option
Clément Bœsch [Fri, 11 Sep 2015 19:10:14 +0000 (21:10 +0200)]
avcodec/libx264: use AV_OPT_TYPE_BOOL for fastfirstpass option

9 years agoavcodec/h264: use AV_OPT_TYPE_BOOL for is_avc option
Clément Bœsch [Fri, 11 Sep 2015 19:08:22 +0000 (21:08 +0200)]
avcodec/h264: use AV_OPT_TYPE_BOOL for is_avc option

9 years agoffprobe: use AV_OPT_TYPE_BOOL for writers options
Clément Bœsch [Fri, 11 Sep 2015 19:01:39 +0000 (21:01 +0200)]
ffprobe: use AV_OPT_TYPE_BOOL for writers options

9 years agoavdevice/caca: small trivial macros adjustments
Clément Bœsch [Fri, 11 Sep 2015 19:06:15 +0000 (21:06 +0200)]
avdevice/caca: small trivial macros adjustments

9 years agoavdevice/caca: remove space before ':' (English typo, cosmetics)
Clément Bœsch [Fri, 11 Sep 2015 19:06:12 +0000 (21:06 +0200)]
avdevice/caca: remove space before ':' (English typo, cosmetics)

9 years agoavdevice/caca: use AV_OPT_TYPE_BOOL for list_drivers option
Clément Bœsch [Fri, 11 Sep 2015 18:47:03 +0000 (20:47 +0200)]
avdevice/caca: use AV_OPT_TYPE_BOOL for list_drivers option

9 years agoavcodec: use AV_OPT_TYPE_BOOL for refcounted_frames, side_data_only_packets and skip_...
Clément Bœsch [Fri, 11 Sep 2015 18:45:15 +0000 (20:45 +0200)]
avcodec: use AV_OPT_TYPE_BOOL for refcounted_frames, side_data_only_packets and skip_alpha options

9 years agoconfigure: fix build on mingw64 target with msys2
Peter Belkner [Sat, 12 Sep 2015 13:23:52 +0000 (15:23 +0200)]
configure: fix build on mingw64 target with msys2

9 years agoMerge commit 'c0a49077ea4ff3a0ad30b9e33f1bb06ba9112aaa'
Hendrik Leppkes [Sat, 12 Sep 2015 13:18:05 +0000 (15:18 +0200)]
Merge commit 'c0a49077ea4ff3a0ad30b9e33f1bb06ba9112aaa'

* commit 'c0a49077ea4ff3a0ad30b9e33f1bb06ba9112aaa':
  asfdec: add more checks for size left in asf packet buffer

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '1b2412f50185447da4212f65f06e8d72a6daf06e'
Hendrik Leppkes [Sat, 12 Sep 2015 13:17:50 +0000 (15:17 +0200)]
Merge commit '1b2412f50185447da4212f65f06e8d72a6daf06e'

* commit '1b2412f50185447da4212f65f06e8d72a6daf06e':
  lavc: Fix compilation with --disable-everything --enable-parser=mpeg4video

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit 'f00f6d538dcbaa122eb5e2784f41f4a299296b7b'
Hendrik Leppkes [Sat, 12 Sep 2015 13:16:57 +0000 (15:16 +0200)]
Merge commit 'f00f6d538dcbaa122eb5e2784f41f4a299296b7b'

* commit 'f00f6d538dcbaa122eb5e2784f41f4a299296b7b':
  lavc: Sanitize header inclusion guards

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '6064f697a321174232a3fad351afb21150c3e9e5'
Hendrik Leppkes [Sat, 12 Sep 2015 13:12:05 +0000 (15:12 +0200)]
Merge commit '6064f697a321174232a3fad351afb21150c3e9e5'

* commit '6064f697a321174232a3fad351afb21150c3e9e5':
  lavc: Enable side data only packets by default

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoavformat/avienc: add muxer option "write_channel_mask"
Tobias Rapp [Thu, 10 Sep 2015 12:04:18 +0000 (14:04 +0200)]
avformat/avienc: add muxer option "write_channel_mask"

Allow writing an empty channel mask into the wave format header. Useful
if the input file contains an unknown channel layout.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoasfdec: add more checks for size left in asf packet buffer
Alexandra Hájková [Mon, 7 Sep 2015 10:18:17 +0000 (12:18 +0200)]
asfdec: add more checks for size left in asf packet buffer

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agofate: readjust AAC encoder TNS test
Rostislav Pehlivanov [Sat, 12 Sep 2015 12:17:04 +0000 (13:17 +0100)]
fate: readjust AAC encoder TNS test

The recent commits change the value slightly. Even though it's
within the threshold it's better to risk as little as possible
especially when different systems, processors, FPUs and compilers
are involved.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years agoaacenc_tns: readjust values for new TNS decision making
Rostislav Pehlivanov [Sat, 12 Sep 2015 12:15:02 +0000 (13:15 +0100)]
aacenc_tns: readjust values for new TNS decision making

Since TNS was fixed with the recent commits retweak the values
so it's more frequently used.
Still not enabled by default yet, though it's possible that it
will be made enabled by default in the near future.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years agoaacenc_tns: encode coefficients directly and reenable compression
Rostislav Pehlivanov [Sat, 12 Sep 2015 12:10:28 +0000 (13:10 +0100)]
aacenc_tns: encode coefficients directly and reenable compression

This commit was made possible with the earlier commits since the
new quantization method basically means we're working always with
unsigned values. The specifications mention to use compression when
the first 2 bits are identical but they didn't mention if this should
happen before or after the conversion to signed values. Actually
they said nothing about conversion to signed values.

With this commit, coefficient compression usually always happens
which saves a lot of space, especially at extremely low bitrates
and doesn't change the quality at all.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years agoaacenc_tns: redo coefficient quantization and decision making
Rostislav Pehlivanov [Sat, 12 Sep 2015 12:04:27 +0000 (13:04 +0100)]
aacenc_tns: redo coefficient quantization and decision making

This finally (and again) gets rid of basically everything the
specifications say about how TNS should be done. The main
problem used to be that a single filter was used for all
coefficients which despite being explicitly recommended by
the specifications usually sounds wrong, therefore it's
a corner case in the current TNS implementation.

This commit also changes the coefficient bit size, as apparently
it's better to use lower precision in case the windows are eight
short. This is apparently what fdk_aac uses, looking at the bit
stream and makes sense. Also the order when 8 SHORT windows happen
is important as 7 was too much and according to PSNR was worse
while 5 is just about correct.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years agolavc: Fix compilation with --disable-everything --enable-parser=mpeg4video
Hendrik Schreiber [Thu, 10 Sep 2015 11:27:05 +0000 (13:27 +0200)]
lavc: Fix compilation with --disable-everything --enable-parser=mpeg4video

9 years agolavc: Sanitize header inclusion guards
Vittorio Giovara [Thu, 10 Sep 2015 18:26:09 +0000 (20:26 +0200)]
lavc: Sanitize header inclusion guards

Fix typos, add missing comments, and remove stray lines.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agolavc: Enable side data only packets by default
Vittorio Giovara [Fri, 11 Sep 2015 15:47:29 +0000 (17:47 +0200)]
lavc: Enable side data only packets by default

Deprecate the now unused option, but temporarily retain the capability
to disable the now default behaviour.

Mention this change in the AVPacket documentation.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agoMerge commit '1e0b8bf0b3b3b4247fb21e9839af342ae879607c'
Hendrik Leppkes [Sat, 12 Sep 2015 11:31:22 +0000 (13:31 +0200)]
Merge commit '1e0b8bf0b3b3b4247fb21e9839af342ae879607c'

* commit '1e0b8bf0b3b3b4247fb21e9839af342ae879607c':
  travis: fix dependencies

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '99404597201911de90cff2ef85f2d44176d39147'
Hendrik Leppkes [Sat, 12 Sep 2015 11:30:41 +0000 (13:30 +0200)]
Merge commit '99404597201911de90cff2ef85f2d44176d39147'

* commit '99404597201911de90cff2ef85f2d44176d39147':
  mmaldec: fix pkt_dts determination

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '87a051f97633010f71dfc1d23d806856499bf231'
Hendrik Leppkes [Sat, 12 Sep 2015 11:30:33 +0000 (13:30 +0200)]
Merge commit '87a051f97633010f71dfc1d23d806856499bf231'

* commit '87a051f97633010f71dfc1d23d806856499bf231':
  lavc: allow asynchronous decoders to return correct pkt_dts values

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit 'b7ab6e18eecad43593ad2a0e9fc9eba7f24751cb'
Hendrik Leppkes [Sat, 12 Sep 2015 11:29:29 +0000 (13:29 +0200)]
Merge commit 'b7ab6e18eecad43593ad2a0e9fc9eba7f24751cb'

* commit 'b7ab6e18eecad43593ad2a0e9fc9eba7f24751cb':
  mmaldec: disable timestamp interpolation

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '6b652c0273d79f2e0c52ad91450bd0737cf3c8a6'
Hendrik Leppkes [Sat, 12 Sep 2015 11:29:16 +0000 (13:29 +0200)]
Merge commit '6b652c0273d79f2e0c52ad91450bd0737cf3c8a6'

* commit '6b652c0273d79f2e0c52ad91450bd0737cf3c8a6':
  mmaldec: fix problems with flush logic

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit 'b84675d63aaede8f6944b901250a10456c5477e6'
Hendrik Leppkes [Sat, 12 Sep 2015 11:29:10 +0000 (13:29 +0200)]
Merge commit 'b84675d63aaede8f6944b901250a10456c5477e6'

* commit 'b84675d63aaede8f6944b901250a10456c5477e6':
  mmaldec: hack against buffering problems on broken input

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '5788623d29c3e806a7879210986110aced758dc2'
Hendrik Leppkes [Sat, 12 Sep 2015 11:25:38 +0000 (13:25 +0200)]
Merge commit '5788623d29c3e806a7879210986110aced758dc2'

* commit '5788623d29c3e806a7879210986110aced758dc2':
  jpeg2000: Split codeblock decoding from the main tile decoding

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit 'db53a2306f62f05faa67e6f3c60ee55a9b8e4776'
Hendrik Leppkes [Sat, 12 Sep 2015 11:16:13 +0000 (13:16 +0200)]
Merge commit 'db53a2306f62f05faa67e6f3c60ee55a9b8e4776'

* commit 'db53a2306f62f05faa67e6f3c60ee55a9b8e4776':
  jpeg2000: Do not warn about known and skippable markers

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '9b5a4a9cce3042558e107ae1ed30d9bf3d867a35'
Hendrik Leppkes [Sat, 12 Sep 2015 11:14:26 +0000 (13:14 +0200)]
Merge commit '9b5a4a9cce3042558e107ae1ed30d9bf3d867a35'

* commit '9b5a4a9cce3042558e107ae1ed30d9bf3d867a35':
  mmvideo: Make sure the rle does not write over the frame boundaries

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '41ed749fe987e60b0485fa721ad869590651324d'
Hendrik Leppkes [Sat, 12 Sep 2015 11:05:01 +0000 (13:05 +0200)]
Merge commit '41ed749fe987e60b0485fa721ad869590651324d'

* commit '41ed749fe987e60b0485fa721ad869590651324d':
  ogg: Do not try to use the parser if it is not present

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit '7b02cb29d9d60cdd5ef321043d11d02023e7dc8f'
Hendrik Leppkes [Sat, 12 Sep 2015 11:03:04 +0000 (13:03 +0200)]
Merge commit '7b02cb29d9d60cdd5ef321043d11d02023e7dc8f'

* commit '7b02cb29d9d60cdd5ef321043d11d02023e7dc8f':
  pixdesc: Document the component order

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agovp9: Fix emu[] edge overflow conditions for >8bpp/non-420.
Ronald S. Bultje [Fri, 11 Sep 2015 17:59:17 +0000 (13:59 -0400)]
vp9: Fix emu[] edge overflow conditions for >8bpp/non-420.

9 years agovp9: re-initialize internal buffers on bpp change also.
Ronald S. Bultje [Fri, 11 Sep 2015 17:24:48 +0000 (13:24 -0400)]
vp9: re-initialize internal buffers on bpp change also.

9 years agoMerge commit 'c7ed26ad6035793c7212c17545b0ded18b72db69'
Hendrik Leppkes [Sat, 12 Sep 2015 11:00:31 +0000 (13:00 +0200)]
Merge commit 'c7ed26ad6035793c7212c17545b0ded18b72db69'

* commit 'c7ed26ad6035793c7212c17545b0ded18b72db69':
  pixdesc: Add missing alpha flag for yuva420p9be

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agoMerge commit 'e336c51e6ffcdb93fbcf3c6153d378400608526b'
Hendrik Leppkes [Sat, 12 Sep 2015 10:54:25 +0000 (12:54 +0200)]
Merge commit 'e336c51e6ffcdb93fbcf3c6153d378400608526b'

* commit 'e336c51e6ffcdb93fbcf3c6153d378400608526b':
  pixdesc: Consistently order components

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years agotravis: fix dependencies
James Almer [Sat, 12 Sep 2015 06:23:45 +0000 (03:23 -0300)]
travis: fix dependencies

bc hasn't been needed since a982c5d74fbc7ff5bd2f2f73af61ae48e9b1bcc6

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agommaldec: fix pkt_dts determination
wm4 [Tue, 8 Sep 2015 17:42:26 +0000 (19:42 +0200)]
mmaldec: fix pkt_dts determination

This also drops setting the frame->pts field. This is usually not set by
decoders, so this would be an inconsistency that's at worst a danger to
the API user.

It appears the buffer->dts field is normally not set by the MMAL
decoder, so don't use it. If it's ever going to be set by MMAL, we
don't know whether the value will be what we want.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agolavc: allow asynchronous decoders to return correct pkt_dts values
wm4 [Fri, 11 Sep 2015 16:36:56 +0000 (18:36 +0200)]
lavc: allow asynchronous decoders to return correct pkt_dts values

The generic code in utils.c sets the AVFrame.pkt_dts field from the
packet it was supposedly decoded. This does not have to be true for a
fully asynchronous decoder like mmaldec. It could be overwritten with an
incorrect value. Even if the decoder doesn't determine the DTS (but sets
it to AV_NOPTS_VALUE), it's impossible to determine a correct value in
utils.c.

Decoders can now be marked with FF_CODEC_CAP_SETS_PKT_DTS, in which case
utils.c won't overwrite the field. The decoders are expected to set this
field (even if they only set it to AV_NOPTS_VALUE).

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agommaldec: disable timestamp interpolation
wm4 [Tue, 8 Sep 2015 17:42:24 +0000 (19:42 +0200)]
mmaldec: disable timestamp interpolation

This MMAL feature fills in missing timestamps from the framerate set on
the input port. This is generally unwanted, since libavcodec decoders
merely pass through timestamps without ever "fixing" them. The framerate
is also unknown, and even the timebase doesn't have to be set.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agommaldec: fix problems with flush logic
wm4 [Tue, 8 Sep 2015 17:42:23 +0000 (19:42 +0200)]
mmaldec: fix problems with flush logic

Don't try to do a blocking wait for MMAL output if we haven't even sent
a single real packet, but only flush packets. Obviously we can't expect
to get anything back.

Additionally, don't send a flush packet to MMAL in the same case. It
appears the MMAL decoder will sometimes hang in mmal_vc_port_disable()
(called from ffmmal_close_decoder()), waiting for a reply from the GPU
which never arrives. Either MMAL disallows sending flush packets without
preceding real data, or it's a MMAL bug.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agommaldec: hack against buffering problems on broken input
wm4 [Tue, 8 Sep 2015 17:42:22 +0000 (19:42 +0200)]
mmaldec: hack against buffering problems on broken input

I can't come up with a nice way to handle this. It's hard to keep the
lock-stepped input/output in this case. You can't predict whether the
MMAL decoder will output a picture (because it's asynchronous), so
you have to assume in general that any packet could produce 0 or 1
frames. You can't continue to write input packets to the decoder,
because then you might get too many output frames, which you can't
get rid of because the lavc decoding API does not allow the decoder
to return an output frame without consuming an input frame (except
when flushing).

The ideal fix is a M:N decoding API (preferably asynchronous), which
would make this code potentially much cleaner. For now, this hack
will do.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agox86: port PSIGNW to cpuflags
James Almer [Sat, 12 Sep 2015 01:02:42 +0000 (22:02 -0300)]
x86: port PSIGNW to cpuflags

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoffserver: remove redundant comment, clarify another one
Reynaldo H. Verdejo Pinochet [Sat, 12 Sep 2015 00:07:52 +0000 (17:07 -0700)]
ffserver: remove redundant comment, clarify another one

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoffserver: unify exit path in http_server()
Reynaldo H. Verdejo Pinochet [Fri, 11 Sep 2015 22:05:48 +0000 (15:05 -0700)]
ffserver: unify exit path in http_server()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agoffserver: unify fail path in socket_open_listen()
Reynaldo H. Verdejo Pinochet [Fri, 11 Sep 2015 21:53:09 +0000 (14:53 -0700)]
ffserver: unify fail path in socket_open_listen()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years agovp9: save one (PSIGNW) instruction in iadst16_1d sse2/ssse3.
Ronald S. Bultje [Fri, 11 Sep 2015 16:00:50 +0000 (12:00 -0400)]
vp9: save one (PSIGNW) instruction in iadst16_1d sse2/ssse3.

9 years agolavf/webvttenc: Require webvtt file to contain exactly one WebVTT stream.
Simon Thelen [Fri, 11 Sep 2015 19:49:07 +0000 (21:49 +0200)]
lavf/webvttenc: Require webvtt file to contain exactly one WebVTT stream.

Not requiring this can end up producing hilariously broken files
together with -c:s copy (e.g. a webvtt file containing binary subtitle data).

Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agolibvpxdec: apply RGB to 444P16 instead of 422P16.
Ronald S. Bultje [Fri, 11 Sep 2015 17:43:02 +0000 (13:43 -0400)]
libvpxdec: apply RGB to 444P16 instead of 422P16.

9 years agoavformat/format: Remove parameters from mime type before comparission for probing
Alex Agranovsky [Fri, 11 Sep 2015 22:08:19 +0000 (00:08 +0200)]
avformat/format: Remove parameters from mime type before comparission for probing

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoconfigure: check for ID3D11VideoContext
James Almer [Fri, 11 Sep 2015 21:23:30 +0000 (18:23 -0300)]
configure: check for ID3D11VideoContext

Should fix compilation with mingw-w64 trunk, where ID3D11VideoDecoder is available
but ID3D11VideoContext still isn't.

Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoavformat/tcp: TCP Protocol: fix descriptor leak on listen and interrupt
Alexander S. Drozdov [Fri, 11 Sep 2015 06:31:44 +0000 (16:31 +1000)]
avformat/tcp: TCP Protocol: fix descriptor leak on listen and interrupt

If we try to listen on TCP port and ff_listen() fails on
interrupt callback socket (bind) descriptor overwrites and
does not closed at all.

As a result, we can't rebind to the same port.

Reviewed-by: Stephan Holljes <klaxa1337@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agolibavformat/utils.c: use correct variable for message.
Thierry Foucu [Fri, 11 Sep 2015 19:17:59 +0000 (12:17 -0700)]
libavformat/utils.c: use correct variable for message.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoswscale/swscale: Fix "unused variable" warning
Michael Niedermayer [Fri, 11 Sep 2015 18:59:32 +0000 (20:59 +0200)]
swscale/swscale: Fix "unused variable" warning

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoaaccoder: respect cutoff when marking bands as PNS
Rostislav Pehlivanov [Fri, 11 Sep 2015 17:59:15 +0000 (18:59 +0100)]
aaccoder: respect cutoff when marking bands as PNS

Makes more sense as users usually set the -cutoff option
to low pass filter the signal. The encoder will still over
shoot slightly when encoding normal coefficients however
that's normal.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years agojpeg2000: Split codeblock decoding from the main tile decoding
Luca Barbato [Fri, 11 Sep 2015 16:19:39 +0000 (18:19 +0200)]
jpeg2000: Split codeblock decoding from the main tile decoding

That loop is completely stand-alone.

9 years agojpeg2000: Do not warn about known and skippable markers
Luca Barbato [Fri, 11 Sep 2015 01:00:36 +0000 (03:00 +0200)]
jpeg2000: Do not warn about known and skippable markers

Matches the openjpeg behaviour.

9 years agommvideo: Make sure the rle does not write over the frame boundaries
Luca Barbato [Thu, 10 Sep 2015 12:46:05 +0000 (14:46 +0200)]
mmvideo: Make sure the rle does not write over the frame boundaries

Bug-Id: 887
CC: libav-stable@libav.org
9 years agoavformat/wavdec: use AV_OPT_TYPE_BOOL for ignore_length
Paul B Mahol [Fri, 11 Sep 2015 15:41:18 +0000 (15:41 +0000)]
avformat/wavdec: use AV_OPT_TYPE_BOOL for ignore_length

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavformat/wavenc: use AV_OPT_TYPE_BOOL for write_bext option
Paul B Mahol [Fri, 11 Sep 2015 15:34:17 +0000 (15:34 +0000)]
avformat/wavenc: use AV_OPT_TYPE_BOOL for write_bext option

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agoavcodec/ljpegenc: Fix encoding RGBA LJPEG
Michael Niedermayer [Fri, 11 Sep 2015 11:28:16 +0000 (13:28 +0200)]
avcodec/ljpegenc: Fix encoding RGBA LJPEG

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/mjpegdec: Fix decoding RGBA RCT LJPEG
Michael Niedermayer [Fri, 11 Sep 2015 11:28:51 +0000 (13:28 +0200)]
avcodec/mjpegdec: Fix decoding RGBA RCT LJPEG

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoconfigure: colorize error messages
Ganesh Ajjanagadde [Thu, 10 Sep 2015 00:47:22 +0000 (20:47 -0400)]
configure: colorize error messages

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agolavc: Fix standalone compilation of the subrip decoder.
Carl Eugen Hoyos [Fri, 11 Sep 2015 10:38:36 +0000 (12:38 +0200)]
lavc: Fix standalone compilation of the subrip decoder.

9 years agoavcodec/nvenc: change flag of cuCtxCreate to avoid CPU spins
Agatha Hu [Fri, 11 Sep 2015 02:54:08 +0000 (10:54 +0800)]
avcodec/nvenc: change flag of cuCtxCreate to avoid CPU spins

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 years agoavformat/utils: Increase default max_stream_analyze_duration for flv
Michael Niedermayer [Thu, 10 Sep 2015 22:58:37 +0000 (00:58 +0200)]
avformat/utils: Increase default max_stream_analyze_duration for flv

Fixes: unknown_video.flv
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavutil/version: Bump for avpriv_get_trc_function_from_trc() and AVCOL_PRI/TRC_SMPTEST...
Michael Niedermayer [Thu, 10 Sep 2015 22:03:56 +0000 (00:03 +0200)]
avutil/version: Bump for avpriv_get_trc_function_from_trc() and AVCOL_PRI/TRC_SMPTEST428_1 and AVCOL_TRC_SMPTEST2084

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agodoc/filters: fix Photoshop curves file extension
Lou Logan [Thu, 10 Sep 2015 22:13:23 +0000 (14:13 -0800)]
doc/filters: fix Photoshop curves file extension

Found-by: moorej
Signed-off-by: Lou Logan <lou@lrcd.com>
9 years agoavcodec/exr: Mark up the decoded buffer as the appropriate transfer characteristic...
Kevin Wheatley [Tue, 1 Sep 2015 11:35:55 +0000 (12:35 +0100)]
avcodec/exr: Mark up the decoded buffer as the appropriate transfer characteristic when applying one

9 years agoavcodec/exr: Add support for applying a transfer characteristic curve to OpenEXR...
Kevin Wheatley [Tue, 1 Sep 2015 10:02:53 +0000 (11:02 +0100)]
avcodec/exr: Add support for applying a transfer characteristic curve to OpenEXR inputs.

Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
9 years agoavutil/color_utils: Add basic transfer functions for each AVColorTransferCharacteristic
Kevin Wheatley [Tue, 1 Sep 2015 10:41:38 +0000 (11:41 +0100)]
avutil/color_utils: Add basic transfer functions for each AVColorTransferCharacteristic

Most functions are valid over a domain and range of [0.0-1.0] but
some are defined over greater. This patch does not deal with
AVColorRange and assumes AVCOL_RANGE_JPEG for the returned values.

Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
9 years agoavfilter/vf_transpose: use the name 's' for the pointer to the private context
Ganesh Ajjanagadde [Thu, 3 Sep 2015 15:18:59 +0000 (08:18 -0700)]
avfilter/vf_transpose: use the name 's' for the pointer to the private context

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years agoavfilter/f_perms: use the name 's' for the pointer to the private context
Ganesh Ajjanagadde [Wed, 9 Sep 2015 18:30:08 +0000 (14:30 -0400)]
avfilter/f_perms: use the name 's' for the pointer to the private context

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years agoavcodec/options_table: Fix TRC / PRI typo
Michael Niedermayer [Thu, 10 Sep 2015 20:51:19 +0000 (22:51 +0200)]
avcodec/options_table: Fix TRC / PRI typo

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavutil/pixfmt: Name "SMPTE ST 428-1" in AVColorPrimaries the same as in AVColorTransf...
Michael Niedermayer [Thu, 10 Sep 2015 20:50:42 +0000 (22:50 +0200)]
avutil/pixfmt: Name "SMPTE ST 428-1" in AVColorPrimaries the same as in AVColorTransferCharacteristic

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavutil/pixdesc: Use "-" in color_primaries_names to be consistent with color_transfer...
Michael Niedermayer [Thu, 10 Sep 2015 20:47:51 +0000 (22:47 +0200)]
avutil/pixdesc: Use "-" in color_primaries_names to be consistent with color_transfer_names

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavutil/pixdesc: Add SMPTE ST 2084 and ST 428-1 pixel descriptions
Kevin Wheatley [Tue, 1 Sep 2015 11:34:34 +0000 (12:34 +0100)]
avutil/pixdesc: Add SMPTE ST 2084 and ST 428-1 pixel descriptions

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/options_table: Add SMPTE ST428-1 colour primaries (CIE 1931 XYZ) to command...
Kevin Wheatley [Tue, 1 Sep 2015 08:32:42 +0000 (09:32 +0100)]
avcodec/options_table: Add SMPTE ST428-1 colour primaries (CIE 1931 XYZ) to command line options

Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/options_table: Add CLI options for SMPTE ST 2084 and ST 428-1 transfer charac...
Kevin Wheatley [Tue, 1 Sep 2015 08:14:01 +0000 (09:14 +0100)]
avcodec/options_table: Add CLI options for SMPTE ST 2084 and ST 428-1 transfer characteristics

Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavutil/pixfmt: Add additional primaries and transfer characteristic enumerations...
Kevin Wheatley [Fri, 28 Aug 2015 14:20:22 +0000 (15:20 +0100)]
avutil/pixfmt: Add additional primaries and transfer characteristic enumerations from ITU-T Rec H.265

Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/truemotion1: Simplify code using AV_PIX_FMT_0RGB32
Michael Niedermayer [Thu, 10 Sep 2015 18:42:57 +0000 (20:42 +0200)]
avcodec/truemotion1: Simplify code using AV_PIX_FMT_0RGB32

Suggested-by: carl
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavformat/subtitles: improve ff_subtitles_queue_finalize() doxy
Clément Bœsch [Thu, 10 Sep 2015 19:40:49 +0000 (21:40 +0200)]
avformat/subtitles: improve ff_subtitles_queue_finalize() doxy

9 years agoavformat/subtitles: forward log context in ff_subtitles_queue_finalize() for logging
Clément Bœsch [Thu, 10 Sep 2015 19:40:07 +0000 (21:40 +0200)]
avformat/subtitles: forward log context in ff_subtitles_queue_finalize() for logging

9 years agoavformat/subtitles: make sure we don't drop "duplicated" events from different streams
Clément Bœsch [Thu, 10 Sep 2015 19:39:13 +0000 (21:39 +0200)]
avformat/subtitles: make sure we don't drop "duplicated" events from different streams

9 years agoavformat/subtitles: drop duplicated events
Clément Bœsch [Thu, 10 Sep 2015 19:17:44 +0000 (21:17 +0200)]
avformat/subtitles: drop duplicated events

Fix Ticket #4843

9 years ago.gitignore: ignore temp files
Harshit Mittal [Wed, 5 Aug 2015 19:39:59 +0000 (12:39 -0700)]
.gitignore: ignore temp files

Github: Closes #144

9 years agoswscale: Forward colorspace updates to the 2nd cascaded context in case of alphablend
Michael Niedermayer [Thu, 10 Sep 2015 15:01:47 +0000 (17:01 +0200)]
swscale: Forward colorspace updates to the 2nd cascaded context in case of alphablend

The first just does the blending and wouldnt do anything with the colorspace values

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoswscale/utils: Forward luma range to the cascaded context for alphablending
Michael Niedermayer [Thu, 10 Sep 2015 15:03:11 +0000 (17:03 +0200)]
swscale/utils: Forward luma range to the cascaded context for alphablending

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years agoavcodec/truemotion1: use BGR0/0RGB
Michael Niedermayer [Thu, 10 Sep 2015 14:30:11 +0000 (16:30 +0200)]
avcodec/truemotion1: use BGR0/0RGB

The alpha channel in the fate sample contains random trash, not alpha

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>