- 16 Jun, 2019 1 commit
-
-
Amir Pauker authored
FF_DECODE_ERROR_CONCEALMENT_ACTIVE is set when the decoded frame has error(s) but the returned value from avcodec_receive_frame is zero i.e. concealed errors Signed-off-by:
Amir Pauker <amir@livelyvideo.tv> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 15 May, 2019 1 commit
-
-
Lynne authored
-
- 20 Apr, 2019 1 commit
-
-
Gyan Doshi authored
Entry for added avcodec flag AV_CODEC_FLAG_DROPCHANGED
-
- 19 Apr, 2019 1 commit
-
-
Jun Zhao authored
commit abfeba97 "lavf/hls: Cleanup the applehttp" missed the version bump and APIchanges entry. Signed-off-by:
Jun Zhao <barryjzhao@tencent.com>
-
- 28 Jan, 2019 1 commit
-
-
Michael Niedermayer authored
Suggested-by: BBB Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 17 Jan, 2019 1 commit
-
-
Guo, Yejun authored
The encoders such as libx264 support different QPs offset for different MBs, it makes possible for ROI-based encoding. It makes sense to add support within ffmpeg to generate/accept ROI infos and pass into encoders. Typical usage: After AVFrame is decoded, a ffmpeg filter or user's code generates ROI info for that frame, and the encoder finally does the ROI-based encoding. The ROI info is maintained as side data of AVFrame. Signed-off-by:
Guo, Yejun <yejun.guo@intel.com> Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 22 Dec, 2018 1 commit
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 06 Nov, 2018 1 commit
-
-
Carl Eugen Hoyos authored
Based on 7471352f by Luca Barbato. Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 01 Nov, 2018 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 27 Oct, 2018 1 commit
-
-
Michael Niedermayer authored
This is needed because of 32bit float formats (which are difficult to store in 16bits) This also fixes undefined behavior found by fate Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 24 Oct, 2018 1 commit
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 12 Oct, 2018 1 commit
-
-
Aman Gupta authored
The existing av_mediacodec_release_buffer allows the user to render or discard the Surface-backed frame. This new method allows the user to control exactly when the frame will be rendered to its SurfaceView. Available since Android API 21. Signed-off-by:
Aman Gupta <aman@tmm1.net>
-
- 09 Sep, 2018 1 commit
-
-
Devin Heitmueller authored
Create a new AVPacket side data type for Active Format Description, which mirrors the side data type found in AVFrame. The primary use case for this is ensuring AFD gets preserved in the V210 encoder, so that the decklink libavdevice can output AFD. Signed-off-by:
Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- 17 Aug, 2018 2 commits
-
-
James Almer authored
Meant to reset the internal bsf state without the need to reinitialize it. Signed-off-by:
James Almer <jamrial@gmail.com>
-
James Almer authored
Meant to reset the internal bsf state without the need to reinitialize it. Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 21 May, 2018 1 commit
-
-
Aman Gupta authored
Signed-off-by:
Aman Gupta <aman@tmm1.net>
-
- 19 May, 2018 1 commit
-
-
Aman Gupta authored
These fields will allow the mpegts demuxer to expose details about the PMT/program which created the AVProgram and its AVStreams. In mpegts, a PMT which advertises streams has a version number which can be incremented at any time. When the version changes, the pids which correspond to each of it's streams can also change. Since ffmpeg creates a new AVStream per pid by default, an API user needs the ability to (a) detect when the PMT changed, and (b) tell which AVStream were added to replace earlier streams. This has been a long-standing issue with ffmpeg's handling of mpegts streams with PMT changes, and I found two related patches in the wild that attempt to solve the same problem: The first is in MythTV's ffmpeg fork, where they added a void (*streams_changed)(void*); to AVFormatContext and call it from their fork of the mpegts demuxer whenever the PMT changes. The second was proposed by XBMC in https://ffmpeg.org/pipermail/ffmpeg-devel/2012-December/135036.html, where they created a new AVMEDIA_TYPE_DATA stream with id=0 and attempted to send packets to it whenever the PMT changed. Signed-off-by:
Aman Gupta <aman@tmm1.net>
-
- 17 May, 2018 1 commit
-
-
Aman Gupta authored
Parses the video_stream_descriptor (H.222 2.6.2) to look for the still_picture_flag. This is exposed to the user via a new AV_DISPOSITION_STILL_IMAGE. See for example https://tmm1.s3.amazonaws.com/music-choice.ts, whose video stream only updates every ~6 seconds. Signed-off-by:
Aman Gupta <aman@tmm1.net> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 09 May, 2018 1 commit
-
-
Timo Rothenpieler authored
-
- 30 Apr, 2018 1 commit
-
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- 26 Apr, 2018 2 commits
-
-
Clément Bœsch authored
-
Clément Bœsch authored
-
- 16 Apr, 2018 3 commits
-
-
Michael Niedermayer authored
Thanks-to: Moritz Barsnick <barsnick@gmx.net> for finding the correct ones Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 03 Apr, 2018 1 commit
-
-
wm4 authored
PSEUDOPAL pixel formats are not paletted, but carried a palette with the intention of allowing code to treat unpaletted formats as paletted. The palette simply mapped the byte values to the resulting RGB values, making it some sort of LUT for RGB conversion. It was used for 1 byte formats only: RGB4_BYTE, BGR4_BYTE, RGB8, BGR8, GRAY8. The first 4 are awfully obscure, used only by some ancient bitmap formats. The last one, GRAY8, is more common, but its treatment is grossly incorrect. It considers full range GRAY8 only, so GRAY8 coming from typical Y video planes was not mapped to the correct RGB values. This cannot be fixed, because AVFrame.color_range can be freely changed at runtime, and there is nothing to ensure the pseudo palette is updated. Also, nothing actually used the PSEUDOPAL palette data, except xwdenc (trivially changed in the previous commit). All other code had to treat it as a special case, just to ignore or to propagate palette data. In conclusion, this was just a very strange old mechnaism that has no real justification to exist anymore (although it may have been nice and useful in the past). Now it's an artifact that makes the API harder to use: API users who allocate their own pixel data have to be aware that they need to allocate the palette, or FFmpeg will crash on them in _some_ situations. On top of this, there was no API to allocate the pseuo palette outside of av_frame_get_buffer(). This patch not only deprecates AV_PIX_FMT_FLAG_PSEUDOPAL, but also makes the pseudo palette optional. Nothing accesses it anymore, though if it's set, it's propagated. It's still allocated and initialized for compatibility with API users that rely on this feature. But new API users do not need to allocate it. This was an explicit goal of this patch. Most changes replace AV_PIX_FMT_FLAG_PSEUDOPAL with FF_PSEUDOPAL. I first tried #ifdefing all code, but it was a mess. The FF_PSEUDOPAL macro reduces the mess, and still allows defining FF_API_PSEUDOPAL to 0. Passes FATE with FF_API_PSEUDOPAL enabled and disabled. In addition, FATE passes with FF_API_PSEUDOPAL set to 1, but with allocation functions manually changed to not allocating a palette.
-
- 02 Apr, 2018 2 commits
-
-
James Almer authored
It works as a drop in replacement for the deprecated av_dup_packet(), to ensure a packet is reference counted. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
James Almer <jamrial@gmail.com>
-
James Almer authored
And fix the entry in doc/APIchanges Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 31 Mar, 2018 2 commits
-
-
Josh de Kock authored
This reverts commit 0fd47570. Revert "lavd: fix iterating of input and output devices" This reverts commit ce1d77a5. Signed-off-by:
Josh de Kock <josh@itanimul.li>
-
Josh de Kock authored
Signed-off-by:
Josh de Kock <josh@itanimul.li>
-
- 27 Mar, 2018 1 commit
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 25 Mar, 2018 1 commit
-
-
wm4 authored
This is for applications which want to explicitly check for invalid UTF-8 manually, and take actions that are better than dropping invalid subtitles silently. (It's pretty much silent because sporadic avcodec error messages are so common that you can't reasonably display them in a prominent and meaningful way in a application GUI.)
-
- 24 Mar, 2018 1 commit
-
-
Jacob Trimble authored
This new side-data will contain info on how a packet is encrypted. This allows the app to handle packet decryption. Signed-off-by:
Jacob Trimble <modmaker@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 22 Mar, 2018 1 commit
-
-
James Almer authored
Useful as well to quickly make a packet reference counted when it isn't already so. Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 18 Mar, 2018 1 commit
-
-
wm4 authored
This adds a way for an API user to transfer QP data and metadata without having to keep the reference to AVFrame, and without having to explicitly care about QP APIs. It might also provide a way to finally remove the deprecated QP related fields. In the end, the QP table should be handled in a very similar way to e.g. AV_FRAME_DATA_MOTION_VECTORS. There are two side data types, because I didn't care about having to repack the QP data so the table and the metadata are in a single AVBufferRef. Otherwise it would have either required a copy on decoding (extra slowdown for something as obscure as the QP data), or would have required making intrusive changes to the codecs which support export of this data. The new side data types are added under deprecation guards, because I don't intend to change the status of the QP export as being deprecated (as it was before this patch too).
-
- 16 Mar, 2018 1 commit
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 10 Mar, 2018 1 commit
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 08 Mar, 2018 1 commit
-
-
Aman Gupta authored
The default behavior of the mediacodec decoder before this commit was to delay flushes until all pending hardware frames were returned to the decoder. This was useful for certain types of applications, but was unexpected behavior for others. The new default behavior with this commit is now to execute flushes immediately to invalidate all pending frames. The old behavior can be enabled by setting delay_flush=1. With the new behavior, video players implementing seek can simply call flush on the decoder without having to worry about whether they have one or more mediacodec frames still buffered in their rendering pipeline. Previously, all these frames had to be explictly freed (or rendered) before the seek/flush would execute. The new behavior matches the behavior of all other lavc decoders, reducing the amount of special casing required when using the mediacodec decoder. Signed-off-by:
Aman Gupta <aman@tmm1.net> Signed-off-by:
Matthieu Bouron <matthieu.bouron@gmail.com>
-
- 01 Mar, 2018 1 commit
-
-
Rostislav Pehlivanov authored
Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 15 Feb, 2018 1 commit
-
-
James Almer authored
See 651ee934 fcc4ed1eSigned-off-by:
James Almer <jamrial@gmail.com>
-