summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg_opt.c
Commit message (Collapse)AuthorAge
...
* ffmpeg: break loop when dts_heuristic check donexiaofeng2018-09-30
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: block output == input for filesGyan Doshi2018-09-17
| | | | Fixes #4655
* fftools/ffmpeg: check sseof value and clash with ssGyan Doshi2018-06-26
| | | | Prioritize -ss
* ffmpeg: mark sseof as an input-only optionGyan Doshi2018-06-09
|
* fftools/ffmpeg: fix for all forced key frames when 'copyts' is enabledVishwanath Dixit2018-06-04
| | | | | | | | | | 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-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* ffmpeg: support dump bit stream filter options.Jun Zhao2018-03-16
| | | | | | | | 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-24
| | | | | | | | 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-28
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* fftools/ffmpeg_opt: Remove a write-only variable.Carl Eugen Hoyos2018-01-08
| | | | | Fixes a warning: fftools/ffmpeg_opt.c:2057:21: warning: variable 'file_oformat' set but not used
* Remove the ffserver programRostislav Pehlivanov2018-01-06
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* ffmpeg: use thread wrappers for the thread message functionalityJames Almer2018-01-04
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* ffmpeg_opt: Constify hwaccel pointer.Carl Eugen Hoyos2017-11-29
| | | | | 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-28
| | | | | | | | | | | 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-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-19
| | | | | | | | | | | | | | 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-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* h264dec: add a NVDEC hwaccelAnton Khirnov2017-11-10
| | | | | | | | | | | | | | 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-29
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: remove use of deprecated AVFMT_FLAG_KEEP_SIDE_DATA flagJames Almer2017-10-29
| | | | | | | 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-23
| | | | | | | * 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-23
| | | | | | and (de/en)coder Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc: drop VDAClément Bœsch2017-10-23
| | | | | Deprecated (aka removed) in OSX 10.11, and we have a replacement for it (VideoToolbox).
* ffmpeg: remove hwaccel_lax_profile_check optionJun Zhao2017-10-16
| | | | | | | | 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-01
* commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524': build: Move cli tool sources to a separate subdirectory Merged-by: James Almer <jamrial@gmail.com>