summaryrefslogtreecommitdiff
path: root/avconv_opt.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | 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: convert to codecparAnton Khirnov2016-02-23
| | | | | The switch is not yet complete because the parsers and the bistream filters do not have a new AVCodecParam-based API yet.
* 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>
* avconv: Make the private options discovery more manifestVittorio Giovara2015-09-29
|
* Revert "avconv_opt: Allow printing private options"Vittorio Giovara2015-09-29
| | | | | | This reverts commit 7bb1c1bfd22de2200743af04ebd0c7c775f56f7e. A long existing version in the form of avconv -h decoder=h264 already existed, and this just duplicates it.
* avconv_opt: Allow printing private optionsVittorio Giovara2015-09-17
| | | | | | | | | | | | | | Add an allowed parameter to -h and --help avconv option to print private options from a codec, format, or filter, named with the provided input value. In case multiple classes are found (eg. mov demuxer and mov muxer, or h264 decoder and h264 demuxer) print all options from all classes. It is possible to select the type of class to print by adding it before the name (eg. demuxer:mov and muxer:mov, or decoder:h264and demuxer:h264). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avconv_opt: Add an option that lists all supported hwaccelsTimothy Gu2015-08-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avconv_opt: Add missing commaTimothy Gu2015-08-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and express bitfields more simply. 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: create the complex filtergraphs earlierAnton Khirnov2015-07-19
| | | | | | Since global options are processed before all the other options now, we do not have to try creating the complex filtergraphs several times anymore, it is enough to do it once after the input files are opened.
* avconv: move the no streams failure to open_output_file()Anton Khirnov2015-07-19
| | | | | It is a better place for it, there is no reason to wait until transcode_init().
* avconv: use read_file() for reading the 2pass statsAnton Khirnov2015-07-19
| | | | | Also, drop the now unused cmdutils_read_file(). There is no reason to have two functions doing essentially the same thing.
* avconv: move handling the 2pass logfile into avconv_optAnton Khirnov2015-07-19
| | | | It more logically belongs there.
* avconv: set the encoding/decoding_needed flags earlierAnton Khirnov2015-07-19
| | | | This will be useful in the following commits.
* avconv_opt: Check localtime() return valueVittorio Giovara2015-06-12
| | | | Reported-By: infer
* 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: Check rc_override memory allocationVittorio Giovara2015-02-17
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1265719
* check memory errors from av_strdup()Vittorio Giovara2014-12-18
|
* avconv: Use the mpeg12 private option scan_offsetJulien Ramseier2014-12-14
| | | | | | | | | Introduced in aed790070486b1b01b48106310d9d0ca1730e459 Bug-Id: debian/773055 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: fix parsing the AVOptions for -targetAnton Khirnov2014-08-27
| | | | CC: libav-stable@libav.org
* avconv: fix the muxrate values for -targetAnton Khirnov2014-08-27
| | | | | | The mpegenc private option values are in 50-byte units. CC: libav-stable@libav.org
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* video4linux2: Avoid a floating point exceptionBernhard Übelacker2014-07-28
| | | | | This avoids a segfault in avconv_opt.c:opt_target when trying to determine the norm.
* 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.
* configure: rework dxva in avconv handlingAnton Khirnov2014-04-28
| | | | | | | Move the dxva check after the dependencies have been detected, make sure the ole32 library exists. Fixes build on non-Windows.
* avconv: add support for DXVA2 decodingHendrik Leppkes2014-04-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv_opt: fix avio_open2() return code checkTimothy Gu2014-03-30
| | | | avio_open2() only return < 0 when error.
* avconv: support forcing codec tags for input streamsAnton Khirnov2014-02-24
|
* avconv: initialize hwaccel_pix_fmtAnton Khirnov2013-12-03
| | | | | Fixes an assertion failure in vdpau_get_buffer() when -hwaccel auto is used, but hwaccel init fails.
* avconv: add support for VDPAU decodingAnton Khirnov2013-11-23
|
* avconv: add infrastructure for using hwaccelsAnton Khirnov2013-11-23
|
* 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: 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.
* avconv: add -n option to immediately exit when output files already existVittorio Giovara2013-07-31
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: Call exit_program instead of exit in avconv_opt as wellMartin Storsjö2013-07-31
| | | | | | This seems to have been missed in 636ced8e1dc. Signed-off-by: Martin Storsjö <martin@martin.st>
* 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_opt: allocate an OutputFile before the streams.Anton Khirnov2013-04-30
| | | | | This way OutputFile variables like recording time can be used when creating the streams.
* avconv: print filter options in -h full output.Anton Khirnov2013-04-11
|