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
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>