Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lavc: Consistently prefix input buffer defines | Vittorio Giovara | 2015-07-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | lavc: AV-prefix all codec capabilities | Vittorio Giovara | 2015-07-27 | 1 | -3/+3 |
| | | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | lavc: AV-prefix all codec flags | Vittorio Giovara | 2015-07-27 | 1 | -3/+3 |
| | | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | Deprecate avctx.coded_frame | Vittorio Giovara | 2015-07-20 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | | The rationale is that coded_frame was only used to communicate key_frame, pict_type and quality to the caller, as well as a few other random fields, in a non predictable, let alone consistent way. There was agreement that there was no use case for coded_frame, as it is a full-sized AVFrame container used for just 2-3 int-sized properties, which shouldn't even belong into the AVCodecContext in the first place. The appropriate AVPacket flag can be used instead of key_frame, while quality is exported with the new AVPacketSideData quality factor. There is no replacement for the other fields as they were unreliable, mishandled or just not used at all. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> | ||||
* | Add a quality factor packet side data | Vittorio Giovara | 2015-07-20 | 1 | -3/+10 |
| | | | | | | | | 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 filtergraphs | Anton Khirnov | 2015-07-19 | 1 | -5/+0 |
| | | | | | | | 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: move the no streams failure to open_output_file() | Anton Khirnov | 2015-07-19 | 1 | -10/+0 |
| | | | | | It is a better place for it, there is no reason to wait until transcode_init(). | ||||
* | avconv: factor out the output stream initialization | Anton Khirnov | 2015-07-19 | 1 | -46/+57 |
| | |||||
* | avconv: move handling the 2pass logfile into avconv_opt | Anton Khirnov | 2015-07-19 | 1 | -34/+0 |
| | | | | It more logically belongs there. | ||||
* | avconv: set the encoding/decoding_needed flags earlier | Anton Khirnov | 2015-07-19 | 1 | -4/+0 |
| | | | | This will be useful in the following commits. | ||||
* | avconv: drop update_sample_fmt() | Anton Khirnov | 2015-07-19 | 1 | -70/+1 |
| | | | | | | | There is only one decoder left that supports this (libopus, which is not used by default since we have a native one) and this code goes against the avconv design, since it propagates information back from the encoder to decoder. | ||||
* | avconv: do not stop processing the input packet on decoding error | Anton Khirnov | 2015-06-27 | 1 | -12/+12 |
| | | | | We still want to flush the filters on EOF and possibly apply streamcopy. | ||||
* | avconv: factor out flushing the filters | Anton Khirnov | 2015-06-27 | 1 | -12/+22 |
| | | | | | This also ensures this is always done, avoiding infinite loops if an error occurs at the end of the input. | ||||
* | avconv: Add an option for automatically rotating video according to display ↵ | Martin Storsjö | 2015-05-02 | 1 | -0/+2 |
| | | | | | | | | | | | 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: Avoid theoretical NULL dereferences | Himangi Saraogi | 2015-04-04 | 1 | -2/+7 |
| | | | | | | Bug-Id: CID 1292519 Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | avconv: do not overwrite the stream codec context for streamcopy | Anton Khirnov | 2015-04-03 | 1 | -11/+12 |
| | | | | | | | | | Since we are not doing encoding, there is no point in ever touching the separate encoding context. Always use the stream codec context. Fixes writing attachments. CC:libav-devel@libav.org | ||||
* | avconv: Print the avfilter errors | Luca Barbato | 2015-03-20 | 1 | -5/+13 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | avconv: do not abort immediately if initializing hwaccel fails | Anton Khirnov | 2015-03-10 | 1 | -1/+1 |
| | | | | | | exit_program() will try to free the decoders, which is not a good idea from within get_format(). Return an error instead. | ||||
* | avconv: copy stream-level side data when streamcopying | Anton Khirnov | 2014-10-24 | 1 | -0/+20 |
| | |||||
* | avconv: Use av_gettime_relative | Martin Storsjö | 2014-10-24 | 1 | -6/+6 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | lavc: deprecate unused me_threshold field | Anton Khirnov | 2014-10-18 | 1 | -2/+1 |
| | |||||
* | avconv: check return value | Vittorio Giovara | 2014-10-17 | 1 | -1/+3 |
| | | | | | CC: libav-stable@libav.org Bug-Id: CID 1224275 | ||||
* | avconv: replace AVCodecContext.time_base with framerate | Anton Khirnov | 2014-10-15 | 1 | -5/+5 |
| | |||||
* | avconv: Use only audio and video to guess discontinuities | Luca Barbato | 2014-09-26 | 1 | -1/+3 |
| | | | | Data and subtitle streams might cause false positive. | ||||
* | cosmetics: Write NULL pointer equality checks more compactly | Gabriel Dume | 2014-08-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | avconv: rename output_packet() to process_input_packet() | Anton Khirnov | 2014-08-13 | 1 | -4/+4 |
| | | | | It more accurately describes what this function does | ||||
* | avconv: set the output stream timebase | Anton Khirnov | 2014-07-09 | 1 | -0/+2 |
| | | | | This is required by the new API. | ||||
* | Use av_packet_rescale_ts() to simplify code. | Anton Khirnov | 2014-06-20 | 1 | -18/+3 |
| | |||||
* | avconv: use the correct variable in comparison | Anton Khirnov | 2014-06-17 | 1 | -1/+1 |
| | |||||
* | avconv: make -shortest work with streamcopy | Anton Khirnov | 2014-06-12 | 1 | -11/+16 |
| | | | | CC: libav-stable@libav.org | ||||
* | avconv: Report the codec and the encoder separately | Luca Barbato | 2014-06-04 | 1 | -4/+26 |
| | | | | Bug-Id: 694 | ||||
* | avconv: do not use the stream codec context for encoding | Anton Khirnov | 2014-06-01 | 1 | -42/+49 |
| | |||||
* | avconv: do not use the stream codec context for decoding | Anton Khirnov | 2014-06-01 | 1 | -32/+34 |
| | |||||
* | avconv: do not use poorly defined and undocumented AVStream.pts | Anton Khirnov | 2014-05-19 | 1 | -1/+1 |
| | | | | | Use OutputStream.last_mux_dts as an approximation of 'current' output time instead. | ||||
* | avconv: set the "encoder" tag when transcoding | Anton Khirnov | 2014-05-18 | 1 | -0/+30 |
| | |||||
* | avconv: set output avg_frame_rate when known | Anton Khirnov | 2014-05-18 | 1 | -0/+2 |
| | |||||
* | avconv: rename OutputStream.opts to OutputStream.encoder_opts | Anton Khirnov | 2014-05-03 | 1 | -7/+7 |
| | | | | This makes it more clear what is this variable for exactly. | ||||
* | avconv: remove a useless line | Anton Khirnov | 2014-05-03 | 1 | -1/+0 |
| | | | | | Doing anything with that field when we are doing streamcopy (so the encoder is not opened) should have absolutely no effect. | ||||
* | avconv: rename 'codec' to 'enc_ctx' | Anton Khirnov | 2014-05-03 | 1 | -61/+61 |
| | | | | | | This more clearly describes what is the variable used for. Also, move its declaration into the block where it is actually used. | ||||
* | avconv: rename 'icodec' to 'dec_ctx' | Anton Khirnov | 2014-05-03 | 1 | -35/+35 |
| | | | | This more clearly describes what is the variable used for. | ||||
* | avconv: rename InputStream.opts to InputStream.decoder_opts | Anton Khirnov | 2014-05-03 | 1 | -5/+5 |
| | | | | This makes it more clear what is this variable for exactly. | ||||
* | avconv: simplify exit_program() by using more local vars | Anton Khirnov | 2014-05-03 | 1 | -24/+33 |
| | |||||
* | avconv: always reset packet pts after decoding an audio frame | Anton Khirnov | 2014-04-22 | 1 | -3/+2 |
| | | | | | Currently, if a decoder sets AVFrame.pts, we'd send the same timestamp to it twice, which is wrong. | ||||
* | avconv: More descriptive message about framedrop | Vittorio Giovara | 2014-03-25 | 1 | -1/+3 |
| | |||||
* | avconv: don't warn on multiple frames per packet for codecs that expect it | Anton Khirnov | 2014-03-24 | 1 | -1/+2 |
| | |||||
* | avconv: print verbose per-stream transcoding statistics | Anton Khirnov | 2014-03-24 | 1 | -1/+90 |
| | |||||
* | avconv: split printing the final statistics into a separate function | Anton Khirnov | 2014-03-24 | 1 | -30/+36 |
| | |||||
* | avconv: rewrite output data size tracking | Anton Khirnov | 2014-03-24 | 1 | -23/+23 |
| | | | | | | 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: explicitly report when the muxing overhead is unknown | Anton Khirnov | 2014-03-24 | 1 | -3/+7 |
| | |||||
* | avconv: remove unused nb_frames_dup | Anton Khirnov | 2014-03-24 | 1 | -4/+3 |
| | | | | Frame duplication now happens in vf_fps. |