Vittorio Giovara
18adc1fd3b
avconv_filter: Use full named options
...
This introduces a slight timebase computation difference in zmbv-8bit
fate test. This is expected since the new options are double instead
of ints, and the additional precision skews the results in a non
meaningful way.
9 years ago
Anton Khirnov
6d592fbd0d
avconv: split creating and (re-)configuring complex filtergraphs
...
The current code is less than straightforward due to the fact that
output streams can be created based on filtergraph definitions. This
change should make the code simpler and more readable. It will also be
useful in the future commits.
9 years ago
Martin Storsjö
16302246b1
avconv: Add an option for automatically rotating video according to display matrix
...
The option is enabled by default, but can be disabled.
If this is enabled, such side data isn't copied into the output stream
(except when doing stream copy).
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years ago
Vittorio Giovara
c802a2e718
avconv: fix leak in filter error
...
CC: libav-stable@libav.org
Bug-Id: CID 1005311
10 years ago
Anton Khirnov
383136264e
avconv: do not use the stream codec context for encoding
11 years ago
Anton Khirnov
41776ba9c0
avconv: do not use the stream codec context for decoding
11 years ago
Diego Biurrun
8f8bc92365
Add missing #includes for *INT64_MAX and *INT64_C
11 years ago
Anton Khirnov
07fd0a2219
avconv: add infrastructure for using hwaccels
11 years ago
Vittorio Giovara
d28fc7b29a
avconv_filter: add new line after error message
11 years ago
Anton Khirnov
488a0fa689
avconv: support -t as an input option.
...
It limits the duration of the data read from a given input.
11 years ago
Anton Khirnov
811bd07846
avconv: make input -ss accurate when transcoding
...
Insert (a)trim filters on the corresponding inputs, so the extra frames
are decoded and discarded.
11 years ago
Anton Khirnov
56ee3f9de7
avconv: distinguish between -ss 0 and -ss not being used
...
Using -ss 0 to drop frames with negative timestamps is a perfectly valid
use case.
11 years ago
Anton Khirnov
2e661f26f8
avconv: insert extra filters in the same way for both graph inputs and outputs
...
This will allow using the same code when one filter can be inserted both
on input and output.
11 years ago
Anton Khirnov
06cd4c5a68
avconv: fix usage of deprecated lavfi API
11 years ago
Anton Khirnov
51fc88e746
avconv: improve some variable names
...
'filter' is too generic, since the functions in question deal with
several filters.
Also add const qualifiers to those variables.
11 years ago
Luca Barbato
72fbc9685c
avconv: use current syntax for the scale filter
12 years ago
Anton Khirnov
8cd472d3f9
avconv: make output -ss insert trim/atrim filters.
...
This makes output -ss sample-accurate for audio and will allow further
simplication in the future.
12 years ago
Anton Khirnov
a83c0da539
avconv: make -t insert trim/atrim filters.
...
This makes -t sample-accurate for audio and will allow further
simplication in the future.
Most of the FATE changes are due to audio now being sample accurate. In
some cases a video frame was incorrectly passed with the old code, while
its was over the limit.
12 years ago
Anton Khirnov
bee2d75b66
avconv: update to the new options syntax.
...
The separators were changed from ',' to '|' in all the filters.
12 years ago
Anton Khirnov
38f0c0781a
lavfi: merge avfiltergraph.h into avfilter.h
...
We do not support using filters without AVFilterGraph in practice
anyway, so there is no point in pretending we do.
12 years ago
Martin Storsjö
e760e1d408
avconv: Make sure the encoder exists before inspecting supported_list
...
This fixes crashes when there is no encoder for the default codec of
selected format.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Justin Ruggles
d925cca95f
avconv: remove an unused variable
12 years ago
Justin Ruggles
5c7db097eb
avconv: pass libavresample options to AVFilterGraph
12 years ago
Anton Khirnov
10bca66101
cmdutils: add a macro to simplify grow_array() calls.
12 years ago
Justin Ruggles
9a71d362a6
avconv: deprecate the -vol option
...
Remove the code for volume scaling in avconv.c and instead auto-insert a
volume filter into the beginning of the filter chain.
12 years ago
Justin Ruggles
95682d8cd2
avconv: fix variable shadowing in configure_input_audio_filter()
12 years ago
Justin Ruggles
a903f8f087
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
...
Also reorder some other #include when applicable.
12 years ago
Diego Biurrun
c1ef30a6ba
De-doxygenize some top-level files
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Diego Elio Pettenò
5e3f9979fa
Use atexit() instead of defining a custom exit_program() interface.
12 years ago
Anton Khirnov
58dee6e62d
avconv: don't pass a bogus parameter to avfilter_graph_create_filter().
...
The buffer sink does not take any parameters.
Fixes an uninitialized variable warning.
12 years ago
Anton Khirnov
a3ad68d36c
cmdutils: extend -h to allow printing codec details.
12 years ago
Anton Khirnov
fe2147e936
avconv: split configuring filter configuration to a separate file.
12 years ago