summaryrefslogtreecommitdiff
path: root/avconv.c
Commit message (Collapse)AuthorAge
...
* avconv: fix -force_key_framesAnton Khirnov2012-06-26
| | | | | parse_forced_keyframes() relies in encoder timebase being set, so call it from transcode_init() after it is known.
* avconv: remove a forgotten debugging printf.Anton Khirnov2012-06-24
|
* avconv: use more descriptive names for hardcoded filters.Anton Khirnov2012-06-24
| | | | | | Also ensure that all such filters get a non-NULL name. Should fix FATE failures on some architectures after 58b049f2fa4f192b00baadb5f1f32ca366f936ea.
* avconv: remove redundant handling of async.Anton Khirnov2012-06-24
| | | | | | Because of a mistake during merging the code for simple and complex filtergraphs, -async inserts an asyncts filter both on input and output. Remove the output hunk.
* Replace usleep() calls with av_usleep()Mans Rullgard2012-06-22
| | | | | | | This reduces the dependency on unistd.h which is not available on all systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove unnecessary inclusions of [sys/]time.hMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avconv: don't try to free threads that were not initialized.Anton Khirnov2012-06-14
|
* lavfi: make AVFilterPad opaque after two major bumps.Anton Khirnov2012-06-13
| | | | It will allow adding new fields to it without ABI breaks.
* avconv: support only native pthreads.Anton Khirnov2012-06-12
| | | | | Our w32pthreads wrapper has various issues and is only supposed to be used in libavcodec.
* avconv: multithreaded demuxing.Anton Khirnov2012-06-10
| | | | | | | | When there are multiple input files, run demuxing for each input file in a separate thread, so reading packets does not block. This is useful for achieving low latency when reading from multiple (possibly slow) input streams.
* avtools: move buffer management code from avconv to cmdutils.Anton Khirnov2012-06-05
| | | | It will be used by avplay.
* avconv: don't use InputStream in the buffer management code.Anton Khirnov2012-06-05
| | | | | | Use just the pointer to the head of the buffer pool. This will allow sharing the code with avplay.
* avconv: fix exiting when max frames is reached.Anton Khirnov2012-06-05
| | | | | frame number should never be strictly larger than max frames, so the if() was never triggered.
* avconv: check output stream recording time before each frame returned from ↵Anton Khirnov2012-06-04
| | | | | | | filters There may be multiple frames returned, so with just one check we can write more than requested to the output.
* avconv: split selecting input file out of transcode().Anton Khirnov2012-06-04
|
* avconv: split checking for active outputs out of transcode().Anton Khirnov2012-06-04
|
* avconv: extend -r to work on any input stream.Anton Khirnov2012-05-29
| | | | This is done by automatically inserting a setpts filter.
* avconv: don't print filters inserted by avconv in stream mappings.Anton Khirnov2012-05-29
|
* avconv: merge configuration code for complex and simple filtersAnton Khirnov2012-05-29
| | | | | Some tests change because -s now inserts the scaler to the end instead of beginning of the filtergraph.
* avconv: split configuring input filters out of configure_complex_filterAnton Khirnov2012-05-29
|
* avconv: Display the error returned by avformat_write_headerMartin Storsjö2012-05-26
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: rename transcode_audio/video to decode_audio/video.Anton Khirnov2012-05-22
| | | | | Those functions do only decoding now, encoding is run from poll_filters().
* avconv: reindentAnton Khirnov2012-05-18
|
* avconv: replace -vsync cfr code with the fps filter.Anton Khirnov2012-05-18
| | | | | | | | Invented timestamps for the h264 tests return to something resembling sanity. In the idroq-video-encode test when converting 25 fps -> 30 fps the fifth frame gets duplicated instead of the sixth.
* avconv: add support for audio in complex filtergraphs.Anton Khirnov2012-05-18
|
* avconv: fix behavior with -ss as an output option.Anton Khirnov2012-05-17
| | | | | | | Don't return from poll_filters() immediately, there may be other frames and/or other streams to handle. Fixes a memleak.
* avconv: automatically insert asyncts when -async is used.Anton Khirnov2012-05-14
| | | | Deprecate -async.
* avconv: add support for audio filters.Anton Khirnov2012-05-14
| | | | | The FATE changes are all off-by-one due to different rounding being used (lrintf vs av_rescale_q).
* buffersrc: add av_buffersrc_write_frame().Anton Khirnov2012-05-14
| | | | | | | It's the same as av_vsrc_buffer_add_frame(), except it doesn't take pts or pixel_aspect parameters. Those are read from AVFrame. Deprecate av_vsrc_buffer_add_frame().
* avconv: use lrint() for rounding double timestampsMans Rullgard2012-05-10
| | | | | | | | | | | | Converting the double to float for lrintf() loses precision when the value is not exactly representable as a single-precision float. Apart from being inaccurate, this causes discrepancies in some configurations due to differences in rounding. Note that the changed timestamp in the vc1-ism test is a bogus, made-up value. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavc: pad last audio frame with silence when needed.Anton Khirnov2012-05-09
|
* lavfi: add video buffer sink, and use it in avtoolsAnton Khirnov2012-05-09
| | | | | | Also add the public interface libavfilter/buffersink.h. Based on a commit by Stefano Sabatini.
* avconv: remove stray useless comment.Anton Khirnov2012-05-06
|
* avutil: add av_parse_cpu_flags() functionMans Rullgard2012-04-25
| | | | | | | This moves the cpu flag parsing code from avconv to avutil so it can be accessed elsewhere. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avconv: use libavresampleJustin Ruggles2012-04-24
|
* avconv: fix a segfault on -c copy with -filter_complex.Anton Khirnov2012-04-24
|
* avconv: fix off by one check in complex_filterLuca Barbato2012-04-22
| | | | nb_input_files is already an invalid index.
* ARM: allow runtime masking of CPU featuresMans Rullgard2012-04-22
| | | | | | | This allows masking CPU features with the -cpuflags avconv option which is useful for testing different optimisations without rebuilding. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove lowres video decodingMans Rullgard2012-04-21
| | | | | | | This feature is complex, of questionable utility, and slows down normal decoding. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avconv: fix a segfault when default encoder for a format doesn't exist.Anton Khirnov2012-04-21
| | | | Fail earlier and with a more descriptive error message.
* avconv: check for an incompatible changing channel layoutJustin Ruggles2012-04-18
| | | | | | The decoder can change the layout and channel count during decoding, but currently we only validate that the two are compatible when opening the codec. This checks for incompatibilities after each decoded frame.
* avconv: only set the "channels" option when it exists for the specified ↵Justin Ruggles2012-04-16
| | | | | | | input format This allows the user to specify an input channel layout without avconv aborting because the "channels" option was not found.
* avconv: flush decoders immediately after an EOF.Anton Khirnov2012-04-15
| | | | Prevents extensive buffering when overlaying a single picture.
* avconv: send EOF to vsrc_buffer.Anton Khirnov2012-04-15
|
* avconv: reindent.Anton Khirnov2012-04-15
|
* avconv: add support for complex filtergraphs.Anton Khirnov2012-04-15
|
* avconv: make filtergraphs global.Anton Khirnov2012-04-15
| | | | | This is the first step towards supporting complex filtergraphs with more than one input and/or output.
* avconv: move filtered_frame from InputStream to OutputStream.Anton Khirnov2012-04-15
| | | | It more properly belongs to output, not input.
* avconv: don't set output width/height directly from input value.Anton Khirnov2012-04-15
| | | | | Always take it from lavfi. This way we don't need a clearly defined corresponding input stream.
* avconv: move resample_{width,height,pix_fmt} to InputStream.Anton Khirnov2012-04-15
| | | | | This is a more proper place for them, since they store parameters of the input, not output, stream.