summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avconv_qsv: use the device creation APIavconvAnton Khirnov2016-05-30
|
* avconv: pass the hwaccel frames context to the decoderAnton Khirnov2016-05-30
|
* avconv: init filtergraphs only after we have a frame on each inputAnton Khirnov2016-05-30
| | | | | | | | | 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-05-30
| | | | | 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-05-30
| | | | The reasoning is the same as in 563aa6b80bf87712910404d6fb5495a75e40ae86
* avconv: factor out initializing stream parameters for encodingAnton Khirnov2016-05-30
| | | | | | | | | | Setting the filter input parameters is moved to init_input_stream(), so that it is done before the decoder is opened, potentially overwriting the information from avformat_find_stream_info() with less accurate data. This commit temporarily disabled QSV transcoding with hw frames. The functionality will be re-added in the following commits.
* avconv: decouple configuring filtergraphs and setting input parametersAnton Khirnov2016-05-30
| | | | | | | | | | | | 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-05-30
|
* avconv: explicitly postpone writing the header until all streams are initializedAnton Khirnov2016-05-30
| | | | | This should have no practical effect for now, but will make a difference in the following commits.
* avconv: factor out initializing stream parameters for streamcopyAnton Khirnov2016-05-30
|
* avconv: initialize output framerate earlierAnton Khirnov2016-05-30
| | | | This will be needed in the following commits.
* avconv: do not set encoder options when streamcopy is usedAnton Khirnov2016-05-30
|
* avconv: refactor selecting an encoderAnton Khirnov2016-05-30
| | | | | Fail immediately if automatic encoder selection failed. Always set the stream_copy/encoding_needed flags in one place.
* avconv: fix handling attachments in init_output_streamAnton Khirnov2016-05-30
| | | | | | The current code assumes that encoding_needed is simply an inverse of stream_copy, which is not true for manually attached files (for which neither of those is true).
* avconv: create simple filtergraphs earlierAnton Khirnov2016-05-30
| | | | | | 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-05-30
| | | | This makes the code easier to read.
* lavfi: add a QSV scaling filterAnton Khirnov2016-05-30
|
* qsvenc: support getting the session from an AVHWFramesContextAnton Khirnov2016-05-30
|
* qsvdec: support getting the session from an AVHWFramesContextAnton Khirnov2016-05-27
|
* hwcontext: add a QSV implementationAnton Khirnov2016-05-27
|
* qsvdec: move reading the user-provided session to qsv_decode_init()Anton Khirnov2016-05-26
| | | | This is a more appropriate place for it.
* lavc: allow using AVCodecContext.hw_frames_ctx for decodingAnton Khirnov2016-05-26
| | | | | For now it will only be used by the default get_buffer2 callback for allocating hw frames.
* FATE: drop the audio stream from the dxtory testAnton Khirnov2016-05-26
| | | | | This is a video test and there are no audio packets in the sample anyway.
* avconv: fix parsing bitstream filtersAnton Khirnov2016-05-26
| | | | | | 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.
* avconv: fix a check for av_bsf_get_by_name() return valueAnton Khirnov2016-05-26
|
* avconv_vaapi: use the hwcontext device creation APIAnton Khirnov2016-05-26
|
* avconv_dxva2: use the hwcontext device creation APIAnton Khirnov2016-05-26
|
* avconv_vdpau: use the hwcontext device creation APIAnton Khirnov2016-05-26
|
* hwcontext_vaapi: implement device creationAnton Khirnov2016-05-26
|
* hwcontext_dxva2: implement device creationAnton Khirnov2016-05-26
|
* hwcontext_cuda: implement device creationAnton Khirnov2016-05-26
|
* hwcontext_vdpau: implement device creationAnton Khirnov2016-05-26
|
* hwcontext: add a function for opening devicesAnton Khirnov2016-05-26
|
* lavc: handle hw_frames_ctx where necessaryAndrey Turkin2016-05-26
| | | | | | | avcodec_copy_context() didn't handle hw_frames_ctx references correctly which could cause crashes. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* golomb: Give svq3_get_se_golomb()/svq3_get_ue_golomb() better namesDiego Biurrun2016-05-25
|
* fate: More fine-grained dependencies for demuxer testsDiego Biurrun2016-05-25
|
* fate: More fine-grained dependencies for voice codec testsDiego Biurrun2016-05-25
|
* rtsp: Use avcodec_descriptor_get instead of avcodec_find_decoderMartin Storsjö2016-05-25
| | | | | | | This is only used for logging a human readable codec name for debugging. Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: Bump micro version after changing public JPEG 2000 definesDiego Biurrun2016-05-24
|
* jpeg2000: Fix profile define valuesFrancois Cartegnie2016-05-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avfiltergraph: check the query_formats() return valueAnton Khirnov2016-05-23
|
* lavc: document that avcodec_close() should not be usedAnton Khirnov2016-05-23
| | | | | | | We cannot deprecate it until the new parser API is in place, because of the way libavformat works. But the majority of the users can already simply replace it with avcodec_free_context(), which will simplify the transition once it is finally deprecated.
* lavc: deprecate avcodec_get_context_defaults3()Anton Khirnov2016-05-23
| | | | | | | | | This function is supposed to "reset" a codec context to a clean state so that it can be opened again. The only reason it exists is to allow using AVStream.codec as a decoding context (after it was already opened/used/closed by avformat_find_stream_info()). Since that behaviour is now deprecated, there is no reason for this function to exist anymore.
* lavc: deprecate avcodec_copy_context()Anton Khirnov2016-05-23
| | | | | | | | | Since AVCodecContext contains a lot of complex state, copying a codec context is not a well-defined operation. The purpose for which it is typically used (which is well-defined) is copying the stream parameters from one codec context to another. That is now possible with through the AVCodecParameters API. Therefore, there is no reason for avcodec_copy_context() to exist.
* lavf: update muxing doxyAnton Khirnov2016-05-23
| | | | Describe the new AVCodecParameters API.
* mp3: Make the extrasize explicitLuca Barbato2016-05-22
| | | | | | | | | Initialize the bit buffer with the correct size (amount of bits that will be read) instead of relying on the bitstream reader overreading the correct values. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* get_bits: Drop some TRACE-level debug codeDiego Biurrun2016-05-22
| | | | It will not be provided by the new bit reader anyway.
* dump: Drop unused variableDiego Biurrun2016-05-22
|
* avconv: Use more precise deprecation ifdefsDiego Biurrun2016-05-22
| | | | This fixes compilation with the libavcodec version bumped to 58.
* 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>