Paul B Mahol
ce404b4d7c
avfilter/af_afade: do not duplicate curve option
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-27 11:11:51 +01:00
Carl Eugen Hoyos
7a90edc188
lavc/mjpegdec: Set SAR even if no resolution is available.
...
Fixes ticket #4479 .
2016-01-27 10:23:37 +01:00
Carl Eugen Hoyos
69dbecf920
lavc/h264: Show "Increasing reorder buffer" message with loglevel info.
...
See ticket #5138 for a sample.
2016-01-27 10:11:46 +01:00
Matt Oliver
b66ac803fa
avformat/mux: Fix error when writing uncoded frames.
...
commit "avpacket: Deprecate av_dup_packet" broke the use
av_interleaved_write_uncoded_frame as any input uncoded frame has an
invalid packet size that will crash when av_packet_ref tries to allocate
'size' new memory. Since the packet is a temporary created within mux.c
itself it can be used directly without needing a new ref.
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
2016-01-27 17:16:43 +11:00
Andreas Cadhalpun
9079e99d2c
svq1enc: fix out of bounds reads
...
level can be 5, but there are only four codebooks.
Fixes ubsan runtime error: index 5 out of bounds for type 'int8_t
[4][96]'
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-01-27 00:08:23 +01:00
Paul B Mahol
11bc4fd653
avcodec/dvaudiodec: only stereo makes sense
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-26 23:33:55 +01:00
Luca Barbato
eafb05fcf3
v210: x86: Add the correct guards around the asm code
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-01-26 23:31:57 +01:00
Paul B Mahol
e9e623369d
avcodec: add Ulead DV audio decoder
...
Fixes #1564 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-26 23:14:40 +01:00
Paul B Mahol
df7b165e87
avfilter/vf_zscale: make it possible to override input frame parameters
...
Mostly useful when there is no such parameters present at all.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-26 23:13:16 +01:00
Ivan
a0174f6729
avformat/flvenc: copyts in FLV muxer
...
The purpose of this patch is to preserve timestamps when using ffmpeg for publishing RTMP streams, e.g. ffmpeg -i rtmp://source/stream -f flv rtmp://target/stream.
There is a setting "copyts" for that purpose. Unfortunately it doesn't work with FLV muxer because it has its own timestamp correction which makes global setting "copyts" ineffective.
This patch removes timestamp correction in FLV muxer. This means FLV will rely on ffmpeg timestamp correction which makes it possible to use copyts.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-26 20:56:55 +01:00
Vittorio Gambaletta (VittGam)
74658a8b4d
ffmpeg_opt: Allow -metadata option to set metadata on programs.
...
Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-26 17:36:08 +01:00
Vittorio Gambaletta (VittGam)
6e448fb97e
ffmpeg_opt: Move the 'process manually set programs' block above 'process manually set metadata' in open_output_file().
...
Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-26 17:36:08 +01:00
Michael Niedermayer
f3ace85d88
avutil/opt: check for and handle errors in av_opt_set_dict2()
...
Previously errors could result in random entries to be lost.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-26 17:36:08 +01:00
Hendrik Leppkes
2e31434d84
swscale: add P010 input support
2016-01-26 12:10:45 +01:00
Hendrik Leppkes
c2869b4640
avutil: add P010 pixel format
...
P010 is the 10-bit variant of NV12 (planar luma, packed chroma), using two
bytes per component to store 10-bit data plus 6-bit zeroes in the LSBs.
2016-01-26 11:54:01 +01:00
Andreas Cadhalpun
38622007c4
vf_libopencv: add support for opencv 3
...
It dropped the old headers, but the replacements are already available
with opencv 2.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-01-25 23:49:22 +01:00
Marton Balint
73e4565dff
lavc/libzvbi-teletextdec: add support for setting background opacity
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-01-25 22:15:27 +01:00
Marton Balint
92f2a9dbc5
lavc/libzvbi-teletextdec: remove cmax variable
...
Use VBI_NB_COLORS instead.
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-01-25 22:06:57 +01:00
Marton Balint
fe4a2cbd4d
lavc/libzvbi-teletextdec: use the built-in transparent color for transparent background
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-01-25 22:06:57 +01:00
Andreas Cadhalpun
b46aae0936
build: use a link instead of changing current directory when compiling
...
If links don't work, fall back to using the full source path as was
previously done.
This should fix build failures with MSVC.
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-01-25 20:43:34 +01:00
Vittorio Gambaletta (VittGam)
8b02af1e6f
avformat/mpegtsenc: Fix multi program so that it supports adding the same stream to multiple programs.
...
Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-25 19:47:16 +01:00
Mats Peterson
191ec55c9f
lavc/rawdec: Use 16-byte line alignment for AV_PIX_FMT_MONOWHITE
...
The line alignment for 1 bpp raw AV_PIX_FMT_MONOWHITE video (currently
used for AVI) was previously 4 bytes, which generated alignment warning
messages, not only for odd-width files. The alignment is now 16 bytes.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-25 19:47:16 +01:00
James Almer
209f50e16b
avcodec/synth_filter: split off remaining code from dcadec files
...
Signed-off-by: James Almer <jamrial@gmail.com>
2016-01-25 14:57:38 -03:00
Vittorio Giovara
4709f72115
lavfi: Use AV_CEIL_RSHIFT where needed
2016-01-25 12:09:48 -05:00
Vittorio Giovara
e80307140f
yuv4mpegenc: Use AV_CEIL_RSHIFT where needed
2016-01-25 12:02:44 -05:00
Vittorio Giovara
6695f178a5
pixdesc: Use AV_CEIL_RSHIFT in documentation
2016-01-25 12:02:20 -05:00
Vittorio Giovara
1546a41ada
pixdesc: Drop unneeded deprecation warning guards
2016-01-25 12:01:12 -05:00
Vittorio Giovara
9cac1b4b4f
qsvenc: Add private option to replace coder_type
...
Missing from be00ec832c
.
2016-01-25 12:00:16 -05:00
Paul B Mahol
5dc37a5d8a
avcodec/dcaenc: do not change user requested bitrate
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-25 17:10:49 +01:00
Paul B Mahol
06f65fd026
avcodec/dcaenc: return correct number of bytes in output packet
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-25 17:10:49 +01:00
Michael Niedermayer
ed0c550564
avcodec/utils: run ff_frame_thread_encoder_init() only for encoders
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-25 16:47:15 +01:00
Michael Niedermayer
46f67f4a34
avcodec/rawdec: Check height and packet size
...
Avoids potential division by 0
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-25 11:07:42 +01:00
Mats Peterson
82325dbec1
lavc/rawdec: Use 16-byte line alignment for 1, 2, 4 and 8 bpp
...
This patch aligns the lines of 1 bpp depth for QuickTime, and 2, 4 and 8
bpp depths for AVI and QuickTime, on 16-byte boundaries. At the same
time, the packet row stride is properly catered for.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-25 11:07:42 +01:00
Mats Peterson
fe7639b1c8
avcodec/rawdec: initialize palette for mono
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-25 11:07:42 +01:00
Luca Barbato
eef9f06508
avplay: Allow to override the codec
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-01-25 09:12:02 +01:00
Luca Barbato
6fa464f8d2
avplay: Statically allocate the player state
...
And move the resource deallocation in stream_open failure path.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-01-25 09:12:02 +01:00
Luca Barbato
611ba89b89
avplay: Rename cur_stream to player
...
The name was misleading.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-01-25 09:12:02 +01:00
Luca Barbato
21bbc345cc
avplay: Rename VideoState to PlayerState
...
The structure is not video-specific.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-01-25 09:12:02 +01:00
Luca Barbato
fdd464cb70
avplay: Allocate the refresh thread next to the decode thread
...
It does not belong to the stream setup.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-01-25 09:12:02 +01:00
Luca Barbato
f22f900594
avplay: Move the stream setup in the main thread
...
And refactor the code in preparation of the following
patches.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2016-01-25 09:10:34 +01:00
James Almer
1d8f9b7d1a
avcodec/webp: fix decoder dependencies
...
Signed-off-by: James Almer <jamrial@gmail.com>
2016-01-24 20:30:33 -03:00
Michael Niedermayer
cde57eee98
avformat/hls: Check that filename is not "" in probe before checking its extension
...
Possibly the check as a whole causes more problems than it helps, if so dont
hesitate to remove it
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-25 00:18:57 +01:00
Paul B Mahol
3e7d684912
avcodec/flacenc: fix calculation of bits required in case of custom sample rate
...
Sample rate of 11025 takes 16 bits but previous code would pick only 8.
Fixes assertion failure.
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-24 21:54:13 +01:00
Timothy Gu
ce36cb08ed
Revert "decklink: Header cleanup"
...
This reverts commit 61fb70c386
.
Reported in #5183 to break the build. Further investigation needed.
2016-01-24 12:42:39 -08:00
Paul B Mahol
f42eae96b2
avfilter/vf_zoompan: fix pts handling
...
Now output pts have some sense.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-24 20:29:19 +01:00
Paul B Mahol
8a34344379
avfilter/vf_zoompan: unbreak filtering with video input
...
Inserting fifo appears to be working solution to not get
filter_frame request we do not want.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-24 19:17:39 +01:00
Timothy Gu
794b015035
Changelog: Add entry on libquvi being removed
2016-01-24 09:45:11 -08:00
Timothy Gu
fe71fde246
configure: Maintain alphabetical order of components
...
This is not "pure" alphabetical order since some components are
intentionally kept together.
2016-01-24 09:43:48 -08:00
Paul B Mahol
3b9f41a9c6
avfilter/vf_zoompan: rewrite so it doesn't cache all output frames
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-24 17:49:23 +01:00
Ronald S. Bultje
9cf81e573c
lavfi: recognize GBR9-14P as RGB in ff_fill_rgba_map().
2016-01-24 11:45:53 -05:00