summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avdevice/decklink: Fix compilation of module on OSXDevin Heitmueller2018-01-20
| | | | | | | | | | | | | Clang applies the missing-prototypes warning on C++ files, whereas gcc only applies it to C. As a result, the decklink_common.cpp file fails to build because of missing prototypes in DecklinkDispatch.cpp (which is #included by decklink_common.cpp). We don't want to change the actual Blackmagic SDK sources, so suppress the warning just for that one #include. Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink: Suppress warning about misuse of struct instead of classDevin Heitmueller2018-01-20
| | | | | | | | | | | | | When building with Clang, the following warning is shown: warning: struct 'IDeckLinkVideoFrame' was previously declared as a class [-Wmismatched-tags] The function incorrectly casts IDeckLinkVideoFrame as a struct instead of a class pointer. Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink: addition of absolute wallclock option for pts sourceVishwanath Dixit2018-01-20
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink: addition of PTS_SRC_NB in enum DecklinkPtsSourceVishwanath Dixit2018-01-20
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink: addition of copyts optionVishwanath Dixit2018-01-20
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/formats: remove support for deprecated channel count specificationMarton Balint2018-01-20
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* lavf/swfdec: Reduce score when auto-detecting swf files.Carl Eugen Hoyos2018-01-20
| | | | Not more than 32bit are tested.
* avcodec/cuviddec: set key frame for decoded framesYogender Gupta2018-01-19
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avformat/matroskadec: Fix float-cast-overflow undefined behavior in ↵Nikolas Bowe2018-01-19
| | | | | | matroska_parse_tracks() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/hlsenc: Add CODECS attribute to master playlistKarthick Jeyapal2018-01-19
|
* lavfi/vf_scale_vaapi: set output SARRodger Combs2018-01-18
|
* fate: update filter-acrossfade test reference fileJames Almer2018-01-18
| | | | | | | | | | | <jamrial> durandal_1707: 8088b5d69c broke the acrossfade test <@durandal_1707> jamrial: there was test? <jamrial> durandal_1707: fate-filter-acrossfade <@durandal_1707> what broke? <jamrial> what used to be one frame is now two <@durandal_1707> ahh, just update test Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: small AVFormatContext doxy cosmeticsJames Almer2018-01-18
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/af_afade: acrossfade: switch to activatePaul B Mahol2018-01-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat: small cosmetics after 6512ff72f9James Almer2018-01-17
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vidstab: check bytesPerPixel only for packed formats.Gyan Doshi2018-01-17
| | | | | | | | | libvidstab introduced this variable only for packed formats but in vf_vidstab*.c, it's checked for all inputs. So the filter errors out for YUV422/444P streams. Fixes #6736. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi/deinterlace_vaapi: fix can't show full option information.Jun Zhao2018-01-17
| | | | | | | | use ffmpeg -h filter=deinterlace_vaapi can't get full help information, the root cause is not setting the flags fileld in options. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'cbe28bc069dde1d53d937ee10700bb123279c7c8'Mark Thompson2018-01-16
|\ | | | | | | | | | | | | * commit 'cbe28bc069dde1d53d937ee10700bb123279c7c8': qsv: better to use alignment by 16 and HEVC 10b requires alignment by 32 Merged-by: Mark Thompson <sw@jkqxz.net>
| * qsv: better to use alignment by 16 and HEVC 10b requires alignment by 32Maxym Dmytrychenko2018-01-08
| |
* | Merge commit '34c113335b53d83ed343de49741f0823aa1f8cc6'Mark Thompson2018-01-16
|\| | | | | | | | | | | | | | | | | | | * commit '34c113335b53d83ed343de49741f0823aa1f8cc6': Add support for H.264 and HEVC hardware encoding for AMD GPUs based on AMF SDK Most of this was already present from 9ea6607d294526688ab1b1342cb36ee159683e88, this just applies some minor fixups and adds the general documentation. Merged-by: Mark Thompson <sw@jkqxz.net>
| * Add support for H.264 and HEVC hardware encoding for AMD GPUs based on AMF SDKMichael Wootton2018-01-04
| | | | | | | | | | | | | | Requires AMF headers for at least version 1.4.4.1. Signed-off-by: Mikhail Mironov <mikhail.mironov@amd.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '7b0b5bc810cdb9ef100492c9a9f2d30602c04336'Mark Thompson2018-01-16
|\| | | | | | | | | | | | | | | | | * commit '7b0b5bc810cdb9ef100492c9a9f2d30602c04336': cmdutils: update copyright year to 2018 This commit is a noop, see bddf31ba7570325dd2c8d033eae3d0dd74127f96 Merged-by: Mark Thompson <sw@jkqxz.net>
| * cmdutils: update copyright year to 2018Sean McGovern2018-01-01
| |
* | Merge commit '1efbbfedcaf4a3cecab980273ad809ba3ade2f74'Mark Thompson2018-01-16
|\| | | | | | | | | | | | | * commit '1efbbfedcaf4a3cecab980273ad809ba3ade2f74': examples/qsvdec: do not set the deprecated field refcounted_frames Merged-by: Mark Thompson <sw@jkqxz.net>
| * examples/qsvdec: do not set the deprecated field refcounted_framesZhong Li2017-12-29
| | | | | | | | | | | | | | | | It is used by the deprecated API avcodec_decode_video2 and ignored by the new decode APIs (avcodec_send_packet/avcodec_receive_frame). Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'e23190269fb6e8217d080918893641ba3e0e3556'Mark Thompson2018-01-16
|\| | | | | | | | | | | | | * commit 'e23190269fb6e8217d080918893641ba3e0e3556': lavu/qsv: add log message for libmfx version Merged-by: Mark Thompson <sw@jkqxz.net>
| * lavu/qsv: add log message for libmfx versionZhong Li2017-12-29
| | | | | | | | | | | | | | It is benefit to diagnose issues related to different libmfx version. Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | lavc/snow_dwt: add struct MpegEncContext to fix headers check.Jun Zhao2018-01-16
| | | | | | | | | | | | | | | | add missing struct MpegEncContext, use make checkheaders found this warning. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | hwcontext_d3d11va: implement av_hwdevice_get_hwframe_constraints()wm42018-01-16
| | | | | | | | | | | | | | D3D11 has rather fine grained per format capabilities for different uses that can be queried at runtime. Since we don't know what the user wants to do with the formats when av_hwdevice_get_hwframe_constraints() is called, we simply return all formats that have the most basic support.
* | avformat: make avformat_network_init() explicitly optionalwm42018-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was sort of optional before - if you didn't call it, networking was initialized on demand, and an ugly warning was logged. Also, the doxygen comments threatened that it would be made strictly required one day. Make it explicitly optional. I would prefer to deprecate it fully, but there might still be legitimate reasons to use this. But the average user won't need it. This is needed only for two reasons: to initialize TLS libraries like OpenSSL and GnuTLS, and winsock. OpenSSL and GnuTLS were already silently initialized on demand if the global network init function was not called. They also have various thread-safety acrobatics, which make concurrent initialization within libavformat safe. In addition, the libraries are moving towards making their global init functions safe, which removes all need for central global init. In particular, GnuTLS 3.5.16 and OpenSSL 1.1.0g have been found to have safe init functions. In all cases, they use internal reference counters to avoid that the global uninit functions interfere with concurrent uses of the library by other API users who called global init. winsock should be thread-safe as well, and maintains an internal reference counter as well. Since we still support ancient TLS libraries, which do not have this fixed, and since it's unknown whether winsock and GnuTLS reinitialization is costly in any way, don't deprecate the libavformat functions yet.
* | avformat: deprecate another ffserver API leftoverwm42018-01-16
| |
* | avcodec/wavpack: Fix integer overflows in wv_unpack_stereo / monoMichael Niedermayer2018-01-15
| | | | | | | | | | | | | | | | Fixes: runtime error: signed integer overflow: 2146276249 + 1487583 cannot be represented in type 'int' Fixes: 4823/clusterfuzz-testcase-minimized-4551896611160064 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/jpeg2000: Check sum of sizes of band->prec before allocatingMichael Niedermayer2018-01-15
| | | | | | | | | | | | | | | | Fixes: OOM Fixes: 4810/clusterfuzz-testcase-minimized-6034253235093504 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/ac3dec_fixed: Fix integer overflow in scale_coefs()Michael Niedermayer2018-01-15
| | | | | | | | | | | | | | | | Fixes: runtime error: signed integer overflow: 2147483520 + 128 cannot be represented in type 'int' Fixes: 4800/clusterfuzz-testcase-minimized-6110372403609600 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | hwcontext_vdpau: implement av_hwdevice_get_hwframe_constraints()wm42018-01-15
| | | | | | | | | | | | | | | | | | | | | | In addition, this does not allow creating frames contexts with sw_format for which no known transfer formats exist. In theory, we should check whether the chroma format (i.e. the sw_format) is supported at all by the vdpau driver, but checking for transfer formats has the same effect. Note that the pre-existing code adds 1 to priv->nb_pix_fmts[i] for unknown reason, and some checks need to account for that to check for empty lists. They are not off-by-one errors.
* | http: cosmetics: reformat reconnect check for better readabilitywm42018-01-15
| | | | | | | | | | | | | | The condition was a bit too long, and most editors will break the line and turn it into an unreadable mess. Move out some of the conditions. This should not change the behavior.
* | avfilter/vf_idet: added more YUVA formats to idet query_formatsRobert Nagy2018-01-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | dashdec: Support SegmentTemplate inside Periodsfan52018-01-14
| | | | | | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | dashdec: Avoid trying to read any segments beyond the lastsfan52018-01-14
| | | | | | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | dashdec: Correct seeking behavioursfan52018-01-14
| | | | | | | | | | | | | | | | | | dash_read_seek() is called only once to issue a seek of *all* streams to the specified timestamp. But to avoid reopening each stream, do a "dry run" for streams that are in a discarded state. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | dashdec: Search for segment timeline inside AdaptionSets toosfan52018-01-14
| |
* | dashdec: Support for multiple video/audio streamssfan52018-01-14
| | | | | | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | dashdec: Expose bandwidth and representation ID as metadatasfan52018-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The primary goal was making it viable to play YouTube/Vimeo/... videos using the native demuxer, since mpv currently uses a workaround in form of Edit Decision Lists (EDL). Implemented features: 1 Exposing id / bitrate as stream metadata (similar to the HLS demuxer) 2 Support for multiple video and audio streams 3 A few minor parts of the specification that are in use at YouTube Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | avformat/adtsenc: allow only AAC streamsGyan Doshi2018-01-14
| | | | | | | | | | | | | | The ADTS muxer will silently (attempt to) mux any audio stream passed to it. Patch adds a codec check. Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/adtsenc: add adts_init()James Almer2018-01-14
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | dcaenc: move all tables inside context and fix incorrect coding styleRostislav Pehlivanov2018-01-13
| | | | | | | | | | | | | | Functionally identical to the old code, with less lines wasted. Partially fixes the complete disregard for the 80 col/line guide. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | avcodec/dcaenc: Use ffmpeg mdct instead of own implementationDaniil Cherednik2018-01-13
| | | | | | | | Signed-off-by: Daniil Cherednik <dan.cherednik@gmail.com>
* | dcaenc: cleanup on init failure and add a threadsafe init codec capRostislav Pehlivanov2018-01-13
| | | | | | | | | | | | | | | | | | The encoder didn't clean up if a malloc failed during init. It also doesn't need any external tables to be initialized on init. Finally, it didn't need to check for whether avctx->priv_data exists during uninit. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | opusenc_psy: Typo, use all coeffs in range for band tonality calculationDaniil Cherednik2018-01-13
| |
* | fate: remove the fate-aac-ltp-encode testRostislav Pehlivanov2018-01-13
| | | | | | | | | | | | | | It tests a useless profile which sounds no better than regular aac and which takes extremely long to encoder something. Also it has been behind experimental flag for as long as it has been supported. Should be removed altogether sometime in the future.