Stefano Sabatini
e62fca11a8
lavfi/amerge: drop duplicated "Buffer queue overflow" message
...
The same message is shown already by the called function
ff_bufqueue_is_full().
2013-04-10 18:02:00 +02:00
Stefano Sabatini
270217908b
ffmpeg: update error message, and make use of av_err2str() to simplify
2013-04-10 18:02:00 +02:00
Stefano Sabatini
d2752ef061
lavfi/overlay: add process_command callback
2013-04-10 13:11:27 +02:00
Stefano Sabatini
006e20bd36
lavfi/overlay: add enable expression
...
This expression is useful to enable/disable overlaying on the fly.
Note that this can't be easily done relying on the filtergraph structure,
since this implies caching issues or a null frame overlaying in the best
case, which is better avoided for performance and convenience reasons.
2013-04-10 13:11:27 +02:00
Stefano Sabatini
cc3edd99a6
lavfi/overlay: add dynamic expression evaluation support
...
Add support for dynamic x, y expressions evaluation.
Also add support for an evaluation mode which allows to disable per-frame
evaluation, so that there is no speedloss in case the expression does not
depend on frame variables.
2013-04-10 13:11:27 +02:00
Stefano Sabatini
8afcaaeb75
lavu/eval: rename "new_eval_expr()" to "make_eval_expr()"
...
The new name is more semantically and stilistically consistent.
2013-04-10 13:11:27 +02:00
Stefano Sabatini
7775992c65
doc/filters: fix main/over mismatch in movie examples
...
Found-By: littlebat <dashing.meng@gmail.com >
2013-04-06 00:54:46 +02:00
Stefano Sabatini
029cca6fb3
doc/filters: clarify example explanation
2013-04-05 12:47:10 +02:00
Stefano Sabatini
89d581f15e
doc/filters: fix old broken syntax of color source in overlay example
...
Found-By: littlebat <dashing.meng@gmail.com >
2013-04-05 12:47:10 +02:00
Stefano Sabatini
495ed19b5b
cmdutils: remove error message from opt_default() in case of missing option
...
A similar error message is generated by the calling function, avoid
duplication and spurious error message occurring with negated boolean
options introduced in 8bb5680 , which can be reproduced for example with
the command:
ffmpeg -f lavfi -i testsrc=d=0.1 -nostdin -f null -
2013-04-05 10:48:32 +02:00
Stefano Sabatini
9b4d9d8795
doc: enable compilation of -all tool pages
...
In particular, add documentation configuration system, through the
doc/config.texi file.
Fix trac issue #2374 .
2013-04-05 10:11:57 +02:00
Stefano Sabatini
702e743827
doc: move ffmpeg-scaler.texi content to separated file
...
This should simplify inclusion in monolithic tool manuals.
2013-04-05 10:11:57 +02:00
Stefano Sabatini
a6cd26fc93
doc: move ffmpeg-resampler.texi content to separated file
...
This should simplify inclusion in monolithic tool manuals.
2013-04-05 10:11:57 +02:00
Stefano Sabatini
a7990287aa
doc: move ffmpeg-devices.texi content to separated file
...
This should simplify inclusion in monolithic tool manuals.
2013-04-05 10:11:57 +02:00
Stefano Sabatini
2086c7e173
doc: move ffmpeg-formats.texi content to separated file
...
This should simplify inclusion in monolithic tool manuals.
2013-04-05 10:11:57 +02:00
Stefano Sabatini
d5f3a0c221
doc: move ffmpeg-codecs.texi content to separated file
...
This should simplify inclusion in monolithic tool manuals.
2013-04-05 10:11:57 +02:00
Stefano Sabatini
c430eb2d58
doc/filters: fix erroneously truncated comment on a scale example
2013-04-05 01:18:06 +02:00
Stefano Sabatini
e80bc76e9e
doc/filters: put separated geq variables in separate lines
...
Make clear that they are not aliases for the same variable.
2013-04-05 01:18:06 +02:00
Stefano Sabatini
d344b99954
doc/ffprobe: fix references in See Also section
2013-04-04 10:13:30 +02:00
Stefano Sabatini
36babfdc39
doc/fate.texi: fix typo
2013-04-03 21:07:15 +02:00
Stefano Sabatini
064acc9743
lavu/opencl: use consistent inclusion header guard name
2013-04-01 23:54:29 +02:00
Stefano Sabatini
57d77b3963
lavu/opencl: apply misc cosmetics fixes
...
Split long lines, reindent code, add missing spaces between operators,
remove possibly confusing comment from av_opencl_buffer_read_image()
doxy, and use designated initializers for openclutils_class.
2013-04-01 23:54:21 +02:00
Stefano Sabatini
66c92a1575
examples/resampling_audio: make use of av_samples_alloc_array_and_samples()
...
Simplify.
2013-03-31 18:00:45 +02:00
Stefano Sabatini
5c73645d91
lavu/samplefmt: add av_samples_alloc_array_and_pointers()
2013-03-31 18:00:44 +02:00
Stefano Sabatini
39aad43465
lavfi/overlay: fix debug PTS output in try_filter_frame()
...
The PTS of the input frames must be interpreted according to the input
timebase, which is not the same as the output timebase.
2013-03-31 18:00:44 +02:00
Stefano Sabatini
c838701ce4
doc/texi2pod.pl: skip printing chapter names if they are disabled
2013-03-30 16:58:45 +01:00
Stefano Sabatini
37fce84e27
lavc/libtheoraenc: clarify comment about global_quality to quality conversion
2013-03-30 16:58:40 +01:00
Stefano Sabatini
3b811bcf67
lavfi/colormatrix: reword error message in init
...
Change:
"source and destination color space are identical"
which is a true fact, but doesn't tell nothing about what's wrong, to:
"Source and destination color space must not be identical"
which tells more explicitly what the problem is.
2013-03-24 20:21:35 +01:00
Stefano Sabatini
1b140835b6
lavfi/colormatrix: add support for named options
2013-03-24 20:21:20 +01:00
Stefano Sabatini
a42d15a3a0
lavfi/anullsrc: add missing checks
2013-03-23 16:53:25 +01:00
Stefano Sabatini
4e8062c2d7
lavfi/anullsrc: remove extra parentheses
2013-03-23 16:53:19 +01:00
Stefano Sabatini
fe2cfd50f0
lavfi/anullsrc: simplify logging code in config_props
2013-03-23 16:53:13 +01:00
Stefano Sabatini
5373a2a221
lavfi/anullsrc: fix format negotiation
...
Samplerate and channel layouts must be set in query_formats.
2013-03-23 16:53:08 +01:00
Stefano Sabatini
33b0549867
lavc/utils: add VP6F hack for setting correct video size in stream
...
For some obscure reasons avcodec_set_dimensions() resets the width/height
so that the resulting value set in the stream is equal to the
corresponding coded_width/height, which is not the same as the correct
width/height in case of the H.264 and VP6F codecs.
This adds a codec-specific hack for VP6F which disables the call to
avcodec_set_dimensions() in avcodec_open2(), like it is done with H264. A
proper fix needs to be found yet.
Fix trac ticket #1386 .
Based on a patch by Michael Niedermayer.
Trolled-By: Daemon404
See thread:
Subject: [FFmpeg-devel] [PATCH] ffprobe: Stash and use width and height before opening the codec
Date: Fri, 1 Mar 2013 10:41:34 -0500
2013-03-19 23:28:08 +01:00
Stefano Sabatini
e292d75113
ffprobe: set writer context to 0 after allocation
...
Avoid access to uninitialized values, which may result in a crash.
This happens for example in case of option parsing failure, since in that
case the internal AVBprint buffers are not initialized.
2013-03-19 18:00:34 +01:00
Stefano Sabatini
18f43de964
doc/ffmpeg,ffmpeg-formats: avoid to mention ffmpeg options from formats.texi
...
Also extends documentation for timestamp related ffmpeg options, in order
to make more apparent the fact that muxer processing may change the
timestamps values.
2013-03-19 17:31:16 +01:00
Stefano Sabatini
2bac6b6f5e
doc/ffmpeg-formats: reword and extend documentation for avoid_negative_ts option
...
Hopefully increase readability.
2013-03-19 17:31:16 +01:00
Stefano Sabatini
608bccf470
lavf/avformat.h: fix a few typos in AVFormatContext:avoid_negative_ts doxy
2013-03-19 17:31:16 +01:00
Stefano Sabatini
5787a71637
lavfi/swapuv: remove deprecated base field use
2013-03-17 13:06:01 +01:00
Stefano Sabatini
5fe542d7e1
ffplay: remove options skiploop, skipidct, skipframe
...
The corresponding codec options (skip_loop, skip_idct, skip_frame) can be
set in a more flexible way.
This technically causes a user interface break, but since the options
were not even documented and we just released a major version that should
not be a serious issue.
2013-03-17 13:05:44 +01:00
Stefano Sabatini
f7d1a18c90
ffplay: remove unused variable "codec"
...
Fix warning:
ffplay.c: In function ‘video_thread’:
ffplay.c:1890:21: warning: unused variable ‘codec’ [-Wunused-variable]
2013-03-17 13:05:44 +01:00
Stefano Sabatini
be5c5c399b
tests/filter-metadata-scenedetect: update reference
...
Fix reference after f7ab23b0d0 .
+10l to me, this time aliens are not involved.
2013-03-17 02:04:45 +01:00
Stefano Sabatini
72a1257b5b
tests/eval: fix reference after b2098d2417
...
+10l to me, I blame the aliens.
2013-03-17 02:04:45 +01:00
Stefano Sabatini
f7ab23b0d0
ffprobe: remove deprecated frame "reference" field
2013-03-17 00:27:48 +01:00
Stefano Sabatini
db36ea5b5e
lavfi/settb: add support for named options
2013-03-17 00:27:33 +01:00
Stefano Sabatini
0407a79e41
lavfi/blackframe: add support for named options
2013-03-17 00:27:08 +01:00
Stefano Sabatini
356922e237
doc/filters: add bit-slicing example in lutyuv docs
2013-03-17 00:26:31 +01:00
Stefano Sabatini
b2098d2417
lavu/eval: add bitor and bitand functions
...
Warning note suggested by Reimar.
2013-03-17 00:22:47 +01:00
Stefano Sabatini
9bb25dbd13
examples/filtering_*: constify AVFrame * for print_frame() and display_frame() functions
2013-03-14 21:39:15 +01:00
Stefano Sabatini
9076a6a943
examples/filtering_audio: update to new API
...
In particular, fix crash.
2013-03-14 21:39:09 +01:00
Stefano Sabatini
f0da370a52
examples/filtering_video: update to new API
...
In particular, fix crash.
2013-03-14 21:39:01 +01:00
Stefano Sabatini
ae732640ab
lavfi/cropdetect: add support for named options
2013-03-13 20:38:54 +01:00
Stefano Sabatini
aeac1dae29
lavfi/fieldorder: add support to named options
2013-03-13 00:37:13 +01:00
Stefano Sabatini
a3233e9d7a
lavfi/fieldorder: remove unused headers and commented define
2013-03-13 00:34:51 +01:00
Stefano Sabatini
92ca292766
lavc: extend documentation for skip_idct, skip_loop_filter, skip_frame options
2013-03-13 00:34:42 +01:00
Stefano Sabatini
1019cef329
ffprobe: support codec options
...
Make ffprobe honour codec options, and support stream specifiers like it
is done in ffplay.
In particular, address Trac ticket #1859 .
2013-03-13 00:34:36 +01:00
Stefano Sabatini
8bb5680d90
cmdutils: improve feedback in case of not found option
2013-03-13 00:34:29 +01:00
Stefano Sabatini
35135a3989
lavfi/smartblur: add support to named options
2013-03-10 16:38:45 +01:00
Stefano Sabatini
f185a040b0
doc/ffplay,ffmpeg: mention the corresponding negated option for -stats
...
This helps lazy users who didn't read the part about boolean options, in
case they grep for "-nostats".
-stdin and -stats are the only booleans option enabled by default. This
is a partial fix for Trac ticket #2332 , a complete overhaul of boolean
options documentation is probably overkill.
2013-03-10 13:22:59 +01:00
Stefano Sabatini
a2a848406f
cmdutils: clarify log message, in case of option routed to both codec and mux/demux layer
2013-03-10 13:22:59 +01:00
Stefano Sabatini
63edd2f989
cmdutils: remove duplicated check on CONFIG_POSTPROC
...
The check is already performed by the PRINT_LIB_INFO macro.
2013-03-10 13:22:59 +01:00
Stefano Sabatini
475c090af2
cmdutils: make print_all_libs_info() show libavresample version
...
Even if not directly supported by FFmpeg, it is still useful to see the
linked version of libavresample.
2013-03-10 13:22:59 +01:00
Stefano Sabatini
daf6ea5d4e
cmdutils: fix stylenits
2013-03-10 13:22:59 +01:00
Stefano Sabatini
606efe18be
lavfi/unsharp: add missing option flags
2013-03-10 13:22:58 +01:00
Stefano Sabatini
dae76e8c47
lavc/utils: fix typo and reword message in case of too low bitrate
2013-03-10 13:22:58 +01:00
Stefano Sabatini
70762508ec
lavc: Prettify printing of codec tags containing non alphanumeric characters
...
Make av_get_codec_tag_string() show codec tag string characters in a more
intelligible ways. For example the ascii char "@" is used as a number, so
should be displayed like "[64]" rather than as a printable character.
Apart alphanumeric chars, only the characters ' ' and '.' are used
literally in codec tags, all the other characters represent numbers.
This also avoids relying on locale-dependent character class functions.
Signed-off-by: Martin Storsjö <martin@martin.st >
2013-03-07 08:50:29 +02:00
Stefano Sabatini
d95143ec82
lavf/segment: add support to ffconcat segment list
2013-03-07 01:44:59 +01:00
Stefano Sabatini
9167db3829
doc/texi2pod: fix @ref substitution rule, disallow "}" within the fields
...
Fix potential spurious substitution.
2013-03-07 01:44:59 +01:00
Stefano Sabatini
9767ec6b86
lavu: add escape API
...
The escape API will be useful to perform escaping programmatically, which
is required when crafting argument strings, and will be used for context
printing as well.
This is based on the ffescape tool code, with a few extensions and fixes.
2013-03-07 01:12:04 +01:00
Stefano Sabatini
8d9509377e
lavfi/overlay: improve log message warning in case of clipped overlay
2013-03-05 20:09:50 +01:00
Stefano Sabatini
f164228fd7
lavfi/overlay: add support for partial overlaying
...
Partially rework the iteration logic, in order to limit iteration only
for the clipped overlay region.
2013-03-05 20:09:21 +01:00
Stefano Sabatini
ad48556135
lavu/eval: add native support to lte and lt functions
2013-03-05 15:15:45 +01:00
Stefano Sabatini
b1a2684936
lavu/opt: fix weird align
2013-03-05 13:20:14 +01:00
Stefano Sabatini
7b9a3df5d7
lavu/opt-test: do not explicitly set default value in test_ctx
...
Let av_opt_set_defaults() set the value, which is simpler and more
idiomatic.
2013-03-05 13:20:14 +01:00
Stefano Sabatini
aba18c5af9
tests: add overlay rgb and yuv444 tests
...
Also rename overlay test to overlay_yuv420 accordingly.
2013-03-05 13:20:13 +01:00
Stefano Sabatini
6cc12353a8
lavf/concatdec: define "ffcat" and "ffconcat" extensions
2013-02-28 00:16:33 +01:00
Stefano Sabatini
394130efe3
ffplay: reindent and remove pointless cast in audio_decode_frame() code
2013-02-24 23:29:42 +01:00
Stefano Sabatini
a3fa27e366
ffplay: set type for channel_layout AudioParams field to int64_t
...
Reflect the type of the corresponding field in lavc/lavfi.
2013-02-24 23:26:43 +01:00
Stefano Sabatini
566560b85c
lavfi/abuffersink: fix weird indent and spacing
2013-02-24 23:22:23 +01:00
Stefano Sabatini
b59cd089ff
lavfi/abuffersink: add sample_rates field to AVABufferSinkParams
...
Allow to select sample rates.
2013-02-24 23:21:28 +01:00
Stefano Sabatini
5085b46496
lavc: change type of AVFrame.channels field from int64_t to int
...
"channels" is an int in all the other places in the libraries, and the
av_frame_*_channels() accessors return and set an int, so this should not
implicate ABI breaks.
2013-02-24 23:14:46 +01:00
Stefano Sabatini
e95637841c
tests: fix parseutils test after 12a269a522
...
"12:34" is now valid syntax.
2013-02-23 00:18:34 +01:00
Stefano Sabatini
160def32da
doc/muxers: fix reference to @anchor defined in another manual
...
In particular, fix warnings:
*** Undefined node `quoting_and_escaping' in @ref (in doc/muxers.texi l. 767)
*** Undefined node `quoting_and_escaping' in @ref (in doc/muxers.texi l. 772)
2013-02-22 23:48:55 +01:00
Stefano Sabatini
ce84c14ab1
lavu/parseutils: remove spurious "]]" in date format specification
2013-02-22 23:45:31 +01:00
Stefano Sabatini
8902f5b89c
doc/filters: apply minor spacing fixes to boxblur docs
2013-02-22 19:57:54 +01:00
Stefano Sabatini
f30979e095
lavfi/boxblur: add support to named options
2013-02-22 19:57:20 +01:00
Stefano Sabatini
22b06103f0
lavfi/overlay: add format option
...
In particular, fix misbehavior in case main and overlay input formats
mismatch (e.g. YUV420 and YUV444).
2013-02-20 19:39:40 +01:00
Stefano Sabatini
2db0056f96
lavfi/overlay: apply minor consistency fixes
2013-02-20 19:18:17 +01:00
Stefano Sabatini
3d77a27548
lavfi/overlay: implement shortest option
...
Force termination when the overlay stream ends. Simplify scripting logic,
for example when an infinite source is used to generate a background for
a composite video.
2013-02-20 19:17:11 +01:00
Stefano Sabatini
7f07c61c2f
doc/filters: rework introductory description for decimate
...
In particular, dedicate first paragraph to deliver a short description of
the filter.
2013-02-20 19:11:19 +01:00
Stefano Sabatini
a2a1e20fa2
lavfi/decimate: use named options
2013-02-20 19:07:48 +01:00
Stefano Sabatini
49c8fe304f
doc/filters: apply misc fixes to drawbox documentation
2013-02-20 19:01:48 +01:00
Stefano Sabatini
271f411267
lavf/matroskaenc: avoid assert failure in case of cuepoints with duplicated PTS
...
Avoid to write more than one cuepoint per track and PTS in
mkv_write_cues(). This avoids a later assertion failure on "(bytes >=
needed_bytes)" in put_ebml_num() called from end_ebml_master(), in case
there are several cuepoints per track with the same PTS.
This may happen with files containing packets with duplicated PTS in the
same track.
2013-02-20 12:01:21 +01:00
Stefano Sabatini
dd37326345
lavfi/hue: reindent after previous commit
2013-02-20 11:29:12 +01:00
Stefano Sabatini
d709a18ac2
lavfi/hue: simplify parsing by making use of option shorthands
2013-02-20 11:28:59 +01:00
Stefano Sabatini
894ed8fbb7
tests: fix values for the unsharp test
...
Set odd size for unsharp matrices, even values are not accepted.
2013-02-17 13:29:46 +01:00
Stefano Sabatini
7ca2f8b113
lavfi/mp: drop mp=kerndeint filter
...
The filter has been natively integrated into libavfilter.
2013-02-17 11:48:45 +01:00
Stefano Sabatini
8c85a9f046
lavfi/mp: drop mp=unsharp filter
...
The native filter is equivalent from the point of view of the features
and of performances.
2013-02-17 11:48:37 +01:00
Stefano Sabatini
89505f2c3f
lavfi/unsharp: add missing NULL check
2013-02-17 11:48:31 +01:00
Stefano Sabatini
64e592eef2
lavfi/unsharp: merge definition and declaration in init_filter_param()
2013-02-17 11:48:24 +01:00