summaryrefslogtreecommitdiff
path: root/avconv.c
Commit message (Collapse)AuthorAge
* avconv: do not call avcodec_get_frame_defaults()Anton Khirnov2013-12-11
| | | | | | Strictly speaking it is not correct to call it on refcounted frames, in any case it is unnecessary, since filtered_frame is always unreferenced after poll_filter() returns.
* Replace all uses of avcodec_free_frame with av_frame_free().Anton Khirnov2013-12-11
|
* Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-23
|
* avconv: add infrastructure for using hwaccelsAnton Khirnov2013-11-23
|
* Replace all instances of avcodec_alloc_frame() with av_frame_alloc().Anton Khirnov2013-11-16
|
* lavc: deprecate FF_DEBUG_MV and remove all traces of its useAnton Khirnov2013-10-31
| | | | | | It has not been actually used since 37045e422903695e610cca6ecb753df643ab9380, when the broken vismv code was removed.
* avconv: stop accessing AVStream.parserAnton Khirnov2013-10-29
| | | | It is private and must not be touched from outside of lavf.
* avconv: drop a now useless variableAnton Khirnov2013-10-27
|
* avconv: support -t as an input option.Anton Khirnov2013-08-05
| | | | It limits the duration of the data read from a given input.
* avconv: distinguish between -ss 0 and -ss not being usedAnton Khirnov2013-08-05
| | | | | Using -ss 0 to drop frames with negative timestamps is a perfectly valid use case.
* cmdutils: wrap exit explicitlyLuca Barbato2013-07-07
| | | | | | | | | | Some C runtime implementations deadlock when calling threading functions on the atexit() handler. Use a simpler wrapper similar to av_log to call the cleanup function before exit. Bug-Id: 523
* avconv: Don't include colorspace.hDerek Buitenhuis2013-06-29
| | | | | | | The header is private, and avconv.c doesn't use it for anything. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avconv: report the error for codec open failureLuca Barbato2013-06-22
| | | | | External codec may have corner case reason to fail at init, better report them instead having the user wonder.
* avconv: drop additional strerror fallbackLuca Barbato2013-06-22
| | | | strerror_r is called by av_strerror already.
* avconv: check that the output format context exists before accessing itAnton Khirnov2013-06-04
| | | | Fixes a segfault in exit_program() if opening an output file fails.
* avconv: make -aspect work with streamcopyAnton Khirnov2013-05-27
|
* avconv: remove -deinterlaceAnton Khirnov2013-05-07
| | | | | It is incompatible with refcounted frames and since it's been deprecated for a long time now, fixing it is not worth the effort.
* 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.
* avconv: improve -re implementationAnton Khirnov2013-05-03
| | | | | | Integrate the code in the packet reading function, instead of inserting sleeps in many places. This is simpler to follow and should work better.
* avconv: make output -ss insert trim/atrim filters.Anton Khirnov2013-04-30
| | | | | This makes output -ss sample-accurate for audio and will allow further simplication in the future.
* avconv: make -t insert trim/atrim filters.Anton Khirnov2013-04-30
| | | | | | | | | This makes -t sample-accurate for audio and will allow further simplication in the future. Most of the FATE changes are due to audio now being sample accurate. In some cases a video frame was incorrectly passed with the old code, while its was over the limit.
* lavfi: change the filter registering system to match the other librariesAnton Khirnov2013-04-11
| | | | Removes an arbitrary hardcoded limit on the number of filters.
* 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
|
* lavc: Deprecate the deinterlace functions in libavcodecRonald S. Bultje2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: Apply codec options to streams that are copied as wellMartin Storsjö2013-02-28
| | | | | | | | | | This allows setting/overriding e.g. the bitrate parameter, which is required for the smoothstreaming muxer. Normally, the bitrate is set by the demuxer in these cases, but not all demuxers can provide it. This allows stream copy of data to the smoothstreaming muxer from such inputs. Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: pass libavresample options to AVFilterGraphJustin Ruggles2013-02-23
|
* avconv: Increase the SDP buffer size to fit xiph SDPsMartin Storsjö2013-01-20
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: use new options parser.Anton Khirnov2012-12-18
|
* avconv: deprecate the -vol optionJustin Ruggles2012-12-05
| | | | | Remove the code for volume scaling in avconv.c and instead auto-insert a volume filter into the beginning of the filter chain.
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-11
| | | | Also reorder some other #include when applicable.
* avconv: rescale packet duration to muxer time base when flushing encodersJustin Ruggles2012-11-08
| | | | Fixes Bug 385
* avconv: do not free muxed packet on streamcopy.Anton Khirnov2012-11-02
| | | | | | The packet belongs to lavf, the caller must not free it or access it in any other way. No change in practice, since destruct is set to NULL anyway.
* avconv: Drop unused function argument from do_video_stats()Diego Biurrun2012-10-29
|
* avconv: fix bitrate report when writing to /dev/nullJanne Grunau2012-10-25
| | | | | | | avio_size() reports the filesize which returns 0 for /dev/null. avio_tell() reports the current position. Also handle errors from avio_tell().
* avconv: remove now unneeded calls to avcodec_get_frame_defaults().Anton Khirnov2012-10-24
|
* Include sys/time.h before sys/resource.hMans Rullgard2012-10-23
| | | | | | | Some systems require sys/time.h being explicitly included before sys/resource.h. The configure check already does this. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avcodec: handle AVERROR_EXPERIMENTALNathan Caldwell2012-10-21
| | | | | | | | | | Error out on init if a codec with CODEC_CAP_EXPERIMENTAL is requested and strict_std_compliance is not FF_COMPLIANCE_EXPERIMENTAL. Move the check from avconv to avcodec_open2() and return AVERROR_EXPERIMENTAL accordingly. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* 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.
* avconv/avprobe: Add missing 'void' to exit_program() definitionDiego Biurrun2012-10-03
|
* Use atexit() instead of defining a custom exit_program() interface.Diego Elio Pettenò2012-10-01
|
* avconv: improve sample format negotiation for decoder requestJustin Ruggles2012-10-01
| | | | | This takes into account planar vs. packed when comparing to find the closest sample format match.
* Use avcodec_free_frame() to free AVFrames.Anton Khirnov2012-09-24
|
* avconv: flush filtered frames before reconfiguring filtersJanne Grunau2012-09-17
| | | | This prevents lost frames after a resolution change.
* 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: prefer user-forced input framerate when choosing output framerateAnton Khirnov2012-08-26
|
* avconv: make -shortest a per-output file option.Anton Khirnov2012-08-18
|