Clément Bœsch
cdc48775aa
lavfi/vidstab: consistent descriptions.
2013-04-24 18:30:42 +02:00
Clément Bœsch
017051266b
lavfi/vidstab: miscelenaous cosmetics and typo fixes.
2013-04-24 18:30:42 +02:00
Georg Martius
4364e1f150
lavfi: add video stabilization plugins using vid.stab library
...
vidstabdetect and vidstabtransform common functions for interfacing
vid.stab are in libavfilter/vidstabutils.c
Signed-off-by: Georg Martius <martius@mis.mpg.de>
2013-04-24 18:30:42 +02:00
Stefano Sabatini
638ffb2413
lavfi/hue: rework logic for setting commands
...
In particular, fix h/H commands in case h and H are not specified as
initial parameters.
2013-04-23 22:33:53 +02:00
Michael Niedermayer
8f04220df8
avfilter/geq: rgb support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-23 16:06:37 +02:00
Michael Niedermayer
0a73803c86
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: Move some conditional code around to avoid unused variable warnings
Conflicts:
libavcodec/x86/dsputil_mmx.c
libavfilter/x86/vf_yadif_init.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-23 11:01:46 +02:00
Michael Niedermayer
a9a537b154
avfilter/drawtext: add pict_type support
...
Fixes Ticket2470
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-23 03:35:28 +02:00
Clément Bœsch
15d2f26998
lavfi/overlay: support timeline through the new system.
2013-04-23 01:02:28 +02:00
Clément Bœsch
38853169ce
lavfi: add 'enable' command injection to filters supporting timeline.
2013-04-23 01:02:28 +02:00
Clément Bœsch
fdd93eabfb
lavfi: add timeline support.
...
Flag added in a few simple filters. A bunch of other filters can likely
use the feature as well.
2013-04-23 01:02:27 +02:00
Clément Bœsch
b8a5c76131
lavfi: add frame counter into AVFilterLink and use it in filters.
2013-04-23 01:02:27 +02:00
Diego Biurrun
c1ad70c3cb
x86: Move some conditional code around to avoid unused variable warnings
2013-04-22 17:50:02 +02:00
Paul B Mahol
2f11aa141a
lavfi: remove mp=down3dright
...
Same funcionality is provided by stereo3d=ab[2]{l,r}:sbs[2]{l,r}.
Additional "features" are barely useful and cause crash or artifacts.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-22 11:49:13 +00:00
Michael Niedermayer
e4c0f258d3
Merge commit '9bfc6e02bae9de354fb9ba09a8a140e83eeadf7d'
...
* commit '9bfc6e02bae9de354fb9ba09a8a140e83eeadf7d':
afifo: fix request_samples on the last frame in certain cases
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-22 13:02:29 +02:00
Anton Khirnov
9bfc6e02ba
afifo: fix request_samples on the last frame in certain cases
...
The current code can fail to return the last frame if it contains
exactly the requested number of samples.
Fixes the join filter test, which previously did not include the last
408 samples in most cases.
CC:libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-04-22 02:29:56 +02:00
Andy Martin
4ac2da3793
lavfi/fade: Added ability to do video fade based on timestamp
2013-04-21 20:57:02 +02:00
Stefano Sabatini
3e40b85683
lavfi: add interleave filters
2013-04-21 18:24:04 +02:00
Stefano Sabatini
df766673e5
lavfi/sendcmd: drop now pointless sendcmd/asendcmd_init() wrappers
2013-04-21 17:27:32 +02:00
Stefano Sabatini
5e893df7ae
lavfi/sendcmd: fix various "in in" rerepepetitions in messages
2013-04-21 17:27:25 +02:00
Nicolas George
fd7a7e11b9
lavfi/buffersink: fix possible leaks after allocation failures.
...
Should fix Coverity CID 1005313, 1005314, 1005315.
2013-04-21 16:11:36 +02:00
Nicolas George
b57c23f8c8
lavfi: add asetrate filter.
2013-04-21 15:20:50 +02:00
Pavel Koshevoy
0c77cdb491
libavfilter/af_atempo: Avoid round-off error build-up, ticket #2484
...
Current method for constraining fragment position drift suffers from
round-off error build up.
Instead of calculating cumulative drift as a sum of input fragment
position corrections, it is more accurate to calculate drift as the
difference between current fragment position and the ideal position
specified by the tempo scale factor.
Signed-off-by: Pavel Koshevoy <pkoshevoy@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-21 10:46:52 +02:00
Pavel Koshevoy
5a2a060378
libavfilter/af_atempo: Fix uninitialized memory access
...
valgrind reported uninitialized memory access which was caused by
incorrect number of samples being passed to push_samples(..)
Signed-off-by: Pavel Koshevoy <pkoshevoy@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-21 10:45:57 +02:00
highgod0401
fdad04e756
avfilter/deshake_kernel: fix reset value bug of deshake kernel
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-20 19:55:58 +02:00
Paul B Mahol
a56fd051ee
lavfi/stereo3d: support more formats for non-anaglyph outputs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-20 17:45:54 +00:00
Clément Bœsch
380cfce2b2
lavc: add AV_CODEC_PROP_TEXT_SUB.
...
CC are not marked. Also allow potential mixed types later.
2013-04-19 13:15:54 +02:00
Paul B Mahol
b63f7b3ac7
lavfi/afade: use AV_OPT_TYPE_DURATION
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-19 00:56:55 +00:00
Michael Niedermayer
7254afdf1c
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
ffmpeg: make -aspect work with -vcodec copy.
lavfi/vf_aspect: improve compatibility of parsing.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-19 01:02:21 +02:00
Stefano Sabatini
c6a43a7244
lavfi/mptestsrc: fix invalid access in case of negative linesize
...
In particular, fix crash with:
ffplay -f lavfi mptestsrc,vflip
2013-04-18 23:47:44 +02:00
Nicolas George
b42827ffd9
lavfi/vf_aspect: improve compatibility of parsing.
...
Try to accept both the old "num:den" and the new "num/den"
syntax. Fix "aspect=2" being ignored due to a missing den.
Also remove a duplicated #include.
2013-04-18 20:51:55 +02:00
Paul B Mahol
212960eea4
colorchannelmixer filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-18 15:31:35 +00:00
Paul B Mahol
449cdd547b
colorbalance filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-18 15:30:10 +00:00
Stefano Sabatini
1efcab02b6
lavfi/aspect: apply hot fix for NUM:DEN syntax
2013-04-17 23:37:22 +02:00
Stefano Sabatini
f04ec05f0e
lavfi/setdar: fix num/den swapping in log message
2013-04-17 23:37:22 +02:00
Stefano Sabatini
f212c2380a
lavfi/setsar: remove spurious #if FF_API_OLD_FILTER_OPTS around init field
2013-04-17 23:37:05 +02:00
Stefano Sabatini
e252460c9b
lavfi/mptestsrc: remove unused size field
2013-04-17 22:40:08 +02:00
Stefano Sabatini
db84088e99
lavfi/mptestsrc: use AV_OPT_TYPE_DURATION
...
Simplify.
2013-04-17 22:40:02 +02:00
Stefano Sabatini
bbf003e949
lavfi/mptestsrc: reindent option constants
2013-04-17 22:39:51 +02:00
Stefano Sabatini
3933963d7b
lavfi/testsrc: fix style
2013-04-17 22:39:44 +02:00
Stefano Sabatini
7ab6312610
lavfi/testsrc: use int in place of unsigned
...
Avoid implicit int->unsigned conversion, causing invalid access in case
of negative linesize.
Fix crash with:
ffplay -f lavfi testsrc,vflip
2013-04-17 22:39:34 +02:00
Stefano Sabatini
5229b78371
lavfi/aspect: extend verbose feedback, show old SAR and DAR values
2013-04-17 22:39:26 +02:00
Stefano Sabatini
fe5ca6b913
lavfi/aspect: restore ratio parsing
...
Allow to set a ratio as "a:b" (with proper escaping), and correctly
honour the max parameter.
2013-04-17 22:39:20 +02:00
Stefano Sabatini
8bfd878151
lavfi/select: factorize options definition between select and aselect
2013-04-17 22:39:04 +02:00
Stefano Sabatini
dcc1b32361
lavfi/select: add support for dynamic number of outputs
2013-04-17 22:34:05 +02:00
Stefano Sabatini
565c50ac7b
lavfi/select: make select_frame() return void
...
Set select->select internally to the function, avoid lossy double->int
conversion causing spurious frame drop (e.g. in case the evaluation
result is positive and less than 1).
2013-04-17 22:28:56 +02:00
Michael Niedermayer
0b3bd78714
Merge remote-tracking branch 'cigaes/master'
...
* cigaes/master:
lavfi/buffersrc: fix failed requests count.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-17 21:32:13 +02:00
Michael Niedermayer
45741dd81f
vf_lut: fix simplification / off by 1 error
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-17 21:25:41 +02:00
Paul B Mahol
1de7dcb457
lavfi/stereo3d: fix interleave row output modes
...
Linesizes that did not match output width produced several artifacts.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-17 17:34:17 +00:00
Clément Bœsch
7ee2daed9b
lavfi/interlace: remove exec permissions.
2013-04-17 19:27:33 +02:00
Clément Bœsch
4c6fa4ef45
lavfi/lut: simplify nested component stepping.
2013-04-17 19:18:08 +02:00