summaryrefslogtreecommitdiff
path: root/avtools
Commit message (Collapse)AuthorAgeFilesLines
* build: Rename OBJDIRS variable to OUTDIRSDiego Biurrun2019-02-161-1/+1
| | | | These directories are not just for object files.
* avconv: make sure packets put into the muxing FIFO are refcountedwm42018-08-011-2/+5
| | | | | | | | | | | | | | | Some callers (like do_subtitle_out(), or do_streamcopy()) call this with an AVPacket that is not refcounted. This can cause undefined behavior. Calling av_packet_move_ref() does not make a packet refcounted if it isn't yet. (And it can't be made to, because it always succeeds, and can't return ENOMEM.) Call av_packet_ref() instead to make sure it's refcounted. Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* avprobe: Print a user-friendly version of the display matrixVittorio Giovara2018-04-091-0/+10
| | | | Shift fixed point numbers to be actual decimal numbers.
* avprobe: Support printing strings with empty keysVittorio Giovara2018-04-091-12/+26
|
* cmdutils: update copyright year to 2018Sean McGovern2018-01-011-1/+1
|
* avconv: Use codec hardware config to configure hwaccelsMark Thompson2017-12-194-135/+246
| | | | | Removes specific support for all hwaccels supported by the generic code (CUVID, DXVA2, D3D11VA, VAAPI and VDPAU).
* avconv.c: fix calculation of input file duration in seek_to_start()Peter Große2017-11-041-2/+2
| | | | | | | Fixes looping files without audio or when using stream_copy, where ist->nb_samples is not set since no decoding is done. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avconv: when using -loop option bail out if seek to start failsPeter Große2017-07-281-3/+5
| | | | | | | Fixes an infinite loop when a demuxer fails to seek to the start of the input. Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264dec: add a CUVID hwaccelAnton Khirnov2017-07-262-0/+5
| | | | | Some parts of the code are based on a patch by Timo Rothenpieler <timo@rothenpieler.org>
* avconv_hw: Free device on initialisation failureMark Thompson2017-06-181-1/+2
|
* dxva: add support for new dxva2 and d3d11 hwaccel APIswm42017-06-084-444/+8
| | | | | | | | | | This also adds support to avconv (which is trivial due to the new hwaccel API being generic enough). The new decoder setup code in dxva2.c is significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cmdutils: Mark conditionally used variable as av_unusedDiego Biurrun2017-06-031-1/+2
| | | | avtools/cmdutils.c:1234:28: warning: unused variable ‘pix_fmt’ [-Wunused-variable]
* avconv: Always initialize the opkt struct on streamcopyLuca Barbato2017-05-311-3/+3
|
* avconv: Flush output BSFs when stream copy reaches EOFMark Thompson2017-05-161-2/+8
| | | | | Same as f64d1100a54d12c78ce436181bb64229c56da6b3, for stream copy rather than encode.
* avconv: Support setting the hardware device to use when filteringMark Thompson2017-04-303-2/+26
| | | | | | This only supports one device globally, but more can be used by passing them with input streams in hw_frames_ctx or by deriving new devices inside a filter graph with hwmap.
* avconv_hw: Add implicit device creation with default parametersMark Thompson2017-04-301-0/+4
| | | | | | If -hwaccel foo is supplied without any other device options, and the foo hwaccel is meant to have a device, try to make such a device with default parameters for the hwaccel to use.
* avprobe: use av_spherical_projection_name() to print spherical projection namesJames Almer2017-04-271-7/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avprobe: Handle unknown values for the color descriptionLuca Barbato2017-04-251-5/+31
| | | | | | | | | print_str() cannot print NULL. Bug-Id: 1040 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avplay: Do not try to allocate new frames when the player is closingLuca Barbato2017-04-251-2/+13
| | | | | | | | The allocation event can trigger while the decoding thread is already closing. Bug-Id: 1052 CC: libav-stable@libav.org
* avconv: Flush output BSFs when encode reaches EOFMark Thompson2017-04-021-10/+17
| | | | | Before this, output bitstream filters would never see EOF and therefore would not be able to flush any delayed packets.
* avplay: Use the named syntax for buffersrc argumentsLuca Barbato2017-03-231-1/+2
| | | | Avoid confusion.
* avconv: Enable generic hwaccel support for VDPAUMark Thompson2017-03-204-163/+2
|
* avconv: Enable generic hwaccel support for VAAPIMark Thompson2017-03-204-238/+16
|
* avconv: Generic device setupMark Thompson2017-03-205-6/+452
| | | | Not yet enabled for any hwaccels.
* spherical: Add tiled equirectangular type and projection-specific propertiesVittorio Giovara2017-03-071-3/+15
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* build: Move cli tool sources to a separate subdirectoryDiego Biurrun2017-02-2114-0/+14619
This unclutters the top-level directory and groups related files together.