summaryrefslogtreecommitdiffstats
path: root/fftools
Commit message (Collapse)AuthorAgeFilesLines
* cmdutils: remove a superfluous line breakJames Almer2018-03-171-1/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* ffmpeg: support dump bit stream filter options.Jun Zhao2018-03-162-1/+19
| | | | | | | | 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>
* ffprobe: fix infinite loop in subtitle decodingMarton Balint2018-03-121-1/+2
| | | | | | | | | Fixes a regression since 2a88ebd096f3c748a2d99ed1b60b22879b3c567c which caused an infinite loop in the subtitle decoding. Fixes ticket #6796. Signed-off-by: Marton Balint <cus@passwd.hu>
* fftools/ffmpeg: update print_report to use AVBPrint APITobias Rapp2018-03-051-26/+22
| | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* fftools/ffmpeg: fix progress log message in case pts is not availableTobias Rapp2018-03-051-8/+17
| | | | | | Also fixes sign prefix for progress report. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* fftools/ffmpeg: replace call to av_strerror with av_err2strTobias Rapp2018-02-271-8/+2
| | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* Don't complain about codec2's 700 bit/s modes in ffmpeg.cTomas Härdin2018-02-241-1/+2
|
* 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>
* avformat/mpegts: set AV_DISPOSITION_DEPENDENT for mix_type=0 supplementary audioAman Gupta2018-02-231-0/+1
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* Revert "cmdutils: make use of new iteration APIs"James Almer2018-02-081-43/+79
| | | | | | | | | | This reverts commit cdc78058c78dfa4966758a342acd2c1f3b282c46. It introduced several issues in the command line tools, and it's implementing a new API that may still see some changes. Revert for the time being until the state of the API is defined. Signed-off-by: James Almer <jamrial@gmail.com>
* lavc/bsf: make BSF iteration the same as other iteratorsJosh de Kock2018-02-061-1/+1
|
* cmdutils: make use of new iteration APIsJosh de Kock2018-02-061-79/+43
|
* ffprobe: remove usage of deprecation warning removal pragmasJames Almer2018-02-021-2/+0
| | | | | | Fixes compilation in non Windows targets. Signed-off-by: James Almer <jamrial@gmail.com>
* ffprobe: Initialize coded_width/heightZhong Li2018-02-021-0/+8
| | | | | | | | | | coded_width/height are unnitialized and will be overwritten by dec_ctx->width/height in avcodec_open2() This fixes tiket #6958. Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fftools, tools, examples: migrate to AVFormatContext->urlMarton Balint2018-01-284-16/+16
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* ffmpeg: Ignore SIGPIPEMark Thompson2018-01-251-0/+3
| | | | | | | | | | | | | On systems which deliver SIGPIPE (Unices), a broken pipe will currently result in the immediate termination of the ffmpeg process (the default disposition as required by POSIX). This is undesirable, because while the broken pipe is likely fatal to useful cleanup of whatever component is writing to it, there might be other components which can do useful cleanup - for example, a muxer on another stream may still need to write indexes to complete a file. Therefore, set the signal disposition for SIGPIPE to ignore the signal - the call which caused the signal will fail with EPIPE and the error will be propagated upwards like any other I/O failure on a single stream.
* 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-065-5599/+2
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* ffmpeg: use thread wrappers for the thread message functionalityJames Almer2018-01-043-17/+11
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* ffplay: drop lock manager usewm42017-12-261-27/+0
| | | | Deprecated and useless.
* 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-264-133/+251
| | | | | Removes specific support for all hwaccels supported by the generic code (DXVA2, D3D11VA, NVDEC, VAAPI and VDPAU).
* lavu,lavfi,ffmpeg: Remove experimental OpenCL APIMark Thompson2017-11-223-302/+0
| | | | | | | | | | | This was added in early 2013 and abandoned several months later; as far as I can tell, there are no external users. Future OpenCL use will be via hwcontext, which requires neither special OpenCL-only API nor global state in libavutil. All internal users are also deleted - this is just the unsharp filter (replaced by unsharp_opencl, which is more flexible) and the deshake filter (no replacement).
* ffmpeg: add return value check to supress the build warning.Jun Zhao2017-11-211-9/+19
| | | | | | | | | add return value check to supress the build warning message like "warning: ignoring return value" when use attribute -Wunused-result. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Reviewed-by: 刘歧 <lq@chinaffmpeg.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: add ui64 type to SpecifierOptpkviet2017-11-201-0/+1
| | | | | | | | | Adds ui64 (uint64_t) as a possible type for SpecifierOpt. This enables use of uint64_t options with SpecifierOpt such as channel_layout when expressed as a 64 bit channel mask. Signed-off-by: pkviet <pkv.stream@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* 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_filter: use nb_threads=1 on unused filtergraphDHE2017-11-191-0/+1
| | | | | Signed-off-by: DHE <git@dehacked.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffplay: remove usage of AVCodecContext accessorsJames Almer2017-11-151-6/+6
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* ffprobe: remove usage of AVCodecContext accessorsJames Almer2017-11-151-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* ffmpeg: remove usage of AVCodecContext accessorsJames Almer2017-11-152-4/+4
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* ffmpeg: use explicitly requested hwaccel onlyTimo Rothenpieler2017-11-111-3/+4
| | | | | | | | | With there being two hwaccels that use the CUDA pix_fmt now, just relying on the pix_fmt to identify the selected hwaccel is not enough anymore. So this checks if the user explicitly selected a hwaccel, and only accepts that one.
* Merge commit 'a58873b11198d04670b7f98f5a8a749d742db7c5'James Almer2017-11-101-3/+5
| | | | | | | * commit 'a58873b11198d04670b7f98f5a8a749d742db7c5': avconv: when using -loop option bail out if seek to start fails Merged-by: James Almer <jamrial@gmail.com>
* h264dec: add a NVDEC hwaccelAnton Khirnov2017-11-102-0/+5
| | | | | | | | | | | | | | 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>
* ffplay: use SDL2 audio APIMarton Balint2017-11-061-4/+5
| | | | | | | | It allows us to specify what kind of audio parameter changes are allowed. Should fix ticket #6721. Signed-off-by: Marton Balint <cus@passwd.hu>
* ffmpeg.c: fix code style in seek_to_startPeter Große2017-11-051-2/+5
| | | | | Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg.c: fix calculation of input file duration in seek_to_start()Peter Große2017-11-051-2/+2
| | | | | | | | | | | Fixes looping files without audio or when using stream_copy, where ist->nb_samples is not set since no decoding is done. This fixes ticket #5719 and also fixes an endless loop with the sample in ticket #6139. Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffplay: only use hardware accelerated SDL texture formatsMarton Balint2017-11-041-4/+12
| | | | | | | | | | | | Typically only a small subset of the SDL texture formats are supported directly by the SDL renderer drivers, the rest is software emulated. It's better if libswscale does the format conversion to a hardware-accelerated texture format instead of SDL. This should fix video render slowdowns with some texture formats after 3bd2228d05a05eab5f91ac00b01efac9cb07649b. Signed-off-by: Marton Balint <cus@passwd.hu>
* ffplay: create the window and the renderer before starting playbackMarton Balint2017-11-041-32/+35
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* Merge commit '908f737d6c2900b5d34319ca6ea1d1cb71221463'James Almer2017-11-011-1/+2
| | | | | | | * commit '908f737d6c2900b5d34319ca6ea1d1cb71221463': cmdutils: Mark conditionally used variable as av_unused Merged-by: James Almer <jamrial@gmail.com>
* ffmpeg: Fix flush packet stream copy input timestamp handlingMark Thompson2017-11-011-2/+2
| | | | | | | Since a7da13474286774cf378c3ea606c19a7c1a0eba3, flush packets are passed to process_input_packet() during stream copy. This modifies the input timestamp handling to ignore them - since they contain no data, timestamps should not be affected.
* Merge commit '91622f6446b463abe6507ad2cd5d1fbf7e49c424'James Almer2017-10-311-3/+3
| | | | | | | * commit '91622f6446b463abe6507ad2cd5d1fbf7e49c424': avconv: Always initialize the opkt struct on streamcopy Merged-by: James Almer <jamrial@gmail.com>
* Merge commit '4d56f7ab8f627aa140c1ede1bb61305f01cefcdd'James Almer2017-10-301-3/+9
| | | | | | | * commit '4d56f7ab8f627aa140c1ede1bb61305f01cefcdd': avconv: Flush output BSFs when stream copy reaches EOF Merged-by: James Almer <jamrial@gmail.com>
* ffmpeg: Fix stored encoder metadata with -bitexactMichael Niedermayer2017-10-301-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: remove usage of deprecated getter functionsJames Almer2017-10-291-13/+9
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* ffprobe: remove usage of deprecated getter functionsJames Almer2017-10-291-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: remove use of deprecated AVFMT_FLAG_KEEP_SIDE_DATA flagJames Almer2017-10-292-4/+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>
* lavf: Remove AVFMT_RAWPICTURE.Carl Eugen Hoyos2017-10-261-40/+0
| | | | Deprecated since October 2015.
* ffserver: Fix off by 1 error in pathMichael Niedermayer2017-10-251-14/+10
| | | | | | Code suggested by ubitux Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'b3739599bda740ac12d3dde31a331b744df99123'James Almer2017-10-232-10/+0
| | | | | | | * commit 'b3739599bda740ac12d3dde31a331b744df99123': lavc: Drop deprecated emu edge functionality Merged-by: James Almer <jamrial@gmail.com>
OpenPOWER on IntegriCloud