Stefano Sabatini
5f3f03f5dd
doc/filters: use @var{} for denoting parameter reference in drawtext docs
2012-05-01 11:17:02 +02:00
Stefano Sabatini
08c4dec5d3
doc/filters: alphabetically sort drawtext option listing
2012-05-01 11:16:39 +02:00
Stefano Sabatini
bb39c74b59
lavfi/lut: remove unused variable
...
Fix warning:
libavfilter/vf_lut.c: In function ‘draw_slice’:
libavfilter/vf_lut.c:297:15: warning: unused variable ‘k’ [-Wunused-variable]
2012-05-01 01:24:48 +02:00
Stefano Sabatini
5f161c2357
lavfi/tinterlace: support symbolic names for the parameter
...
Also deprecate the use of numerical values.
2012-04-30 23:04:46 +02:00
Stefano Sabatini
837d034787
lavfi/tinterlace: make video as interlaced in mode 6
...
This is useful for marking progressive video processed by the filter as
interlaced, avoiding the interlaced flag to switch back and forth at each
frame.
2012-04-30 23:04:46 +02:00
Stefano Sabatini
d4f8d717ab
lavu/opt: clarify error message in set_key_value_pair()
2012-04-30 23:04:46 +02:00
Stefano Sabatini
46eba43e0e
lavfi/buffersink: fix header inclusion guard name
2012-04-29 18:46:59 +02:00
Stefano Sabatini
18c6bd098b
lavfi/tinterlace: remove unnecessary NULL check in start_frame()
2012-04-27 22:45:11 +02:00
Stefano Sabatini
cf9f7e40cc
lavfi/tinterlace: use avfilter_unref_bufferp()
2012-04-27 22:45:11 +02:00
Stefano Sabatini
a853e88af2
lavfi/tinterlace: fix doxy in copy_picture_field()
2012-04-27 22:45:10 +02:00
Stefano Sabatini
6b55aab01a
lavfi: create buffer reference in filters which need to access the ref later
...
Also add internal function ff_null_start_frame_keep_ref().
Fix crash when a following filter (e.g. settb) will unref the reference
passed by start_frame(), and then the reference is accessed in
end_frame() through inlink->cur_buf.
2012-04-27 21:38:13 +02:00
Stefano Sabatini
6f3b1d7f86
lavfi/bbox: add missing space between pts and x1 values in the log
2012-04-27 21:33:42 +02:00
Stefano Sabatini
dd3043d1c0
lavfi/setfield: remove stray argument in av_log()
...
Fix warning:
libavfilter/vf_setfield.c: In function ‘init’:
libavfilter/vf_setfield.c:64:20: warning: too many arguments for format [-Wformat-extra-args]
2012-04-21 12:32:50 +02:00
Stefano Sabatini
459414b4d9
lavfi/setfield: rename variable top_field_first to mode
...
The new name better reflects the meaning of the variable, after the
recent change.
2012-04-21 12:32:38 +02:00
Stefano Sabatini
9750254885
lavfi/mp: remove libmpcodecs mirror filter
...
The native libavfilter hflip filter does the same thing.
2012-04-20 01:01:24 +02:00
Stefano Sabatini
5eeecde859
lavfi/mp: remove 2xsai wrapped filter
...
It was ported to a native libavfilter filter.
2012-04-13 00:14:06 +02:00
Stefano Sabatini
b7a7830dd4
lavfi: port 2xsai filter from libmpcodecs
...
Partially based on the port by Niel van der Westhuizen
<nielkie@gmail.com >, done for GCI 2010. Same output as the original
filter and as fast.
See thread:
Subject: [FFmpeg-devel] [PATCH] Port MPlayer 2xSaI filter to libavfilter
Date: Thu, 25 Nov 2010 01:31:24 +1000
2012-04-13 00:14:06 +02:00
Stefano Sabatini
e21dac3a4f
examples/decoding_encoding: remove unused variable "size"
...
Remove unused variable size from video_encode_example() function.
Fix GCC warning:
decoding_encoding.c:214:22: warning: unused variable ‘size’ [-Wunused-variable]
2012-04-13 00:13:31 +02:00
Stefano Sabatini
162e400464
lavfi: install asrc_abuffer.h header
...
The header is part of the public API, in particular is used by
doc/examples/filtering_audio.c.
2012-04-13 00:13:30 +02:00
Stefano Sabatini
f0bb1a599c
ffprobe: use avbprint API
...
Simplify, increase robustness.
2012-04-08 00:02:21 +02:00
Stefano Sabatini
815d8f8841
doc/muxers: add documentation for the md5 and framemd5 muxers
...
Address trac ticket #1153 .
2012-04-07 13:57:40 +02:00
Stefano Sabatini
60e4e430db
doc/muxers: clarify documentation for the framecrc muxer
...
Makes more explicit that framecrc works at the packet level, also prefers
the term "packet" over "frame" when it makes sense.
2012-04-07 13:57:39 +02:00
Stefano Sabatini
fd00662d5a
doc/muxers: update documentation for the framecrc muxer
...
Add mention to the pts and duration log fields, added in
d2afbd9a56 .
Fix trac ticket #1159 .
2012-04-07 13:57:39 +02:00
Stefano Sabatini
32b1022f76
doc/filters: remove reference to removed delogo wrapper
2012-04-07 13:57:39 +02:00
Stefano Sabatini
6cb01c9dba
lavfi/mp: remove remove_logo wrapper
...
removelogo has been ported to libavfilter, and the wrapper was not
working.
2012-04-07 13:57:39 +02:00
Stefano Sabatini
2f83681c79
lavfi: port libmpcodecs remove-logo filter
...
The code is based on the remove-logo filter in MPlayer/libmpcodecs, by
Robert Edele, relicensed to LGPL with consent of the author.
Address trac issue #249 .
2012-04-07 13:57:39 +02:00
Stefano Sabatini
95ce0ddcfe
lavfi/fade: fix black level for non studio-level pixel formats
...
Fix trac ticket #1139 , regression introduced in 8c1fb50d07 .
2012-03-31 15:55:43 +02:00
Stefano Sabatini
99bb88c588
doc/ffmpeg: update and extend documentation for -copytb
...
Address trac ticket #1120 .
2012-03-28 23:39:44 +02:00
Stefano Sabatini
8e0d3c0369
lavfi/ass: add dar option
...
Allow to specify the display aspect ratio adopted for rendering
subtitles.
2012-03-21 15:14:28 +01:00
Stefano Sabatini
c9399538b7
lavfi/ass: use a default DAR value of 1.0
...
Previously it was using the same value of the input video DAR, which is
inconsistent with most implementations.
Fix trac ticket #1098 .
2012-03-21 15:14:28 +01:00
Stefano Sabatini
e71e65ff1d
lavfi/aspect: check for a negative code from av_parse_ratio()
...
Check on < 0 rather than on != 0, this is more correct as a positive
error code from av_parse_ratio() value doesn't mean an error.
2012-03-21 15:14:28 +01:00
Stefano Sabatini
e19ccc89ef
lavfi/aspect: fail with AVERROR(EINVAL) in case of invalid specified aspect
...
Previously it was returning 0 in case the aspect was parsable but
invalid.
X-ColaCount: +10*PHIl
2012-03-19 20:09:22 +01:00
Stefano Sabatini
11642cd16f
lavc/sunrastenc: consider cases with linesize < 0
...
Make sunrast_image_write_image() deal with cases when linesize is < 0.
Fix trac ticket #1077 .
2012-03-19 19:01:40 +01:00
Stefano Sabatini
0ca15aa066
lavc/jpeglsenc: fix allocation in case of negative linesize, and add malloc check
...
Fix crash with negative linesizes, fix trac ticket #1078 .
2012-03-18 21:19:09 +01:00
Stefano Sabatini
fdffaa6b11
lavfi/scale: document behavior with regards to the output sample aspect ratio
...
Also show the input and output sample aspect ratio in the log.
2012-03-18 10:45:04 +01:00
Stefano Sabatini
d9f26a0d71
lavfi/crop: show input and output sample aspect ratio in the log
2012-03-17 12:34:34 +01:00
Stefano Sabatini
0ac38deda7
lavfi/allfilters: fix weird vertical align
2012-03-17 11:33:34 +01:00
Stefano Sabatini
3225bc37a3
lavfi: add bbox filter
...
Also add bbox.h and bbox.c files, based on the remove-logo filter by
Robert Edele. These files are useful for sharing code with the pending
removelogo port.
2012-03-17 11:21:49 +01:00
Stefano Sabatini and Michael Niedermayer
4272dc3ec5
doc: add vf_crop keepaspect documentation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-03-11 17:47:06 +01:00
Stefano Sabatini
aefd1cb725
lavfi: remove swapuv libmpcodecs wrapper
...
The filter has been ported to a native libavfilter filter.
2012-03-10 00:10:44 +01:00
Stefano Sabatini
fa35d880aa
lavfi: port MP swapuv filter
2012-03-10 00:10:37 +01:00
Stefano Sabatini
1a3d4b88a4
imgconvert: add macro pixdesc_has_alpha for checking if a pixel format has an alpha component
...
Reduce redundancy and simplify.
2012-03-10 00:10:09 +01:00
Stefano Sabatini
4ecfb91b85
doc/ffmpeg.texi: apply misc fixes to the -map_channel documentation
2012-03-08 13:30:01 +01:00
Stefano Sabatini
409a3bda07
lavfi: add blackdetect filter
...
Address trac ticket #901 .
2012-03-04 12:31:06 +01:00
Stefano Sabatini
3293b1adca
lavc: set bit_rate in the decoder context, just after the init stage
...
Also move the get_bit_rate() function, in order to avoid an undefined
symbol reference in avcodec_open2().
2012-02-20 17:46:18 +01:00
Stefano Sabatini
4538d66010
lavfi/aspect: set default value to 0:1, as stated in the docs
...
Fix regression introduced in commit 70ffda3217 .
2012-02-18 11:41:53 +01:00
Stefano Sabatini
80715c3b23
lavfi/aspect: remove confusing comments
2012-02-18 11:37:34 +01:00
Stefano Sabatini
360218713f
lavfi/aspect: show log info even in case no argument is provided to setdar/setsar
2012-02-18 11:31:28 +01:00
Stefano Sabatini
7bdefc0f12
lavfi/overlay: add logic for avoiding overlaying frames with PTS > main frame PTS
...
Also add debug logging messages for helping tracking down similar
issues.
Fix trac ticket #467 .
2012-02-17 00:28:35 +01:00
Stefano Sabatini
f89f9bdadd
lavfi/ashowinfo: only print checksum for the existing planes
...
Make the output a bit nicer.
2012-02-14 18:01:57 +01:00
Stefano Sabatini
1e6408a18e
lavfi/showinfo: only print checksum for the existing planes
...
Make the output a bit nicer.
2012-02-14 18:01:50 +01:00
Stefano Sabatini
175ab5f9a9
lavfi/*showinfo: use av_ts2* macros in showinfo and ashowinfo
2012-02-14 18:01:43 +01:00
Stefano Sabatini
5d12b83ff1
ffmpeg.c: implement -debug_ts option
...
Mostly useful for debugging purposes.
2012-02-14 18:01:37 +01:00
Stefano Sabatini
c28e7af70d
lavu: add timestamp.h header with convenience timestamp utilities
2012-02-09 18:37:58 +01:00
Stefano Sabatini
0349d61eef
lavfi/aspect: rename field aspect->aspect to aspect->ratio
...
The new name is more sensible.
2012-02-07 15:49:01 +01:00
Stefano Sabatini
d21b82fd3a
lavc: provide aliases to the PCM A-law/mu-law codecs
...
They are also known as G.711 codecs.
2012-02-07 15:48:33 +01:00
Stefano Sabatini
f491f033f5
ffmpeg: document the unit for the -fs option parameter
2012-02-06 20:47:09 +01:00
Stefano Sabatini
b7d45d0b0f
lavfi: add setfield filter
2012-02-06 20:46:58 +01:00
Stefano Sabatini
e8a06b1486
lavf/4xm: use proper error codes
2012-02-06 20:33:06 +01:00
Stefano Sabatini
2cbe9121ac
doc/filters.texi: use multiple @example blocks for distinct examples in setdar docs
2012-02-06 11:30:54 +01:00
Stefano Sabatini
23534d0c4c
doc/filters.texi: prefer @example over the unsupported @math for showing equation
2012-02-06 11:30:54 +01:00
Stefano Sabatini
3fa9ace3d8
doc/filters.texi: merge setdar and setsar documentation
...
Most of the documentation is common to both filters, and I'm going to add
more shared docs. Factorize.
2012-02-06 11:30:54 +01:00
Stefano Sabatini
70ffda3217
lavu: introduce av_parse_ratio() and use it in ffmpeg and lavfi/aspect
...
Factorize code and provide ratio parsing consistency.
2012-02-06 11:30:54 +01:00
Stefano Sabatini
1ca0812d90
ffprobe: fix typo in ESCAPE_CHECK_SIZE
2012-02-06 11:30:45 +01:00
Stefano Sabatini
a9117c755e
lavfi: fix mp and mandelbrot descriptions to make them complete sentences
...
This is consistent with the other filter descriptions.
2012-01-21 14:40:46 +01:00
Stefano Sabatini
23934e5f41
ffprobe: increase precision for the shown float values
2012-01-20 13:27:57 +01:00
Stefano Sabatini
4601ad769d
ffprobe: fix value_string() prefix printing for values with negative logarithm
...
The index for the binary_unit_prefixes array is expected to be positive,
so avoid to use negative indexes for accessing it.
2012-01-20 13:27:52 +01:00
Stefano Sabatini
eef4b70450
ffprobe: reindent after previous commit
2012-01-20 13:27:46 +01:00
Stefano Sabatini
58b10b4c7e
ffprobe: factorize common code in value_string()
2012-01-20 13:27:41 +01:00
Stefano Sabatini
72092188ef
ffmpeg: remove unused and commented variable OutputStream.sync_ipts
2012-01-20 10:58:00 +01:00
Stefano Sabatini
140a9afcf2
ffprobe: add more safe casts in value_string()
...
Second attempt at fixing ticket #921 .
2012-01-18 00:44:28 +01:00
Stefano Sabatini
2c8d37c2fb
ffprobe: use safer type for index variable in value_string()
...
There is no guarantee that the casted double which is assigned to the
variable will be contained in an int (also if it is almost sure for most
non-alien architectures).
2012-01-18 00:43:55 +01:00
Stefano Sabatini
54661219c1
ffprobe: fix printing of unit values which cannot be contained in an int
...
Use long long int to contain such values instead of an int, which is
required to contain at least 64 bits, so it is guaranteed to contain also
int64_t values, which are used by some fields.
In particular, should fix trac ticket #921 .
2012-01-18 00:01:07 +01:00
Stefano Sabatini
6c06868e61
doc/ffmpeg.texi: specify symbolic names for the vsync parameter
2012-01-17 23:50:47 +01:00
Stefano Sabatini
24860a913c
tools: add ffeval tool
...
The tool is useful for testing the internal arithmetic evaluation engine
(indeed I plan to use it in FATE), and provides a handy calculator when
you can't rely on bc ;-).
2012-01-17 12:10:07 +01:00
Stefano Sabatini
e4e291061c
doc/eval.texi: add precisation about the assumption for "trueness" in conditional expressions
2012-01-17 12:03:30 +01:00
Stefano Sabatini
999495734b
lavu/eval: add if() and ifnot() eval functions
...
They allow to implement the if/then/else logic, which cannot be
implemented otherwise.
For example the expression:
A*B + not(A)*C
always evaluates to NaN if B is NaN, even in the case where A is 0.
2012-01-17 12:03:30 +01:00
Stefano Sabatini
a798c20a76
lavfi/testsrc: add "decimals" option to the testsrc filter
2012-01-17 12:03:30 +01:00
Stefano Sabatini
9f7144b44c
lavc/mpegvideo_enc: improve log message in case of too large GOP
...
Change log level from ERROR to WARNING and provide more specific
information in the message itself.
2012-01-17 12:03:30 +01:00
Stefano Sabatini
bb4c0abc7c
ffplay: mark i variable in toggle_full_screen() as unused
...
Fix gcc warning:
ffplay.c: In function ‘toggle_full_screen’:
ffplay.c:2792:9: warning: unused variable ‘i’ [-Wunused-variable]
2012-01-15 14:51:59 +01:00
Stefano Sabatini
4ee03fef53
lavfi/rgbtestsrc: make alpha plane opaque
2012-01-15 14:49:30 +01:00
Stefano Sabatini
4057505e28
doc/bistream_filters.texi: add documentation for the h264_mp4toannexb filter
2012-01-14 12:36:41 +01:00
Stefano Sabatini and Anton Khirnov
b5c2b5af6a
configure: provide libavfilter/version.h header to get_version()
...
Fix libavfilter library version numbers generation, which was broken in
3167dc9515 .
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2012-01-14 07:44:43 +01:00
Stefano Sabatini
e4fa15d156
configure: provide libavfilter/version.h header to get_version()
...
Fix libavfilter library version numbers generation, which was broken in
3167dc9515 .
2012-01-13 16:28:27 +01:00
Stefano Sabatini
0be8e66174
mpegtsenc: do not reference the deprecated ffmpeg option 'vbsf' in a log message
...
Give a more generic advice.
2012-01-13 15:51:30 +01:00
Stefano Sabatini
7efc6f2932
ffmpeg: clarify error message in case of bitstream filter opening failure
2012-01-13 15:51:24 +01:00
Stefano Sabatini
3fcf841ff5
mpegtsenc: fix some typos: aac -> AAC, adts -> ADTS
2012-01-13 15:51:06 +01:00
Stefano Sabatini
9a7f2aa958
mpegtsenc: use more meaningful error codes
2012-01-13 15:50:54 +01:00
Stefano Sabatini
bb4c18881a
ffprobe: reindent after previous commit
2012-01-12 17:35:17 +01:00
Stefano Sabatini
b25c239c7a
ffprobe: add support to audio frame information printing
2012-01-12 17:34:16 +01:00
Stefano Sabatini
58e1de724d
ffprobe: set AV_LOG_SKIP_REPEATED log flag
...
Consistent with ffmpeg and ffplay.
2012-01-12 17:34:07 +01:00
Stefano Sabatini
4fd1e2e432
ffprobe: fix leak in show_packets()
...
Call av_free_packets() at each demuxing loop iteration, not only when
decoding.
X-ColaCount: +10l
2012-01-12 10:39:24 +01:00
Stefano Sabatini
7328c2fc21
ffprobe: replace av_destruct_packet() with av_free_packet()
...
av_destruct_packet() always frees the packet data even when the demuxer
is going to re-use it, thus causing crashes when decoding audio
frames (as implemented in a pending patch).
av_free_packet() is used instead, as it allows each demuxer to set the
right packet data releasing mechanism through the pkt->destruct callback.
2012-01-12 10:39:24 +01:00
Stefano Sabatini
a8b0ece6e5
lavfi/testsrc: add "d" alias for the duration option
2012-01-12 10:39:24 +01:00
Stefano Sabatini
0cc8864687
ffprobe: use av_toupper() in upcase_string()
2012-01-10 22:49:15 +01:00
Stefano Sabatini
93d49cba7f
ffprobe: add compact option to JSON writer
2012-01-10 18:24:18 +01:00
Stefano Sabatini
5226be0dd5
ffprobe: add -show_program_version and -show_library_versions options
2012-01-10 18:24:07 +01:00
Stefano Sabatini
d3e435164b
ffprobe: make upcase_string() ignore non-ASCII characters
...
This is required as some section names may contain non-ASCII characters
(e.g. '_').
2012-01-10 18:19:31 +01:00
Stefano Sabatini
3b1355bb93
ffprobe: change formatting logic in the JSON writer
...
Print a "\n" at the end of each section, also print the section name in
the section print function, print the chapter name only in case the
chapter contains multiple entries.
Increase textual output readability - different sections can be
distinguished more easily.
2012-01-09 13:41:35 +01:00
Stefano Sabatini
48f37b1d21
ffprobe: implement generic reindent logic in the JSON writer
...
Clarify/generalize indent logic.
2012-01-09 13:36:10 +01:00