summaryrefslogtreecommitdiff
path: root/avconv.h
Commit message (Collapse)AuthorAge
* avconv: stop using setpts for input framerate forced with -rAnton Khirnov2016-07-22
| | | | | The setpts filter does not signal to the rest of the filtergraph that the stream is CFR. Just generate the timestamps manually instead.
* avconv: restructure sending EOF to filtersAnton Khirnov2016-06-28
| | | | | | | | | | | Be more careful when an input stream encounters EOF when its filtergraph has not been configured yet. The current code would immediately mark the corresponding output streams as finished, while there may still be buffered frames waiting for frames to appear on other filtergraph inputs. This should fix the random FATE failures for complex filtergraph tests after a3a0230a9870b9018dc7415ae5872784d524cfe5
* avconv: init filtergraphs only after we have a frame on each inputAnton Khirnov2016-06-25
| | | | | | | | | 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.
* avconv: do packet ts rescaling in write_packet()Anton Khirnov2016-06-25
| | | | | This will be useful in the following commit, after which the muxer timebase is not always available when encoding.
* avconv: decouple configuring filtergraphs and setting output parametersAnton Khirnov2016-06-25
| | | | | | | | | | 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
* avconv: decouple configuring filtergraphs and setting input parametersAnton Khirnov2016-06-25
| | | | | | | | | | | | 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.
* avconv: buffer the packets written while the muxer is not initializedAnton Khirnov2016-06-25
|
* avconv: explicitly postpone writing the header until all streams are initializedAnton Khirnov2016-06-25
| | | | | This should have no practical effect for now, but will make a difference in the following commits.
* avconv: create simple filtergraphs earlierAnton Khirnov2016-06-21
| | | | | | We already have all the necessary information in open_output_file(). This makes the information about the stream/filtergraph mappings available earlier.
* avconv: add a function for determining whether a filtergraph is simpleAnton Khirnov2016-06-21
| | | | This makes the code easier to read.
* avconv: stop using AVStream.codecAnton Khirnov2016-05-22
| | | | | | | | It is now only used by the av_parser_change() call during streamcopy, so allocate a special AVCodecContext instance for this case. This instance should go away when the new parser API is finished. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avconv: VAAPI hwcontext initialisation and hwaccel helperMark Thompson2016-03-30
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: switch to the new BSF APIAnton Khirnov2016-03-20
|
* avconv: remove sub-frame warningwm42016-03-05
| | | | | | It's not practical to keep this with the new decode API. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: add support for Intel QSV-accelerated transcodingAnton Khirnov2015-10-16
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avconv: Add loop option.Alexandra Hájková2015-10-13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add a quality factor packet side dataVittorio Giovara2015-07-20
| | | | | | | | This is necessary to preserve the quality information currently exported with coded_frame. Add the new side data to every encoder that needs it, and use it in avconv. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avconv: split creating and (re-)configuring complex filtergraphsAnton Khirnov2015-07-19
| | | | | | | 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.
* avconv: Add an option for automatically rotating video according to display ↵Martin Storsjö2015-05-02
| | | | | | | | | | | 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>
* avconv: do not use the stream codec context for encodingAnton Khirnov2014-06-01
|
* avconv: do not use the stream codec context for decodingAnton Khirnov2014-06-01
|
* avconv: Support VDA hwaccelAnton Khirnov2014-05-11
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avconv: rename OutputStream.opts to OutputStream.encoder_optsAnton Khirnov2014-05-03
| | | | This makes it more clear what is this variable for exactly.
* avconv: rename InputStream.opts to InputStream.decoder_optsAnton Khirnov2014-05-03
| | | | This makes it more clear what is this variable for exactly.
* avconv: add support for DXVA2 decodingHendrik Leppkes2014-04-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: print verbose per-stream transcoding statisticsAnton Khirnov2014-03-24
|
* avconv: rewrite output data size trackingAnton Khirnov2014-03-24
| | | | | | Store a variable per OutputStream instead of globals for audio/video/extradata. This makes the code simpler and cleaner and fixes 2pass with multiple output streams.
* avconv: add stream-global side data to the first demuxed packetAnton Khirnov2014-03-24
|
* avconv: remove a write-only variableAnton Khirnov2014-02-24
|
* avconv: add support for VDPAU decodingAnton Khirnov2013-11-23
|
* avconv: add infrastructure for using hwaccelsAnton Khirnov2013-11-23
|
* avconv: stop accessing AVStream.parserAnton Khirnov2013-10-29
| | | | It is private and must not be touched from outside of lavf.
* avplay: Accept cpuflags optionLuca Barbato2013-10-22
| | | | | | Quite useful for debugging. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avconv: support -t as an input option.Anton Khirnov2013-08-05
| | | | It limits the duration of the data read from a given input.
* avconv: make input -ss accurate when transcodingAnton Khirnov2013-08-05
| | | | | Insert (a)trim filters on the corresponding inputs, so the extra frames are decoded and discarded.
* avconv: do not send non-monotonous DTS to the muxers.Anton Khirnov2013-05-03
| | | | | Hack partially based on a commit by Michael Niedermayer <michaelni@gmx.at> Should fix (or work around) bug 458.
* lavfi: merge avfiltergraph.h into avfilter.hAnton Khirnov2013-04-11
| | | | | We do not support using filters without AVFilterGraph in practice anyway, so there is no point in pretending we do.
* avconv: add options for reading filtergraphs from a file.Anton Khirnov2013-03-28
|
* avconv: convert to new refcounted AVFrame APIAnton Khirnov2013-03-08
|
* avconv: pass libavresample options to AVFilterGraphJustin Ruggles2013-02-23
|
* avconv: use new options parser.Anton Khirnov2012-12-18
|
* De-doxygenize some top-level filesDiego Biurrun2012-10-12
|
* avconv: remove -same_quantAnton Khirnov2012-10-09
| | | | | | | It has not worked for anything other than fringe codecs (asv1/2, mdec, mjpeg[b]) since about 2003 and nobody ever noticed or complained. This sufficiently proves that there are no users of this option who have a clue of what they are doing, so it is completely useless.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* avtools: remove the distinction between func_arg and func2_arg.Anton Khirnov2012-08-30
| | | | | | func2_arg is the same as func_arg, except it has one additional parameter. Change all func_arg callbacks to take that parameter (and ignore it).
* avconv: make the -passlogfile option per-stream.Anton Khirnov2012-08-30
|
* avconv: make the -pass option per-stream.Anton Khirnov2012-08-30
|
* avconv: make -shortest a per-output file option.Anton Khirnov2012-08-18
|
* avconv: rename OutputStream.is_past_recording_time to finished.Anton Khirnov2012-08-08
| | | | | The new name is shorter and more accurate, since this variable is no longer used only for checking recording time constraint.
* avconv: replace no_packet array in transcode() with a var in InputStreamAnton Khirnov2012-08-08
| | | | | This simplifies splitting code for reading from input out of transcode().