Clément Bœsch
940d3cc0b0
drawtext: fix hard dependency to lavc (timecode).
13 years ago
Jean First
2e0efa332b
af_astreamsync: remove unused variable
...
Signed-off-by: Jean First <jeanfirst@gmail.com>
13 years ago
Stefano Sabatini
42a8ac94d9
vf_tinterlace: implement interlace mode 5
...
Allow creating interlaced bottom field first video.
13 years ago
Nicolas George
4962edf889
lavfi: add amerge audio filter.
13 years ago
Nicolas George
e90a69e955
lavfi: add astreamsync audio filter.
13 years ago
Stefano Sabatini
8fb03b4d70
lavfi: port tinterlace filter from MPlayer
...
Port MPlayer tinterlace filter from MPlayer, with some ideas taken
from the FFmbc/libavfilter port, with the following main differences:
* added support for full-scale YUVJ formats
* added support for YUVA420P
* request_frame() on the filter is forced to return a frame
* some code factorization (related to the copy_picture_fields() function)
* fixed black padding values for mode 3
13 years ago
Stefano Sabatini
549b53e8cb
lavfi: remove redundant definition of avfilter_copy_frame_props() in avfilter.h
...
Rationale: avfilter_copy_frame_props() was already defined in
libavfilter/avcodec.h, and keeping the lavc/lavfi API glue localized in a
specific file should ease maintainance and help the ones which use
libavfilter without depending on libavcodec.
13 years ago
Diego Biurrun
d4b63054d9
cosmetics: Drop unnecessary parentheses around return values.
13 years ago
Stefano Sabatini
440e984b71
lavfi: add asplit filter
13 years ago
Stefano Sabatini
ae21776207
lavfi: add missing check in avfilter_filter_samples()
...
Avoid out-of-buffer data access when nb_channels is 8.
13 years ago
Stefano Sabatini
e9af732a1a
lavfi: fix avfilter_default_get_audio_buffer() after changes in av_samples_alloc()
...
av_samples_alloc() behavior changed in bbb46f3ec
, resulting in random
data filling the data[] and linesize[] arrays of the returned
AVFilterBufferRef, which was resulting in wrong behavior in case of code
checking on data[i] nullity.
In particular fixes crash in avfilter_filter_samples():
for (i = 0; samplesref->data[i]; i++)
memcpy(link->cur_buf->data[i], samplesref->data[i], samplesref->linesize[0]);
and correctly fills the linesize[] array for planar data.
13 years ago
Stefano Sabatini
5764301df3
lavfi: don't try to indent words in trace messages
...
The traces end up not indented and ugly anyway, but with the additional
spaces are much more painful to grep/parse.
13 years ago
Clément Bœsch
f1f87439e5
thumbnail: fix error code in case of invalid args.
13 years ago
Clément Bœsch
15a2a29ba3
lavfi: add thumbnail video filter.
13 years ago
Anton Khirnov
06e8d38f2b
Add minor bumps and APIchanges entries for lavc/lavfi changes.
13 years ago
Anton Khirnov
e1d9dbf2d4
lavfi: add a new function av_buffersrc_buffer().
...
It can be used to directly pass a AVFilterBufferRef to lavfi, avoiding a
memcpy.
13 years ago
Stefano Sabatini
1c9e340d35
lavfi: add avfilter_copy_frame_props()
...
avfilter_copy_frame_props() avoids code duplication and increases
robustness.
13 years ago
Stefano Sabatini
b58dbb5b03
lavc: add a sample_aspect_ratio field to AVFrame
...
The sample aspect ratio is a per-frame property, so it makes sense to
define it in AVFrame rather than in the codec/stream context.
Simplify application-level sample aspect ratio information extraction,
and allow further simplifications.
13 years ago
Stefano Sabatini
1858a5c25e
vf_drawtext: select YUV color for drawbox() in case YUV colorspace is used
...
Fix box alpha rendering when a YUV colorspace is selected, in particular
fix trac ticket #763 .
13 years ago
Anton Khirnov
82d05e78a6
allfilters: fix type of avfilter_vsrc_buffer.
13 years ago
Michael Niedermayer
f810ab45e3
libavfilter: increase LIBAVFILTER_VERSION_MICRO to 100 like the other libs.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
196c9e5c8c
lavfi: always build vsrc_buffer.
...
It's a part of public API.
13 years ago
Stefano Sabatini
386aee6864
sink_buffer: copy list of provided formats in the context
...
A list of formats may have been dynamically created by the calling code,
and thus should not be referenced by the sink buffer context.
Avoid possible invalid data reference.
13 years ago
Michael Niedermayer
16b771b1f4
cleanup: for(int
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
0b4e5451ba
lavfi: use the new audio API in amovie source filter.
13 years ago
Clément Bœsch
220481e1d6
lavfi: skip the frame in case of error.
...
This fixes playback with some audio files through filters.
13 years ago
Luca Barbato
d32eed5c73
yadif: support 10bit YUV
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Mans Rullgard
878dda5db1
build: move inclusion of subdir.mak to main subdir loop
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
58c42af722
doxygen: misc consistency, spelling and wording fixes
13 years ago
Anton Khirnov
cd3716b9aa
Replace all uses of av_close_input_file() with avformat_close_input().
13 years ago
Clément Bœsch
80914cde6f
timecode: rename internal ff_* symbols to avpriv_*.
...
Those functions are shared between libs.
Also fix a typo in function names: smtpe → smpte.
13 years ago
Clément Bœsch
fa4e30af7e
drawtext: allow burning the timecode.
13 years ago
Andrey Utkin
5b3265a718
lavfi: install libavfilter/vsrc_buffer.h
...
It declares API necessary for filtering apps.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Clément Bœsch
cc2355817d
life: add mold, mold_color, life_color and death_color options.
13 years ago
Clément Bœsch
c88d6b18ce
life: add seed information in filter summary.
13 years ago
Stefano Sabatini
6c44ff38d6
lavfi: add cellauto source
13 years ago
Michael Niedermayer
a502939d64
buffersink: Implement a poll function.
...
With this the application can find out how many frames are available.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
78212cefe1
drawtext: remove typo
...
It slipped through the last two iterations.
13 years ago
Luca Barbato
f5edfc9e92
drawtext: introduce rand(min, max)
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Luca Barbato
73585620b8
drawtext: introduce explicit draw/hide variable
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Stefano Sabatini
7ecabc8505
vsrc_life: fix comment in parse_rule()
13 years ago
Stefano Sabatini
3af5ddb24b
vf_scale: give a clue in case of invalid expression self-reference
...
Address trac ticket #706 .
13 years ago
Reimar Döffinger
c66bd78e3d
vf_scale: support PAL8 output by producing BGR8.
...
While quality is bad, PAL8 support is needed to allow testing some
encoders that only support PAL8 input.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Stefano Sabatini
2f8b6e909d
lavfi: add life source
13 years ago
Stefano Sabatini
6c26fe8b5a
aevalsrc: add duration option
13 years ago
Michael Niedermayer
dda3d716d6
vf_drawtext: support W/H parameters to reduce UI differences to qatar
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f88d5df383
vf_drawtext: cosmetics to reduce diff to qatar
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
297422b338
vf_drawtext: Add main_w/h to improve compatibility with the modified UI
...
from the fork.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
2cf74eca70
drawtext: make x and y parametric
...
Introduce variables "E", "PHI", "PI", "main_w"/"W", "main_h"/"H",
"text_w"/"w", "text_h"/"h", "x", "y", "n" and "t" in line with
vf_overlay and refactor the code accordingly.
13 years ago
Luca Barbato
ec11ff8407
drawtext: manage memory allocation better
...
Call dtext_prepare_text as early as possible
Do not draw if the memory allocation failed
13 years ago