| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This makes sure the actual stream parameters are used, which is
important mainly for hardware decoding+filtering cases, which would
previously require various weird workarounds to handle the fact that a
fake software graph has to be constructed, but never used.
This should also improve behaviour in rare cases where
avformat_find_stream_info() does not provide accurate information.
|
|
|
|
|
|
|
|
|
|
| |
Currently, a filtergraph will pull in the output constraints from its
corresponding decoder context, which breaks proper layering. Instead,
explicitly send the constaints on the output parameters to the
filtergraph.
This is similar to what is done for filtergraph inputs in
30ab4c51a180610d9f1720c75518d763515c0d9f
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, calling configure_filtergraph() will pull in the input
parameters from the corresponding decoder context. This has the
following disadvantages:
- the decoded frame is a more proper source for this information
- a filter accessing decoder data breaks proper layering
Add functions for explicitly sending the input stream parameters to a
filtergraph input - currently from a frame and a decoder. The decoder
one will be dropped in future commits after some more restructuring.
|
| |
|
|
|
|
| |
This will be needed in the following commits.
|
|
|
|
|
| |
Fail immediately if automatic encoder selection failed. Always set the
stream_copy/encoding_needed flags in one place.
|
|
|
|
|
|
| |
We already have all the necessary information in open_output_file().
This makes the information about the stream/filtergraph mappings
available earlier.
|
|
|
|
|
|
| |
The current code modifies the user-supplied string, which is shared for
the whole output file. So a bitstream filter specification applied to
multiple streams would not work correctly.
|
| |
|
|
|
|
| |
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
| |
|
|
|
|
|
| |
The switch is not yet complete because the parsers and the bistream
filters do not have a new AVCodecParam-based API yet.
|
|
|
|
| |
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
| |
|
|
|
|
|
|
| |
This reverts commit 7bb1c1bfd22de2200743af04ebd0c7c775f56f7e.
A long existing version in the form of avconv -h decoder=h264 already
existed, and this just duplicates it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an allowed parameter to -h and --help avconv option to print private
options from a codec, format, or filter, named with the provided input
value.
In case multiple classes are found (eg. mov demuxer and mov muxer, or
h264 decoder and h264 demuxer) print all options from all classes.
It is possible to select the type of class to print by adding it
before the name (eg. demuxer:mov and muxer:mov, or decoder:h264and
demuxer:h264).
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
| |
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
| |
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
| |
Convert doxygen to multiline and express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Since global options are processed before all the other options now, we
do not have to try creating the complex filtergraphs several times
anymore, it is enough to do it once after the input files are opened.
|
|
|
|
|
| |
It is a better place for it, there is no reason to wait until
transcode_init().
|
|
|
|
|
| |
Also, drop the now unused cmdutils_read_file(). There is no reason to
have two functions doing essentially the same thing.
|
|
|
|
| |
It more logically belongs there.
|
|
|
|
| |
This will be useful in the following commits.
|
|
|
|
| |
Reported-By: infer
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
CC: libav-stable@libav.org
Bug-Id: CID 1265719
|
| |
|
|
|
|
|
|
|
|
|
| |
Introduced in aed790070486b1b01b48106310d9d0ca1730e459
Bug-Id: debian/773055
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
CC: libav-stable@libav.org
|
|
|
|
|
|
| |
The mpegenc private option values are in 50-byte units.
CC: libav-stable@libav.org
|
|
|
|
| |
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
|
| |
This avoids a segfault in avconv_opt.c:opt_target when trying to
determine the norm.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
| |
This makes it more clear what is this variable for exactly.
|
|
|
|
| |
This makes it more clear what is this variable for exactly.
|
|
|
|
|
|
|
| |
Move the dxva check after the dependencies have been detected, make sure
the ole32 library exists.
Fixes build on non-Windows.
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
avio_open2() only return < 0 when error.
|
| |
|
|
|
|
|
| |
Fixes an assertion failure in vdpau_get_buffer() when -hwaccel auto is
used, but hwaccel init fails.
|
| |
|
| |
|
|
|
|
|
|
| |
Quite useful for debugging.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
| |
It limits the duration of the data read from a given input.
|