summaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg_opt.c
Commit message (Collapse)AuthorAgeFilesLines
* ffmpeg: mark sseof as an input-only optionGyan Doshi2018-06-091-1/+1
|
* fftools/ffmpeg: fix for all forced key frames when 'copyts' is enabledVishwanath Dixit2018-06-041-0/+1
| | | | | | | | | | Forced key frames generation functionality was assuming the first PTS value as zero, but, when 'copyts' is enabled, the first PTS can be any big number. This was eventually forcing all the frames as key frames. To resolve this issue, update has been made to use first input pts as reference pts. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* make swresample optional for ffmpegPaul B Mahol2018-04-251-0/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* ffmpeg: support dump bit stream filter options.Jun Zhao2018-03-161-1/+2
| | | | | | | | Support dump bit stream filter option in ffmpeg -h full and ffmpeg -h bsf=FooBar. Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg_opt: fix max_error_rate help info display issue.Jun Zhao2018-02-241-1/+1
| | | | | | | | ffmpeg -h display "max_error_rate" option help information have been cut off, the root cause is used a wrong initial order. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fftools, tools, examples: migrate to AVFormatContext->urlMarton Balint2018-01-281-4/+4
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* fftools/ffmpeg_opt: Remove a write-only variable.Carl Eugen Hoyos2018-01-081-2/+0
| | | | | Fixes a warning: fftools/ffmpeg_opt.c:2057:21: warning: variable 'file_oformat' set but not used
* Remove the ffserver programRostislav Pehlivanov2018-01-061-96/+1
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* ffmpeg: use thread wrappers for the thread message functionalityJames Almer2018-01-041-1/+1
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* ffmpeg_opt: Constify hwaccel pointer.Carl Eugen Hoyos2017-11-291-1/+2
| | | | | Fixes a warning: fftools/ffmpeg_opt.c:804:29: warning: assignment discards ‘const’ qualifier from pointer target type
* ffmpeg: Check read_ffserver_streams() return valuePan Bian2017-11-281-0/+2
| | | | | | | | | | | The function avformat_alloc_context() will return a NULL pointer on failure. However, in function read_ffserver_streams(), its return value is not validated and the subsequent dereference may result in a bad memory access bug. Check its return value against NULL and avoid potential NULL dereference. Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: Use codec hardware config to configure hwaccelsMark Thompson2017-11-261-28/+26
| | | | | Removes specific support for all hwaccels supported by the generic code (DXVA2, D3D11VA, NVDEC, VAAPI and VDPAU).
* ffmpeg: Allow "-to" on input files in addition to "-t"Vitaly _Vi Shukela2017-11-191-1/+16
| | | | | | | | | | | | | | For some strange reason "-t" option was only implemented for input files while both "-t" and "-to" were available for use for output files. This made extracting a range from input file inconvenient. This patch enables -to option for input so one can do ffmpeg -ss 1:23:20 -to 1:27:22.3 -i myinput.mkv ... Signed-off-by: Vitaly _Vi Shukela <vi0oss@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: remove usage of AVCodecContext accessorsJames Almer2017-11-151-3/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* h264dec: add a NVDEC hwaccelAnton Khirnov2017-11-101-0/+4
| | | | | | | | | | | | | | Some parts of the code are based on a patch by Timo Rothenpieler <timo@rothenpieler.org> Merges Libav commit b9129ec4668c511e0a79e25c6f25d748cee172c9. Due to the name clash with our cuvid decoder, rename it to nvdec. This commit also changes the Libav code to dynamic loading of the cuda/cuvid libraries. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* ffmpeg: remove usage of deprecated getter functionsJames Almer2017-10-291-13/+9
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: remove use of deprecated AVFMT_FLAG_KEEP_SIDE_DATA flagJames Almer2017-10-291-2/+0
| | | | | | | It has no effect whatsoever since the major bump. Replace the flag's documentation to reflect this as well. Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit 'b3739599bda740ac12d3dde31a331b744df99123'James Almer2017-10-231-3/+0
| | | | | | | * commit 'b3739599bda740ac12d3dde31a331b744df99123': lavc: Drop deprecated emu edge functionality Merged-by: James Almer <jamrial@gmail.com>
* ffmpeg: add -bitexact flag to simplify enabling bitexact mode in (de)muxer ↵Michael Niedermayer2017-10-231-0/+16
| | | | | | and (de/en)coder Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc: drop VDAClément Bœsch2017-10-231-5/+1
| | | | | Deprecated (aka removed) in OSX 10.11, and we have a replacement for it (VideoToolbox).
* ffmpeg: remove hwaccel_lax_profile_check optionJun Zhao2017-10-161-3/+0
| | | | | | | | This has been unused for a long time, and the original purpose has been replaced by the per-stream hwaccel_flags. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* Merge commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524'James Almer2017-10-011-0/+3756
* commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524': build: Move cli tool sources to a separate subdirectory Merged-by: James Almer <jamrial@gmail.com>
OpenPOWER on IntegriCloud