Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-14avcodec/videotoolboxenc: remove spurious warningAman Gupta
Signed-off-by: Aman Gupta <aman@tmm1.net>
2017-11-14avcodec/videotoolboxenc: re-indent codeAman Gupta
Cosmetic change only. Signed-off-by: Aman Gupta <aman@tmm1.net>
2017-11-14avcodec/videotoolboxenc: add hevc_videotoolbox encoderAman Gupta
Signed-off-by: Aman Gupta <aman@tmm1.net> Reviewed-by: Rodger Combs <rodger.combs@gmail.com>
2017-09-13h264_sei: Add namespace prefix to all SEI valuesMark Thompson
This avoids confusion with equivalent H.265 SEI values when both are being used at the same time. (cherry picked from commit 6ea220cbeec8863e2006a03b73bed52db2b13ee7)
2017-06-23lavc/videotoolboxenc: fix open videotoolbox bug on iOS8.4jerett
Checks for NULL before using object. Signed-off-by: Rick Kern <kernrj@gmail.com>
2017-06-23lavc/videotoolboxenc: fix loadVTEncSymbols crash when symbol not foundjerett
Signed-off-by: Rick Kern <kernrj@gmail.com>
2017-04-23avcodec: do not use AVFrame accessorMuhammad Faiz
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2017-03-23avcodec/videotoolboxenc: remove unused atomic headerJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2017-03-15avcodec/videotoolboxenc: add rc_max_bitrate control into videotoolboxSteven Liu
add kVTCompressionPropertyKey_DataRateLimits support by rc_max_bitrate Reviewed-by: Rick Kern <kernrj@gmail.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2017-03-01lavc/videotoolboxenc: fix symbol linkingRick Kern
Removes explicit reference to symbols and fixes dereferencing issue. Signed-off-by: Rick Kern <kernrj@gmail.com>
2017-02-23lavc/videotoolboxenc: check for dictionary key symbolsRick Kern
Fixes #6081. Some dictionary keys are not present on OS X 10.8. This loads the symbols and uses a default value if not present. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-10-19lavc/videotoolboxenc: skip SEI allocation when side data is not presentAman Gupta
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-10-17lavc/videotoolboxenc: Enable a53cc by default.Carl Eugen Hoyos
2016-10-17lavc/videotoolboxenc: Error log formatting.Rick Kern
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-10-17lavc/videotoolboxenc: Update a53cc handlingRick Kern
Handles insertion into existing SEI NAL unit, inserts emulation prevention bytes. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-10-17lavc/videotoolboxenc: flush/free frames on closeRick Kern
Prevents encode callback from running after codec is closed. Fixes a crash when an error is returned. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-10-17lavc/videotoolboxenc: implement a53ccAman Gupta
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-06-17lavc/videotoolboxenc: remove unnecessary loggingRick Kern
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-06-11lavc/videotoolboxenc: set extradata when opening codecRick Kern
VideoToolbox doesn't supply parameter sets until the first frame is done encoding. This spins up a temporary encoder and encodes a single frame to get this data. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-06-11lavc/videotoolboxenc: fix allocated buffer sizeRick Kern
Allocates a buffer with padding, and with enough room for start codes when length codes are smaller. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04lavc/videotoolboxenc: Set colorimetry valuesRick Kern
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04lavc/videotoolboxenc: Support pixel aspect ratioRick Kern
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04lavc/videotoolboxenc: Support for forced I-framesRick Kern
Setting AVFrame.pic_type to AV_PICTURE_TYPE_I will force an I-frame. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04lavc/videotoolboxenc: add concatentation propertiesRick Kern
Add frames_before and frames_after as hints that there will be frames before or after the frames produced in this session. This may help with concatenation issues like bit rate spikes. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04lavc/videotoolboxenc: Add realtime encoding propertyRick Kern
Hint to the encoder that encoding should be done in real-time, even at the expense of quality. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04lavc/videotoolboxenc: Handle out-of-memory and fix memory leakRick Kern
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04lavc/videotoolboxenc: Fix DTSRick Kern
Some devices output an invalid DTS when B-frames aren't used. Using PTS for the DTS in this case. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04lavc/videotoolboxenc: Fix AVCodecContext.has_b_frames usage.Rick Kern
Now set by the encoder, not used as an input parameter. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04lavc/videotoolboxenc: Add entropy settingRick Kern
Add an entropy setting to choose between CAVLC and CABAC. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04lavc/videotoolboxenc: Require hardware encodingRick Kern
Software encoding can be allowed by setting allow_sw to 1. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04lavc/videotoolboxenc: Handle hwaccel format as inputRick Kern
Handle AV_PIX_FMT_VIDEOTOOLBOX. This results in better energy usage and faster encoding, especially on iOS. When the buffer comes from the media server, no memcpy's are needed. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-05-04lavc/videotoolboxenc: Use shared pixel buffer poolRick Kern
This reduces the chance of a memcpy in the media server. Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-04-02lavc/videotoolboxenc: Workaround encoder errorRick Kern
CMVideoFormatDescriptionGetH264ParameterSetAtIndex() fails on some hardware/OS versions when retrieving the parameter set count alone. Signed-off-by: Rick Kern <kernrj@gmail.com> Signed-off-by: wm4 <nfxjfg@googlemail.com>
2016-04-02lavc/videotoolboxenc: Fix crash when closing codec after errorRick Kern
Fixes crash in #5352. VTCompressionSessionInvalidate() crashes if the internal encoder hasn't completed, but hasn't experienced an error. The function call isn't needed since the encoder is invalidated when the reference count reaches 0 anyway. Signed-off-by: Rick Kern <kernrj@gmail.com> Signed-off-by: wm4 <nfxjfg@googlemail.com>
2016-03-03lavc/videotoolboxenc: remove *_NULLABLE annotations; fixes pre-10.11 buildRodger Combs
These macros were added in OS X 10.11, and the file compiles without warnings on both 10.10 and 10.11 with them removed. Thanks to mark4o on IRC for pointing out the failure and testing the patch.
2016-03-02lavc: add VideoToolbox H.264 EncoderRick Kern
Autodetected by default. Encode using -codec:v h264_videotoolbox. Signed-off-by: Rick Kern <kernrj@gmail.com> Signed-off-by: wm4 <nfxjfg@googlemail.com>